@faststore/core 2.0.162-alpha.0 → 2.0.163-alpha.0
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/@generated/graphql/index.ts +13 -0
- package/CHANGELOG.md +6 -0
- package/package.json +3 -3
- package/.next/BUILD_ID +0 -1
- package/.next/build-manifest.json +0 -132
- package/.next/cache/.tsbuildinfo +0 -1
- package/.next/cache/config.json +0 -7
- package/.next/cache/eslint/.cache_1gneedd +0 -1
- package/.next/cache/next-server.js.nft.json +0 -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/export-marker.json +0 -1
- package/.next/images-manifest.json +0 -1
- package/.next/next-server.js.nft.json +0 -1
- package/.next/package.json +0 -1
- package/.next/prerender-manifest.json +0 -1
- package/.next/react-loadable-manifest.json +0 -48
- package/.next/required-server-files.json +0 -1
- package/.next/routes-manifest.json +0 -1
- package/.next/server/chunks/123.js +0 -58
- package/.next/server/chunks/143.js +0 -106
- package/.next/server/chunks/183.js +0 -83
- package/.next/server/chunks/205.js +0 -692
- package/.next/server/chunks/247.js +0 -61
- package/.next/server/chunks/280.js +0 -324
- package/.next/server/chunks/287.js +0 -58
- package/.next/server/chunks/289.js +0 -229
- package/.next/server/chunks/312.js +0 -697
- package/.next/server/chunks/336.js +0 -821
- package/.next/server/chunks/350.js +0 -143
- package/.next/server/chunks/368.js +0 -253
- package/.next/server/chunks/401.js +0 -7241
- package/.next/server/chunks/431.js +0 -7241
- package/.next/server/chunks/502.js +0 -600
- package/.next/server/chunks/576.js +0 -83
- package/.next/server/chunks/597.js +0 -169
- package/.next/server/chunks/608.js +0 -644
- package/.next/server/chunks/644.js +0 -235
- package/.next/server/chunks/664.js +0 -3401
- package/.next/server/chunks/676.js +0 -32
- package/.next/server/chunks/701.js +0 -87
- package/.next/server/chunks/74.js +0 -2710
- package/.next/server/chunks/82.js +0 -371
- package/.next/server/chunks/854.js +0 -72
- package/.next/server/chunks/859.js +0 -959
- package/.next/server/chunks/874.js +0 -487
- package/.next/server/chunks/886.js +0 -120
- package/.next/server/chunks/907.js +0 -1803
- package/.next/server/chunks/970.js +0 -200
- package/.next/server/chunks/98.js +0 -124
- package/.next/server/chunks/font-manifest.json +0 -1
- package/.next/server/font-manifest.json +0 -1
- package/.next/server/middleware-build-manifest.js +0 -1
- package/.next/server/middleware-manifest.json +0 -6
- package/.next/server/middleware-react-loadable-manifest.js +0 -1
- package/.next/server/pages/404.js +0 -393
- package/.next/server/pages/404.js.nft.json +0 -1
- package/.next/server/pages/500.js +0 -395
- package/.next/server/pages/500.js.nft.json +0 -1
- package/.next/server/pages/[...slug].js +0 -730
- package/.next/server/pages/[...slug].js.nft.json +0 -1
- package/.next/server/pages/[slug]/p.js +0 -2476
- package/.next/server/pages/[slug]/p.js.nft.json +0 -1
- package/.next/server/pages/_app.js +0 -368
- package/.next/server/pages/_app.js.nft.json +0 -1
- package/.next/server/pages/_document.js +0 -304
- package/.next/server/pages/_document.js.nft.json +0 -1
- package/.next/server/pages/_error.js +0 -164
- package/.next/server/pages/_error.js.nft.json +0 -1
- package/.next/server/pages/account.js +0 -370
- package/.next/server/pages/account.js.nft.json +0 -1
- package/.next/server/pages/api/graphql.js +0 -316
- package/.next/server/pages/api/graphql.js.nft.json +0 -1
- package/.next/server/pages/api/preview.js +0 -118
- package/.next/server/pages/api/preview.js.nft.json +0 -1
- package/.next/server/pages/checkout.js +0 -370
- package/.next/server/pages/checkout.js.nft.json +0 -1
- package/.next/server/pages/en-US/404.html +0 -81
- package/.next/server/pages/en-US/404.json +0 -1
- package/.next/server/pages/en-US/500.html +0 -81
- package/.next/server/pages/en-US/500.json +0 -1
- package/.next/server/pages/en-US/account.html +0 -81
- package/.next/server/pages/en-US/account.json +0 -1
- package/.next/server/pages/en-US/checkout.html +0 -81
- package/.next/server/pages/en-US/checkout.json +0 -1
- package/.next/server/pages/en-US/login.html +0 -81
- package/.next/server/pages/en-US/login.json +0 -1
- package/.next/server/pages/en-US/s.html +0 -81
- package/.next/server/pages/en-US/s.json +0 -1
- package/.next/server/pages/en-US.html +0 -81
- package/.next/server/pages/en-US.json +0 -1
- package/.next/server/pages/index.js +0 -966
- package/.next/server/pages/index.js.nft.json +0 -1
- package/.next/server/pages/login.js +0 -375
- package/.next/server/pages/login.js.nft.json +0 -1
- package/.next/server/pages/s.js +0 -473
- package/.next/server/pages/s.js.nft.json +0 -1
- package/.next/server/pages-manifest.json +0 -16
- package/.next/server/webpack-api-runtime.js +0 -229
- package/.next/server/webpack-runtime.js +0 -229
- package/.next/static/Udi5RBTy_YIARcxGrQTA2/_buildManifest.js +0 -1
- package/.next/static/Udi5RBTy_YIARcxGrQTA2/_ssgManifest.js +0 -1
- package/.next/static/chunks/0-82274e07cb857231.js +0 -1
- package/.next/static/chunks/143.dd8a556e6957baa1.js +0 -1
- package/.next/static/chunks/226.b57e10ad9932f88c.js +0 -1
- package/.next/static/chunks/240-8e66b2892f9d8c40.js +0 -1
- package/.next/static/chunks/336.0846f48eccce57e4.js +0 -1
- package/.next/static/chunks/377-891ff95d759cb061.js +0 -1
- package/.next/static/chunks/391-47b923ef44945418.js +0 -1
- package/.next/static/chunks/495.0ecd099878b2a36d.js +0 -1
- package/.next/static/chunks/502.eeca300cb9a355fb.js +0 -1
- package/.next/static/chunks/545-1d3d08edfd2ee4c6.js +0 -1
- package/.next/static/chunks/597.57a8984b6a1071ae.js +0 -1
- package/.next/static/chunks/64.ebbe1d2b40f980c7.js +0 -1
- package/.next/static/chunks/651.7142f31ce1e052b3.js +0 -1
- package/.next/static/chunks/741.52f7fb873418346f.js +0 -1
- package/.next/static/chunks/98.97381d2021f86cd9.js +0 -1
- package/.next/static/chunks/framework-dfd14d7ce6600b03.js +0 -1
- package/.next/static/chunks/main-fd466221927468fd.js +0 -1
- package/.next/static/chunks/pages/404-459452495a0df278.js +0 -1
- package/.next/static/chunks/pages/500-008e30c48eceebed.js +0 -1
- package/.next/static/chunks/pages/[...slug]-e9d8386ff5e56d85.js +0 -1
- package/.next/static/chunks/pages/[slug]/p-8346514a688bf869.js +0 -1
- package/.next/static/chunks/pages/_app-f06fabc4661b3348.js +0 -1
- package/.next/static/chunks/pages/_error-a7a0c1d9bfbb4f38.js +0 -1
- package/.next/static/chunks/pages/account-46263f0c100c3eae.js +0 -1
- package/.next/static/chunks/pages/checkout-20bb3710b24df3b6.js +0 -1
- package/.next/static/chunks/pages/index-2006be8f08ad057f.js +0 -1
- package/.next/static/chunks/pages/login-f9d316d261fcc062.js +0 -1
- package/.next/static/chunks/pages/s-1cbe740b5b781d28.js +0 -1
- package/.next/static/chunks/polyfills-c67a75d1b6f99dc8.js +0 -1
- package/.next/static/chunks/webpack-e9bf82a67cc08d0f.js +0 -1
- package/.next/static/css/13a4da555ff5e3be.css +0 -1
- package/.next/static/css/287f5ba239375052.css +0 -1
- package/.next/static/css/28d7d73e13e2bc1d.css +0 -1
- package/.next/static/css/2e00f7ba49c754b3.css +0 -1
- package/.next/static/css/47d82dcec9a7dbc2.css +0 -1
- package/.next/static/css/6e41f1b6078c14c1.css +0 -1
- package/.next/static/css/7d822a137c54a781.css +0 -1
- package/.next/static/css/c6f97f692b2efad9.css +0 -1
- package/.next/static/css/d4a0d9df8c6df555.css +0 -1
- package/.next/static/css/e02cdad8fc000339.css +0 -1
- package/.next/trace +0 -69
- package/public/~partytown/debug/partytown-atomics.js +0 -556
- package/public/~partytown/debug/partytown-media.js +0 -374
- package/public/~partytown/debug/partytown-sandbox-sw.js +0 -543
- package/public/~partytown/debug/partytown-sw.js +0 -59
- package/public/~partytown/debug/partytown-ww-atomics.js +0 -1789
- package/public/~partytown/debug/partytown-ww-sw.js +0 -1781
- package/public/~partytown/debug/partytown.js +0 -72
- package/public/~partytown/partytown-atomics.js +0 -2
- package/public/~partytown/partytown-media.js +0 -2
- package/public/~partytown/partytown-sw.js +0 -2
- package/public/~partytown/partytown.js +0 -2
|
@@ -371,6 +371,8 @@ export type Query = {
|
|
|
371
371
|
collection: StoreCollection
|
|
372
372
|
/** Returns the details of a product based on the specified locator. */
|
|
373
373
|
product: StoreProduct
|
|
374
|
+
/** Returns if there's a redirect for a search. */
|
|
375
|
+
redirect: Maybe<StoreRedirect>
|
|
374
376
|
/** Returns the result of a product, facet, or suggestion search. */
|
|
375
377
|
search: StoreSearchResult
|
|
376
378
|
/** Returns information about shipping simulation. */
|
|
@@ -395,6 +397,11 @@ export type QueryProductArgs = {
|
|
|
395
397
|
locator: Array<IStoreSelectedFacet>
|
|
396
398
|
}
|
|
397
399
|
|
|
400
|
+
export type QueryRedirectArgs = {
|
|
401
|
+
selectedFacets: InputMaybe<Array<IStoreSelectedFacet>>
|
|
402
|
+
term: InputMaybe<Scalars['String']>
|
|
403
|
+
}
|
|
404
|
+
|
|
398
405
|
export type QuerySearchArgs = {
|
|
399
406
|
after: InputMaybe<Scalars['String']>
|
|
400
407
|
first: Scalars['Int']
|
|
@@ -863,6 +870,12 @@ export type StorePropertyValue = {
|
|
|
863
870
|
valueReference: Scalars['String']
|
|
864
871
|
}
|
|
865
872
|
|
|
873
|
+
/** Redirect informations, including url returned by the query. */
|
|
874
|
+
export type StoreRedirect = {
|
|
875
|
+
/** URL to redirect */
|
|
876
|
+
url: Maybe<Scalars['String']>
|
|
877
|
+
}
|
|
878
|
+
|
|
866
879
|
/** Information of a given review. */
|
|
867
880
|
export type StoreReview = {
|
|
868
881
|
/** Review author. */
|
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,12 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [2.0.163-alpha.0](https://github.com/vtex/faststore/compare/v2.0.162-alpha.0...v2.0.163-alpha.0) (2023-05-26)
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
- add search redirect at api package 2.x ([#1749](https://github.com/vtex/faststore/issues/1749)) ([fe198e1](https://github.com/vtex/faststore/commit/fe198e1de73eda89c220f8a61bd2e83efbd4af9c))
|
|
11
|
+
|
|
6
12
|
## [2.0.162-alpha.0](https://github.com/vtex/faststore/compare/v2.0.161-alpha.0...v2.0.162-alpha.0) (2023-05-26)
|
|
7
13
|
|
|
8
14
|
**Note:** Version bump only for package @faststore/core
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@faststore/core",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.163-alpha.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"browserslist": "supports es6-module and not dead",
|
|
6
6
|
"scripts": {
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"@envelop/graphql-jit": "^1.1.1",
|
|
30
30
|
"@envelop/parser-cache": "^2.2.0",
|
|
31
31
|
"@envelop/validation-cache": "^2.2.0",
|
|
32
|
-
"@faststore/api": "^2.0.
|
|
32
|
+
"@faststore/api": "^2.0.163-alpha.0",
|
|
33
33
|
"@faststore/components": "^2.0.160-alpha.0",
|
|
34
34
|
"@faststore/graphql-utils": "^2.0.3-alpha.0",
|
|
35
35
|
"@faststore/sdk": "^2.0.162-alpha.0",
|
|
@@ -108,5 +108,5 @@
|
|
|
108
108
|
"msw": {
|
|
109
109
|
"workerDirectory": "public"
|
|
110
110
|
},
|
|
111
|
-
"gitHead": "
|
|
111
|
+
"gitHead": "80ae55469242ff05764a4abc6fc384cc2a59aed7"
|
|
112
112
|
}
|
package/.next/BUILD_ID
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
Udi5RBTy_YIARcxGrQTA2
|
|
@@ -1,132 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"polyfillFiles": [
|
|
3
|
-
"static/chunks/polyfills-c67a75d1b6f99dc8.js"
|
|
4
|
-
],
|
|
5
|
-
"devFiles": [],
|
|
6
|
-
"ampDevFiles": [],
|
|
7
|
-
"lowPriorityFiles": [
|
|
8
|
-
"static/Udi5RBTy_YIARcxGrQTA2/_buildManifest.js",
|
|
9
|
-
"static/Udi5RBTy_YIARcxGrQTA2/_ssgManifest.js"
|
|
10
|
-
],
|
|
11
|
-
"rootMainFiles": [],
|
|
12
|
-
"pages": {
|
|
13
|
-
"/": [
|
|
14
|
-
"static/chunks/webpack-e9bf82a67cc08d0f.js",
|
|
15
|
-
"static/chunks/framework-dfd14d7ce6600b03.js",
|
|
16
|
-
"static/chunks/main-fd466221927468fd.js",
|
|
17
|
-
"static/chunks/391-47b923ef44945418.js",
|
|
18
|
-
"static/chunks/545-1d3d08edfd2ee4c6.js",
|
|
19
|
-
"static/css/28d7d73e13e2bc1d.css",
|
|
20
|
-
"static/chunks/377-891ff95d759cb061.js",
|
|
21
|
-
"static/css/287f5ba239375052.css",
|
|
22
|
-
"static/chunks/240-8e66b2892f9d8c40.js",
|
|
23
|
-
"static/css/13a4da555ff5e3be.css",
|
|
24
|
-
"static/chunks/pages/index-2006be8f08ad057f.js"
|
|
25
|
-
],
|
|
26
|
-
"/404": [
|
|
27
|
-
"static/chunks/webpack-e9bf82a67cc08d0f.js",
|
|
28
|
-
"static/chunks/framework-dfd14d7ce6600b03.js",
|
|
29
|
-
"static/chunks/main-fd466221927468fd.js",
|
|
30
|
-
"static/chunks/391-47b923ef44945418.js",
|
|
31
|
-
"static/chunks/545-1d3d08edfd2ee4c6.js",
|
|
32
|
-
"static/css/28d7d73e13e2bc1d.css",
|
|
33
|
-
"static/chunks/377-891ff95d759cb061.js",
|
|
34
|
-
"static/css/e02cdad8fc000339.css",
|
|
35
|
-
"static/chunks/pages/404-459452495a0df278.js"
|
|
36
|
-
],
|
|
37
|
-
"/500": [
|
|
38
|
-
"static/chunks/webpack-e9bf82a67cc08d0f.js",
|
|
39
|
-
"static/chunks/framework-dfd14d7ce6600b03.js",
|
|
40
|
-
"static/chunks/main-fd466221927468fd.js",
|
|
41
|
-
"static/chunks/391-47b923ef44945418.js",
|
|
42
|
-
"static/chunks/545-1d3d08edfd2ee4c6.js",
|
|
43
|
-
"static/css/28d7d73e13e2bc1d.css",
|
|
44
|
-
"static/chunks/377-891ff95d759cb061.js",
|
|
45
|
-
"static/css/e02cdad8fc000339.css",
|
|
46
|
-
"static/chunks/pages/500-008e30c48eceebed.js"
|
|
47
|
-
],
|
|
48
|
-
"/[...slug]": [
|
|
49
|
-
"static/chunks/webpack-e9bf82a67cc08d0f.js",
|
|
50
|
-
"static/chunks/framework-dfd14d7ce6600b03.js",
|
|
51
|
-
"static/chunks/main-fd466221927468fd.js",
|
|
52
|
-
"static/chunks/391-47b923ef44945418.js",
|
|
53
|
-
"static/chunks/545-1d3d08edfd2ee4c6.js",
|
|
54
|
-
"static/css/28d7d73e13e2bc1d.css",
|
|
55
|
-
"static/chunks/377-891ff95d759cb061.js",
|
|
56
|
-
"static/css/d4a0d9df8c6df555.css",
|
|
57
|
-
"static/chunks/0-82274e07cb857231.js",
|
|
58
|
-
"static/css/6e41f1b6078c14c1.css",
|
|
59
|
-
"static/chunks/pages/[...slug]-e9d8386ff5e56d85.js"
|
|
60
|
-
],
|
|
61
|
-
"/[slug]/p": [
|
|
62
|
-
"static/chunks/webpack-e9bf82a67cc08d0f.js",
|
|
63
|
-
"static/chunks/framework-dfd14d7ce6600b03.js",
|
|
64
|
-
"static/chunks/main-fd466221927468fd.js",
|
|
65
|
-
"static/chunks/391-47b923ef44945418.js",
|
|
66
|
-
"static/chunks/545-1d3d08edfd2ee4c6.js",
|
|
67
|
-
"static/css/28d7d73e13e2bc1d.css",
|
|
68
|
-
"static/chunks/377-891ff95d759cb061.js",
|
|
69
|
-
"static/css/287f5ba239375052.css",
|
|
70
|
-
"static/chunks/240-8e66b2892f9d8c40.js",
|
|
71
|
-
"static/css/c6f97f692b2efad9.css",
|
|
72
|
-
"static/chunks/pages/[slug]/p-8346514a688bf869.js"
|
|
73
|
-
],
|
|
74
|
-
"/_app": [
|
|
75
|
-
"static/chunks/webpack-e9bf82a67cc08d0f.js",
|
|
76
|
-
"static/chunks/framework-dfd14d7ce6600b03.js",
|
|
77
|
-
"static/chunks/main-fd466221927468fd.js",
|
|
78
|
-
"static/css/47d82dcec9a7dbc2.css",
|
|
79
|
-
"static/chunks/pages/_app-f06fabc4661b3348.js"
|
|
80
|
-
],
|
|
81
|
-
"/_error": [
|
|
82
|
-
"static/chunks/webpack-e9bf82a67cc08d0f.js",
|
|
83
|
-
"static/chunks/framework-dfd14d7ce6600b03.js",
|
|
84
|
-
"static/chunks/main-fd466221927468fd.js",
|
|
85
|
-
"static/chunks/pages/_error-a7a0c1d9bfbb4f38.js"
|
|
86
|
-
],
|
|
87
|
-
"/account": [
|
|
88
|
-
"static/chunks/webpack-e9bf82a67cc08d0f.js",
|
|
89
|
-
"static/chunks/framework-dfd14d7ce6600b03.js",
|
|
90
|
-
"static/chunks/main-fd466221927468fd.js",
|
|
91
|
-
"static/chunks/391-47b923ef44945418.js",
|
|
92
|
-
"static/chunks/545-1d3d08edfd2ee4c6.js",
|
|
93
|
-
"static/css/28d7d73e13e2bc1d.css",
|
|
94
|
-
"static/chunks/377-891ff95d759cb061.js",
|
|
95
|
-
"static/chunks/pages/account-46263f0c100c3eae.js"
|
|
96
|
-
],
|
|
97
|
-
"/checkout": [
|
|
98
|
-
"static/chunks/webpack-e9bf82a67cc08d0f.js",
|
|
99
|
-
"static/chunks/framework-dfd14d7ce6600b03.js",
|
|
100
|
-
"static/chunks/main-fd466221927468fd.js",
|
|
101
|
-
"static/chunks/391-47b923ef44945418.js",
|
|
102
|
-
"static/chunks/545-1d3d08edfd2ee4c6.js",
|
|
103
|
-
"static/css/28d7d73e13e2bc1d.css",
|
|
104
|
-
"static/chunks/377-891ff95d759cb061.js",
|
|
105
|
-
"static/chunks/pages/checkout-20bb3710b24df3b6.js"
|
|
106
|
-
],
|
|
107
|
-
"/login": [
|
|
108
|
-
"static/chunks/webpack-e9bf82a67cc08d0f.js",
|
|
109
|
-
"static/chunks/framework-dfd14d7ce6600b03.js",
|
|
110
|
-
"static/chunks/main-fd466221927468fd.js",
|
|
111
|
-
"static/chunks/391-47b923ef44945418.js",
|
|
112
|
-
"static/chunks/545-1d3d08edfd2ee4c6.js",
|
|
113
|
-
"static/css/28d7d73e13e2bc1d.css",
|
|
114
|
-
"static/chunks/377-891ff95d759cb061.js",
|
|
115
|
-
"static/css/e02cdad8fc000339.css",
|
|
116
|
-
"static/chunks/pages/login-f9d316d261fcc062.js"
|
|
117
|
-
],
|
|
118
|
-
"/s": [
|
|
119
|
-
"static/chunks/webpack-e9bf82a67cc08d0f.js",
|
|
120
|
-
"static/chunks/framework-dfd14d7ce6600b03.js",
|
|
121
|
-
"static/chunks/main-fd466221927468fd.js",
|
|
122
|
-
"static/chunks/391-47b923ef44945418.js",
|
|
123
|
-
"static/chunks/545-1d3d08edfd2ee4c6.js",
|
|
124
|
-
"static/css/28d7d73e13e2bc1d.css",
|
|
125
|
-
"static/chunks/377-891ff95d759cb061.js",
|
|
126
|
-
"static/css/d4a0d9df8c6df555.css",
|
|
127
|
-
"static/chunks/0-82274e07cb857231.js",
|
|
128
|
-
"static/chunks/pages/s-1cbe740b5b781d28.js"
|
|
129
|
-
]
|
|
130
|
-
},
|
|
131
|
-
"ampFirstPages": []
|
|
132
|
-
}
|