]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - shared/models/videos/video-create.model.ts
Begin live tests
[github/Chocobozzz/PeerTube.git] / shared / models / videos / video-create.model.ts
index 5c0b498ce685fdf7605d1b7f3d79fca3c7d6ca74..9e980529d89a2d825a4391218645856384a60c1b 100644 (file)
@@ -1,9 +1,23 @@
+import { VideoPrivacy } from './video-privacy.enum'
+import { VideoScheduleUpdate } from './video-schedule-update.model'
+
 export interface VideoCreate {
-  category: number
-  licence: number
-  language: number
-  description: string
-  nsfw: boolean
+  category?: number
+  licence?: number
+  language?: string
+  description?: string
+  support?: string
+  channelId: number
+  nsfw?: boolean
+  waitTranscoding?: boolean
   name: string
-  tags: string[]
+  tags?: string[]
+  commentsEnabled?: boolean
+  downloadEnabled?: boolean
+  privacy: VideoPrivacy
+  scheduleUpdate?: VideoScheduleUpdate
+  originallyPublishedAt?: Date | string
+
+  thumbnailfile?: Blob | string
+  previewfile?: Blob | string
 }