refactor: dev optimizations + improvements

This commit is contained in:
NGPixel
2018-03-17 22:41:16 -04:00
parent 3dc9b92596
commit 392cbe9388
31 changed files with 1388 additions and 1008 deletions

View File

@@ -0,0 +1,45 @@
# ===============================================
# 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
}