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

                   
                   
                      
                  
                   

                           
              
                 
                           
                           
                       
                                      
                                       
 

                               
 
import { VideoPrivacy } from './video-privacy.enum'
import { VideoScheduleUpdate } from './video-schedule-update.model'

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
  downloadEnabled?: boolean
  privacy: VideoPrivacy
  scheduleUpdate?: VideoScheduleUpdate
  originallyPublishedAt?: Date | string

  thumbnailfile?: Blob | string
  previewfile?: Blob | string
}