diff options
Diffstat (limited to 'shared/models/server/server-config.model.ts')
-rw-r--r-- | shared/models/server/server-config.model.ts | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/shared/models/server/server-config.model.ts b/shared/models/server/server-config.model.ts new file mode 100644 index 000000000..004cf6ddb --- /dev/null +++ b/shared/models/server/server-config.model.ts | |||
@@ -0,0 +1,40 @@ | |||
1 | export interface ServerConfig { | ||
2 | serverVersion: string | ||
3 | |||
4 | instance: { | ||
5 | name: string; | ||
6 | customizations: { | ||
7 | javascript: string | ||
8 | css: string | ||
9 | } | ||
10 | } | ||
11 | |||
12 | signup: { | ||
13 | allowed: boolean | ||
14 | } | ||
15 | |||
16 | transcoding: { | ||
17 | enabledResolutions: number[] | ||
18 | } | ||
19 | |||
20 | avatar: { | ||
21 | file: { | ||
22 | size: { | ||
23 | max: number | ||
24 | }, | ||
25 | extensions: string[] | ||
26 | } | ||
27 | } | ||
28 | |||
29 | video: { | ||
30 | image: { | ||
31 | size: { | ||
32 | max: number | ||
33 | } | ||
34 | extensions: string[] | ||
35 | }, | ||
36 | file: { | ||
37 | extensions: string[] | ||
38 | } | ||
39 | } | ||
40 | } | ||