2017-10-31 05:52:52 -05:00
|
|
|
import { VideoPrivacy } from './video-privacy.enum'
|
|
|
|
|
2017-07-10 12:43:21 -05:00
|
|
|
export interface VideoCreate {
|
2017-12-07 10:22:44 -06:00
|
|
|
category?: number
|
|
|
|
licence?: number
|
2018-04-23 07:39:52 -05:00
|
|
|
language?: string
|
2017-12-07 10:22:44 -06:00
|
|
|
description?: string
|
2018-02-15 07:46:26 -06:00
|
|
|
support?: string
|
2017-10-24 12:41:09 -05:00
|
|
|
channelId: number
|
2018-06-12 13:04:58 -05:00
|
|
|
nsfw?: boolean
|
|
|
|
waitTranscoding?: boolean
|
2017-07-10 12:43:21 -05:00
|
|
|
name: string
|
2017-12-07 10:22:44 -06:00
|
|
|
tags?: string[]
|
2018-01-03 03:12:36 -06:00
|
|
|
commentsEnabled?: boolean
|
2017-10-31 05:52:52 -05:00
|
|
|
privacy: VideoPrivacy
|
2018-06-14 11:06:56 -05:00
|
|
|
scheduleUpdate?: {
|
|
|
|
updateAt: Date
|
|
|
|
privacy?: VideoPrivacy.PUBLIC | VideoPrivacy.UNLISTED
|
|
|
|
}
|
2017-07-10 12:43:21 -05:00
|
|
|
}
|