diff options
author | Chocobozzz <me@florianbigard.com> | 2018-02-16 16:35:32 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-02-16 16:35:32 +0100 |
commit | 6de36768980ef6063b8fcd730b59fa685dd2b99c (patch) | |
tree | a8e5a87b14013b33bf2d306552a380c407a1551d /shared/models | |
parent | b6a4fd6b099b3363ac59c06cfd81b54e1356d8bc (diff) | |
download | PeerTube-6de36768980ef6063b8fcd730b59fa685dd2b99c.tar.gz PeerTube-6de36768980ef6063b8fcd730b59fa685dd2b99c.tar.zst PeerTube-6de36768980ef6063b8fcd730b59fa685dd2b99c.zip |
Add ability to update thumbnail and preview on client
Diffstat (limited to 'shared/models')
-rw-r--r-- | shared/models/config/server-config.model.ts | 6 | ||||
-rw-r--r-- | shared/models/videos/video-update.model.ts | 2 |
2 files changed, 8 insertions, 0 deletions
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 { | |||
23 | } | 23 | } |
24 | 24 | ||
25 | video: { | 25 | video: { |
26 | image: { | ||
27 | size: { | ||
28 | max: number | ||
29 | } | ||
30 | extensions: string[] | ||
31 | }, | ||
26 | file: { | 32 | file: { |
27 | extensions: string[] | 33 | extensions: string[] |
28 | } | 34 | } |
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 { | |||
11 | tags?: string[] | 11 | tags?: string[] |
12 | commentsEnabled?: boolean | 12 | commentsEnabled?: boolean |
13 | nsfw?: boolean | 13 | nsfw?: boolean |
14 | thumbnailfile?: Blob | ||
15 | previewfile?: Blob | ||
14 | } | 16 | } |