X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=shared%2Fmodels%2Fvideos%2Fvideo-create.model.ts;h=732d508d1f23b88f274a74021930095c0fde9088;hb=fba911e2c89708a166636e3a93fcd8fcbc3de7e1;hp=139c2579e2ae2baf49ce3db5d5c9b26e8502c839;hpb=47564bbe2eeb2baae9b7e3f9b2b8d16522bc7e04;p=github%2FChocobozzz%2FPeerTube.git diff --git a/shared/models/videos/video-create.model.ts b/shared/models/videos/video-create.model.ts index 139c2579e..732d508d1 100644 --- a/shared/models/videos/video-create.model.ts +++ b/shared/models/videos/video-create.model.ts @@ -1,14 +1,24 @@ 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?: number + language?: string description?: string - channelId: number - nsfw: boolean - name: string + support?: string + nsfw?: boolean + waitTranscoding?: boolean tags?: string[] commentsEnabled?: boolean + downloadEnabled?: boolean privacy: VideoPrivacy + scheduleUpdate?: VideoScheduleUpdate + originallyPublishedAt?: Date | string + + thumbnailfile?: Blob | string + previewfile?: Blob | string }