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

23 lines
559 B
TypeScript
Raw Normal View History

2017-10-31 11:52:52 +01:00
import { VideoPrivacy } from './video-privacy.enum'
import { VideoScheduleUpdate } from './video-schedule-update.model'
2017-10-31 11:52:52 +01:00
export interface VideoUpdate {
name?: string
category?: number
licence?: number
2018-04-23 14:39:52 +02:00
language?: string
description?: string
support?: string
2017-10-31 11:52:52 +01:00
privacy?: VideoPrivacy
tags?: string[]
2018-01-03 10:12:36 +01:00
commentsEnabled?: boolean
downloadEnabled?: boolean
nsfw?: boolean
waitTranscoding?: boolean
2018-05-11 15:10:13 +02:00
channelId?: number
thumbnailfile?: Blob
previewfile?: Blob
scheduleUpdate?: VideoScheduleUpdate
2019-01-12 14:41:45 +01:00
originallyPublishedAt?: Date | string
}