diff options
Diffstat (limited to 'shared/models/videos')
-rw-r--r-- | shared/models/videos/video.model.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/shared/models/videos/video.model.ts b/shared/models/videos/video.model.ts index 6a096195f..ebd2813ca 100644 --- a/shared/models/videos/video.model.ts +++ b/shared/models/videos/video.model.ts | |||
@@ -1,3 +1,4 @@ | |||
1 | import { VideoResolution } from '../../index' | ||
1 | import { Account } from '../actors' | 2 | import { Account } from '../actors' |
2 | import { Avatar } from '../avatars/avatar.model' | 3 | import { Avatar } from '../avatars/avatar.model' |
3 | import { VideoChannel } from './video-channel.model' | 4 | import { VideoChannel } from './video-channel.model' |
@@ -10,7 +11,7 @@ export interface VideoConstant <T> { | |||
10 | 11 | ||
11 | export interface VideoFile { | 12 | export interface VideoFile { |
12 | magnetUri: string | 13 | magnetUri: string |
13 | resolution: VideoConstant<number> | 14 | resolution: VideoConstant<VideoResolution> |
14 | size: number // Bytes | 15 | size: number // Bytes |
15 | torrentUrl: string | 16 | torrentUrl: string |
16 | fileUrl: string | 17 | fileUrl: string |