diff options
author | Chocobozzz <me@florianbigard.com> | 2018-02-28 18:04:46 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-02-28 18:04:55 +0100 |
commit | 09cababd79f9d445aa027c93cdfe823745fa041a (patch) | |
tree | f781d6ba78b5c4ce7220dea55f13b21230f203d6 /shared/models/server/server-config.model.ts | |
parent | 22b59e8099947605085cf65a440f07f37fce6b65 (diff) | |
download | PeerTube-09cababd79f9d445aa027c93cdfe823745fa041a.tar.gz PeerTube-09cababd79f9d445aa027c93cdfe823745fa041a.tar.zst PeerTube-09cababd79f9d445aa027c93cdfe823745fa041a.zip |
Add stats route
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 | } | ||