@graphcommerce/next-config 7.0.2-canary.7 → 7.1.0-canary.10
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 +6 -0
- package/dist/generated/config.js +2 -0
- package/package.json +1 -1
- package/src/generated/config.ts +14 -0
package/CHANGELOG.md
CHANGED
package/dist/generated/config.js
CHANGED
|
@@ -16,6 +16,8 @@ function GraphCommerceConfigSchema() {
|
|
|
16
16
|
compareVariant: exports.CompareVariantSchema.nullish(),
|
|
17
17
|
configurableVariantForSimple: zod_1.z.boolean().nullish(),
|
|
18
18
|
configurableVariantValues: MagentoConfigurableVariantValuesSchema().nullish(),
|
|
19
|
+
crossSellsHideCartItems: zod_1.z.boolean().nullish(),
|
|
20
|
+
crossSellsRedirectItems: zod_1.z.boolean().nullish(),
|
|
19
21
|
customerRequireEmailConfirmation: zod_1.z.boolean().nullish(),
|
|
20
22
|
debug: GraphCommerceDebugConfigSchema().nullish(),
|
|
21
23
|
demoMode: zod_1.z.boolean().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": "7.0
|
|
5
|
+
"version": "7.1.0-canary.10",
|
|
6
6
|
"type": "commonjs",
|
|
7
7
|
"main": "dist/index.js",
|
|
8
8
|
"types": "src/index.ts",
|
package/src/generated/config.ts
CHANGED
|
@@ -139,6 +139,18 @@ export type GraphCommerceConfig = {
|
|
|
139
139
|
* Enabling options here will allow switching of those variants.
|
|
140
140
|
*/
|
|
141
141
|
configurableVariantValues?: InputMaybe<MagentoConfigurableVariantValues>;
|
|
142
|
+
/**
|
|
143
|
+
* Determines if cross sell items should be shown when the user already has the product in their cart. This will result in a product will popping off the screen when you add it to the cart.
|
|
144
|
+
*
|
|
145
|
+
* Default: 'false'
|
|
146
|
+
*/
|
|
147
|
+
crossSellsHideCartItems?: InputMaybe<Scalars['Boolean']['input']>;
|
|
148
|
+
/**
|
|
149
|
+
* Determines if, after adding a cross-sell item to the cart, the user should be redirected to the cross-sell items of the product they just added.
|
|
150
|
+
*
|
|
151
|
+
* Default: 'false'
|
|
152
|
+
*/
|
|
153
|
+
crossSellsRedirectItems?: InputMaybe<Scalars['Boolean']['input']>;
|
|
142
154
|
/**
|
|
143
155
|
* Due to a limitation in the GraphQL API of Magento 2, we need to know if the
|
|
144
156
|
* customer requires email confirmation.
|
|
@@ -395,6 +407,8 @@ export function GraphCommerceConfigSchema(): z.ZodObject<Properties<GraphCommerc
|
|
|
395
407
|
compareVariant: CompareVariantSchema.nullish(),
|
|
396
408
|
configurableVariantForSimple: z.boolean().nullish(),
|
|
397
409
|
configurableVariantValues: MagentoConfigurableVariantValuesSchema().nullish(),
|
|
410
|
+
crossSellsHideCartItems: z.boolean().nullish(),
|
|
411
|
+
crossSellsRedirectItems: z.boolean().nullish(),
|
|
398
412
|
customerRequireEmailConfirmation: z.boolean().nullish(),
|
|
399
413
|
debug: GraphCommerceDebugConfigSchema().nullish(),
|
|
400
414
|
demoMode: z.boolean().nullish(),
|