]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blob - shared/models/videos/video-create.model.ts
531eafe5415c8cebf2b7689fac07d4815d70b003
[github/Chocobozzz/PeerTube.git] / shared / models / videos / video-create.model.ts
1 import { VideoPrivacy } from './video-privacy.enum'
2
3 export interface VideoCreate {
4 category?: number
5 licence?: number
6 language?: string
7 description?: string
8 support?: string
9 channelId: number
10 nsfw?: boolean
11 waitTranscoding?: boolean
12 name: string
13 tags?: string[]
14 commentsEnabled?: boolean
15 privacy: VideoPrivacy
16 scheduleUpdate?: {
17 updateAt: Date
18 privacy?: VideoPrivacy.PUBLIC | VideoPrivacy.UNLISTED
19 }
20 }