diff options
Diffstat (limited to 'shared')
-rw-r--r-- | shared/models/videos/video-create.model.ts | 4 | ||||
-rw-r--r-- | shared/models/videos/video-update.model.ts | 4 | ||||
-rw-r--r-- | shared/models/videos/video.model.ts | 4 |
3 files changed, 12 insertions, 0 deletions
diff --git a/shared/models/videos/video-create.model.ts b/shared/models/videos/video-create.model.ts index 2a1f622f6..531eafe54 100644 --- a/shared/models/videos/video-create.model.ts +++ b/shared/models/videos/video-create.model.ts | |||
@@ -13,4 +13,8 @@ export interface VideoCreate { | |||
13 | tags?: string[] | 13 | tags?: string[] |
14 | commentsEnabled?: boolean | 14 | commentsEnabled?: boolean |
15 | privacy: VideoPrivacy | 15 | privacy: VideoPrivacy |
16 | scheduleUpdate?: { | ||
17 | updateAt: Date | ||
18 | privacy?: VideoPrivacy.PUBLIC | VideoPrivacy.UNLISTED | ||
19 | } | ||
16 | } | 20 | } |
diff --git a/shared/models/videos/video-update.model.ts b/shared/models/videos/video-update.model.ts index 681b00b18..fc0df6810 100644 --- a/shared/models/videos/video-update.model.ts +++ b/shared/models/videos/video-update.model.ts | |||
@@ -15,4 +15,8 @@ export interface VideoUpdate { | |||
15 | channelId?: number | 15 | channelId?: number |
16 | thumbnailfile?: Blob | 16 | thumbnailfile?: Blob |
17 | previewfile?: Blob | 17 | previewfile?: Blob |
18 | scheduleUpdate?: { | ||
19 | updateAt: Date | ||
20 | privacy?: VideoPrivacy | ||
21 | } | ||
18 | } | 22 | } |
diff --git a/shared/models/videos/video.model.ts b/shared/models/videos/video.model.ts index 857ca1fd9..676354ce3 100644 --- a/shared/models/videos/video.model.ts +++ b/shared/models/videos/video.model.ts | |||
@@ -43,6 +43,10 @@ export interface Video { | |||
43 | 43 | ||
44 | waitTranscoding?: boolean | 44 | waitTranscoding?: boolean |
45 | state?: VideoConstant<VideoState> | 45 | state?: VideoConstant<VideoState> |
46 | scheduledUpdate?: { | ||
47 | updateAt: Date | string | ||
48 | privacy?: VideoPrivacy | ||
49 | } | ||
46 | 50 | ||
47 | account: { | 51 | account: { |
48 | id: number | 52 | id: number |