schema.graphqls 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. # Copyright © Magento, Inc. All rights reserved.
  2. # See COPYING.txt for license details.
  3. type Query {
  4. }
  5. type Mutation {
  6. }
  7. input FilterTypeInput @doc(description: "FilterTypeInput specifies which action will be performed in a query ") {
  8. eq: String @doc(description: "Equals")
  9. finset: [String] @doc(description: "Find in set. The value can contain a set of comma-separated values")
  10. from: String @doc(description: "From. Must be used with 'to'")
  11. gt: String @doc(description: "Greater than")
  12. gteq: String @doc(description: "Greater than or equal to")
  13. in: [String] @doc(description: "In. The value can contain a set of comma-separated values")
  14. like: String @doc(description: "Like. The specified value can contain % (percent signs) to allow matching of 0 or more characters")
  15. lt: String @doc(description: "Less than")
  16. lteq: String @doc(description: "Less than or equal to")
  17. moreq: String @doc(description: "More than or equal to")
  18. neq: String @doc(description: "Not equal to")
  19. notnull: String @doc(description: "Not null")
  20. null: String @doc(description: "Is null")
  21. to: String@doc(description: "To. Must be used with 'from'")
  22. nin: [String] @doc(description: "Not in. The value can contain a set of comma-separated values")
  23. }
  24. type SearchResultPageInfo @doc(description: "SearchResultPageInfo provides navigation for the query response") {
  25. page_size: Int @doc(description: "Specifies the maximum number of items to return")
  26. current_page: Int @doc(description: "Specifies which page of results to return")
  27. total_pages: Int @doc(description: "Total pages")
  28. }
  29. enum SortEnum @doc(description: "This enumeration indicates whether to return results in ascending or descending order") {
  30. ASC
  31. DESC
  32. }
  33. type ComplexTextValue {
  34. html: String! @doc(description: "HTML format")
  35. }