46 lines
896 B
GraphQL
46 lines
896 B
GraphQL
# ===============================================
|
|
# 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: Int
|
|
workingDirectory: String
|
|
nodeVersion: String
|
|
redisVersion: String
|
|
postgreVersion: String
|
|
}
|