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

                                                                      
 
                              


                   

                   
                   
                      
                  

                           
                 
                           
                           
                           
                                      
                                       
                           
 

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

export interface VideoCreate {
  name: string
  channelId: number

  category?: number
  licence?: number
  language?: string
  description?: string
  support?: string
  nsfw?: boolean
  waitTranscoding?: boolean
  tags?: string[]
  commentsEnabled?: boolean
  downloadEnabled?: boolean
  privacy: VideoPrivacyType
  scheduleUpdate?: VideoScheduleUpdate
  originallyPublishedAt?: Date | string
  videoPasswords?: string[]

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