diff options
author | Chocobozzz <me@florianbigard.com> | 2019-02-11 11:52:34 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2019-02-11 11:52:34 +0100 |
commit | 88108880bbdba473cfe36ecbebc1c3c4f972e102 (patch) | |
tree | b242efb3b4f0d7e49d88f2d1f2063b5b3b0489c0 /shared/models/server/server-config.model.ts | |
parent | 53a94c7cfa8368da4cd248d65df8346905938f0c (diff) | |
parent | 9b712a2017e4ab3cf12cd6bd58278905520159d0 (diff) | |
download | PeerTube-88108880bbdba473cfe36ecbebc1c3c4f972e102.tar.gz PeerTube-88108880bbdba473cfe36ecbebc1c3c4f972e102.tar.zst PeerTube-88108880bbdba473cfe36ecbebc1c3c4f972e102.zip |
Merge branch 'develop' into pr/1217
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 | } |