aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/models
diff options
context:
space:
mode:
Diffstat (limited to 'shared/models')
-rw-r--r--shared/models/config/custom-config.model.ts4
-rw-r--r--shared/models/config/customization.model.ts8
-rw-r--r--shared/models/config/server-config.model.ts6
3 files changed, 17 insertions, 1 deletions
diff --git a/shared/models/config/custom-config.model.ts b/shared/models/config/custom-config.model.ts
index 6ef0fc5a2..46d0a86ef 100644
--- a/shared/models/config/custom-config.model.ts
+++ b/shared/models/config/custom-config.model.ts
@@ -3,6 +3,10 @@ export interface CustomConfig {
3 name: string 3 name: string
4 description: string 4 description: string
5 terms: string 5 terms: string
6 customizations: {
7 javascript?: string
8 css?: string
9 }
6 } 10 }
7 11
8 cache: { 12 cache: {
diff --git a/shared/models/config/customization.model.ts b/shared/models/config/customization.model.ts
new file mode 100644
index 000000000..4e4d0d193
--- /dev/null
+++ b/shared/models/config/customization.model.ts
@@ -0,0 +1,8 @@
1export interface Customization {
2 instance: {
3 customization: {
4 javascript: string
5 css: string
6 }
7 }
8}
diff --git a/shared/models/config/server-config.model.ts b/shared/models/config/server-config.model.ts
index 988dd71e3..004cf6ddb 100644
--- a/shared/models/config/server-config.model.ts
+++ b/shared/models/config/server-config.model.ts
@@ -2,7 +2,11 @@ export interface ServerConfig {
2 serverVersion: string 2 serverVersion: string
3 3
4 instance: { 4 instance: {
5 name: string 5 name: string;
6 customizations: {
7 javascript: string
8 css: string
9 }
6 } 10 }
7 11
8 signup: { 12 signup: {