@graphcommerce/magento-graphql 6.2.0-canary.6 → 6.2.0-canary.60

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 CHANGED
@@ -1,5 +1,121 @@
1
1
  # Change Log
2
2
 
3
+ ## 6.2.0-canary.60
4
+
5
+ ## 6.2.0-canary.59
6
+
7
+ ## 6.2.0-canary.58
8
+
9
+ ## 6.2.0-canary.57
10
+
11
+ ## 6.2.0-canary.56
12
+
13
+ ## 6.2.0-canary.55
14
+
15
+ ## 6.2.0-canary.54
16
+
17
+ ## 6.2.0-canary.53
18
+
19
+ ## 6.2.0-canary.52
20
+
21
+ ## 6.2.0-canary.51
22
+
23
+ ## 6.2.0-canary.50
24
+
25
+ ### Minor Changes
26
+
27
+ - [`e55d8c390`](https://github.com/graphcommerce-org/graphcommerce/commit/e55d8c390d90b4bb7bab11c6a99027ac72bd7e3e) - Created a new sidebar layout system, can be configured with productFiltersLayout in the graphcommerce.config.js ([@paales](https://github.com/paales))
28
+
29
+ ## 6.2.0-canary.49
30
+
31
+ ## 6.2.0-canary.48
32
+
33
+ ## 6.2.0-canary.47
34
+
35
+ ## 6.2.0-canary.46
36
+
37
+ ### Patch Changes
38
+
39
+ - [#1968](https://github.com/graphcommerce-org/graphcommerce/pull/1968) [`1d0611abf`](https://github.com/graphcommerce-org/graphcommerce/commit/1d0611abfc002e68e0274713cda31d9e9550bf9c) - prevent ‘SelectedConfigurableOption’ and ‘Customizable’ from being cached. ([@carlocarels90](https://github.com/carlocarels90))
40
+
41
+ ## 6.2.0-canary.45
42
+
43
+ ## 6.2.0-canary.44
44
+
45
+ ## 6.2.0-canary.43
46
+
47
+ ## 6.2.0-canary.42
48
+
49
+ ## 6.2.0-canary.41
50
+
51
+ ## 6.2.0-canary.40
52
+
53
+ ## 6.2.0-canary.39
54
+
55
+ ## 6.2.0-canary.38
56
+
57
+ ## 6.2.0-canary.37
58
+
59
+ ## 6.2.0-canary.36
60
+
61
+ ## 6.2.0-canary.35
62
+
63
+ ## 6.2.0-canary.34
64
+
65
+ ## 6.2.0-canary.33
66
+
67
+ ## 6.2.0-canary.32
68
+
69
+ ## 6.2.0-canary.31
70
+
71
+ ## 6.2.0-canary.30
72
+
73
+ ## 6.2.0-canary.29
74
+
75
+ ## 6.2.0-canary.28
76
+
77
+ ## 6.2.0-canary.27
78
+
79
+ ## 6.2.0-canary.26
80
+
81
+ ## 6.2.0-canary.25
82
+
83
+ ## 6.2.0-canary.24
84
+
85
+ ## 6.2.0-canary.23
86
+
87
+ ## 6.2.0-canary.22
88
+
89
+ ## 6.2.0-canary.21
90
+
91
+ ## 6.2.0-canary.20
92
+
93
+ ## 6.2.0-canary.19
94
+
95
+ ## 6.2.0-canary.18
96
+
97
+ ## 6.2.0-canary.17
98
+
99
+ ## 6.2.0-canary.16
100
+
101
+ ## 6.2.0-canary.15
102
+
103
+ ## 6.2.0-canary.14
104
+
105
+ ## 6.2.0-canary.13
106
+
107
+ ## 6.2.0-canary.12
108
+
109
+ ## 6.2.0-canary.11
110
+
111
+ ## 6.2.0-canary.10
112
+
113
+ ## 6.2.0-canary.9
114
+
115
+ ## 6.2.0-canary.8
116
+
117
+ ## 6.2.0-canary.7
118
+
3
119
  ## 6.2.0-canary.6
4
120
 
5
121
  ## 6.1.1-canary.5
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": "6.2.0-canary.6",
5
+ "version": "6.2.0-canary.60",
6
6
  "sideEffects": false,
7
7
  "main": "index.ts",
8
8
  "prettier": "@graphcommerce/prettier-config-pwa",
@@ -13,12 +13,12 @@
13
13
  }
14
14
  },
15
15
  "devDependencies": {
16
- "@graphcommerce/eslint-config-pwa": "6.2.0-canary.6",
17
- "@graphcommerce/prettier-config-pwa": "6.2.0-canary.6",
18
- "@graphcommerce/typescript-config-pwa": "6.2.0-canary.6"
16
+ "@graphcommerce/eslint-config-pwa": "6.2.0-canary.60",
17
+ "@graphcommerce/prettier-config-pwa": "6.2.0-canary.60",
18
+ "@graphcommerce/typescript-config-pwa": "6.2.0-canary.60"
19
19
  },
20
20
  "dependencies": {
21
- "@graphcommerce/graphql": "6.2.0-canary.6"
21
+ "@graphcommerce/graphql": "6.2.0-canary.60"
22
22
  },
23
23
  "peerDependencies": {
24
24
  "next": "^13.2.0",
@@ -0,0 +1,13 @@
1
+ import { graphqlConfig } from '@graphcommerce/graphql'
2
+ import type { MethodPlugin } from '@graphcommerce/next-config'
3
+ import { magentoTypePolicies } from '../typePolicies'
4
+
5
+ export const func = 'graphqlConfig'
6
+ export const exported = '@graphcommerce/graphql/config'
7
+
8
+ const magentoGraphqlConfig: MethodPlugin<typeof graphqlConfig> = (prev, config) => {
9
+ const results = prev(config)
10
+ return { ...results, policies: [magentoTypePolicies, ...results.policies] }
11
+ }
12
+
13
+ export const plugin = magentoGraphqlConfig
package/typePolicies.ts CHANGED
@@ -93,21 +93,21 @@ export const magentoTypePolicies: TypedTypePolicies = {
93
93
  // CustomerOutput: { keyFields: false },
94
94
  // CustomerPaymentTokens: { keyFields: false },
95
95
  CustomerToken: { keyFields: [] },
96
- CustomizableAreaOption: { keyFields: ['uid'] },
97
- CustomizableAreaValue: { keyFields: ['uid'] },
98
- CustomizableCheckboxOption: { keyFields: ['uid'] },
99
- CustomizableCheckboxValue: { keyFields: ['uid'] },
100
- CustomizableDateOption: { keyFields: ['uid'] },
101
- CustomizableDateValue: { keyFields: ['uid'] },
102
- CustomizableDropDownOption: { keyFields: ['uid'] },
103
- CustomizableDropDownValue: { keyFields: ['uid'] },
104
- CustomizableFieldOption: { keyFields: ['uid'] },
105
- CustomizableFieldValue: { keyFields: ['uid'] },
106
- CustomizableFileOption: { keyFields: ['uid'] },
107
- CustomizableFileValue: { keyFields: ['uid'] },
108
- CustomizableMultipleOption: { keyFields: ['uid'] },
109
- CustomizableMultipleValue: { keyFields: ['uid'] },
110
- CustomizableOptionInterface: { keyFields: ['uid'] },
96
+ // CustomizableAreaOption: { keyFields: ['uid'] },
97
+ // CustomizableAreaValue: { keyFields: ['uid'] },
98
+ // CustomizableCheckboxOption: { keyFields: ['uid'] },
99
+ // CustomizableCheckboxValue: { keyFields: ['uid'] },
100
+ // CustomizableDateOption: { keyFields: ['uid'] },
101
+ // CustomizableDateValue: { keyFields: ['uid'] },
102
+ // CustomizableDropDownOption: { keyFields: ['uid'] },
103
+ // CustomizableDropDownValue: { keyFields: ['uid'] },
104
+ // CustomizableFieldOption: { keyFields: ['uid'] },
105
+ // CustomizableFieldValue: { keyFields: ['uid'] },
106
+ // CustomizableFileOption: { keyFields: ['uid'] },
107
+ // CustomizableFileValue: { keyFields: ['uid'] },
108
+ // CustomizableMultipleOption: { keyFields: ['uid'] },
109
+ // CustomizableMultipleValue: { keyFields: ['uid'] },
110
+ // CustomizableOptionInterface: { keyFields: ['uid'] },
111
111
  // CustomizableProductInterface: { keyFields: false },
112
112
  CustomizableRadioOption: { keyFields: ['uid'] },
113
113
  CustomizableRadioValue: { keyFields: ['uid'] },
@@ -200,9 +200,9 @@ export const magentoTypePolicies: TypedTypePolicies = {
200
200
  // SearchResultPageInfo: { keyFields: false },
201
201
  SelectedBundleOption: { keyFields: ['uid'] },
202
202
  SelectedBundleOptionValue: { keyFields: ['uid'] },
203
- SelectedConfigurableOption: { keyFields: ['configurable_product_option_value_uid'] },
204
- SelectedCustomizableOption: { keyFields: ['customizable_option_uid'] },
205
- SelectedCustomizableOptionValue: { keyFields: ['customizable_option_value_uid'] },
203
+ // SelectedConfigurableOption: { keyFields: ['configurable_product_option_value_uid'] },
204
+ // SelectedCustomizableOption: { keyFields: ['customizable_option_uid'] },
205
+ // SelectedCustomizableOptionValue: { keyFields: ['customizable_option_value_uid'] },
206
206
  SelectedPaymentMethod: { keyFields: ['code'] },
207
207
  SelectedShippingMethod: { keyFields: ['carrier_code', 'method_code'] },
208
208
  // SendEmailToFriendOutput: { keyFields: false },