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-update.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-update.model.ts')
-rw-r--r-- | shared/models/videos/video-update.model.ts | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/shared/models/videos/video-update.model.ts b/shared/models/videos/video-update.model.ts index fc0df6810..ed141a824 100644 --- a/shared/models/videos/video-update.model.ts +++ b/shared/models/videos/video-update.model.ts | |||
@@ -1,4 +1,5 @@ | |||
1 | import { VideoPrivacy } from './video-privacy.enum' | 1 | import { VideoPrivacy } from './video-privacy.enum' |
2 | import { VideoScheduleUpdate } from './video-schedule-update.model' | ||
2 | 3 | ||
3 | export interface VideoUpdate { | 4 | export interface VideoUpdate { |
4 | name?: string | 5 | name?: string |
@@ -15,8 +16,5 @@ export interface VideoUpdate { | |||
15 | channelId?: number | 16 | channelId?: number |
16 | thumbnailfile?: Blob | 17 | thumbnailfile?: Blob |
17 | previewfile?: Blob | 18 | previewfile?: Blob |
18 | scheduleUpdate?: { | 19 | scheduleUpdate?: VideoScheduleUpdate |
19 | updateAt: Date | ||
20 | privacy?: VideoPrivacy | ||
21 | } | ||
22 | } | 20 | } |