1
0
Fork 0
peertube/shared/models/videos/video-create.model.ts

26 lines
600 B
TypeScript

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
importedFrom?: string
originallyPublishedAt?: Date | string
thumbnailfile?: Blob | string
previewfile?: Blob | string
}