diff options
author | Chocobozzz <me@florianbigard.com> | 2018-06-15 16:52:15 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-06-15 18:20:56 +0200 |
commit | bbe0f0645ca958d33a3f409b15166609733b663f (patch) | |
tree | edcd5d702c73cda74a2177c4bdc08c616334337d /shared/models/videos/video.model.ts | |
parent | 2baea0c77cc765f7cbca9c9a2f4272268892a35c (diff) | |
download | PeerTube-bbe0f0645ca958d33a3f409b15166609733b663f.tar.gz PeerTube-bbe0f0645ca958d33a3f409b15166609733b663f.tar.zst PeerTube-bbe0f0645ca958d33a3f409b15166609733b663f.zip |
Add ability to schedule video publication
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 |