aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/models
diff options
context:
space:
mode:
Diffstat (limited to 'shared/models')
-rw-r--r--shared/models/server/custom-config.model.ts4
-rw-r--r--shared/models/server/server-config.model.ts9
-rw-r--r--shared/models/users/user-update-me.model.ts2
3 files changed, 14 insertions, 1 deletions
diff --git a/shared/models/server/custom-config.model.ts b/shared/models/server/custom-config.model.ts
index 670553d16..a0541f5b6 100644
--- a/shared/models/server/custom-config.model.ts
+++ b/shared/models/server/custom-config.model.ts
@@ -15,6 +15,10 @@ export interface CustomConfig {
15 } 15 }
16 } 16 }
17 17
18 theme: {
19 default: string
20 }
21
18 services: { 22 services: {
19 twitter: { 23 twitter: {
20 username: string 24 username: string
diff --git a/shared/models/server/server-config.model.ts b/shared/models/server/server-config.model.ts
index c259a849a..d6c660aac 100644
--- a/shared/models/server/server-config.model.ts
+++ b/shared/models/server/server-config.model.ts
@@ -24,7 +24,14 @@ export interface ServerConfig {
24 } 24 }
25 } 25 }
26 26
27 plugins: ServerConfigPlugin[] 27 plugin: {
28 registered: ServerConfigPlugin[]
29 }
30
31 theme: {
32 registered: ServerConfigPlugin[]
33 default: string
34 }
28 35
29 email: { 36 email: {
30 enabled: boolean 37 enabled: boolean
diff --git a/shared/models/users/user-update-me.model.ts b/shared/models/users/user-update-me.model.ts
index 6e6cd7115..b6c0002e5 100644
--- a/shared/models/users/user-update-me.model.ts
+++ b/shared/models/users/user-update-me.model.ts
@@ -13,4 +13,6 @@ export interface UserUpdateMe {
13 email?: string 13 email?: string
14 currentPassword?: string 14 currentPassword?: string
15 password?: string 15 password?: string
16
17 theme?: string
16} 18}