wikijs-fork/server/graph/schemas/system.graphql

50 lines
988 B
GraphQL
Raw Normal View History

# ===============================================
# 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
2018-03-18 04:34:32 +00:00
ramTotal: String
workingDirectory: String
nodeVersion: String
redisVersion: String
2018-03-18 04:34:32 +00:00
redisUsedRAM: String
redisTotalRAM: String
redisHost: String
postgreVersion: String
2018-03-18 04:34:32 +00:00
postgreHost: String
}