system.graphql 896 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  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: Int
  33. workingDirectory: String
  34. nodeVersion: String
  35. redisVersion: String
  36. postgreVersion: String
  37. }