aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/models/server
diff options
context:
space:
mode:
Diffstat (limited to 'shared/models/server')
-rw-r--r--shared/models/server/about.model.ts12
-rw-r--r--shared/models/server/custom-config.model.ts24
2 files changed, 36 insertions, 0 deletions
diff --git a/shared/models/server/about.model.ts b/shared/models/server/about.model.ts
index 10dff8b8f..6d4ba63c4 100644
--- a/shared/models/server/about.model.ts
+++ b/shared/models/server/about.model.ts
@@ -4,5 +4,17 @@ export interface About {
4 shortDescription: string 4 shortDescription: string
5 description: string 5 description: string
6 terms: string 6 terms: string
7
8 codeOfConduct: string
9 hardwareInformation: string
10
11 creationReason: string
12 moderationInformation: string
13 administrator: string
14 maintenanceLifetime: string
15 businessModel: string
16
17 languages: string[]
18 categories: number[]
7 } 19 }
8} 20}
diff --git a/shared/models/server/custom-config.model.ts b/shared/models/server/custom-config.model.ts
index a0541f5b6..c9957f825 100644
--- a/shared/models/server/custom-config.model.ts
+++ b/shared/models/server/custom-config.model.ts
@@ -6,6 +6,18 @@ export interface CustomConfig {
6 shortDescription: string 6 shortDescription: string
7 description: string 7 description: string
8 terms: string 8 terms: string
9 codeOfConduct: string
10
11 creationReason: string
12 moderationInformation: string
13 administrator: string
14 maintenanceLifetime: string
15 businessModel: string
16 hardwareInformation: string
17
18 languages: string[]
19 categories: number[]
20
9 isNSFW: boolean 21 isNSFW: boolean
10 defaultClientRoute: string 22 defaultClientRoute: string
11 defaultNSFWPolicy: NSFWPolicyType 23 defaultNSFWPolicy: NSFWPolicyType
@@ -99,4 +111,16 @@ export interface CustomConfig {
99 } 111 }
100 } 112 }
101 113
114 followings: {
115 instance: {
116 autoFollowBack: {
117 enabled: boolean
118 }
119
120 autoFollowIndex: {
121 enabled: boolean
122 indexUrl: string
123 }
124 }
125 }
102} 126}