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