aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/models/config
diff options
context:
space:
mode:
Diffstat (limited to 'shared/models/config')
-rw-r--r--shared/models/config/about.model.ts7
-rw-r--r--shared/models/config/server-config.model.ts10
2 files changed, 16 insertions, 1 deletions
diff --git a/shared/models/config/about.model.ts b/shared/models/config/about.model.ts
new file mode 100644
index 000000000..7d11da850
--- /dev/null
+++ b/shared/models/config/about.model.ts
@@ -0,0 +1,7 @@
1export interface About {
2 instance: {
3 name: string
4 description: string
5 terms: string
6 }
7}
diff --git a/shared/models/config/server-config.model.ts b/shared/models/config/server-config.model.ts
index 5cb176c5b..fdc36bcc1 100644
--- a/shared/models/config/server-config.model.ts
+++ b/shared/models/config/server-config.model.ts
@@ -1,11 +1,18 @@
1export interface ServerConfig { 1export interface ServerConfig {
2 serverVersion: string, 2 serverVersion: string
3
4 instance: {
5 name: string
6 }
7
3 signup: { 8 signup: {
4 allowed: boolean 9 allowed: boolean
5 } 10 }
11
6 transcoding: { 12 transcoding: {
7 enabledResolutions: number[] 13 enabledResolutions: number[]
8 } 14 }
15
9 avatar: { 16 avatar: {
10 file: { 17 file: {
11 size: { 18 size: {
@@ -14,6 +21,7 @@ export interface ServerConfig {
14 extensions: string[] 21 extensions: string[]
15 } 22 }
16 } 23 }
24
17 video: { 25 video: {
18 file: { 26 file: {
19 extensions: string[] 27 extensions: string[]