@graphcommerce/next-config 6.0.1-canary.0 → 6.0.1-canary.2
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 +4 -0
- package/package.json +1 -1
- package/src/generated/config.ts +3 -10
package/CHANGELOG.md
CHANGED
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.0.1-canary.
|
|
5
|
+
"version": "6.0.1-canary.2",
|
|
6
6
|
"type": "commonjs",
|
|
7
7
|
"main": "dist/index.js",
|
|
8
8
|
"types": "src/index.ts",
|
package/src/generated/config.ts
CHANGED
|
@@ -61,8 +61,8 @@ export type Scalars = {
|
|
|
61
61
|
* Configuration values can be overwriten by environment variables, with the following rules:
|
|
62
62
|
* - Convert from camelCase to `SCREAMING_SNAKE_CASE`
|
|
63
63
|
* - Prefix with `GC_`
|
|
64
|
-
* - Arrays can be indexed with _0
|
|
65
|
-
* - Objects can be accessed with _<key
|
|
64
|
+
* - Arrays can be indexed with `_0`, `_1`, `_2`, etc.
|
|
65
|
+
* - Objects can be accessed with `_<key>`.
|
|
66
66
|
*
|
|
67
67
|
* Examples:
|
|
68
68
|
* - `limitSsg` -> `GC_LIMIT_SSG="1"`
|
|
@@ -80,14 +80,7 @@ export type Scalars = {
|
|
|
80
80
|
*
|
|
81
81
|
* ```graphql
|
|
82
82
|
* extend input GraphCommerceConfig {
|
|
83
|
-
*
|
|
84
|
-
* myRequiredBoolean: Boolean!
|
|
85
|
-
* myOptionalString: String
|
|
86
|
-
* myRequiredString: String!
|
|
87
|
-
* myOptionalInt: Int
|
|
88
|
-
* myRequiredInt: Int!
|
|
89
|
-
* myOptionalFloat: Float
|
|
90
|
-
* myRequiredFloat: Float!
|
|
83
|
+
* myConfig: String # or Boolean, or Int, or Float, make required with `!`
|
|
91
84
|
* }
|
|
92
85
|
* extend input GraphCommerceStorefrontConfig {
|
|
93
86
|
* myField: Boolean
|