@graphcommerce/next-config 8.1.0-canary.39 → 8.1.0-canary.40
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,12 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## 8.1.0-canary.40
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#2306](https://github.com/graphcommerce-org/graphcommerce/pull/2306) [`5e188e8`](https://github.com/graphcommerce-org/graphcommerce/commit/5e188e830dca4730c73830858f59a94e9d41ed12) - Add delete account functionality to the account section. Disabled by default and can be enabled through the config.
|
|
8
|
+
([@Giovanni-Schroevers](https://github.com/Giovanni-Schroevers))
|
|
9
|
+
|
|
3
10
|
## 8.1.0-canary.39
|
|
4
11
|
|
|
5
12
|
## 8.1.0-canary.38
|
|
@@ -38,6 +38,7 @@ exports[`traverses a schema and returns a list of env variables that match 1`] =
|
|
|
38
38
|
"GC_CROSS_SELLS_HIDE_CART_ITEMS",
|
|
39
39
|
"GC_CROSS_SELLS_REDIRECT_ITEMS",
|
|
40
40
|
"GC_CUSTOMER_COMPANY_FIELDS_ENABLE",
|
|
41
|
+
"GC_CUSTOMER_DELETE_ENABLED",
|
|
41
42
|
"GC_DATA_LAYER",
|
|
42
43
|
"GC_DATA_LAYER_CORE_WEB_VITALS",
|
|
43
44
|
"GC_DEBUG",
|
package/dist/generated/config.js
CHANGED
|
@@ -27,6 +27,7 @@ function GraphCommerceConfigSchema() {
|
|
|
27
27
|
crossSellsHideCartItems: zod_1.z.boolean().default(false).nullish(),
|
|
28
28
|
crossSellsRedirectItems: zod_1.z.boolean().default(false).nullish(),
|
|
29
29
|
customerCompanyFieldsEnable: zod_1.z.boolean().nullish(),
|
|
30
|
+
customerDeleteEnabled: zod_1.z.boolean().nullish(),
|
|
30
31
|
dataLayer: DatalayerConfigSchema().nullish(),
|
|
31
32
|
debug: GraphCommerceDebugConfigSchema().nullish(),
|
|
32
33
|
demoMode: zod_1.z.boolean().default(true).nullish(),
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@graphcommerce/next-config",
|
|
3
3
|
"homepage": "https://www.graphcommerce.org/",
|
|
4
4
|
"repository": "github:graphcommerce-org/graphcommerce",
|
|
5
|
-
"version": "8.1.0-canary.
|
|
5
|
+
"version": "8.1.0-canary.40",
|
|
6
6
|
"type": "commonjs",
|
|
7
7
|
"main": "dist/index.js",
|
|
8
8
|
"types": "src/index.ts",
|
package/src/config/demoConfig.ts
CHANGED
|
@@ -49,4 +49,5 @@ export const demoConfig: PartialDeep<GraphCommerceConfig, { recurseIntoArrays: t
|
|
|
49
49
|
configurableVariantValues: { url: true, content: true, gallery: true },
|
|
50
50
|
recentlyViewedProducts: { enabled: true, maxCount: 20 },
|
|
51
51
|
breadcrumbs: false,
|
|
52
|
+
customerDeleteEnabled: true,
|
|
52
53
|
}
|
package/src/generated/config.ts
CHANGED
|
@@ -165,6 +165,8 @@ export type GraphCommerceConfig = {
|
|
|
165
165
|
* - VAT ID
|
|
166
166
|
*/
|
|
167
167
|
customerCompanyFieldsEnable?: InputMaybe<Scalars['Boolean']['input']>;
|
|
168
|
+
/** Enable customer account deletion through the account section */
|
|
169
|
+
customerDeleteEnabled?: InputMaybe<Scalars['Boolean']['input']>;
|
|
168
170
|
dataLayer?: InputMaybe<DatalayerConfig>;
|
|
169
171
|
/** Debug configuration for GraphCommerce */
|
|
170
172
|
debug?: InputMaybe<GraphCommerceDebugConfig>;
|
|
@@ -478,6 +480,7 @@ export function GraphCommerceConfigSchema(): z.ZodObject<Properties<GraphCommerc
|
|
|
478
480
|
crossSellsHideCartItems: z.boolean().default(false).nullish(),
|
|
479
481
|
crossSellsRedirectItems: z.boolean().default(false).nullish(),
|
|
480
482
|
customerCompanyFieldsEnable: z.boolean().nullish(),
|
|
483
|
+
customerDeleteEnabled: z.boolean().nullish(),
|
|
481
484
|
dataLayer: DatalayerConfigSchema().nullish(),
|
|
482
485
|
debug: GraphCommerceDebugConfigSchema().nullish(),
|
|
483
486
|
demoMode: z.boolean().default(true).nullish(),
|