diff options
author | Chocobozzz <me@florianbigard.com> | 2018-01-17 10:32:03 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-01-17 10:41:27 +0100 |
commit | fd206f0b2d7e5c8e00e2817266d90ec54f79e1da (patch) | |
tree | 86b096cf2abd7eb49b892de1c9be855f45a41a9c /shared/models/config/server-config.model.ts | |
parent | 9581cabc596acb18c0ad86bcf3a07c2b45e8e47e (diff) | |
download | PeerTube-fd206f0b2d7e5c8e00e2817266d90ec54f79e1da.tar.gz PeerTube-fd206f0b2d7e5c8e00e2817266d90ec54f79e1da.tar.zst PeerTube-fd206f0b2d7e5c8e00e2817266d90ec54f79e1da.zip |
Add ability to update some configuration keys
Diffstat (limited to 'shared/models/config/server-config.model.ts')
-rw-r--r-- | shared/models/config/server-config.model.ts | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/shared/models/config/server-config.model.ts b/shared/models/config/server-config.model.ts new file mode 100644 index 000000000..d0b2e40de --- /dev/null +++ b/shared/models/config/server-config.model.ts | |||
@@ -0,0 +1,21 @@ | |||
1 | export interface ServerConfig { | ||
2 | signup: { | ||
3 | allowed: boolean | ||
4 | } | ||
5 | transcoding: { | ||
6 | enabledResolutions: number[] | ||
7 | } | ||
8 | avatar: { | ||
9 | file: { | ||
10 | size: { | ||
11 | max: number | ||
12 | }, | ||
13 | extensions: string[] | ||
14 | } | ||
15 | } | ||
16 | video: { | ||
17 | file: { | ||
18 | extensions: string[] | ||
19 | } | ||
20 | } | ||
21 | } | ||