From 6de36768980ef6063b8fcd730b59fa685dd2b99c Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 16 Feb 2018 16:35:32 +0100 Subject: Add ability to update thumbnail and preview on client --- shared/models/config/server-config.model.ts | 6 ++++++ shared/models/videos/video-update.model.ts | 2 ++ 2 files changed, 8 insertions(+) (limited to 'shared') diff --git a/shared/models/config/server-config.model.ts b/shared/models/config/server-config.model.ts index fdc36bcc1..988dd71e3 100644 --- a/shared/models/config/server-config.model.ts +++ b/shared/models/config/server-config.model.ts @@ -23,6 +23,12 @@ export interface ServerConfig { } video: { + image: { + size: { + max: number + } + extensions: string[] + }, file: { extensions: string[] } diff --git a/shared/models/videos/video-update.model.ts b/shared/models/videos/video-update.model.ts index 0b26484d7..b281ace9a 100644 --- a/shared/models/videos/video-update.model.ts +++ b/shared/models/videos/video-update.model.ts @@ -11,4 +11,6 @@ export interface VideoUpdate { tags?: string[] commentsEnabled?: boolean nsfw?: boolean + thumbnailfile?: Blob + previewfile?: Blob } -- cgit v1.2.3