@graphcommerce/magento-graphql 8.1.0-canary.9 → 9.0.0-canary.54
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +95 -0
- package/Config.graphqls +7 -0
- package/package.json +5 -5
- package/schema-246/CartAddressInput-vat_id.graphqls +15 -0
- package/schema-246/Mutation-deleteCustomer.graphqls +6 -0
- package/schema-246/OrderItem-gift_message.graphqls +27 -0
- package/schema-246/SelectedShippingMethod.graphqls +4 -0
- package/schema-247/Cart-itemsV2.graphqls +72 -0
- package/schema-247/CartAddress.graphqls +56 -0
- package/schema-247/CustomAttributesV2.graphqls +266 -0
- package/schema-247/Mutation-cancelOrder.graphqls +34 -0
- package/schema-247/Mutation-confirmEmail.graphqls +55 -0
- package/schema-247/Mutation-contactUs.graphqls +40 -0
- package/schema-247/Mutation-createGuestCart.graphqls +21 -0
- package/schema-247/Mutation-estimateShippingMethods.graphqls +44 -0
- package/schema-247/Mutation-estimateTotals.graphqls +21 -0
- package/schema-247/Mutation-placeOrder.graphqls +10 -0
- package/schema-247/ProductAttributeFilterInput-category_url_path.graphqls +3 -0
- package/schema-247/Query-attributesList.graphqls +450 -0
- package/schema-247/Query-guestOrder.graphqls +31 -0
- package/schema-247/Query-guestOrderByToken.graphqls +30 -0
- package/schema-247/Query-recaptchaV3Config.graphqls +53 -0
- package/typePolicies.ts +5 -5
- package/schema/Magento243to245.graphqls +0 -52
package/typePolicies.ts
CHANGED
|
@@ -28,7 +28,7 @@ export const magentoTypePolicies: TypedTypePolicies = {
|
|
|
28
28
|
AvailablePaymentMethod: { keyFields: ['code'] },
|
|
29
29
|
AvailableShippingMethod: { keyFields: ['carrier_code', 'method_code'] },
|
|
30
30
|
// BillingCartAddress: { keyFields: false },
|
|
31
|
-
Breadcrumb: { keyFields: ['category_uid'] },
|
|
31
|
+
// Breadcrumb: { keyFields: ['category_uid'] },
|
|
32
32
|
BundleCartItem: { keyFields: ['uid'] },
|
|
33
33
|
// BundleCreditMemoItem: { keyFields: ['id'] },
|
|
34
34
|
// BundleInvoiceItem: { keyFields: ['id'] },
|
|
@@ -139,8 +139,8 @@ export const magentoTypePolicies: TypedTypePolicies = {
|
|
|
139
139
|
// InvoiceItemInterface: { keyFields: ['id'] },
|
|
140
140
|
// InvoiceTotal: { keyFields: false },
|
|
141
141
|
// IsEmailAvailableOutput: { keyFields: false },
|
|
142
|
-
ItemSelectedBundleOption: { keyFields: ['uid'] },
|
|
143
|
-
ItemSelectedBundleOptionValue: { keyFields: ['uid'] },
|
|
142
|
+
// ItemSelectedBundleOption: { keyFields: ['uid'] },
|
|
143
|
+
// ItemSelectedBundleOptionValue: { keyFields: ['uid'] },
|
|
144
144
|
// KeyValue: { keyFields: false },
|
|
145
145
|
// LayerFilter: { keyFields: false },
|
|
146
146
|
// LayerFilterItem: { keyFields: false },
|
|
@@ -198,8 +198,8 @@ export const magentoTypePolicies: TypedTypePolicies = {
|
|
|
198
198
|
// SalesCommentItem: { keyFields: false },
|
|
199
199
|
// SalesItemInterface: { keyFields: false },
|
|
200
200
|
// SearchResultPageInfo: { keyFields: false },
|
|
201
|
-
SelectedBundleOption: { keyFields: ['uid'] },
|
|
202
|
-
SelectedBundleOptionValue: { keyFields: ['uid'] },
|
|
201
|
+
// SelectedBundleOption: { keyFields: ['uid'] },
|
|
202
|
+
// SelectedBundleOptionValue: { keyFields: ['uid'] },
|
|
203
203
|
// SelectedConfigurableOption: { keyFields: ['configurable_product_option_value_uid'] },
|
|
204
204
|
// SelectedCustomizableOption: { keyFields: ['customizable_option_uid'] },
|
|
205
205
|
// SelectedCustomizableOptionValue: { keyFields: ['customizable_option_value_uid'] },
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
# GraphCommerce 2.4.3 forward compatibility with 2.4.5
|
|
2
|
-
# TODO: Remove forward compatibility layer when dropping support for 2.4.3
|
|
3
|
-
|
|
4
|
-
# Why does this exist? To fix and issue with a nasty bug in 2.4.3:
|
|
5
|
-
# When a product becomes out of stock it will return null for the cart line.
|
|
6
|
-
|
|
7
|
-
interface CartItemInterface {
|
|
8
|
-
"An array of errors encountered while loading the cart item"
|
|
9
|
-
errors: [CartItemError]
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
type BundleCartItem {
|
|
13
|
-
"An array of errors encountered while loading the cart item"
|
|
14
|
-
errors: [CartItemError]
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
type ConfigurableCartItem {
|
|
18
|
-
"An array of errors encountered while loading the cart item"
|
|
19
|
-
errors: [CartItemError]
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
type DownloadableCartItem {
|
|
23
|
-
"An array of errors encountered while loading the cart item"
|
|
24
|
-
errors: [CartItemError]
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
type SimpleCartItem {
|
|
28
|
-
"An array of errors encountered while loading the cart item"
|
|
29
|
-
errors: [CartItemError]
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
type VirtualCartItem {
|
|
33
|
-
"An array of errors encountered while loading the cart item"
|
|
34
|
-
errors: [CartItemError]
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
type CartItemError {
|
|
38
|
-
"An error code that describes the error encountered"
|
|
39
|
-
code: CartItemErrorType!
|
|
40
|
-
"A localized error message"
|
|
41
|
-
message: String!
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
type CartItemPrices {
|
|
45
|
-
price_including_tax: Money
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
enum CartItemErrorType {
|
|
49
|
-
UNDEFINED
|
|
50
|
-
ITEM_QTY
|
|
51
|
-
ITEM_INCREMENTS
|
|
52
|
-
}
|