aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/models/videos/video-create.model.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-06-15 16:52:15 +0200
committerChocobozzz <me@florianbigard.com>2018-06-15 18:20:56 +0200
commitbbe0f0645ca958d33a3f409b15166609733b663f (patch)
treeedcd5d702c73cda74a2177c4bdc08c616334337d /shared/models/videos/video-create.model.ts
parent2baea0c77cc765f7cbca9c9a2f4272268892a35c (diff)
downloadPeerTube-bbe0f0645ca958d33a3f409b15166609733b663f.tar.gz
PeerTube-bbe0f0645ca958d33a3f409b15166609733b663f.tar.zst
PeerTube-bbe0f0645ca958d33a3f409b15166609733b663f.zip
Add ability to schedule video publication
Diffstat (limited to 'shared/models/videos/video-create.model.ts')
-rw-r--r--shared/models/videos/video-create.model.ts6
1 files changed, 2 insertions, 4 deletions
diff --git a/shared/models/videos/video-create.model.ts b/shared/models/videos/video-create.model.ts
index 531eafe54..190d63783 100644
--- a/shared/models/videos/video-create.model.ts
+++ b/shared/models/videos/video-create.model.ts
@@ -1,4 +1,5 @@
1import { VideoPrivacy } from './video-privacy.enum' 1import { VideoPrivacy } from './video-privacy.enum'
2import { VideoScheduleUpdate } from './video-schedule-update.model'
2 3
3export interface VideoCreate { 4export interface VideoCreate {
4 category?: number 5 category?: number
@@ -13,8 +14,5 @@ export interface VideoCreate {
13 tags?: string[] 14 tags?: string[]
14 commentsEnabled?: boolean 15 commentsEnabled?: boolean
15 privacy: VideoPrivacy 16 privacy: VideoPrivacy
16 scheduleUpdate?: { 17 scheduleUpdate?: VideoScheduleUpdate
17 updateAt: Date
18 privacy?: VideoPrivacy.PUBLIC | VideoPrivacy.UNLISTED
19 }
20} 18}