PeerTube/shared/models/videos/video-create.model.ts

24 lines
557 B
TypeScript
Raw Normal View History

2017-10-31 05:52:52 -05:00
import { VideoPrivacy } from './video-privacy.enum'
import { VideoScheduleUpdate } from './video-schedule-update.model'
2017-10-31 05:52:52 -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
support?: string
2017-10-24 12:41:09 -05:00
channelId: number
nsfw?: boolean
waitTranscoding?: boolean
name: string
2017-12-07 10:22:44 -06:00
tags?: string[]
2018-01-03 03:12:36 -06:00
commentsEnabled?: boolean
downloadEnabled?: boolean
2017-10-31 05:52:52 -05:00
privacy: VideoPrivacy
scheduleUpdate?: VideoScheduleUpdate
originallyPublishedAt?: Date | string
2020-10-30 09:09:00 -05:00
thumbnailfile?: Blob
previewfile?: Blob
}