]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - shared/models/videos/video-create.model.ts
Always redirect on homepage on '/'
[github/Chocobozzz/PeerTube.git] / shared / models / videos / video-create.model.ts
index 5c0b498ce685fdf7605d1b7f3d79fca3c7d6ca74..562bc1bf2cc917439e50c1082d46679d390a5661 100644 (file)
@@ -1,9 +1,15 @@
+import { VideoPrivacy } from './video-privacy.enum'
+
 export interface VideoCreate {
-  category: number
-  licence: number
-  language: number
-  description: string
+  category?: number
+  licence?: number
+  language?: string
+  description?: string
+  support?: string
+  channelId: number
   nsfw: boolean
   name: string
-  tags: string[]
+  tags?: string[]
+  commentsEnabled?: boolean
+  privacy: VideoPrivacy
 }