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

25 lines
576 B
TypeScript
Raw Normal View History

2017-10-31 10:52:52 +00:00
import { VideoPrivacy } from './video-privacy.enum'
import { VideoScheduleUpdate } from './video-schedule-update.model'
2017-10-31 10:52:52 +00:00
export interface VideoCreate {
2020-11-03 14:33:30 +00:00
name: string
channelId: number
2017-12-07 16:22:44 +00:00
category?: number
licence?: number
2018-04-23 12:39:52 +00:00
language?: string
2017-12-07 16:22:44 +00:00
description?: string
support?: string
nsfw?: boolean
waitTranscoding?: boolean
2017-12-07 16:22:44 +00:00
tags?: string[]
2018-01-03 09:12:36 +00:00
commentsEnabled?: boolean
downloadEnabled?: boolean
2017-10-31 10:52:52 +00:00
privacy: VideoPrivacy
scheduleUpdate?: VideoScheduleUpdate
originallyPublishedAt?: Date | string
2020-10-30 14:09:00 +00:00
2020-11-02 14:43:44 +00:00
thumbnailfile?: Blob | string
previewfile?: Blob | string
}