aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/models/videos/video-create.model.ts
blob: 7a34b5afef4579b2dd69f20de9f3f42ea03de92f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
import { VideoPrivacy } from './video-privacy.enum'
import { VideoScheduleUpdate } from './video-schedule-update.model'

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: VideoPrivacy
  scheduleUpdate?: VideoScheduleUpdate
  originallyPublishedAt?: Date | string
  videoPasswords?: string[]

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