1234567891011121314151617181920212223 |
- # Copyright © Magento, Inc. All rights reserved.
- # See COPYING.txt for license details.
- interface ProductInterface {
- url_key: String @doc(description: "The part of the URL that identifies the product")
- url_path: String @doc(description: "The part of the URL that precedes the url_key")
- url_rewrites: [UrlRewrite] @doc(description: "URL rewrites list") @resolver(class: "Magento\\UrlRewriteGraphQl\\Model\\Resolver\\UrlRewrite")
- }
- input ProductFilterInput {
- url_key: FilterTypeInput @doc(description: "The part of the URL that identifies the product")
- url_path: FilterTypeInput @doc(description: "The part of the URL that precedes the url_key")
- }
- input ProductSortInput {
- url_key: SortEnum @doc(description: "The part of the URL that identifies the product")
- url_path: SortEnum @doc(description: "The part of the URL that precedes the url_key")
- }
- enum UrlRewriteEntityTypeEnum @doc(description: "This enumeration defines the entity type.") {
- PRODUCT
- CATEGORY
- }
|