You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: app/code/Magento/BundleGraphQl/etc/schema.graphqls
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
# See COPYING.txt for license details.
3
3
4
4
typeMutation {
5
-
addBundleProductsToCart(input: AddBundleProductsToCartInput): AddBundleProductsToCartOutput@resolver(class: "Magento\\QuoteGraphQl\\Model\\Resolver\\AddSimpleProductsToCart") @doc(description: "Add one or more bundle products to the specified cart. We recommend using `addProductsToCart` instead.")
5
+
addBundleProductsToCart(input: AddBundleProductsToCartInput@doc(description: "An input object that defines which bundle products to add to the cart.")): AddBundleProductsToCartOutput@resolver(class: "Magento\\QuoteGraphQl\\Model\\Resolver\\AddSimpleProductsToCart") @doc(description: "Add one or more bundle products to the specified cart. We recommend using `addProductsToCart` instead.")
6
6
}
7
7
8
8
inputAddBundleProductsToCartInput@doc(description: "Defines the bundle products to add to the cart.") {
Copy file name to clipboardExpand all lines: app/code/Magento/CatalogInventoryGraphQl/etc/schema.graphqls
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -2,8 +2,8 @@
2
2
# See COPYING.txt for license details.
3
3
4
4
interfaceProductInterface {
5
-
only_x_left_in_stock: Float@doc(description: "The value assigned to the Only X Left Threshold in the Admin.") @resolver(class: "Magento\\CatalogInventoryGraphQl\\Model\\Resolver\\OnlyXLeftInStockResolver")
6
-
stock_status: ProductStockStatus@doc(description: "Stock status of the product.") @resolver(class: "Magento\\CatalogInventoryGraphQl\\Model\\Resolver\\StockStatusProvider")
5
+
only_x_left_in_stock: Float@doc(description: "The value assigned to the Only X Left Threshold option in the Admin.") @resolver(class: "Magento\\CatalogInventoryGraphQl\\Model\\Resolver\\OnlyXLeftInStockResolver")
6
+
stock_status: ProductStockStatus@doc(description: "The stock status of the product.") @resolver(class: "Magento\\CatalogInventoryGraphQl\\Model\\Resolver\\StockStatusProvider")
7
7
}
8
8
9
9
enumProductStockStatus@doc(description: "States whether a product stock status is in stock or out of stock.") {
addConfigurableProductsToCart(input: AddConfigurableProductsToCartInput): AddConfigurableProductsToCartOutput@resolver(class: "Magento\\ConfigurableProductGraphQl\\Model\\Resolver\\AddConfigurableProductsToCart") @doc(description: "Add one or more configurable products to the specified cart. We recommend using `addProductsToCart` instead.")
4
+
addConfigurableProductsToCart(input: AddConfigurableProductsToCartInput@doc(description: "An input object that defines which configurable products to add to the cart.")): AddConfigurableProductsToCartOutput@resolver(class: "Magento\\ConfigurableProductGraphQl\\Model\\Resolver\\AddConfigurableProductsToCart") @doc(description: "Add one or more configurable products to the specified cart. We recommend using `addProductsToCart` instead.")
5
5
}
6
6
7
7
typeConfigurableProductimplementsProductInterface, RoutableInterface, PhysicalProductInterface, CustomizableProductInterface@doc(description: "Defines basic features of a configurable product and its simple product variants.") {
configurable_options: [ConfigurableProductOptions] @doc(description: "An array of options for the configurable product.") @resolver(class: "Magento\\ConfigurableProductGraphQl\\Model\\Resolver\\Options")
10
-
configurable_product_options_selection(configurableOptionValueUids: [ID!]): ConfigurableProductOptionsSelection@doc(description: "Contains media gallery items and other details about selected configurable product options as well as details about remaining selectable options.") @resolver(class: "Magento\\ConfigurableProductGraphQl\\Model\\Resolver\\OptionsSelectionMetadata")
10
+
configurable_product_options_selection(configurableOptionValueUids: [ID!]): ConfigurableProductOptionsSelection@doc(description: "An array of media gallery items and other details about selected configurable product options as well as details about remaining selectable options.") @resolver(class: "Magento\\ConfigurableProductGraphQl\\Model\\Resolver\\OptionsSelectionMetadata")
11
11
}
12
12
13
-
typeConfigurableVariant@doc(description: "An array containing all the simple product variants of a configurable product.") {
13
+
typeConfigurableVariant@doc(description: "Contains all the simple product variants of a configurable product.") {
product: SimpleProduct@resolver(class: "Magento\\CatalogGraphQl\\Model\\Resolver\\Product") @doc(description: "An array of linked simple products.")
16
16
}
@@ -19,7 +19,7 @@ type ConfigurableAttributeOption @doc(description: "Contains details about a con
19
19
label: String@doc(description: "A string that describes the configurable attribute option.")
20
20
code: String@doc(description: "The ID assigned to the attribute.")
21
21
value_index: Int@doc(description: "A unique index number assigned to the configurable product option.")
22
-
uid: ID!@doc(description: "The unique ID for a `ConfigurableAttributeOption` object") @resolver(class: "Magento\\ConfigurableProductGraphQl\\Model\\Resolver\\Variant\\Attributes\\ConfigurableAttributeUid")
22
+
uid: ID!@doc(description: "The unique ID for a `ConfigurableAttributeOption` object.") @resolver(class: "Magento\\ConfigurableProductGraphQl\\Model\\Resolver\\Variant\\Attributes\\ConfigurableAttributeUid")
23
23
}
24
24
25
25
typeConfigurableProductOptions@doc(description: "Defines configurable attributes for the specified product.") {
@@ -29,7 +29,7 @@ type ConfigurableProductOptions @doc(description: "Defines configurable attribut
29
29
attribute_id_v2: Int@deprecated(reason: "Use `attribute_uid` instead.") @doc(description: "The ID assigned to the attribute.")
30
30
attribute_uid: ID!@doc(description: "The unique ID for an `Attribute` object.")
31
31
attribute_code: String@doc(description: "A string that identifies the attribute.")
32
-
label: String@doc(description: "A string that describes the configurable product option, which is displayed on the storefront.")
32
+
label: String@doc(description: "A displayed string that describes the configurable product option.")
33
33
position: Int@doc(description: "A number that indicates the order in which the attribute is displayed.")
34
34
use_default: Boolean@doc(description: "Indicates whether the option is the default.")
35
35
values: [ConfigurableProductOptionsValues] @doc(description: "An array that defines the `value_index` codes assigned to the configurable product.")
typeConfigurableProductOptionsSelection@doc(description: "Contains metadata corresponding to the configurable options selection.") {
85
-
options_available_for_selection: [ConfigurableOptionAvailableForSelection!] @doc(description: "Configurable options available for further selection based on the current selection.")
86
-
configurable_options: [ConfigurableProductOption!] @doc(description: "Configurable options available for further selection based on the current selections.")
84
+
typeConfigurableProductOptionsSelection@doc(description: "Contains metadata corresponding to the selected configurable options.") {
85
+
options_available_for_selection: [ConfigurableOptionAvailableForSelection!] @doc(description: "The configurable options available for further selection based on the current selection.")
86
+
configurable_options: [ConfigurableProductOption!] @doc(description: "An array of all possible configurable options.")
87
87
media_gallery: [MediaGalleryInterface!] @resolver(class: "Magento\\ConfigurableProductGraphQl\\Model\\Resolver\\SelectionMediaGallery") @doc(description: "Product images and videos corresponding to the specified configurable options selection.")
88
-
variant: SimpleProduct@resolver(class: "Magento\\ConfigurableProductGraphQl\\Model\\Resolver\\Variant\\Variant") @doc(description: "A variant represented by the specified configurable options selection. It is expected to be null, until selections are made for each configurable option.")
88
+
variant: SimpleProduct@resolver(class: "Magento\\ConfigurableProductGraphQl\\Model\\Resolver\\Variant\\Variant") @doc(description: "A variant represented by the specified configurable options selection. The value is expected to be null until selections are made for each configurable option.")
89
89
}
90
90
91
91
typeConfigurableOptionAvailableForSelection@doc(description: "Describes configurable options that have been selected and can be selected as a result of the previous selections.") {
92
-
option_value_uids: [ID!]!@doc(description: "An array of IDs that can be selected.")
92
+
option_value_uids: [ID!]!@doc(description: "An array of selectable option value IDs.")
93
93
attribute_code: String!@doc(description: "An attribute code that uniquely identifies a configurable option.")
94
94
}
95
95
96
-
typeConfigurableProductOption@doc(description: "Contains configurable options available for further selected, based on the current selections.") {
96
+
typeConfigurableProductOption@doc(description: "Contains details about configurable product options.") {
97
97
uid: ID!@doc(description: "The unique ID of the configurable option.")
98
98
attribute_code: String!@doc(description: "An attribute code that uniquely identifies a configurable option.")
99
99
label: String!@doc(description: "The display name of the option.")
@@ -108,5 +108,5 @@ type ConfigurableProductOptionValue @doc(description: "Defines a value for a con
108
108
}
109
109
110
110
typeStoreConfig {
111
-
configurable_thumbnail_source : String @doc(description: "The configuration setting determines which thumbnail should be used in the cart for configurable products.")
111
+
configurable_thumbnail_source : String @doc(description: "Indicates whether the `parent` or child (`itself`) thumbnail should be used in the cart for configurable products.")
Copy file name to clipboardExpand all lines: app/code/Magento/DownloadableGraphQl/etc/schema.graphqls
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
# See COPYING.txt for license details.
3
3
4
4
typeMutation {
5
-
addDownloadableProductsToCart(input: AddDownloadableProductsToCartInput): AddDownloadableProductsToCartOutput@resolver(class: "Magento\\QuoteGraphQl\\Model\\Resolver\\AddSimpleProductsToCart") @doc(description: "Add one or more downloadable products to the specified cart. We recommend using `addProductsToCart` instead.")
5
+
addDownloadableProductsToCart(input: AddDownloadableProductsToCartInput@doc(description: "An input object that defines which downloadable products to add to the cart.")): AddDownloadableProductsToCartOutput@resolver(class: "Magento\\QuoteGraphQl\\Model\\Resolver\\AddSimpleProductsToCart") @doc(description: "Add one or more downloadable products to the specified cart. We recommend using `addProductsToCart` instead.")
6
6
}
7
7
8
8
inputAddDownloadableProductsToCartInput {
@@ -47,7 +47,7 @@ type DownloadableProductLinks @doc(description: "Defines characteristics of a do
47
47
title: String@doc(description: "The display name of the link.")
48
48
sort_order: Int@doc(description: "A number indicating the sort order.")
49
49
price: Float@doc(description: "The price of the downloadable product.")
50
-
sample_url: String@doc(description: "URL to the downloadable sample.")
50
+
sample_url: String@doc(description: "The full URL to the downloadable sample.")
51
51
is_shareable: Boolean@deprecated(reason: "This information should not be exposed on frontend.")
52
52
number_of_downloads: Int@deprecated(reason: "This information should not be exposed on frontend.")
related_products: [ProductInterface] @doc(description: "An array of products to be displayed in a Related Products block.") @resolver(class: "Magento\\RelatedProductGraphQl\\Model\\Resolver\\Batch\\RelatedProducts")
6
+
upsell_products: [ProductInterface] @doc(description: "Upsell Products") @resolver(class: "Magento\\RelatedProductGraphQl\\Model\\Resolver\\Batch\\UpSellProducts")@doc(description: "An array of products to be displayed in a Upsell Products block.")
7
+
crosssell_products: [ProductInterface] @doc(description: "Crosssell Products") @resolver(class: "Magento\\RelatedProductGraphQl\\Model\\Resolver\\Batch\\CrossSellProducts")@doc(description: "An array of products to be displayed in a Cross-sell Products block.")
0 commit comments