You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

54 lines
1.1 KiB

  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 @auth(requires: ["manage:system"])
  15. }
  16. # -----------------------------------------------
  17. # MUTATIONS
  18. # -----------------------------------------------
  19. type SystemMutation {
  20. todo: String
  21. }
  22. # -----------------------------------------------
  23. # TYPES
  24. # -----------------------------------------------
  25. type SystemInfo {
  26. configFile: String
  27. cpuCores: Int
  28. currentVersion: String
  29. dbHost: String
  30. dbType: String
  31. dbVersion: String
  32. groupsTotal: Int
  33. hostname: String
  34. latestVersion: String
  35. latestVersionReleaseDate: Date
  36. nodeVersion: String
  37. operatingSystem: String
  38. pagesTotal: Int
  39. ramTotal: String
  40. redisHost: String
  41. redisTotalRAM: String
  42. redisUsedRAM: String
  43. redisVersion: String
  44. usersTotal: Int
  45. workingDirectory: String
  46. }