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

@ -51,4 +51,4 @@
"tslib": "^2.4.1", "tslib": "^2.4.1",
"typescript": "~4.9.5" "typescript": "~4.9.5"
} }
} }

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}) {

View File

@ -25,4 +25,4 @@
"Name": "sh-edraft-dark-theme" "Name": "sh-edraft-dark-theme"
} }
] ]
} }