diff options
Diffstat (limited to 'shared/models/server')
-rw-r--r-- | shared/models/server/custom-config.model.ts | 14 | ||||
-rw-r--r-- | shared/models/server/server-config.model.ts | 7 |
2 files changed, 21 insertions, 0 deletions
diff --git a/shared/models/server/custom-config.model.ts b/shared/models/server/custom-config.model.ts index 851bf1854..338a59341 100644 --- a/shared/models/server/custom-config.model.ts +++ b/shared/models/server/custom-config.model.ts | |||
@@ -139,4 +139,18 @@ export interface CustomConfig { | |||
139 | level: BroadcastMessageLevel | 139 | level: BroadcastMessageLevel |
140 | dismissable: boolean | 140 | dismissable: boolean |
141 | } | 141 | } |
142 | |||
143 | search: { | ||
144 | remoteUri: { | ||
145 | users: boolean | ||
146 | anonymous: boolean | ||
147 | } | ||
148 | |||
149 | searchIndex: { | ||
150 | enabled: boolean | ||
151 | url: string | ||
152 | disableLocalSearch: boolean | ||
153 | isDefaultSearch: boolean | ||
154 | } | ||
155 | } | ||
142 | } | 156 | } |
diff --git a/shared/models/server/server-config.model.ts b/shared/models/server/server-config.model.ts index 9c903b7ee..a8e5dfbff 100644 --- a/shared/models/server/server-config.model.ts +++ b/shared/models/server/server-config.model.ts | |||
@@ -50,6 +50,13 @@ export interface ServerConfig { | |||
50 | users: boolean | 50 | users: boolean |
51 | anonymous: boolean | 51 | anonymous: boolean |
52 | } | 52 | } |
53 | |||
54 | searchIndex: { | ||
55 | enabled: boolean | ||
56 | url: string | ||
57 | disableLocalSearch: boolean | ||
58 | isDefaultSearch: boolean | ||
59 | } | ||
53 | } | 60 | } |
54 | 61 | ||
55 | plugin: { | 62 | plugin: { |