]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - shared/models/videos/video-create.model.ts
Merge branch 'release/3.2.0' into develop
[github/Chocobozzz/PeerTube.git] / shared / models / videos / video-create.model.ts
index e537c38a878a5fe68083c852c0dece96b2dea894..732d508d1f23b88f274a74021930095c0fde9088 100644 (file)
@@ -1,13 +1,24 @@
 import { VideoPrivacy } from './video-privacy.enum'
+import { VideoScheduleUpdate } from './video-schedule-update.model'
 
 export interface VideoCreate {
-  category: number
-  licence: number
-  language: number
-  description: string
-  channelId: number
-  nsfw: boolean
   name: string
-  tags: string[]
+  channelId: number
+
+  category?: number
+  licence?: number
+  language?: string
+  description?: string
+  support?: string
+  nsfw?: boolean
+  waitTranscoding?: boolean
+  tags?: string[]
+  commentsEnabled?: boolean
+  downloadEnabled?: boolean
   privacy: VideoPrivacy
+  scheduleUpdate?: VideoScheduleUpdate
+  originallyPublishedAt?: Date | string
+
+  thumbnailfile?: Blob | string
+  previewfile?: Blob | string
 }