2017-10-31 06:52:52 -04:00
|
|
|
import { VideoPrivacy } from './video-privacy.enum'
|
2018-06-15 10:52:15 -04:00
|
|
|
import { VideoScheduleUpdate } from './video-schedule-update.model'
|
2017-10-31 06:52:52 -04:00
|
|
|
|
2017-07-10 13:43:21 -04:00
|
|
|
export interface VideoCreate {
|
2020-11-03 09:33:30 -05:00
|
|
|
name: string
|
|
|
|
channelId: number
|
|
|
|
|
2017-12-07 11:22:44 -05:00
|
|
|
category?: number
|
|
|
|
licence?: number
|
2018-04-23 08:39:52 -04:00
|
|
|
language?: string
|
2017-12-07 11:22:44 -05:00
|
|
|
description?: string
|
2018-02-15 08:46:26 -05:00
|
|
|
support?: string
|
2018-06-12 14:04:58 -04:00
|
|
|
nsfw?: boolean
|
|
|
|
waitTranscoding?: boolean
|
2017-12-07 11:22:44 -05:00
|
|
|
tags?: string[]
|
2018-01-03 04:12:36 -05:00
|
|
|
commentsEnabled?: boolean
|
2018-10-08 08:45:22 -04:00
|
|
|
downloadEnabled?: boolean
|
2017-10-31 06:52:52 -04:00
|
|
|
privacy: VideoPrivacy
|
2018-06-15 10:52:15 -04:00
|
|
|
scheduleUpdate?: VideoScheduleUpdate
|
2020-09-17 03:20:52 -04:00
|
|
|
originallyPublishedAt?: Date | string
|
2020-10-30 10:09:00 -04:00
|
|
|
|
2020-11-02 09:43:44 -05:00
|
|
|
thumbnailfile?: Blob | string
|
|
|
|
previewfile?: Blob | string
|
2017-07-10 13:43:21 -04:00
|
|
|
}
|