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