aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/models/server
diff options
context:
space:
mode:
Diffstat (limited to 'shared/models/server')
-rw-r--r--shared/models/server/custom-config.model.ts10
-rw-r--r--shared/models/server/server-config.model.ts8
2 files changed, 16 insertions, 2 deletions
diff --git a/shared/models/server/custom-config.model.ts b/shared/models/server/custom-config.model.ts
index 9a6a24923..fcc29e5d7 100644
--- a/shared/models/server/custom-config.model.ts
+++ b/shared/models/server/custom-config.model.ts
@@ -30,8 +30,16 @@ export interface CustomConfig {
30 categories: number[] 30 categories: number[]
31 31
32 isNSFW: boolean 32 isNSFW: boolean
33 defaultClientRoute: string
34 defaultNSFWPolicy: NSFWPolicyType 33 defaultNSFWPolicy: NSFWPolicyType
34
35 defaultClientRoute: string
36 defaultTrendingRoute: string
37 pages: {
38 hot: {
39 enabled: boolean
40 }
41 }
42
35 customizations: { 43 customizations: {
36 javascript?: string 44 javascript?: string
37 css?: string 45 css?: string
diff --git a/shared/models/server/server-config.model.ts b/shared/models/server/server-config.model.ts
index 2dcf98f4f..a2d93ce73 100644
--- a/shared/models/server/server-config.model.ts
+++ b/shared/models/server/server-config.model.ts
@@ -36,9 +36,15 @@ export interface ServerConfig {
36 instance: { 36 instance: {
37 name: string 37 name: string
38 shortDescription: string 38 shortDescription: string
39 defaultClientRoute: string
40 isNSFW: boolean 39 isNSFW: boolean
41 defaultNSFWPolicy: NSFWPolicyType 40 defaultNSFWPolicy: NSFWPolicyType
41 defaultClientRoute: string
42 defaultTrendingRoute: string
43 pages: {
44 hot: {
45 enabled: boolean
46 }
47 }
42 customizations: { 48 customizations: {
43 javascript: string 49 javascript: string
44 css: string 50 css: string