]>
Commit | Line | Data |
---|---|---|
93e1258c C |
1 | export interface VideoFile { |
2 | magnetUri: string | |
3 | resolution: number | |
4 | resolutionLabel: string | |
5 | size: number // Bytes | |
6 | } | |
7 | ||
69818c93 | 8 | export 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 |
69f616ab C |
28 | views: number |
29 | likes: number | |
30 | dislikes: number | |
31 | nsfw: boolean | |
93e1258c | 32 | files: VideoFile[] |
69818c93 | 33 | } |