Add ability to update thumbnail and preview on client

This commit is contained in:
Chocobozzz
2018-02-16 16:35:32 +01:00
parent b6a4fd6b09
commit 6de3676898
20 changed files with 274 additions and 137 deletions

View File

@@ -23,6 +23,12 @@ export interface ServerConfig {
}
video: {
image: {
size: {
max: number
}
extensions: string[]
},
file: {
extensions: string[]
}

View File

@@ -11,4 +11,6 @@ export interface VideoUpdate {
tags?: string[]
commentsEnabled?: boolean
nsfw?: boolean
thumbnailfile?: Blob
previewfile?: Blob
}