Added technician config to frontend #127

This commit is contained in:
Sven Heidemann 2023-08-07 14:59:19 +02:00
parent 6c39cd1ae1
commit 51d95c81c1
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}) {