21 lines
439 B
TypeScript
21 lines
439 B
TypeScript
import { VideoPrivacy } from './video-privacy.enum'
|
|
|
|
export interface VideoCreate {
|
|
category?: number
|
|
licence?: number
|
|
language?: string
|
|
description?: string
|
|
support?: string
|
|
channelId: number
|
|
nsfw?: boolean
|
|
waitTranscoding?: boolean
|
|
name: string
|
|
tags?: string[]
|
|
commentsEnabled?: boolean
|
|
privacy: VideoPrivacy
|
|
scheduleUpdate?: {
|
|
updateAt: Date
|
|
privacy?: VideoPrivacy.PUBLIC | VideoPrivacy.UNLISTED
|
|
}
|
|
}
|