X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=shared%2Fmodels%2Fvideos%2Fvideo-create.model.ts;h=732d508d1f23b88f274a74021930095c0fde9088;hb=56f47830758ff8e92abcfcc5f35d474ab12fe215;hp=531eafe5415c8cebf2b7689fac07d4815d70b003;hpb=2baea0c77cc765f7cbca9c9a2f4272268892a35c;p=github%2FChocobozzz%2FPeerTube.git diff --git a/shared/models/videos/video-create.model.ts b/shared/models/videos/video-create.model.ts index 531eafe54..732d508d1 100644 --- a/shared/models/videos/video-create.model.ts +++ b/shared/models/videos/video-create.model.ts @@ -1,20 +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?: string description?: string support?: string - channelId: number nsfw?: boolean waitTranscoding?: boolean - name: string tags?: string[] commentsEnabled?: boolean + downloadEnabled?: boolean privacy: VideoPrivacy - scheduleUpdate?: { - updateAt: Date - privacy?: VideoPrivacy.PUBLIC | VideoPrivacy.UNLISTED - } + scheduleUpdate?: VideoScheduleUpdate + originallyPublishedAt?: Date | string + + thumbnailfile?: Blob | string + previewfile?: Blob | string }