aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/models/config/server-config.model.ts
diff options
context:
space:
mode:
Diffstat (limited to 'shared/models/config/server-config.model.ts')
-rw-r--r--shared/models/config/server-config.model.ts21
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 @@
1export 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}