X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=shared%2Fmodels%2Fvideos%2Fvideo-create.model.ts;h=732d508d1f23b88f274a74021930095c0fde9088;hb=fba911e2c89708a166636e3a93fcd8fcbc3de7e1;hp=f153a1d00bdf99eea83f910488fc30c7a04d2cb3;hpb=7f2cfe3a792856f7de6f1d13688aa3d06ec1bf70;p=github%2FChocobozzz%2FPeerTube.git diff --git a/shared/models/videos/video-create.model.ts b/shared/models/videos/video-create.model.ts index f153a1d00..732d508d1 100644 --- a/shared/models/videos/video-create.model.ts +++ b/shared/models/videos/video-create.model.ts @@ -2,18 +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 + + thumbnailfile?: Blob | string + previewfile?: Blob | string }