You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
# ===============================================
|
|
|
|
# SYSTEM
|
|
|
|
# ===============================================
|
|
|
|
|
|
|
|
extend type Query {
|
|
|
|
system: SystemQuery
|
|
|
|
}
|
|
|
|
|
|
|
|
extend type Mutation {
|
|
|
|
system: SystemMutation
|
|
|
|
}
|
|
|
|
|
|
|
|
# -----------------------------------------------
|
|
|
|
# QUERIES
|
|
|
|
# -----------------------------------------------
|
|
|
|
|
|
|
|
type SystemQuery {
|
|
|
|
info: SystemInfo
|
|
|
|
}
|
|
|
|
|
|
|
|
# -----------------------------------------------
|
|
|
|
# MUTATIONS
|
|
|
|
# -----------------------------------------------
|
|
|
|
|
|
|
|
type SystemMutation {
|
|
|
|
todo: String
|
|
|
|
}
|
|
|
|
|
|
|
|
# -----------------------------------------------
|
|
|
|
# TYPES
|
|
|
|
# -----------------------------------------------
|
|
|
|
|
|
|
|
type SystemInfo {
|
|
|
|
configFile: String
|
|
|
|
cpuCores: Int
|
|
|
|
currentVersion: String
|
|
|
|
dbHost: String
|
|
|
|
dbType: String
|
|
|
|
dbVersion: String
|
|
|
|
hostname: String
|
|
|
|
latestVersion: String
|
|
|
|
latestVersionReleaseDate: Date
|
|
|
|
nodeVersion: String
|
|
|
|
operatingSystem: String
|
|
|
|
ramTotal: String
|
|
|
|
redisHost: String
|
|
|
|
redisTotalRAM: String
|
|
|
|
redisUsedRAM: String
|
|
|
|
redisVersion: String
|
|
|
|
workingDirectory: String
|
|
|
|
}
|