Fixed queries #295

This commit is contained in:
Sven Heidemann 2023-08-14 19:12:37 +02:00
parent bfe72668dc
commit 1f9991eeda

View File

@ -1,22 +1,5 @@
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}) {
@ -382,31 +365,31 @@ export class Queries {
static serverConfigQuery = ` static serverConfigQuery = `
query serverConfigQuery($serverId: ID) { query serverConfigQuery($serverId: ID) {
servers(filter: { id: $serverId }) { servers(filter: { id: $serverId }) {
name name
config { config {
id
messageDeleteTimer
notificationChatId
maxVoiceStateHours
xpPerMessage
xpPerReaction
maxMessageXpPerHour
xpPerOntimeHour
xpPerEventParticipation
xpPerAchievement
afkCommandChannelId
helpVoiceChannelId
teamChannelId
loginMessageChannelId
afkChannelIds
moderatorRoleIds
adminRoleIds
server {
id id
messageDeleteTimer
notificationChatId
maxVoiceStateHours
xpPerMessage
xpPerReaction
maxMessageXpPerHour
xpPerOntimeHour
xpPerEventParticipation
xpPerAchievement
afkCommandChannelId
helpVoiceChannelId
teamChannelId
loginMessageChannelId
afkChannelIds
moderatorRoleIds
adminRoleIds
server {
id
}
} }
} }
} }
}
`; `;
} }