Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.
 
 
 
 
 
 

33 строки
1.6 KiB

  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_suffix: String @doc(description: "The part of the product URL that is appended after the url key") @resolver(class: "Magento\\CatalogUrlRewriteGraphQl\\Model\\Resolver\\ProductUrlSuffix")
  6. url_path: String @deprecated(reason: "Use product's `canonical_url` or url rewrites instead")
  7. url_rewrites: [UrlRewrite] @doc(description: "URL rewrites list") @resolver(class: "Magento\\UrlRewriteGraphQl\\Model\\Resolver\\UrlRewrite")
  8. }
  9. interface CategoryInterface {
  10. url_suffix: String @doc(description: "The part of the category URL that is appended after the url key") @resolver(class: "Magento\\CatalogUrlRewriteGraphQl\\Model\\Resolver\\CategoryUrlSuffix")
  11. }
  12. input ProductFilterInput {
  13. url_key: FilterTypeInput @doc(description: "The part of the URL that identifies the product")
  14. url_path: FilterTypeInput @deprecated(reason: "Use product's `canonical_url` or url rewrites instead")
  15. }
  16. input ProductAttributeFilterInput {
  17. url_key: FilterEqualTypeInput @doc(description: "The part of the URL that identifies the product")
  18. }
  19. input ProductSortInput {
  20. url_key: SortEnum @doc(description: "The part of the URL that identifies the product")
  21. url_path: SortEnum @deprecated(reason: "Use product's `canonical_url` or url rewrites instead")
  22. }
  23. enum UrlRewriteEntityTypeEnum @doc(description: "This enumeration defines the entity type.") {
  24. PRODUCT
  25. CATEGORY
  26. }