stufflog graphql server
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.

75 lines
2.1 KiB

  1. """
  2. An issue item is a requirement of an item under an issue.
  3. """
  4. type IssueItem {
  5. "ID of the issue item listing."
  6. id: String!
  7. "The amount of the item associated with an issue."
  8. quantity: Int!
  9. "Whether the full quantity of item has been acquired."
  10. acquired: Boolean!
  11. "Parent issue of the issue item."
  12. issue: Issue!
  13. "The item associated with the issue."
  14. item: Item!
  15. "The amount of items remaining."
  16. remaining: Int!
  17. }
  18. "Input for the items query."
  19. input IssueItemFilter {
  20. "Filter to only these IDs, used primarily by IDs."
  21. issueItemIds: [String!]
  22. "Filter to only these issues."
  23. issueIds: [String!]
  24. "Filter to only issues where these are the asignees."
  25. issueAssignees: [String!]
  26. "Filter to only issues where these are the owners."
  27. issueOwners: [String!]
  28. "Filter by issue minimum stage (inclusive)."
  29. issueMinStage: Int
  30. "Filter by issue maximum stage (inclusive)."
  31. issueMaxStage: Int
  32. "Filter to only list issue items with these items."
  33. itemIds: [String!]
  34. "Filter to only list issue items where the item has these tags."
  35. itemTags: [String!]
  36. "Only listed acquired or non-acquired items."
  37. acquired: Boolean
  38. }
  39. "Input for the items query."
  40. input IssueIssueItemFilter {
  41. "Filter to only these IDs, used primarily by IDs."
  42. issueItemIds: [String!]
  43. "Filter to only list issue items with these items."
  44. itemIds: [String!]
  45. "Filter to only list issue items where the item has these tags."
  46. itemTags: [String!]
  47. "Only listed acquired or non-acquired items."
  48. acquired: Boolean
  49. }
  50. "Input for the createIssueItem mutation."
  51. input IssueItemCreateInput {
  52. "Parent issue."
  53. issueId: String!
  54. "Item to associate with."
  55. itemId: String!
  56. "Quantity of the item."
  57. quanitty: Int!
  58. "Whether the item has already been acquired."
  59. acquired: Boolean
  60. }
  61. "Input for the editIssueItem mutation."
  62. input IssueItemEditInput {
  63. "The ID of the issue item to edit."
  64. issueItemId: String!
  65. "Update the quantity of the item."
  66. setQuanitty: Int
  67. "Update whether the item has been acquired."
  68. setAcquired: Boolean
  69. }