@graphcommerce/docs 9.0.0-canary.80 → 9.0.0-canary.82

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,9 @@
1
1
  # Change Log
2
2
 
3
+ ## 9.0.0-canary.82
4
+
5
+ ## 9.0.0-canary.81
6
+
3
7
  ## 9.0.0-canary.80
4
8
 
5
9
  ## 9.0.0-canary.79
@@ -290,6 +290,10 @@ Limit the static generation of SSG when building.
290
290
 
291
291
  By default GraphCommerce will statically generate all product and category pages during build. This can take quite a long time, to skip this step set this value to true.
292
292
 
293
+ #### permissions: [GraphCommercePermissions](#GraphCommercePermissions)
294
+
295
+ Allows the option to require login or completely disable certain sections of the site, can be overriden per storeview with the storefrontConfig
296
+
293
297
  #### previewSecret: string
294
298
 
295
299
  To enable next.js' preview mode, configure the secret you'd like to use.
@@ -366,6 +370,22 @@ Issues that this can cause are:
366
370
  - The same package is included multiple times in the bundle, increasing the bundle size.
367
371
  - The Typescript types of the package are not compatible with each other, causing Typescript errors.
368
372
 
373
+ ### GraphCommercePermissions
374
+
375
+ #### cart: CUSTOMER_ONLY | DISABLED | ENABLED
376
+
377
+ Changes the availability of the add to cart buttons and the cart page to either customer only or completely disables it.
378
+
379
+ #### checkout: CUSTOMER_ONLY | DISABLED | ENABLED
380
+
381
+ Changes the availability of the checkout to either customer only or completely disables it.
382
+
383
+ #### customerAccount: DISABLED | DISABLE_REGISTRATION | ENABLED
384
+
385
+ Enables / disabled the account section of the website. DISABLE_REGISTRATION will only disable the registration page.
386
+
387
+ #### website: ENABLED
388
+
369
389
  ### GraphCommerceStorefrontConfig
370
390
 
371
391
  All storefront configuration for the project
@@ -438,6 +458,10 @@ Add a gcms-locales header to make sure queries return in a certain language, can
438
458
 
439
459
  Custom locale used to load the .po files. Must be a valid locale, also used for Intl functions.
440
460
 
461
+ #### permissions: [GraphCommercePermissions](#GraphCommercePermissions)
462
+
463
+ Allows the option to require login or completely disable certain sections of the site on a per store basis
464
+
441
465
  #### robotsAllow: boolean
442
466
 
443
467
  Allow the site to be indexed by search engines.
package/package.json CHANGED
@@ -2,10 +2,10 @@
2
2
  "name": "@graphcommerce/docs",
3
3
  "homepage": "https://www.graphcommerce.org/docs",
4
4
  "repository": "github:graphcommerce-org/graphcommerce/docs",
5
- "version": "9.0.0-canary.80",
5
+ "version": "9.0.0-canary.82",
6
6
  "sideEffects": true,
7
7
  "peerDependencies": {
8
- "@graphcommerce/prettier-config-pwa": "^9.0.0-canary.80"
8
+ "@graphcommerce/prettier-config-pwa": "^9.0.0-canary.82"
9
9
  },
10
10
  "prettier": "@graphcommerce/prettier-config-pwa"
11
11
  }