system.graphql 988 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. # ===============================================
  2. # SYSTEM
  3. # ===============================================
  4. extend type Query {
  5. system: SystemQuery
  6. }
  7. extend type Mutation {
  8. system: SystemMutation
  9. }
  10. # -----------------------------------------------
  11. # QUERIES
  12. # -----------------------------------------------
  13. type SystemQuery {
  14. info: SystemInfo
  15. }
  16. # -----------------------------------------------
  17. # MUTATIONS
  18. # -----------------------------------------------
  19. type SystemMutation {
  20. todo: String
  21. }
  22. # -----------------------------------------------
  23. # TYPES
  24. # -----------------------------------------------
  25. type SystemInfo {
  26. currentVersion: String
  27. latestVersion: String
  28. latestVersionReleaseDate: Date
  29. operatingSystem: String
  30. hostname: String
  31. cpuCores: Int
  32. ramTotal: String
  33. workingDirectory: String
  34. nodeVersion: String
  35. redisVersion: String
  36. redisUsedRAM: String
  37. redisTotalRAM: String
  38. redisHost: String
  39. postgreVersion: String
  40. postgreHost: String
  41. }