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
995 B

  1. # ===============================================
  2. # LOGGING
  3. # ===============================================
  4. extend type Query {
  5. logging: LoggingQuery
  6. }
  7. extend type Mutation {
  8. logging: LoggingMutation
  9. }
  10. # -----------------------------------------------
  11. # QUERIES
  12. # -----------------------------------------------
  13. type LoggingQuery {
  14. loggers(
  15. filter: String
  16. orderBy: String
  17. ): [Logger]
  18. }
  19. # -----------------------------------------------
  20. # MUTATIONS
  21. # -----------------------------------------------
  22. type LoggingMutation {
  23. updateLoggers(
  24. loggers: [LoggerInput]
  25. ): DefaultResponse
  26. }
  27. # -----------------------------------------------
  28. # TYPES
  29. # -----------------------------------------------
  30. type Logger {
  31. isEnabled: Boolean!
  32. key: String!
  33. title: String!
  34. description: String
  35. logo: String
  36. website: String
  37. level: String
  38. config: [KeyValuePair]
  39. }
  40. input LoggerInput {
  41. isEnabled: Boolean!
  42. key: String!
  43. level: String!
  44. config: [KeyValuePairInput]
  45. }