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/CatalogGraphQl/etc/schema.graphqls
+8Lines changed: 8 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -132,6 +132,7 @@ type CustomizableAreaValue @doc(description: "CustomizableAreaValue defines the
132
132
price_type: PriceTypeEnum@doc(description: "FIXED, PERCENT, or DYNAMIC.")
133
133
sku: String@doc(description: "The Stock Keeping Unit for this option.")
134
134
max_characters: Int@doc(description: "The maximum number of characters that can be entered for this customizable option.")
135
+
id_v2: String@doc(description: "Base64 string, that encodes details for each option.") @resolver(class: "Magento\\CatalogGraphQl\\Model\\Resolver\\Product\\CustomizableOptionValueIdV2")
135
136
}
136
137
137
138
typeCategoryTreeimplementsCategoryInterface@doc(description: "Category Tree implementation.") {
@@ -153,6 +154,7 @@ type CustomizableDateValue @doc(description: "CustomizableDateValue defines the
153
154
price: Float@doc(description: "The price assigned to this option.")
154
155
price_type: PriceTypeEnum@doc(description: "FIXED, PERCENT, or DYNAMIC.")
155
156
sku: String@doc(description: "The Stock Keeping Unit for this option.")
157
+
id_v2: String@doc(description: "Base64 string, that encodes details for each option.") @resolver(class: "Magento\\CatalogGraphQl\\Model\\Resolver\\Product\\CustomizableOptionValueIdV2")
156
158
}
157
159
158
160
typeCustomizableDropDownOptionimplementsCustomizableOptionInterface@doc(description: "CustomizableDropDownOption contains information about a drop down menu that is defined as part of a customizable option.") {
@@ -166,6 +168,7 @@ type CustomizableDropDownValue @doc(description: "CustomizableDropDownValue defi
166
168
sku: String@doc(description: "The Stock Keeping Unit for this option.")
167
169
title: String@doc(description: "The display name for this option.")
168
170
sort_order: Int@doc(description: "The order in which the option is displayed.")
171
+
id_v2: String@doc(description: "Base64 string, that encodes details for each option.") @resolver(class: "Magento\\CatalogGraphQl\\Model\\Resolver\\Product\\CustomizableOptionValueIdV2")
169
172
}
170
173
171
174
typeCustomizableMultipleOptionimplementsCustomizableOptionInterface@doc(description: "CustomizableMultipleOption contains information about a multiselect that is defined as part of a customizable option.") {
@@ -179,6 +182,7 @@ type CustomizableMultipleValue @doc(description: "CustomizableMultipleValue defi
179
182
sku: String@doc(description: "The Stock Keeping Unit for this option.")
180
183
title: String@doc(description: "The display name for this option.")
181
184
sort_order: Int@doc(description: "The order in which the option is displayed.")
185
+
id_v2: String@doc(description: "Base64 string, that encodes details for each option.") @resolver(class: "Magento\\CatalogGraphQl\\Model\\Resolver\\Product\\CustomizableOptionValueIdV2")
182
186
}
183
187
184
188
typeCustomizableFieldOptionimplementsCustomizableOptionInterface@doc(description: "CustomizableFieldOption contains information about a text field that is defined as part of a customizable option.") {
@@ -191,6 +195,7 @@ type CustomizableFieldValue @doc(description: "CustomizableFieldValue defines th
191
195
price_type: PriceTypeEnum@doc(description: "FIXED, PERCENT, or DYNAMIC.")
192
196
sku: String@doc(description: "The Stock Keeping Unit for this option.")
193
197
max_characters: Int@doc(description: "The maximum number of characters that can be entered for this customizable option.")
198
+
id_v2: String@doc(description: "Base64 string, that encodes details for each option.") @resolver(class: "Magento\\CatalogGraphQl\\Model\\Resolver\\Product\\CustomizableOptionValueIdV2")
194
199
}
195
200
196
201
typeCustomizableFileOptionimplementsCustomizableOptionInterface@doc(description: "CustomizableFileOption contains information about a file picker that is defined as part of a customizable option.") {
@@ -205,6 +210,7 @@ type CustomizableFileValue @doc(description: "CustomizableFileValue defines the
205
210
file_extension: String@doc(description: "The file extension to accept.")
206
211
image_size_x: Int@doc(description: "The maximum width of an image.")
207
212
image_size_y: Int@doc(description: "The maximum height of an image.")
213
+
id_v2: String@doc(description: "Base64 string, that encodes details for each option.") @resolver(class: "Magento\\CatalogGraphQl\\Model\\Resolver\\Product\\CustomizableOptionValueIdV2")
208
214
}
209
215
210
216
interfaceMediaGalleryInterface@doc(description: "Contains basic information about a product image or video.") @typeResolver(class: "Magento\\CatalogGraphQl\\Model\\MediaGalleryTypeResolver") {
@@ -274,6 +280,7 @@ type CustomizableRadioValue @doc(description: "CustomizableRadioValue defines th
274
280
sku: String@doc(description: "The Stock Keeping Unit for this option.")
275
281
title: String@doc(description: "The display name for this option.")
276
282
sort_order: Int@doc(description: "The order in which the radio button is displayed.")
283
+
id_v2: String@doc(description: "Base64 string, that encodes details for each option.") @resolver(class: "Magento\\CatalogGraphQl\\Model\\Resolver\\Product\\CustomizableOptionValueIdV2")
277
284
}
278
285
279
286
typeCustomizableCheckboxOptionimplementsCustomizableOptionInterface@doc(description: "CustomizableCheckbbixOption contains information about a set of checkbox values that are defined as part of a customizable option.") {
@@ -287,6 +294,7 @@ type CustomizableCheckboxValue @doc(description: "CustomizableCheckboxValue defi
287
294
sku: String@doc(description: "The Stock Keeping Unit for this option.")
288
295
title: String@doc(description: "The display name for this option.")
289
296
sort_order: Int@doc(description: "The order in which the checkbox value is displayed.")
297
+
id_v2: String@doc(description: "Base64 string, that encodes details for each option.") @resolver(class: "Magento\\CatalogGraphQl\\Model\\Resolver\\Product\\CustomizableOptionValueIdV2")
290
298
}
291
299
292
300
typeVirtualProductimplementsProductInterface, CustomizableProductInterface@doc(description: "A virtual product is non-tangible product that does not require shipping and is not kept in inventory.") {
Copy file name to clipboardExpand all lines: app/code/Magento/ConfigurableProductGraphQl/etc/schema.graphqls
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -18,6 +18,7 @@ type ConfigurableAttributeOption @doc(description: "ConfigurableAttributeOption
18
18
label: String@doc(description: "A string that describes the configurable attribute option")
19
19
code: String@doc(description: "The ID assigned to the attribute")
20
20
value_index: Int@doc(description: "A unique index number assigned to the configurable product option")
21
+
id_v2: String@doc(description: "Base64 string, that encodes details for each option.") @resolver(class: "Magento\\ConfigurableProductGraphQl\\Model\\Resolver\\Variant\\Attributes\\ConfigurableAttributeIdV2")
21
22
}
22
23
23
24
typeConfigurableProductOptions@doc(description: "ConfigurableProductOptions defines configurable attributes for the specified product") {
0 commit comments