diff options
Diffstat (limited to 'shared/models/videos/video.model.ts')
-rw-r--r-- | shared/models/videos/video.model.ts | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/shared/models/videos/video.model.ts b/shared/models/videos/video.model.ts index 8e47ac069..32463933d 100644 --- a/shared/models/videos/video.model.ts +++ b/shared/models/videos/video.model.ts | |||
@@ -1,3 +1,5 @@ | |||
1 | import { VideoChannel } from './video-channel.model' | ||
2 | |||
1 | export interface VideoFile { | 3 | export interface VideoFile { |
2 | magnetUri: string | 4 | magnetUri: string |
3 | resolution: number | 5 | resolution: number |
@@ -32,5 +34,9 @@ export interface Video { | |||
32 | likes: number | 34 | likes: number |
33 | dislikes: number | 35 | dislikes: number |
34 | nsfw: boolean | 36 | nsfw: boolean |
37 | } | ||
38 | |||
39 | export interface VideoDetails extends Video { | ||
40 | channel: VideoChannel | ||
35 | files: VideoFile[] | 41 | files: VideoFile[] |
36 | } | 42 | } |