schema.graphqls 1001 B

1234567891011121314151617181920212223
  1. # Copyright © Magento, Inc. All rights reserved.
  2. # See COPYING.txt for license details.
  3. interface ProductInterface {
  4. url_key: String @doc(description: "The part of the URL that identifies the product")
  5. url_path: String @doc(description: "The part of the URL that precedes the url_key")
  6. url_rewrites: [UrlRewrite] @doc(description: "URL rewrites list") @resolver(class: "Magento\\UrlRewriteGraphQl\\Model\\Resolver\\UrlRewrite")
  7. }
  8. input ProductFilterInput {
  9. url_key: FilterTypeInput @doc(description: "The part of the URL that identifies the product")
  10. url_path: FilterTypeInput @doc(description: "The part of the URL that precedes the url_key")
  11. }
  12. input ProductSortInput {
  13. url_key: SortEnum @doc(description: "The part of the URL that identifies the product")
  14. url_path: SortEnum @doc(description: "The part of the URL that precedes the url_key")
  15. }
  16. enum UrlRewriteEntityTypeEnum @doc(description: "This enumeration defines the entity type.") {
  17. PRODUCT
  18. CATEGORY
  19. }