]>
Commit | Line | Data |
---|---|---|
72c7248b | 1 | import { VideoChannel } from './video-channel.model' |
fd45e8f4 | 2 | import { VideoPrivacy } from './video-privacy.enum' |
72c7248b | 3 | |
93e1258c C |
4 | export interface VideoFile { |
5 | magnetUri: string | |
6 | resolution: number | |
7 | resolutionLabel: string | |
8 | size: number // Bytes | |
a96aed15 C |
9 | torrentUrl: string |
10 | fileUrl: string | |
93e1258c C |
11 | } |
12 | ||
69818c93 | 13 | export interface Video { |
0a6658fd C |
14 | id: number |
15 | uuid: string | |
e4f97bab | 16 | account: string |
d592e0a9 C |
17 | createdAt: Date | string |
18 | updatedAt: Date | string | |
69f616ab C |
19 | categoryLabel: string |
20 | category: number | |
21 | licenceLabel: string | |
22 | licence: number | |
23 | languageLabel: string | |
24 | language: number | |
25 | description: string | |
26 | duration: number | |
27 | isLocal: boolean | |
69f616ab | 28 | name: string |
60862425 | 29 | serverHost: string |
69f616ab C |
30 | tags: string[] |
31 | thumbnailPath: string | |
f981dae8 | 32 | previewPath: string |
d8755eed | 33 | embedPath: string |
69f616ab C |
34 | views: number |
35 | likes: number | |
36 | dislikes: number | |
37 | nsfw: boolean | |
72c7248b C |
38 | } |
39 | ||
40 | export interface VideoDetails extends Video { | |
fd45e8f4 C |
41 | privacy: VideoPrivacy |
42 | privacyLabel: string | |
43 | descriptionPath: string | |
72c7248b | 44 | channel: VideoChannel |
93e1258c | 45 | files: VideoFile[] |
69818c93 | 46 | } |