diff options
Diffstat (limited to 'shared/models/server')
-rw-r--r-- | shared/models/server/custom-config.model.ts | 8 | ||||
-rw-r--r-- | shared/models/server/job.model.ts | 3 | ||||
-rw-r--r-- | shared/models/server/server-config.model.ts | 8 |
3 files changed, 18 insertions, 1 deletions
diff --git a/shared/models/server/custom-config.model.ts b/shared/models/server/custom-config.model.ts index 9c4718e43..46320435d 100644 --- a/shared/models/server/custom-config.model.ts +++ b/shared/models/server/custom-config.model.ts | |||
@@ -55,4 +55,12 @@ export interface CustomConfig { | |||
55 | '1080p': boolean | 55 | '1080p': boolean |
56 | } | 56 | } |
57 | } | 57 | } |
58 | |||
59 | import: { | ||
60 | videos: { | ||
61 | http: { | ||
62 | enabled: boolean | ||
63 | } | ||
64 | } | ||
65 | } | ||
58 | } | 66 | } |
diff --git a/shared/models/server/job.model.ts b/shared/models/server/job.model.ts index a38a8aa3b..2565479f6 100644 --- a/shared/models/server/job.model.ts +++ b/shared/models/server/job.model.ts | |||
@@ -6,7 +6,8 @@ export type JobType = 'activitypub-http-unicast' | | |||
6 | 'activitypub-follow' | | 6 | 'activitypub-follow' | |
7 | 'video-file-import' | | 7 | 'video-file-import' | |
8 | 'video-file' | | 8 | 'video-file' | |
9 | 'email' | 9 | 'email' | |
10 | 'video-import' | ||
10 | 11 | ||
11 | export interface Job { | 12 | export interface Job { |
12 | id: number | 13 | id: number |
diff --git a/shared/models/server/server-config.model.ts b/shared/models/server/server-config.model.ts index 217d142cd..2cafedbbc 100644 --- a/shared/models/server/server-config.model.ts +++ b/shared/models/server/server-config.model.ts | |||
@@ -23,6 +23,14 @@ export interface ServerConfig { | |||
23 | enabledResolutions: number[] | 23 | enabledResolutions: number[] |
24 | } | 24 | } |
25 | 25 | ||
26 | import: { | ||
27 | videos: { | ||
28 | http: { | ||
29 | enabled: boolean | ||
30 | } | ||
31 | } | ||
32 | } | ||
33 | |||
26 | avatar: { | 34 | avatar: { |
27 | file: { | 35 | file: { |
28 | size: { | 36 | size: { |