X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=shared%2Fmodels%2Fvideos%2Fvideo-create.model.ts;h=9e980529d89a2d825a4391218645856384a60c1b;hb=af4ae64f6faf38f8179f2e07d3cd4ad60006be92;hp=5c0b498ce685fdf7605d1b7f3d79fca3c7d6ca74;hpb=4771e0008dd26eadbb7eaff64255a6ec914fdadb;p=github%2FChocobozzz%2FPeerTube.git diff --git a/shared/models/videos/video-create.model.ts b/shared/models/videos/video-create.model.ts index 5c0b498ce..9e980529d 100644 --- a/shared/models/videos/video-create.model.ts +++ b/shared/models/videos/video-create.model.ts @@ -1,9 +1,23 @@ +import { VideoPrivacy } from './video-privacy.enum' +import { VideoScheduleUpdate } from './video-schedule-update.model' + export interface VideoCreate { - category: number - licence: number - language: number - description: string - nsfw: boolean + category?: number + licence?: number + language?: string + description?: string + support?: string + channelId: number + nsfw?: boolean + waitTranscoding?: boolean name: string - tags: string[] + tags?: string[] + commentsEnabled?: boolean + downloadEnabled?: boolean + privacy: VideoPrivacy + scheduleUpdate?: VideoScheduleUpdate + originallyPublishedAt?: Date | string + + thumbnailfile?: Blob | string + previewfile?: Blob | string }