feat: azure search module + rebuild index

This commit is contained in:
Nick
2019-03-11 00:47:27 -04:00
parent f7664339f4
commit 21ee8c0c0b
28 changed files with 365 additions and 80 deletions

View File

@@ -102,7 +102,7 @@ type PageSearchResponse {
}
type PageSearchResult {
id: Int!
id: String!
title: String!
description: String!
path: String!

View File

@@ -27,8 +27,10 @@ type SearchQuery {
type SearchMutation {
updateSearchEngines(
searchEngines: [SearchEngineInput]
engines: [SearchEngineInput]
): DefaultResponse @auth(requires: ["manage:system"])
rebuildIndex: DefaultResponse @auth(requires: ["manage:system"])
}
# -----------------------------------------------
@@ -42,6 +44,7 @@ type SearchEngine {
description: String
logo: String
website: String
isAvailable: Boolean
config: [KeyValuePair]
}