]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - shared/models/videos/video.model.ts
Add oembed endpoint
[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
6}
7
69818c93 8export interface Video {
0a6658fd
C
9 id: number
10 uuid: string
69f616ab 11 author: string
d592e0a9
C
12 createdAt: Date | string
13 updatedAt: Date | string
69f616ab
C
14 categoryLabel: string
15 category: number
16 licenceLabel: string
17 licence: number
18 languageLabel: string
19 language: number
20 description: string
21 duration: number
22 isLocal: boolean
69f616ab
C
23 name: string
24 podHost: string
25 tags: string[]
26 thumbnailPath: string
f981dae8 27 previewPath: string
d8755eed 28 embedPath: string
69f616ab
C
29 views: number
30 likes: number
31 dislikes: number
32 nsfw: boolean
93e1258c 33 files: VideoFile[]
69818c93 34}