feat: admin - save locale settings + system info linux os
This commit is contained in:
12
client/graph/admin-locale-mutation-save.gql
Normal file
12
client/graph/admin-locale-mutation-save.gql
Normal file
@@ -0,0 +1,12 @@
|
||||
mutation($locale: String!, $autoUpdate: Boolean!) {
|
||||
localization {
|
||||
updateLocale(locale: $locale, autoUpdate: $autoUpdate) {
|
||||
responseResult {
|
||||
succeeded
|
||||
errorCode
|
||||
slug
|
||||
message
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
@@ -10,5 +10,9 @@
|
||||
nativeName
|
||||
updatedAt
|
||||
}
|
||||
config {
|
||||
locale
|
||||
autoUpdate
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@@ -1,7 +1,11 @@
|
||||
query {
|
||||
system {
|
||||
info {
|
||||
configFile
|
||||
currentVersion
|
||||
dbType
|
||||
dbVersion
|
||||
dbHost
|
||||
latestVersion
|
||||
latestVersionReleaseDate
|
||||
operatingSystem
|
||||
@@ -14,8 +18,6 @@ query {
|
||||
redisUsedRAM
|
||||
redisTotalRAM
|
||||
redisHost
|
||||
postgreVersion
|
||||
postgreHost
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user