Added technician config to frontend #127

This commit is contained in:
Sven Heidemann 2023-08-07 14:59:19 +02:00
parent 1f07a03186
commit 96430407c5
3 changed files with 19 additions and 2 deletions

View File

@ -1,5 +1,22 @@
export class Queries { export class Queries {
static technicianConfigQuery = `
query technicianConfigQuery {
technicianConfig {
id
helpCommandReferenceUrl
waitForRestart
waitForShutdown
cacheMaxMessages
pingURLs
technicianIds
createdAt
modifiedAt
}
}
`;
static guildsQuery = ` static guildsQuery = `
query GuildsQuery($id: ID) { query GuildsQuery($id: ID) {
guilds(filter: {id: $id}) { guilds(filter: {id: $id}) {