diff options
Diffstat (limited to 'shared/models/videos/video.model.ts')
-rw-r--r-- | shared/models/videos/video.model.ts | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/shared/models/videos/video.model.ts b/shared/models/videos/video.model.ts index 676354ce3..f88f381cb 100644 --- a/shared/models/videos/video.model.ts +++ b/shared/models/videos/video.model.ts | |||
@@ -3,6 +3,7 @@ import { Account } from '../actors' | |||
3 | import { Avatar } from '../avatars/avatar.model' | 3 | import { Avatar } from '../avatars/avatar.model' |
4 | import { VideoChannel } from './video-channel.model' | 4 | import { VideoChannel } from './video-channel.model' |
5 | import { VideoPrivacy } from './video-privacy.enum' | 5 | import { VideoPrivacy } from './video-privacy.enum' |
6 | import { VideoScheduleUpdate } from './video-schedule-update.model' | ||
6 | 7 | ||
7 | export interface VideoConstant <T> { | 8 | export interface VideoConstant <T> { |
8 | id: T | 9 | id: T |
@@ -43,10 +44,7 @@ export interface Video { | |||
43 | 44 | ||
44 | waitTranscoding?: boolean | 45 | waitTranscoding?: boolean |
45 | state?: VideoConstant<VideoState> | 46 | state?: VideoConstant<VideoState> |
46 | scheduledUpdate?: { | 47 | scheduledUpdate?: VideoScheduleUpdate |
47 | updateAt: Date | string | ||
48 | privacy?: VideoPrivacy | ||
49 | } | ||
50 | 48 | ||
51 | account: { | 49 | account: { |
52 | id: number | 50 | id: number |