aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/models
diff options
context:
space:
mode:
Diffstat (limited to 'shared/models')
-rw-r--r--shared/models/config/server-config.model.ts6
-rw-r--r--shared/models/videos/video-update.model.ts2
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}