feat: admin - system info

This commit is contained in:
NGPixel
2018-03-18 00:34:32 -04:00
parent 392cbe9388
commit 8462e18fc5
5 changed files with 109 additions and 16 deletions

View File

@@ -65,6 +65,31 @@ export default {
}
`
},
SYSTEM: {
QUERY_INFO: gql`
query {
system {
info {
currentVersion
latestVersion
latestVersionReleaseDate
operatingSystem
hostname
cpuCores
ramTotal
workingDirectory
nodeVersion
redisVersion
redisUsedRAM
redisTotalRAM
redisHost
postgreVersion
postgreHost
}
}
}
`
},
TRANSLATIONS: {
QUERY_NAMESPACE: gql`
query($locale: String!, $namespace: String!) {