@faststore/core 2.1.90 → 2.2.0-alpha.1
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/.next/BUILD_ID +1 -1
- package/.next/build-manifest.json +31 -31
- package/.next/cache/.tsbuildinfo +1 -1
- package/.next/cache/config.json +3 -3
- package/.next/cache/eslint/.cache_1gneedd +1 -1
- package/.next/cache/next-server.js.nft.json +1 -1
- package/.next/cache/webpack/client-production/0.pack +0 -0
- package/.next/cache/webpack/client-production/index.pack +0 -0
- package/.next/cache/webpack/server-production/0.pack +0 -0
- package/.next/cache/webpack/server-production/index.pack +0 -0
- package/.next/next-server.js.nft.json +1 -1
- package/.next/prerender-manifest.json +1 -1
- package/.next/react-loadable-manifest.json +1 -1
- package/.next/routes-manifest.json +1 -1
- package/.next/server/chunks/{907.js → 112.js} +422 -278
- package/.next/server/chunks/177.js +3 -3
- package/.next/server/chunks/183.js +1 -1
- package/.next/server/chunks/184.js +4 -4
- package/.next/server/chunks/186.js +7 -7
- package/.next/server/chunks/289.js +32 -29
- package/.next/server/chunks/312.js +67 -67
- package/.next/server/chunks/350.js +98 -41
- package/.next/server/chunks/483.js +43 -42
- package/.next/server/chunks/52.js +4007 -0
- package/.next/server/chunks/53.js +6 -6
- package/.next/server/chunks/530.js +22 -22
- package/.next/server/chunks/574.js +2 -2
- package/.next/server/chunks/576.js +1 -1
- package/.next/server/chunks/{933.js → 647.js} +33 -117
- package/.next/server/chunks/676.js +2 -2
- package/.next/server/chunks/693.js +3 -3
- package/.next/server/chunks/71.js +103 -61
- package/.next/server/chunks/74.js +268 -271
- package/.next/server/chunks/753.js +73 -28
- package/.next/server/chunks/779.js +8 -8
- package/.next/server/chunks/817.js +4007 -0
- package/.next/server/chunks/825.js +89 -89
- package/.next/server/chunks/854.js +4 -4
- package/.next/server/chunks/859.js +12 -12
- package/.next/server/chunks/98.js +4 -4
- package/.next/server/chunks/988.js +10 -10
- package/.next/server/middleware-build-manifest.js +1 -1
- package/.next/server/middleware-react-loadable-manifest.js +1 -1
- package/.next/server/pages/404.js +42 -42
- package/.next/server/pages/404.js.nft.json +1 -1
- package/.next/server/pages/500.js +42 -42
- package/.next/server/pages/500.js.nft.json +1 -1
- package/.next/server/pages/[...slug].js +293 -171
- package/.next/server/pages/[...slug].js.nft.json +1 -1
- package/.next/server/pages/[slug]/p.js +645 -663
- package/.next/server/pages/[slug]/p.js.nft.json +1 -1
- package/.next/server/pages/_app.js +18 -18
- package/.next/server/pages/_app.js.nft.json +1 -1
- package/.next/server/pages/_document.js +30 -30
- package/.next/server/pages/_document.js.nft.json +1 -1
- package/.next/server/pages/_error.js +8 -8
- package/.next/server/pages/account.js +42 -42
- package/.next/server/pages/account.js.nft.json +1 -1
- package/.next/server/pages/api/graphql.js +146 -61
- package/.next/server/pages/api/graphql.js.nft.json +1 -1
- package/.next/server/pages/api/health/live.js +2 -2
- package/.next/server/pages/api/health/ready.js +2 -2
- package/.next/server/pages/api/preview.js +3 -3
- package/.next/server/pages/checkout.js +40 -40
- package/.next/server/pages/checkout.js.nft.json +1 -1
- package/.next/server/pages/en-US/404.html +2 -2
- package/.next/server/pages/en-US/500.html +2 -2
- package/.next/server/pages/en-US/account.html +2 -2
- package/.next/server/pages/en-US/checkout.html +2 -2
- package/.next/server/pages/en-US/login.html +2 -2
- package/.next/server/pages/en-US/s.html +2 -2
- package/.next/server/pages/en-US.html +2 -2
- package/.next/server/pages/index.js +53 -53
- package/.next/server/pages/index.js.nft.json +1 -1
- package/.next/server/pages/login.js +44 -44
- package/.next/server/pages/login.js.nft.json +1 -1
- package/.next/server/pages/s.js +183 -101
- package/.next/server/pages/s.js.nft.json +1 -1
- package/.next/server/pages-manifest.json +2 -2
- package/.next/static/chunks/{238-e5e4b2094f0e1df8.js → 238-86838f629f3d0aa4.js} +1 -1
- package/.next/static/chunks/{243-df6d1b248f7b4d3c.js → 243-ef9e49ef3df579c0.js} +1 -1
- package/.next/static/chunks/{709.7bc5a25ce30abda6.js → 709.daf1eddebf1e7952.js} +1 -1
- package/.next/static/chunks/932-33f45603c7d12a4b.js +1 -0
- package/.next/static/chunks/pages/[...slug]-362204c7e0b533cf.js +1 -0
- package/.next/static/chunks/pages/[slug]/p-885042c4b2b4f8ed.js +1 -0
- package/.next/static/chunks/pages/{index-d521ce4f4e2b89a6.js → index-79b05b0071c02fff.js} +1 -1
- package/.next/static/chunks/pages/s-e1bb00f8de6a386e.js +1 -0
- package/.next/static/chunks/{webpack-352e624909554726.js → webpack-88d120cefa1c4c09.js} +1 -1
- package/.next/static/wPqgZ8bYrPY473PZzuIX_/_buildManifest.js +1 -0
- package/.next/trace +80 -80
- package/.turbo/turbo-build.log +8 -6
- package/.turbo/turbo-test.log +25 -0
- package/@generated/graphql/index.ts +183 -79
- package/@generated/graphql/persisted.json +5 -5
- package/@generated/graphql/schema.graphql +1053 -0
- package/api/index.ts +15 -0
- package/codegen.yml +2 -1
- package/generate.sh +71 -0
- package/index.ts +15 -0
- package/jest.config.js +6 -0
- package/package.json +33 -18
- package/src/components/cms/RenderSections.tsx +4 -5
- package/src/components/product/ProductGrid/ProductGrid.tsx +4 -3
- package/src/components/sections/Breadcrumb/Breadcrumb.tsx +17 -22
- package/src/components/sections/CrossSellingShelf/CrossSellingShelf.tsx +8 -6
- package/src/components/sections/ProductDetails/ProductDetails.tsx +23 -33
- package/src/components/sections/ProductGallery/ProductGallery.tsx +15 -26
- package/src/components/sections/ProductShelf/ProductShelf.tsx +1 -1
- package/src/components/sections/ProductTiles/ProductTiles.tsx +4 -3
- package/src/components/templates/ProductListingPage/ProductListing.tsx +95 -0
- package/src/components/templates/ProductListingPage/ProductListingPage.tsx +34 -68
- package/src/components/templates/SearchPage/SearchPage.tsx +81 -0
- package/src/components/templates/SearchPage/index.ts +2 -0
- package/src/components/ui/ProductGallery/ProductGallery.tsx +24 -16
- package/src/components/ui/ProductGallery/ProductGalleryPage.tsx +8 -7
- package/src/components/ui/ProductGallery/useDelayedFacets.ts +3 -3
- package/src/components/ui/ProductShelf/ProductShelf.tsx +3 -2
- package/src/customizations/fragments/ClientProduct.ts +9 -0
- package/src/customizations/fragments/ClientProductGallery.ts +19 -0
- package/src/customizations/fragments/ClientProducts.ts +19 -0
- package/src/customizations/fragments/ServerCollectionPage.ts +9 -0
- package/src/customizations/fragments/ServerProductPage.ts +9 -0
- package/src/customizations/graphql/thirdParty/resolvers/index.ts +3 -0
- package/src/customizations/graphql/vtex/resolvers/index.ts +3 -0
- package/src/pages/[...slug].tsx +5 -3
- package/src/pages/[slug]/p.tsx +38 -18
- package/src/pages/s.tsx +22 -34
- package/src/sdk/graphql/useQuery.ts +17 -13
- package/src/sdk/overrides/PageProvider.tsx +78 -0
- package/src/sdk/product/useLocalizedVariables.ts +33 -0
- package/src/sdk/product/usePageProductsQuery.ts +139 -0
- package/src/{components/sections/ProductGallery/useGalleryQuery.ts → sdk/product/useProductGalleryQuery.ts} +12 -13
- package/src/sdk/product/{useProduct.ts → useProductQuery.ts} +10 -7
- package/src/sdk/product/useProductsPrefetch.ts +72 -0
- package/src/sdk/product/useProductsQuery.ts +17 -63
- package/src/server/generator/generateGraphQLSchemaFile.ts +3 -0
- package/src/server/generator/schema.ts +82 -0
- package/src/server/index.ts +34 -21
- package/src/server/options.ts +16 -0
- package/test/server/index.test.ts +146 -0
- package/.next/server/chunks/487.js +0 -9142
- package/.next/server/chunks/650.js +0 -9142
- package/.next/static/7SuqEgCuf5UtY9Gx-CYYB/_buildManifest.js +0 -1
- package/.next/static/chunks/603-d1c069aa8a349c86.js +0 -1
- package/.next/static/chunks/pages/[...slug]-ca533c74c22cb787.js +0 -1
- package/.next/static/chunks/pages/[slug]/p-7bb760bb3fcfc0bb.js +0 -1
- package/.next/static/chunks/pages/s-0e516ab36bb49c99.js +0 -1
- package/src/components/ui/ProductGallery/usePageProducts.ts +0 -48
- /package/.next/static/{7SuqEgCuf5UtY9Gx-CYYB → wPqgZ8bYrPY473PZzuIX_}/_ssgManifest.js +0 -0
package/.next/BUILD_ID
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
wPqgZ8bYrPY473PZzuIX_
|
|
@@ -5,124 +5,124 @@
|
|
|
5
5
|
"devFiles": [],
|
|
6
6
|
"ampDevFiles": [],
|
|
7
7
|
"lowPriorityFiles": [
|
|
8
|
-
"static/
|
|
9
|
-
"static/
|
|
8
|
+
"static/wPqgZ8bYrPY473PZzuIX_/_buildManifest.js",
|
|
9
|
+
"static/wPqgZ8bYrPY473PZzuIX_/_ssgManifest.js"
|
|
10
10
|
],
|
|
11
11
|
"rootMainFiles": [],
|
|
12
12
|
"pages": {
|
|
13
13
|
"/": [
|
|
14
|
-
"static/chunks/webpack-
|
|
14
|
+
"static/chunks/webpack-88d120cefa1c4c09.js",
|
|
15
15
|
"static/chunks/framework-dfd14d7ce6600b03.js",
|
|
16
16
|
"static/chunks/main-fd466221927468fd.js",
|
|
17
17
|
"static/chunks/738-67a288ca3569cdbb.js",
|
|
18
18
|
"static/chunks/548-ab84e9e8b49413ab.js",
|
|
19
19
|
"static/css/e3b039e8f5daf95f.css",
|
|
20
|
-
"static/chunks/243-
|
|
20
|
+
"static/chunks/243-ef9e49ef3df579c0.js",
|
|
21
21
|
"static/css/20e4a3a45cdd65f4.css",
|
|
22
|
-
"static/chunks/238-
|
|
22
|
+
"static/chunks/238-86838f629f3d0aa4.js",
|
|
23
23
|
"static/css/a2eefb25a4608343.css",
|
|
24
|
-
"static/chunks/pages/index-
|
|
24
|
+
"static/chunks/pages/index-79b05b0071c02fff.js"
|
|
25
25
|
],
|
|
26
26
|
"/404": [
|
|
27
|
-
"static/chunks/webpack-
|
|
27
|
+
"static/chunks/webpack-88d120cefa1c4c09.js",
|
|
28
28
|
"static/chunks/framework-dfd14d7ce6600b03.js",
|
|
29
29
|
"static/chunks/main-fd466221927468fd.js",
|
|
30
30
|
"static/chunks/738-67a288ca3569cdbb.js",
|
|
31
31
|
"static/css/e3b039e8f5daf95f.css",
|
|
32
|
-
"static/chunks/243-
|
|
32
|
+
"static/chunks/243-ef9e49ef3df579c0.js",
|
|
33
33
|
"static/css/df588bb98c0b0ca6.css",
|
|
34
34
|
"static/chunks/pages/404-af78f7cd1d3c1f60.js"
|
|
35
35
|
],
|
|
36
36
|
"/500": [
|
|
37
|
-
"static/chunks/webpack-
|
|
37
|
+
"static/chunks/webpack-88d120cefa1c4c09.js",
|
|
38
38
|
"static/chunks/framework-dfd14d7ce6600b03.js",
|
|
39
39
|
"static/chunks/main-fd466221927468fd.js",
|
|
40
40
|
"static/chunks/738-67a288ca3569cdbb.js",
|
|
41
41
|
"static/css/e3b039e8f5daf95f.css",
|
|
42
|
-
"static/chunks/243-
|
|
42
|
+
"static/chunks/243-ef9e49ef3df579c0.js",
|
|
43
43
|
"static/css/df588bb98c0b0ca6.css",
|
|
44
44
|
"static/chunks/pages/500-f6346ca5f9dc4fef.js"
|
|
45
45
|
],
|
|
46
46
|
"/[...slug]": [
|
|
47
|
-
"static/chunks/webpack-
|
|
47
|
+
"static/chunks/webpack-88d120cefa1c4c09.js",
|
|
48
48
|
"static/chunks/framework-dfd14d7ce6600b03.js",
|
|
49
49
|
"static/chunks/main-fd466221927468fd.js",
|
|
50
50
|
"static/chunks/738-67a288ca3569cdbb.js",
|
|
51
51
|
"static/chunks/548-ab84e9e8b49413ab.js",
|
|
52
52
|
"static/css/e3b039e8f5daf95f.css",
|
|
53
|
-
"static/chunks/243-
|
|
53
|
+
"static/chunks/243-ef9e49ef3df579c0.js",
|
|
54
54
|
"static/css/20e4a3a45cdd65f4.css",
|
|
55
|
-
"static/chunks/238-
|
|
55
|
+
"static/chunks/238-86838f629f3d0aa4.js",
|
|
56
56
|
"static/css/f0e2d1b8832e935d.css",
|
|
57
|
-
"static/chunks/
|
|
57
|
+
"static/chunks/932-33f45603c7d12a4b.js",
|
|
58
58
|
"static/css/a2eefb25a4608343.css",
|
|
59
59
|
"static/css/527e334fa69cf40a.css",
|
|
60
|
-
"static/chunks/pages/[...slug]-
|
|
60
|
+
"static/chunks/pages/[...slug]-362204c7e0b533cf.js"
|
|
61
61
|
],
|
|
62
62
|
"/[slug]/p": [
|
|
63
|
-
"static/chunks/webpack-
|
|
63
|
+
"static/chunks/webpack-88d120cefa1c4c09.js",
|
|
64
64
|
"static/chunks/framework-dfd14d7ce6600b03.js",
|
|
65
65
|
"static/chunks/main-fd466221927468fd.js",
|
|
66
66
|
"static/chunks/738-67a288ca3569cdbb.js",
|
|
67
67
|
"static/chunks/548-ab84e9e8b49413ab.js",
|
|
68
68
|
"static/css/e3b039e8f5daf95f.css",
|
|
69
|
-
"static/chunks/243-
|
|
69
|
+
"static/chunks/243-ef9e49ef3df579c0.js",
|
|
70
70
|
"static/css/20e4a3a45cdd65f4.css",
|
|
71
|
-
"static/chunks/238-
|
|
71
|
+
"static/chunks/238-86838f629f3d0aa4.js",
|
|
72
72
|
"static/css/4b7138899cd07c63.css",
|
|
73
|
-
"static/chunks/pages/[slug]/p-
|
|
73
|
+
"static/chunks/pages/[slug]/p-885042c4b2b4f8ed.js"
|
|
74
74
|
],
|
|
75
75
|
"/_app": [
|
|
76
|
-
"static/chunks/webpack-
|
|
76
|
+
"static/chunks/webpack-88d120cefa1c4c09.js",
|
|
77
77
|
"static/chunks/framework-dfd14d7ce6600b03.js",
|
|
78
78
|
"static/chunks/main-fd466221927468fd.js",
|
|
79
79
|
"static/css/9e76fef1c9ca89af.css",
|
|
80
80
|
"static/chunks/pages/_app-6d0e6ab9a4dd8106.js"
|
|
81
81
|
],
|
|
82
82
|
"/_error": [
|
|
83
|
-
"static/chunks/webpack-
|
|
83
|
+
"static/chunks/webpack-88d120cefa1c4c09.js",
|
|
84
84
|
"static/chunks/framework-dfd14d7ce6600b03.js",
|
|
85
85
|
"static/chunks/main-fd466221927468fd.js",
|
|
86
86
|
"static/chunks/pages/_error-a7a0c1d9bfbb4f38.js"
|
|
87
87
|
],
|
|
88
88
|
"/account": [
|
|
89
|
-
"static/chunks/webpack-
|
|
89
|
+
"static/chunks/webpack-88d120cefa1c4c09.js",
|
|
90
90
|
"static/chunks/framework-dfd14d7ce6600b03.js",
|
|
91
91
|
"static/chunks/main-fd466221927468fd.js",
|
|
92
92
|
"static/chunks/738-67a288ca3569cdbb.js",
|
|
93
93
|
"static/css/e3b039e8f5daf95f.css",
|
|
94
|
-
"static/chunks/243-
|
|
94
|
+
"static/chunks/243-ef9e49ef3df579c0.js",
|
|
95
95
|
"static/chunks/pages/account-05bd79fb78365e88.js"
|
|
96
96
|
],
|
|
97
97
|
"/checkout": [
|
|
98
|
-
"static/chunks/webpack-
|
|
98
|
+
"static/chunks/webpack-88d120cefa1c4c09.js",
|
|
99
99
|
"static/chunks/framework-dfd14d7ce6600b03.js",
|
|
100
100
|
"static/chunks/main-fd466221927468fd.js",
|
|
101
101
|
"static/chunks/738-67a288ca3569cdbb.js",
|
|
102
102
|
"static/css/e3b039e8f5daf95f.css",
|
|
103
|
-
"static/chunks/243-
|
|
103
|
+
"static/chunks/243-ef9e49ef3df579c0.js",
|
|
104
104
|
"static/chunks/pages/checkout-c973786e68f25a39.js"
|
|
105
105
|
],
|
|
106
106
|
"/login": [
|
|
107
|
-
"static/chunks/webpack-
|
|
107
|
+
"static/chunks/webpack-88d120cefa1c4c09.js",
|
|
108
108
|
"static/chunks/framework-dfd14d7ce6600b03.js",
|
|
109
109
|
"static/chunks/main-fd466221927468fd.js",
|
|
110
110
|
"static/chunks/738-67a288ca3569cdbb.js",
|
|
111
111
|
"static/css/e3b039e8f5daf95f.css",
|
|
112
|
-
"static/chunks/243-
|
|
112
|
+
"static/chunks/243-ef9e49ef3df579c0.js",
|
|
113
113
|
"static/css/df588bb98c0b0ca6.css",
|
|
114
114
|
"static/chunks/pages/login-8deb9243376b6aa1.js"
|
|
115
115
|
],
|
|
116
116
|
"/s": [
|
|
117
|
-
"static/chunks/webpack-
|
|
117
|
+
"static/chunks/webpack-88d120cefa1c4c09.js",
|
|
118
118
|
"static/chunks/framework-dfd14d7ce6600b03.js",
|
|
119
119
|
"static/chunks/main-fd466221927468fd.js",
|
|
120
120
|
"static/chunks/738-67a288ca3569cdbb.js",
|
|
121
121
|
"static/css/e3b039e8f5daf95f.css",
|
|
122
|
-
"static/chunks/243-
|
|
122
|
+
"static/chunks/243-ef9e49ef3df579c0.js",
|
|
123
123
|
"static/css/f0e2d1b8832e935d.css",
|
|
124
|
-
"static/chunks/
|
|
125
|
-
"static/chunks/pages/s-
|
|
124
|
+
"static/chunks/932-33f45603c7d12a4b.js",
|
|
125
|
+
"static/chunks/pages/s-e1bb00f8de6a386e.js"
|
|
126
126
|
]
|
|
127
127
|
},
|
|
128
128
|
"ampFirstPages": []
|