GraphQL API and utilities for the rpdata project
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.

62 lines
1.2 KiB

  1. # Information about an IRC channel
  2. type Channel {
  3. # The channel's name
  4. name: String!
  5. # Whether the channel should be logged
  6. logged: Boolean!
  7. # Whether the channel is a hub channel
  8. hub: Boolean!
  9. # The event name, or `null` if none is specified
  10. eventName: String
  11. # The location name, or `null` if none is specified
  12. locationName: String
  13. }
  14. # Filters for the channels query
  15. input ChannelsFilter {
  16. # Filter to either logged or unlogged channels
  17. logged: Boolean
  18. # Filter by event name
  19. eventName: String
  20. # Filter by location name
  21. locationName: String
  22. }
  23. input ChannelAddInput {
  24. # The channel's name
  25. name: String!
  26. # Whether the channel should be logged
  27. logged: Boolean
  28. # Whether the channel is a hub channel
  29. hub: Boolean
  30. # The event name, or `null` if none is specified
  31. eventName: String
  32. # The location name, or `null` if none is specified
  33. locationName: String
  34. }
  35. input ChannelEditInput {
  36. # The channel's name
  37. name: String!
  38. # Whether the channel should be logged
  39. logged: Boolean
  40. # Whether the channel is a hub channel
  41. hub: Boolean
  42. # The event name, or `null` if none is specified
  43. eventName: String
  44. # The location name, or `null` if none is specified
  45. locationName: String
  46. }