]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - shared/models/videos/video-create.model.ts
Support two factor authentication in backend
[github/Chocobozzz/PeerTube.git] / shared / models / videos / video-create.model.ts
index 175327afa30b005db7bb22244a79cafb6904a0f5..732d508d1f23b88f274a74021930095c0fde9088 100644 (file)
@@ -2,15 +2,16 @@ import { VideoPrivacy } from './video-privacy.enum'
 import { VideoScheduleUpdate } from './video-schedule-update.model'
 
 export interface VideoCreate {
+  name: string
+  channelId: number
+
   category?: number
   licence?: number
   language?: string
   description?: string
   support?: string
-  channelId: number
   nsfw?: boolean
   waitTranscoding?: boolean
-  name: string
   tags?: string[]
   commentsEnabled?: boolean
   downloadEnabled?: boolean
@@ -18,6 +19,6 @@ export interface VideoCreate {
   scheduleUpdate?: VideoScheduleUpdate
   originallyPublishedAt?: Date | string
 
-  thumbnailfile?: Blob
-  previewfile?: Blob
+  thumbnailfile?: Blob | string
+  previewfile?: Blob | string
 }