@graphcommerce/next-config 6.2.0-canary.82 → 6.2.0-canary.83
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 +2 -0
- package/dist/generated/config.js +1 -0
- package/package.json +1 -1
- package/src/generated/config.ts +9 -0
package/CHANGELOG.md
CHANGED
package/dist/generated/config.js
CHANGED
|
@@ -23,6 +23,7 @@ function GraphCommerceConfigSchema() {
|
|
|
23
23
|
googleRecaptchaKey: zod_1.z.string().nullish(),
|
|
24
24
|
googleTagmanagerId: zod_1.z.string().nullish(),
|
|
25
25
|
hygraphEndpoint: zod_1.z.string().min(1),
|
|
26
|
+
hygraphProjectId: zod_1.z.string().nullish(),
|
|
26
27
|
hygraphWriteAccessEndpoint: zod_1.z.string().nullish(),
|
|
27
28
|
hygraphWriteAccessToken: zod_1.z.string().nullish(),
|
|
28
29
|
legacyProductRoute: 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": "6.2.0-canary.
|
|
5
|
+
"version": "6.2.0-canary.83",
|
|
6
6
|
"type": "commonjs",
|
|
7
7
|
"main": "dist/index.js",
|
|
8
8
|
"types": "src/index.ts",
|
package/src/generated/config.ts
CHANGED
|
@@ -189,6 +189,8 @@ export type GraphCommerceConfig = {
|
|
|
189
189
|
* Project settings -> API Access -> High Performance Read-only Content API
|
|
190
190
|
*/
|
|
191
191
|
hygraphEndpoint: Scalars['String']['input'];
|
|
192
|
+
/** Hygraph Project ID. **Only used for migrations.** */
|
|
193
|
+
hygraphProjectId?: InputMaybe<Scalars['String']['input']>;
|
|
192
194
|
/**
|
|
193
195
|
* Content API. **Only used for migrations.**
|
|
194
196
|
*
|
|
@@ -215,6 +217,12 @@ export type GraphCommerceConfig = {
|
|
|
215
217
|
* - Delete existing components
|
|
216
218
|
* - Update remote sources
|
|
217
219
|
* - Delete remote sources
|
|
220
|
+
* - Read existing environments
|
|
221
|
+
* - Read public content views
|
|
222
|
+
* - Create public content views
|
|
223
|
+
* - Update public content views
|
|
224
|
+
* - Delete public content views
|
|
225
|
+
* - Can see schema view
|
|
218
226
|
*
|
|
219
227
|
* ```
|
|
220
228
|
* GC_HYGRAPH_WRITE_ACCESS_ENDPOINT="https://...hygraph.com/v2/..."
|
|
@@ -393,6 +401,7 @@ export function GraphCommerceConfigSchema(): z.ZodObject<Properties<GraphCommerc
|
|
|
393
401
|
googleRecaptchaKey: z.string().nullish(),
|
|
394
402
|
googleTagmanagerId: z.string().nullish(),
|
|
395
403
|
hygraphEndpoint: z.string().min(1),
|
|
404
|
+
hygraphProjectId: z.string().nullish(),
|
|
396
405
|
hygraphWriteAccessEndpoint: z.string().nullish(),
|
|
397
406
|
hygraphWriteAccessToken: z.string().nullish(),
|
|
398
407
|
legacyProductRoute: z.boolean().nullish(),
|