diff options
Diffstat (limited to 'shared/models/server/server-config.model.ts')
-rw-r--r-- | shared/models/server/server-config.model.ts | 22 |
1 files changed, 20 insertions, 2 deletions
diff --git a/shared/models/server/server-config.model.ts b/shared/models/server/server-config.model.ts index 91196c1eb..baafed31f 100644 --- a/shared/models/server/server-config.model.ts +++ b/shared/models/server/server-config.model.ts | |||
@@ -15,13 +15,25 @@ export interface ServerConfig { | |||
15 | } | 15 | } |
16 | } | 16 | } |
17 | 17 | ||
18 | email: { | ||
19 | enabled: boolean | ||
20 | } | ||
21 | |||
22 | contactForm: { | ||
23 | enabled: boolean | ||
24 | } | ||
25 | |||
18 | signup: { | 26 | signup: { |
19 | allowed: boolean, | 27 | allowed: boolean, |
20 | allowedForCurrentIP: boolean, | 28 | allowedForCurrentIP: boolean |
21 | requiresEmailVerification: boolean | 29 | requiresEmailVerification: boolean |
22 | } | 30 | } |
23 | 31 | ||
24 | transcoding: { | 32 | transcoding: { |
33 | hls: { | ||
34 | enabled: boolean | ||
35 | } | ||
36 | |||
25 | enabledResolutions: number[] | 37 | enabledResolutions: number[] |
26 | } | 38 | } |
27 | 39 | ||
@@ -40,7 +52,7 @@ export interface ServerConfig { | |||
40 | file: { | 52 | file: { |
41 | size: { | 53 | size: { |
42 | max: number | 54 | max: number |
43 | }, | 55 | } |
44 | extensions: string[] | 56 | extensions: string[] |
45 | } | 57 | } |
46 | } | 58 | } |
@@ -70,4 +82,10 @@ export interface ServerConfig { | |||
70 | videoQuota: number | 82 | videoQuota: number |
71 | videoQuotaDaily: number | 83 | videoQuotaDaily: number |
72 | } | 84 | } |
85 | |||
86 | trending: { | ||
87 | videos: { | ||
88 | intervalDays: number | ||
89 | } | ||
90 | } | ||
73 | } | 91 | } |