aboutsummaryrefslogblamecommitdiffhomepage
path: root/shared/models/videos/video-create.model.ts
blob: 531eafe5415c8cebf2b7689fac07d4815d70b003 (plain) (tree)
1
2
3
4
5
6
7
8
9

                                                   
                              

                   
                   
                      
                  
                   

                           
              
                 
                           
                       



                                                         
 
import { VideoPrivacy } from './video-privacy.enum'

export interface VideoCreate {
  category?: number
  licence?: number
  language?: string
  description?: string
  support?: string
  channelId: number
  nsfw?: boolean
  waitTranscoding?: boolean
  name: string
  tags?: string[]
  commentsEnabled?: boolean
  privacy: VideoPrivacy
  scheduleUpdate?: {
    updateAt: Date
    privacy?: VideoPrivacy.PUBLIC | VideoPrivacy.UNLISTED
  }
}