@graphcommerce/magento-graphql 3.0.8 → 3.0.11
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 +19 -0
- package/package.json +2 -2
- package/typePolicies.ts +2 -7
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,24 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## 3.0.11
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#1445](https://github.com/graphcommerce-org/graphcommerce/pull/1445) [`7618f86da`](https://github.com/graphcommerce-org/graphcommerce/commit/7618f86da930929b10b6baf145646356b1bb3793) Thanks [@timhofman](https://github.com/timhofman)! - remove Klarna type policies from typePolicies core
|
|
8
|
+
|
|
9
|
+
## 3.0.10
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- Updated dependencies [[`25ef6cf08`](https://github.com/graphcommerce-org/graphcommerce/commit/25ef6cf08c278105307d6f604b7135d637e9046c), [`80e30bb77`](https://github.com/graphcommerce-org/graphcommerce/commit/80e30bb77015755fbc00a7935d590f80c1c1c18c)]:
|
|
14
|
+
- @graphcommerce/graphql@3.1.2
|
|
15
|
+
|
|
16
|
+
## 3.0.9
|
|
17
|
+
|
|
18
|
+
### Patch Changes
|
|
19
|
+
|
|
20
|
+
- [#1429](https://github.com/graphcommerce-org/graphcommerce/pull/1429) [`e58df7278`](https://github.com/graphcommerce-org/graphcommerce/commit/e58df727829a12941e7b2ae2159ee2233969493c) Thanks [@paales](https://github.com/paales)! - type policies for Mollie shouldn’t be in the core package
|
|
21
|
+
|
|
3
22
|
## 3.0.8
|
|
4
23
|
|
|
5
24
|
### Patch Changes
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@graphcommerce/magento-graphql",
|
|
3
3
|
"homepage": "https://www.graphcommerce.org/",
|
|
4
4
|
"repository": "github:graphcommerce-org/graphcommerce",
|
|
5
|
-
"version": "3.0.
|
|
5
|
+
"version": "3.0.11",
|
|
6
6
|
"sideEffects": false,
|
|
7
7
|
"main": "index.ts",
|
|
8
8
|
"prettier": "@graphcommerce/prettier-config-pwa",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"@playwright/test": "^1.21.1"
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@graphcommerce/graphql": "3.1.
|
|
22
|
+
"@graphcommerce/graphql": "3.1.2"
|
|
23
23
|
},
|
|
24
24
|
"peerDependencies": {
|
|
25
25
|
"next": "12.1.2",
|
package/typePolicies.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { TypedTypePolicies } from '@graphcommerce/graphql'
|
|
2
2
|
|
|
3
3
|
/// /todooooo
|
|
4
4
|
/**
|
|
@@ -6,7 +6,7 @@ import { StrictTypedTypePolicies } from '@graphcommerce/graphql'
|
|
|
6
6
|
*
|
|
7
7
|
* - https://www.apollographql.com/docs/react/caching/cache-configuration/#default-identifier-generation
|
|
8
8
|
*/
|
|
9
|
-
export const magentoTypePolicies:
|
|
9
|
+
export const magentoTypePolicies: TypedTypePolicies = {
|
|
10
10
|
// AddBundleProductsToCartOutput: { keyFields: false },
|
|
11
11
|
// AddConfigurableProductsToCartOutput: { keyFields: false },
|
|
12
12
|
// AddDownloadableProductsToCartOutput: { keyFields: false },
|
|
@@ -50,7 +50,6 @@ export const magentoTypePolicies: StrictTypedTypePolicies = {
|
|
|
50
50
|
// CartPrices: { keyFields: false },
|
|
51
51
|
// CartTaxItem: { keyFields: false },
|
|
52
52
|
// CartUserInputError: { keyFields: false },
|
|
53
|
-
Categories: { keyFields: ['identifier'] },
|
|
54
53
|
CategoryInterface: { keyFields: ['uid'] },
|
|
55
54
|
// CategoryProducts: { keyFields: false },
|
|
56
55
|
// CategoryResult: { keyFields: false },
|
|
@@ -148,9 +147,6 @@ export const magentoTypePolicies: StrictTypedTypePolicies = {
|
|
|
148
147
|
// LayerFilterItemInterface: { keyFields: false },
|
|
149
148
|
MediaGalleryEntry: { keyFields: ['uid'] },
|
|
150
149
|
// MediaGalleryInterface: { keyFields: false },
|
|
151
|
-
MollieIssuer: { keyFields: ['code'] },
|
|
152
|
-
// MolliePaymentMethodMeta: { keyFields: false },
|
|
153
|
-
// MollieTransactionOutput: { keyFields: false },
|
|
154
150
|
// Money: { keyFields: false },
|
|
155
151
|
Order: { keyFields: ['order_number'] },
|
|
156
152
|
// OrderAddress: { keyFields: false },
|
|
@@ -251,6 +247,5 @@ export const magentoTypePolicies: StrictTypedTypePolicies = {
|
|
|
251
247
|
// WishlistItemInterface: { keyFields: ['id'] },
|
|
252
248
|
// WishlistItems: { keyFields: false },
|
|
253
249
|
// WishlistOutput: { keyFields: false },
|
|
254
|
-
// createKlarnaPaymentsSessionOutput: { keyFields: false },
|
|
255
250
|
// Mutation: { keyFields: false },
|
|
256
251
|
}
|