mirror of https://github.com/requarks/wiki
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.
50 lines
988 B
50 lines
988 B
# ===============================================
|
|
# SYSTEM
|
|
# ===============================================
|
|
|
|
extend type Query {
|
|
system: SystemQuery
|
|
}
|
|
|
|
extend type Mutation {
|
|
system: SystemMutation
|
|
}
|
|
|
|
# -----------------------------------------------
|
|
# QUERIES
|
|
# -----------------------------------------------
|
|
|
|
type SystemQuery {
|
|
info: SystemInfo
|
|
}
|
|
|
|
# -----------------------------------------------
|
|
# MUTATIONS
|
|
# -----------------------------------------------
|
|
|
|
type SystemMutation {
|
|
todo: String
|
|
}
|
|
|
|
# -----------------------------------------------
|
|
# TYPES
|
|
# -----------------------------------------------
|
|
|
|
type SystemInfo {
|
|
currentVersion: String
|
|
latestVersion: String
|
|
latestVersionReleaseDate: Date
|
|
operatingSystem: String
|
|
hostname: String
|
|
cpuCores: Int
|
|
ramTotal: String
|
|
workingDirectory: String
|
|
nodeVersion: String
|
|
redisVersion: String
|
|
redisUsedRAM: String
|
|
redisTotalRAM: String
|
|
redisHost: String
|
|
postgreVersion: String
|
|
postgreHost: String
|
|
}
|