@faststore/core 3.0.10 → 3.0.11

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.
Files changed (31) hide show
  1. package/.next/BUILD_ID +1 -1
  2. package/.next/build-manifest.json +2 -2
  3. package/.next/cache/config.json +3 -3
  4. package/.next/cache/eslint/.cache_1gneedd +1 -1
  5. package/.next/cache/webpack/client-production/0.pack +0 -0
  6. package/.next/cache/webpack/client-production/index.pack +0 -0
  7. package/.next/cache/webpack/server-production/0.pack +0 -0
  8. package/.next/cache/webpack/server-production/index.pack +0 -0
  9. package/.next/next-minimal-server.js.nft.json +1 -1
  10. package/.next/next-server.js.nft.json +1 -1
  11. package/.next/prerender-manifest.js +1 -1
  12. package/.next/prerender-manifest.json +1 -1
  13. package/.next/routes-manifest.json +1 -1
  14. package/.next/server/chunks/640.js +1 -1
  15. package/.next/server/middleware-build-manifest.js +1 -1
  16. package/.next/server/pages/500.js +1 -1
  17. package/.next/server/pages/en-US/404.html +2 -2
  18. package/.next/server/pages/en-US/500.html +2 -2
  19. package/.next/server/pages/en-US/account.html +2 -2
  20. package/.next/server/pages/en-US/checkout.html +2 -2
  21. package/.next/server/pages/en-US/login.html +2 -2
  22. package/.next/server/pages/en-US/s.html +2 -2
  23. package/.next/server/pages/en-US.html +2 -2
  24. package/.next/server/pages-manifest.json +1 -1
  25. package/.next/trace +91 -91
  26. package/.turbo/turbo-test.log +10 -10
  27. package/cms/faststore/content-types.json +6 -0
  28. package/cms/faststore/sections.json +18 -0
  29. package/package.json +2 -2
  30. /package/.next/static/{_w3buzprZPxAphF4f8eFf → 4vX-pcZ2UBYJ2at7PjGjO}/_buildManifest.js +0 -0
  31. /package/.next/static/{_w3buzprZPxAphF4f8eFf → 4vX-pcZ2UBYJ2at7PjGjO}/_ssgManifest.js +0 -0
@@ -1,23 +1,23 @@
1
1
  $ jest
2
- PASS test/server/index.test.ts (20.888 s)
2
+ PASS test/server/index.test.ts (21.487 s)
3
3
  FastStore GraphQL Layer
4
4
  @faststore/api
5
- ✓ should return a valid GraphQL schema (8 ms)
6
- ✓ should return a valid GraphQL schema contain all expected types (25 ms)
7
- ✓ should return a valid GraphQL schema contain all expected queries (1 ms)
5
+ ✓ should return a valid GraphQL schema (9 ms)
6
+ ✓ should return a valid GraphQL schema contain all expected types (21 ms)
7
+ ✓ should return a valid GraphQL schema contain all expected queries (5 ms)
8
8
  ✓ should return a valid GraphQL schema contain all expected mutations (1 ms)
9
9
  VTEX API Extension
10
- ✓ getTypeDefsFromFolder function should return an Array (22 ms)
10
+ ✓ getTypeDefsFromFolder function should return an Array (8 ms)
11
11
  Third Party API Extension
12
- ✓ getTypeDefsFromFolder function should return an Array (9 ms)
12
+ ✓ getTypeDefsFromFolder function should return an Array (23 ms)
13
13
  Final Schema after merging
14
- ✓ should return a valid merged GraphQL schema (65 ms)
14
+ ✓ should return a valid merged GraphQL schema (57 ms)
15
15
  Envelop
16
- ✓ should exist with its plugins (68 ms)
17
- ✓ should handle options and execute (234 ms)
16
+ ✓ should exist with its plugins (67 ms)
17
+ ✓ should handle options and execute (289 ms)
18
18
 
19
19
  Test Suites: 1 passed, 1 total
20
20
  Tests: 9 passed, 9 total
21
21
  Snapshots: 0 total
22
- Time: 20.958 s
22
+ Time: 21.534 s
23
23
  Ran all test suites.
@@ -2,12 +2,14 @@
2
2
  {
3
3
  "id": "globalSections",
4
4
  "name": "Global Sections",
5
+ "scopes": ["global"],
5
6
  "configurationSchemaSets": [],
6
7
  "isSingleton": true
7
8
  },
8
9
  {
9
10
  "id": "landingPage",
10
11
  "name": "Landing Page",
12
+ "scopes": ["landing", "custom"],
11
13
  "configurationSchemaSets": [
12
14
  {
13
15
  "name": "Settings",
@@ -53,6 +55,7 @@
53
55
  {
54
56
  "id": "home",
55
57
  "name": "Home",
58
+ "scopes": ["home"],
56
59
  "isSingleton": true,
57
60
  "configurationSchemaSets": [
58
61
  {
@@ -99,12 +102,14 @@
99
102
  {
100
103
  "id": "pdp",
101
104
  "name": "Product Page",
105
+ "scopes": ["pdp"],
102
106
  "isSingleton": true,
103
107
  "configurationSchemaSets": []
104
108
  },
105
109
  {
106
110
  "id": "plp",
107
111
  "name": "Product List Page",
112
+ "scopes": ["plp"],
108
113
  "isSingleton": true,
109
114
  "configurationSchemaSets": [
110
115
  {
@@ -158,6 +163,7 @@
158
163
  {
159
164
  "id": "search",
160
165
  "name": "Search Page",
166
+ "scopes": ["plp", "search"],
161
167
  "isSingleton": true,
162
168
  "configurationSchemaSets": [
163
169
  {
@@ -1,6 +1,7 @@
1
1
  [
2
2
  {
3
3
  "name": "Search",
4
+ "requiredScopes": [],
4
5
  "schema": {
5
6
  "title": "Search Bar",
6
7
  "type": "object",
@@ -145,6 +146,7 @@
145
146
  },
146
147
  {
147
148
  "name": "Navbar",
149
+ "requiredScopes": [],
148
150
  "schema": {
149
151
  "title": "Navbar",
150
152
  "type": "object",
@@ -369,6 +371,7 @@
369
371
  },
370
372
  {
371
373
  "name": "Alert",
374
+ "requiredScopes": [],
372
375
  "schema": {
373
376
  "title": "Alert",
374
377
  "description": "Add an alert",
@@ -416,6 +419,7 @@
416
419
  },
417
420
  {
418
421
  "name": "Footer",
422
+ "requiredScopes": [],
419
423
  "schema": {
420
424
  "title": "Footer",
421
425
  "description": "Footer displayed on all pages",
@@ -661,6 +665,7 @@
661
665
  },
662
666
  {
663
667
  "name": "BannerText",
668
+ "requiredScopes": [],
664
669
  "schema": {
665
670
  "title": "Banner Text",
666
671
  "description": "Add a quick promotion with a text/action pair",
@@ -712,6 +717,7 @@
712
717
  },
713
718
  {
714
719
  "name": "Hero",
720
+ "requiredScopes": [],
715
721
  "schema": {
716
722
  "title": "Hero",
717
723
  "description": "Add a quick promotion with an image/action pair",
@@ -779,6 +785,7 @@
779
785
  },
780
786
  {
781
787
  "name": "Incentives",
788
+ "requiredScopes": [],
782
789
  "schema": {
783
790
  "title": "Incentives",
784
791
  "description": "Add Incentives to your shopper",
@@ -836,6 +843,7 @@
836
843
  },
837
844
  {
838
845
  "name": "ProductShelf",
846
+ "requiredScopes": [],
839
847
  "schema": {
840
848
  "title": "Product Shelf",
841
849
  "description": "Add custom shelves to your store",
@@ -937,6 +945,7 @@
937
945
  },
938
946
  {
939
947
  "name": "CrossSellingShelf",
948
+ "requiredScopes": ["pdp", "custom"],
940
949
  "schema": {
941
950
  "title": "Cross Selling Shelf",
942
951
  "description": "Add cross selling product data to your users",
@@ -971,6 +980,7 @@
971
980
  },
972
981
  {
973
982
  "name": "ProductTiles",
983
+ "requiredScopes": [],
974
984
  "schema": {
975
985
  "title": "Product Tiles",
976
986
  "description": "Add custom highlights to your store",
@@ -1050,6 +1060,7 @@
1050
1060
  },
1051
1061
  {
1052
1062
  "name": "Newsletter",
1063
+ "requiredScopes": [],
1053
1064
  "schema": {
1054
1065
  "title": "Newsletter",
1055
1066
  "description": "Allow users to subscribe to your updates",
@@ -1191,6 +1202,7 @@
1191
1202
  },
1192
1203
  {
1193
1204
  "name": "BannerNewsletter",
1205
+ "requiredScopes": [],
1194
1206
  "schema": {
1195
1207
  "title": "Banner Newsletter",
1196
1208
  "description": "Add newsletter with a banner",
@@ -1374,6 +1386,7 @@
1374
1386
  },
1375
1387
  {
1376
1388
  "name": "Breadcrumb",
1389
+ "requiredScopes": ["pdp", "plp"],
1377
1390
  "schema": {
1378
1391
  "title": "Breadcrumb",
1379
1392
  "description": "Configure the breadcrumb icon and depth",
@@ -1395,6 +1408,7 @@
1395
1408
  },
1396
1409
  {
1397
1410
  "name": "ProductDetails",
1411
+ "requiredScopes": ["pdp"],
1398
1412
  "schema": {
1399
1413
  "title": "Product Details",
1400
1414
  "type": "object",
@@ -1530,6 +1544,7 @@
1530
1544
  },
1531
1545
  {
1532
1546
  "name": "ProductGallery",
1547
+ "requiredScopes": ["plp", "search"],
1533
1548
  "schema": {
1534
1549
  "title": "Product Gallery",
1535
1550
  "type": "object",
@@ -1726,6 +1741,7 @@
1726
1741
  },
1727
1742
  {
1728
1743
  "name": "CartSidebar",
1744
+ "requiredScopes": [],
1729
1745
  "schema": {
1730
1746
  "title": "Cart Sidebar",
1731
1747
  "type": "object",
@@ -1821,6 +1837,7 @@
1821
1837
  },
1822
1838
  {
1823
1839
  "name": "RegionBar",
1840
+ "requiredScopes": [],
1824
1841
  "schema": {
1825
1842
  "title": "Region Bar",
1826
1843
  "type": "object",
@@ -1878,6 +1895,7 @@
1878
1895
  },
1879
1896
  {
1880
1897
  "name": "RegionModal",
1898
+ "requiredScopes": [],
1881
1899
  "schema": {
1882
1900
  "title": "Region Modal",
1883
1901
  "type": "object",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@faststore/core",
3
- "version": "3.0.10",
3
+ "version": "3.0.11",
4
4
  "license": "MIT",
5
5
  "repository": "vtex/faststore",
6
6
  "browserslist": "supports es6-module and not dead",
@@ -128,5 +128,5 @@
128
128
  "node": "18.19.0",
129
129
  "yarn": "1.19.1"
130
130
  },
131
- "gitHead": "2df34675b10544e4e87d2c94392d281ed79c27bb"
131
+ "gitHead": "3ab949e5801ba04f7e884b63f0e5e2cde9df0ceb"
132
132
  }