Add global search

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel
2022-08-26 16:08:58 +02:00
parent bfc936f57c
commit 48935e2168
216 changed files with 3646 additions and 2806 deletions

View File

@@ -104,6 +104,12 @@ export const CONFIG = gql`
type
}
}
search {
global {
isEnabled
isDefault
}
}
}
}
`;
@@ -155,6 +161,7 @@ export const ABOUT = gql`
name
description
longDescription
slogan
contact
languages
registrationsOpen
@@ -411,3 +418,16 @@ export const ANALYTICS = gql`
}
}
`;
export const SEARCH_CONFIG = gql`
query SearchConfig {
config {
search {
global {
isEnabled
isDefault
}
}
}
}
`;