]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - shared/models/videos/video.model.ts
hide error message in https too (#108)
[github/Chocobozzz/PeerTube.git] / shared / models / videos / video.model.ts
CommitLineData
93e1258c
C
1export interface VideoFile {
2 magnetUri: string
3 resolution: number
4 resolutionLabel: string
5 size: number // Bytes
a96aed15
C
6 torrentUrl: string
7 fileUrl: string
93e1258c
C
8}
9
69818c93 10export interface Video {
0a6658fd
C
11 id: number
12 uuid: string
69f616ab 13 author: string
d592e0a9
C
14 createdAt: Date | string
15 updatedAt: Date | string
69f616ab
C
16 categoryLabel: string
17 category: number
18 licenceLabel: string
19 licence: number
20 languageLabel: string
21 language: number
22 description: string
23 duration: number
24 isLocal: boolean
69f616ab
C
25 name: string
26 podHost: string
27 tags: string[]
28 thumbnailPath: string
f981dae8 29 previewPath: string
d8755eed 30 embedPath: string
69f616ab
C
31 views: number
32 likes: number
33 dislikes: number
34 nsfw: boolean
93e1258c 35 files: VideoFile[]
69818c93 36}