@faststore/core 3.89.0 → 3.89.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/.next/BUILD_ID +1 -1
- package/.next/build-manifest.json +45 -44
- package/.next/cache/.tsbuildinfo +1 -1
- package/.next/cache/config.json +3 -3
- 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/prerender-manifest.js +1 -1
- package/.next/prerender-manifest.json +1 -1
- package/.next/react-loadable-manifest.json +51 -64
- package/.next/routes-manifest.json +1 -1
- package/.next/server/chunks/1917.js +1 -0
- package/.next/server/chunks/1972.js +1 -0
- package/.next/server/chunks/294.js +1 -1
- package/.next/server/chunks/3006.js +1 -1
- package/.next/server/chunks/3060.js +1 -0
- package/.next/server/chunks/3408.js +1 -0
- package/.next/server/chunks/3836.js +1 -1
- package/.next/server/chunks/{8071.js → 4803.js} +1 -1
- package/.next/server/chunks/5335.js +1 -0
- package/.next/server/chunks/6789.js +1 -1
- package/.next/server/chunks/7098.js +9 -0
- package/.next/server/chunks/83.js +1 -1
- package/.next/server/chunks/8563.js +1 -1
- package/.next/server/chunks/8598.js +1 -0
- package/.next/server/chunks/8687.js +1 -1
- package/.next/server/chunks/9088.js +1 -1
- package/.next/server/chunks/9237.js +1 -0
- package/.next/server/chunks/948.js +1 -1
- package/.next/server/chunks/9563.js +2 -2
- package/.next/server/chunks/9630.js +1 -1
- package/.next/server/chunks/9740.js +1 -0
- package/.next/server/chunks/9853.js +1 -1
- package/.next/server/chunks/UIBannerText.js +1 -1
- package/.next/server/chunks/UINavbarSlider.js +1 -0
- package/.next/server/chunks/UISKUMatrixSidebar.js +1 -1
- 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.nft.json +1 -1
- package/.next/server/pages/500.js.nft.json +1 -1
- package/.next/server/pages/[...slug].js +1 -1
- package/.next/server/pages/[...slug].js.nft.json +1 -1
- package/.next/server/pages/[slug]/p.js +1 -1
- package/.next/server/pages/[slug]/p.js.nft.json +1 -1
- package/.next/server/pages/_app.js.nft.json +1 -1
- package/.next/server/pages/_document.js.nft.json +1 -1
- package/.next/server/pages/_error.js.nft.json +1 -1
- package/.next/server/pages/api/graphql.js +2 -2
- package/.next/server/pages/api/graphql.js.nft.json +1 -1
- package/.next/server/pages/api/health/live.js.nft.json +1 -1
- package/.next/server/pages/api/health/ready.js.nft.json +1 -1
- package/.next/server/pages/api/preview.js.nft.json +1 -1
- package/.next/server/pages/checkout.js.nft.json +1 -1
- package/.next/server/pages/en-US/404.html +1 -1
- package/.next/server/pages/en-US/500.html +1 -1
- package/.next/server/pages/en-US/checkout.html +1 -1
- package/.next/server/pages/en-US/login.html +1 -1
- package/.next/server/pages/en-US/s.html +1 -1
- package/.next/server/pages/en-US.html +1 -1
- package/.next/server/pages/index.js +1 -1
- package/.next/server/pages/index.js.nft.json +1 -1
- package/.next/server/pages/login.js.nft.json +1 -1
- package/.next/server/pages/pvt/account/403.js +1 -1
- package/.next/server/pages/pvt/account/403.js.nft.json +1 -1
- package/.next/server/pages/pvt/account/404.js +1 -1
- package/.next/server/pages/pvt/account/404.js.nft.json +1 -1
- package/.next/server/pages/pvt/account/[...unknown].js.nft.json +1 -1
- package/.next/server/pages/pvt/account/orders/[id].js +1 -1
- package/.next/server/pages/pvt/account/orders/[id].js.nft.json +1 -1
- package/.next/server/pages/pvt/account/orders.js +1 -1
- package/.next/server/pages/pvt/account/orders.js.nft.json +1 -1
- package/.next/server/pages/pvt/account/profile.js +1 -1
- package/.next/server/pages/pvt/account/profile.js.nft.json +1 -1
- package/.next/server/pages/pvt/account/security.js +1 -1
- package/.next/server/pages/pvt/account/security.js.nft.json +1 -1
- package/.next/server/pages/pvt/account/user-details.js +1 -1
- package/.next/server/pages/pvt/account/user-details.js.nft.json +1 -1
- package/.next/server/pages/pvt/account.js.nft.json +1 -1
- package/.next/server/pages/s.js +1 -1
- package/.next/server/pages/s.js.nft.json +1 -1
- package/.next/server/pages-manifest.json +1 -1
- package/.next/server/webpack-runtime.js +1 -1
- package/.next/static/-DJmUNBiLVWP0AbyX0Ieo/_buildManifest.js +1 -0
- package/.next/static/chunks/{2500.f0f7666c380f9501.js → 2500.e2623cac49e0ccb8.js} +1 -1
- package/.next/static/chunks/2561.c30def9d5569bd92.js +1 -0
- package/.next/static/chunks/{7351.2d0d3a1fb538d97a.js → 2927.23bae2c79f0ac0f3.js} +1 -1
- package/.next/static/chunks/{3155.f521c771a8c355a5.js → 3155.7bc4c730a79d9ecb.js} +1 -1
- package/.next/static/chunks/{6852-97b424676696b449.js → 3474-d34f8f5fe6eacbe6.js} +1 -1
- package/.next/static/chunks/{7191-0063121dcadf6b82.js → 7191-7fb36e620e08cb4c.js} +1 -1
- package/.next/static/chunks/{83.7723de7199118a99.js → 83.87e453890e515daf.js} +1 -1
- package/.next/static/chunks/{9173-496f066fb8522bb9.js → 9173-b0a754a0ce434990.js} +1 -1
- package/.next/static/chunks/9465.a17b996086339462.js +1 -0
- package/.next/static/chunks/9701.b0e8741551995fbb.js +1 -0
- package/.next/static/chunks/{BannerNewsletter.840a840b7a616260.js → BannerNewsletter.6dd85e25c8c2c3af.js} +1 -1
- package/.next/static/chunks/{BannerText.b675fb19df87b7cb.js → BannerText.b7e3abd3cb16ce22.js} +1 -1
- package/.next/static/chunks/{CartSidebar.71d3ea99611c87a3.js → CartSidebar.378bf81dfa98ee98.js} +1 -1
- package/.next/static/chunks/ProductShelf.319b97d6c822340b.js +1 -0
- package/.next/static/chunks/ProductTiles.18f55314e61957f4.js +1 -0
- package/.next/static/chunks/{RegionModal.2a8f6662c3a64d2a.js → RegionModal.46dfb14238e33e96.js} +1 -1
- package/.next/static/chunks/{RegionSlider.bd14bfba15836ea0.js → RegionSlider.d295bcc2f86210cd.js} +1 -1
- package/.next/static/chunks/{Toast.f583e19c7fcb2527.js → Toast.174ea598896a8273.js} +1 -1
- package/.next/static/chunks/{UIBannerText.6715ba9ae0b6065c.js → UIBannerText.7315b16af4457059.js} +1 -1
- package/.next/static/chunks/UIToast.3a8d6b20848b20e2.js +1 -0
- package/.next/static/chunks/pages/{[...slug]-8c829cc01fdb1a38.js → [...slug]-7878c4679614a34d.js} +1 -1
- package/.next/static/chunks/pages/[slug]/p-49a7aaba6898f796.js +1 -0
- package/.next/static/chunks/pages/index-7a9bc631c89fd3f2.js +1 -0
- package/.next/static/chunks/pages/pvt/account/orders-fe752854bdc2ccca.js +1 -0
- package/.next/static/chunks/pages/pvt/account/{profile-e13024f80e939a5f.js → profile-b6cdbf02d4682544.js} +1 -1
- package/.next/static/chunks/webpack-81e8b6bdc955aa2f.js +1 -0
- package/.next/trace +138 -138
- package/.turbo/turbo-build.log +11 -12
- package/.turbo/turbo-test.log +5 -5
- package/@generated/gql.ts +12 -12
- package/@generated/graphql.ts +13 -14
- package/@generated/persisted-documents.json +6 -6
- package/@generated/schema.graphql +0 -2
- package/CHANGELOG.md +13 -0
- package/package.json +7 -7
- package/src/components/account/orders/MyAccountListOrders/MyAccountFilterSlider/MyAccountFilterSlider.tsx +24 -15
- package/src/components/cms/home/Components.ts +3 -8
- package/src/components/ui/ProductShelf/ProductShelf.tsx +1 -7
- package/src/experimental/myAccountSeverSideProps.ts +6 -4
- package/src/pages/pvt/account/403.tsx +5 -3
- package/src/pages/pvt/account/404.tsx +5 -3
- package/src/pages/pvt/account/orders/[id].tsx +4 -2
- package/src/pages/pvt/account/orders/index.tsx +4 -2
- package/src/pages/pvt/account/profile.tsx +2 -6
- package/src/pages/pvt/account/security.tsx +4 -5
- package/src/pages/pvt/account/user-details.tsx +4 -2
- package/test/server/index.test.ts +0 -1
- package/.next/server/chunks/1270.js +0 -1
- package/.next/server/chunks/1911.js +0 -1
- package/.next/server/chunks/3882.js +0 -1
- package/.next/server/chunks/4799.js +0 -1
- package/.next/server/chunks/6870.js +0 -1
- package/.next/server/chunks/8335.js +0 -1
- package/.next/server/chunks/8474.js +0 -9
- package/.next/server/chunks/8737.js +0 -1
- package/.next/static/chunks/4799.46dca5f8076f9448.js +0 -1
- package/.next/static/chunks/9465.8754a1b3cd5c4c83.js +0 -1
- package/.next/static/chunks/9714.2e2c2f0eb526ba23.js +0 -1
- package/.next/static/chunks/9781.a221de71d6b10ba0.js +0 -1
- package/.next/static/chunks/ProductShelf.632b93b2c0e1ca9a.js +0 -1
- package/.next/static/chunks/ProductTiles.778c483734598736.js +0 -1
- package/.next/static/chunks/UIToast.1ac644a9d787435c.js +0 -1
- package/.next/static/chunks/pages/[slug]/p-4900eb3e616324c7.js +0 -1
- package/.next/static/chunks/pages/index-8e36d989396a7544.js +0 -1
- package/.next/static/chunks/pages/pvt/account/orders-f376bbaf561ae429.js +0 -1
- package/.next/static/chunks/webpack-f16e329d9f50b79b.js +0 -1
- package/.next/static/zzqNGaHXIghWiPWB3TKER/_buildManifest.js +0 -1
- /package/.next/static/{zzqNGaHXIghWiPWB3TKER → -DJmUNBiLVWP0AbyX0Ieo}/_ssgManifest.js +0 -0
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
|
|
2
|
-
> @faststore/core@3.
|
|
2
|
+
> @faststore/core@3.89.1 prebuild /home/runner/work/faststore/faststore/packages/core
|
|
3
3
|
> na run partytown && na run generate
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
> @faststore/core@3.
|
|
6
|
+
> @faststore/core@3.89.1 partytown /home/runner/work/faststore/faststore/packages/core
|
|
7
7
|
> partytown copylib ./public/~partytown
|
|
8
8
|
|
|
9
9
|
Partytown lib copied to: /home/runner/work/faststore/faststore/packages/core/public/~partytown
|
|
10
10
|
|
|
11
|
-
> @faststore/core@3.
|
|
11
|
+
> @faststore/core@3.89.1 generate /home/runner/work/faststore/faststore/packages/core
|
|
12
12
|
> na run generate:schema && na run generate:codegen && na run format:generated
|
|
13
13
|
|
|
14
14
|
|
|
15
|
-
> @faststore/core@3.
|
|
15
|
+
> @faststore/core@3.89.1 generate:schema /home/runner/work/faststore/faststore/packages/core
|
|
16
16
|
> tsx src/server/generator/generateGraphQLSchemaFile.ts
|
|
17
17
|
|
|
18
18
|
Schema GraphQL file generated successfully
|
|
19
19
|
|
|
20
|
-
> @faststore/core@3.
|
|
20
|
+
> @faststore/core@3.89.1 generate:codegen /home/runner/work/faststore/faststore/packages/core
|
|
21
21
|
> graphql-codegen
|
|
22
22
|
|
|
23
23
|
[STARTED] Parse Configuration
|
|
@@ -37,11 +37,11 @@ Running lifecycle hook "afterStart" scripts...
|
|
|
37
37
|
[CLI] Loading Documents
|
|
38
38
|
[CLI] Generating output
|
|
39
39
|
|
|
40
|
-
> @faststore/core@3.
|
|
40
|
+
> @faststore/core@3.89.1 format:generated /home/runner/work/faststore/faststore/packages/core
|
|
41
41
|
> prettier --write "@generated/**/*.{ts,js,tsx,jsx,json}" --loglevel error
|
|
42
42
|
|
|
43
43
|
|
|
44
|
-
> @faststore/core@3.
|
|
44
|
+
> @faststore/core@3.89.1 build /home/runner/work/faststore/faststore/packages/core
|
|
45
45
|
> next build
|
|
46
46
|
|
|
47
47
|
⚠ No build cache found. Please configure build caching for faster rebuilds. Read more: https://nextjs.org/docs/messages/no-cache
|
|
@@ -65,20 +65,19 @@ Browserslist: browsers data (caniuse-lite) is 9 months old. Please run:
|
|
|
65
65
|
Collecting page data ...
|
|
66
66
|
Generating static pages (0/6) ...
|
|
67
67
|
|
|
68
68
|
Generating static pages (1/6)
|
|
69
|
-
Warning: Dynamic Content not found for the page: home. Refer to the Dynamic Content documentation at https://developers.vtex.com/docs/guides/faststore/dynamic-content-overview for mapping the page and the corresponding data-fetching function.
|
|
70
69
|
|
|
71
70
|
Generating static pages (2/6)
|
|
71
|
+
Warning: Dynamic Content not found for the page: home. Refer to the Dynamic Content documentation at https://developers.vtex.com/docs/guides/faststore/dynamic-content-overview for mapping the page and the corresponding data-fetching function.
|
|
72
72
|
|
|
73
73
|
Generating static pages (4/6)
|
|
74
74
|
|
|
75
75
|
✓ Generating static pages (6/6)
|
|
76
76
|
Finalizing page optimization ...
|
|
77
77
|
Collecting build traces ...
|
|
78
78
|
|
|
79
79
|
Route (pages) Size First Load JS
|
|
80
|
-
┌ ● /
|
|
80
|
+
┌ ● / 7.53 kB 146 kB
|
|
81
81
|
├ └ css/c29fee5b9f9d48d9.css 3.07 kB
|
|
82
82
|
├ /_app 0 B 107 kB
|
|
83
83
|
├ ● /[...slug] 2.49 kB 156 kB
|
|
84
|
-
├ ● /[slug]/p 97.
|
|
85
|
-
├ ├ css/331f08e9d306e70b.css 5.92 kB
|
|
84
|
+
├ ● /[slug]/p 97.7 kB 236 kB
|
|
86
85
|
├ └ css/a9328b56f3942b82.css 22 kB
|
|
87
86
|
├ ○ /404 1.57 kB 140 kB
|
|
88
87
|
├ ● /500 1.57 kB 140 kB
|
|
@@ -109,7 +108,7 @@ Route (pages) Size First Load JS
|
|
|
109
108
|
├ chunks/framework-d514426edf885c68.js 45.4 kB
|
|
110
109
|
├ chunks/main-595f5e3b626b9fff.js 33.2 kB
|
|
111
110
|
├ chunks/pages/_app-78bc68991096280c.js 25 kB
|
|
112
|
-
├ chunks/webpack-
|
|
111
|
+
├ chunks/webpack-81e8b6bdc955aa2f.js 3.84 kB
|
|
113
112
|
└ css/24a5e8f6808266fe.css 3.53 kB
|
|
114
113
|
|
|
115
114
|
λ (Server) server-side renders at runtime (uses getInitialProps or getServerSideProps)
|
package/.turbo/turbo-test.log
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
|
|
2
|
-
> @faststore/core@3.
|
|
2
|
+
> @faststore/core@3.89.1 test /home/runner/work/faststore/faststore/packages/core
|
|
3
3
|
> jest
|
|
4
4
|
|
|
5
|
-
PASS test/
|
|
6
|
-
PASS test/
|
|
5
|
+
PASS test/server/cms/global.test.ts (26.895 s)
|
|
6
|
+
PASS test/utils/multipleTemplates.test.ts (27.227 s)
|
|
7
7
|
PASS test/server/cms/index.test.ts
|
|
8
|
-
PASS test/server/index.test.ts (
|
|
8
|
+
PASS test/server/index.test.ts (30.228 s)
|
|
9
9
|
A worker process has failed to exit gracefully and has been force exited. This is likely caused by tests leaking due to improper teardown. Try running with --detectOpenHandles to find leaks. Active timers can also cause this, ensure that .unref() was called on them.
|
|
10
10
|
|
|
11
11
|
Test Suites: 4 passed, 4 total
|
|
12
12
|
Tests: 22 passed, 22 total
|
|
13
13
|
Snapshots: 0 total
|
|
14
|
-
Time:
|
|
14
|
+
Time: 31.561 s
|
|
15
15
|
Ran all test suites.
|
package/@generated/gql.ts
CHANGED
|
@@ -38,7 +38,7 @@ const documents = {
|
|
|
38
38
|
types.ServerCollectionPageFragmentDoc,
|
|
39
39
|
'\n fragment ServerProduct on Query {\n product(locator: $locator) {\n id: productID\n }\n }\n':
|
|
40
40
|
types.ServerProductFragmentDoc,
|
|
41
|
-
'\n query ServerAccountPageQuery {\n
|
|
41
|
+
'\n query ServerAccountPageQuery {\n accountProfile {\n name\n }\n }\n':
|
|
42
42
|
types.ServerAccountPageQueryDocument,
|
|
43
43
|
'\n query ServerCollectionPageQuery($slug: String!) {\n ...ServerCollectionPage\n collection(slug: $slug) {\n seo {\n title\n description\n }\n breadcrumbList {\n itemListElement {\n item\n name\n position\n }\n }\n meta {\n selectedFacets {\n key\n value\n }\n }\n }\n }\n':
|
|
44
44
|
types.ServerCollectionPageQueryDocument,
|
|
@@ -46,15 +46,15 @@ const documents = {
|
|
|
46
46
|
types.ServerProductQueryDocument,
|
|
47
47
|
'\n fragment UserOrderItemsFragment on UserOrderItems {\n id\n name\n quantity\n sellingPrice\n unitMultiplier\n measurementUnit\n imageUrl\n detailUrl\n refId\n rewardValue\n }\n':
|
|
48
48
|
types.UserOrderItemsFragmentFragmentDoc,
|
|
49
|
-
'\n query ServerOrderDetailsQuery($orderId: String!) {\n userOrder(orderId: $orderId) {\n orderId\n creationDate\n status\n canProcessOrderAuthorization\n statusDescription\n allowCancellation\n ruleForAuthorization {\n orderAuthorizationId\n dimensionId\n rule {\n id\n name\n status\n doId\n authorizedEmails\n priority\n trigger {\n condition {\n conditionType\n description\n lessThan\n greatherThan\n expression\n }\n effect {\n description\n effectType\n funcPath\n }\n }\n timeout\n notification\n scoreInterval {\n accept\n deny\n }\n authorizationData {\n requireAllApprovals\n authorizers {\n id\n email\n type\n authorizationDate\n }\n }\n isUserAuthorized\n isUserNextAuthorizer\n }\n }\n storePreferencesData {\n currencyCode\n }\n clientProfileData {\n firstName\n lastName\n email\n phone\n corporateName\n isCorporate\n }\n customFields {\n type\n id\n fields {\n name\n value\n refId\n }\n }\n deliveryOptionsData {\n deliveryOptions {\n selectedSla\n deliveryChannel\n deliveryCompany\n deliveryWindow {\n startDateUtc\n endDateUtc\n price\n }\n shippingEstimate\n shippingEstimateDate\n friendlyShippingEstimate\n friendlyDeliveryOptionName\n seller\n address {\n addressType\n receiverName\n addressId\n versionId\n entityId\n postalCode\n city\n state\n country\n street\n number\n neighborhood\n complement\n reference\n geoCoordinates\n }\n pickupStoreInfo {\n additionalInfo\n address {\n addressType\n receiverName\n addressId\n versionId\n entityId\n postalCode\n city\n state\n country\n street\n number\n neighborhood\n complement\n reference\n geoCoordinates\n }\n dockId\n friendlyName\n isPickupStore\n }\n quantityOfDifferentItems\n total\n items {\n id\n uniqueId\n name\n quantity\n price\n imageUrl\n tax\n total\n }\n }\n contact {\n email\n phone\n name\n }\n }\n paymentData {\n transactions {\n isActive\n payments {\n id\n paymentSystemName\n value\n installments\n referenceValue\n lastDigits\n url\n group\n tid\n connectorResponses {\n authId\n }\n bankIssuedInvoiceIdentificationNumber\n redemptionCode\n paymentOrigin\n }\n }\n }\n totals {\n id\n name\n value\n }\n shopper {\n firstName\n lastName\n email\n phone\n }\n }\n
|
|
49
|
+
'\n query ServerOrderDetailsQuery($orderId: String!) {\n userOrder(orderId: $orderId) {\n orderId\n creationDate\n status\n canProcessOrderAuthorization\n statusDescription\n allowCancellation\n ruleForAuthorization {\n orderAuthorizationId\n dimensionId\n rule {\n id\n name\n status\n doId\n authorizedEmails\n priority\n trigger {\n condition {\n conditionType\n description\n lessThan\n greatherThan\n expression\n }\n effect {\n description\n effectType\n funcPath\n }\n }\n timeout\n notification\n scoreInterval {\n accept\n deny\n }\n authorizationData {\n requireAllApprovals\n authorizers {\n id\n email\n type\n authorizationDate\n }\n }\n isUserAuthorized\n isUserNextAuthorizer\n }\n }\n storePreferencesData {\n currencyCode\n }\n clientProfileData {\n firstName\n lastName\n email\n phone\n corporateName\n isCorporate\n }\n customFields {\n type\n id\n fields {\n name\n value\n refId\n }\n }\n deliveryOptionsData {\n deliveryOptions {\n selectedSla\n deliveryChannel\n deliveryCompany\n deliveryWindow {\n startDateUtc\n endDateUtc\n price\n }\n shippingEstimate\n shippingEstimateDate\n friendlyShippingEstimate\n friendlyDeliveryOptionName\n seller\n address {\n addressType\n receiverName\n addressId\n versionId\n entityId\n postalCode\n city\n state\n country\n street\n number\n neighborhood\n complement\n reference\n geoCoordinates\n }\n pickupStoreInfo {\n additionalInfo\n address {\n addressType\n receiverName\n addressId\n versionId\n entityId\n postalCode\n city\n state\n country\n street\n number\n neighborhood\n complement\n reference\n geoCoordinates\n }\n dockId\n friendlyName\n isPickupStore\n }\n quantityOfDifferentItems\n total\n items {\n id\n uniqueId\n name\n quantity\n price\n imageUrl\n tax\n total\n }\n }\n contact {\n email\n phone\n name\n }\n }\n paymentData {\n transactions {\n isActive\n payments {\n id\n paymentSystemName\n value\n installments\n referenceValue\n lastDigits\n url\n group\n tid\n connectorResponses {\n authId\n }\n bankIssuedInvoiceIdentificationNumber\n redemptionCode\n paymentOrigin\n }\n }\n }\n totals {\n id\n name\n value\n }\n shopper {\n firstName\n lastName\n email\n phone\n }\n }\n accountProfile {\n name\n }\n }\n':
|
|
50
50
|
types.ServerOrderDetailsQueryDocument,
|
|
51
|
-
'\n query ServerListOrdersQuery ($page: Int,$perPage: Int, $status: [String], $dateInitial: String, $dateFinal: String, $text: String, $clientEmail: String) {\n listUserOrders (page: $page, perPage: $perPage, status: $status, dateInitial: $dateInitial, dateFinal: $dateFinal, text: $text, clientEmail: $clientEmail) {\n list {\n orderId\n creationDate\n clientName\n items {\n seller\n quantity\n description\n ean\n refId\n id\n productId\n sellingPrice\n price\n }\n totalValue\n status\n statusDescription\n ShippingEstimatedDate\n currencyCode\n customFields {\n type\n value\n }\n }\n paging {\n total\n pages\n currentPage\n perPage\n }\n }\n
|
|
51
|
+
'\n query ServerListOrdersQuery ($page: Int,$perPage: Int, $status: [String], $dateInitial: String, $dateFinal: String, $text: String, $clientEmail: String) {\n listUserOrders (page: $page, perPage: $perPage, status: $status, dateInitial: $dateInitial, dateFinal: $dateFinal, text: $text, clientEmail: $clientEmail) {\n list {\n orderId\n creationDate\n clientName\n items {\n seller\n quantity\n description\n ean\n refId\n id\n productId\n sellingPrice\n price\n }\n totalValue\n status\n statusDescription\n ShippingEstimatedDate\n currencyCode\n customFields {\n type\n value\n }\n }\n paging {\n total\n pages\n currentPage\n perPage\n }\n }\n accountProfile {\n name\n }\n }\n':
|
|
52
52
|
types.ServerListOrdersQueryDocument,
|
|
53
|
-
'\n query ServerProfileQuery {\n
|
|
53
|
+
'\n query ServerProfileQuery {\n accountProfile {\n name\n email\n id\n }\n }\n':
|
|
54
54
|
types.ServerProfileQueryDocument,
|
|
55
|
-
'\n query ServerSecurity {\n
|
|
55
|
+
'\n query ServerSecurity {\n accountProfile {\n name\n }\n userDetails {\n email\n }\n }\n':
|
|
56
56
|
types.ServerSecurityDocument,
|
|
57
|
-
'\n query ServerUserDetailsQuery {\n
|
|
57
|
+
'\n query ServerUserDetailsQuery {\n accountProfile {\n name\n }\n userDetails {\n name\n email\n role\n orgUnit\n }\n }\n':
|
|
58
58
|
types.ServerUserDetailsQueryDocument,
|
|
59
59
|
'\n mutation CancelOrderMutation($data: IUserOrderCancel!) {\n cancelOrder(data: $data) {\n data\n }\n }\n':
|
|
60
60
|
types.CancelOrderMutationDocument,
|
|
@@ -176,7 +176,7 @@ export function gql(
|
|
|
176
176
|
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
177
177
|
*/
|
|
178
178
|
export function gql(
|
|
179
|
-
source: '\n query ServerAccountPageQuery {\n
|
|
179
|
+
source: '\n query ServerAccountPageQuery {\n accountProfile {\n name\n }\n }\n'
|
|
180
180
|
): typeof import('./graphql').ServerAccountPageQueryDocument
|
|
181
181
|
/**
|
|
182
182
|
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
@@ -200,31 +200,31 @@ export function gql(
|
|
|
200
200
|
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
201
201
|
*/
|
|
202
202
|
export function gql(
|
|
203
|
-
source: '\n query ServerOrderDetailsQuery($orderId: String!) {\n userOrder(orderId: $orderId) {\n orderId\n creationDate\n status\n canProcessOrderAuthorization\n statusDescription\n allowCancellation\n ruleForAuthorization {\n orderAuthorizationId\n dimensionId\n rule {\n id\n name\n status\n doId\n authorizedEmails\n priority\n trigger {\n condition {\n conditionType\n description\n lessThan\n greatherThan\n expression\n }\n effect {\n description\n effectType\n funcPath\n }\n }\n timeout\n notification\n scoreInterval {\n accept\n deny\n }\n authorizationData {\n requireAllApprovals\n authorizers {\n id\n email\n type\n authorizationDate\n }\n }\n isUserAuthorized\n isUserNextAuthorizer\n }\n }\n storePreferencesData {\n currencyCode\n }\n clientProfileData {\n firstName\n lastName\n email\n phone\n corporateName\n isCorporate\n }\n customFields {\n type\n id\n fields {\n name\n value\n refId\n }\n }\n deliveryOptionsData {\n deliveryOptions {\n selectedSla\n deliveryChannel\n deliveryCompany\n deliveryWindow {\n startDateUtc\n endDateUtc\n price\n }\n shippingEstimate\n shippingEstimateDate\n friendlyShippingEstimate\n friendlyDeliveryOptionName\n seller\n address {\n addressType\n receiverName\n addressId\n versionId\n entityId\n postalCode\n city\n state\n country\n street\n number\n neighborhood\n complement\n reference\n geoCoordinates\n }\n pickupStoreInfo {\n additionalInfo\n address {\n addressType\n receiverName\n addressId\n versionId\n entityId\n postalCode\n city\n state\n country\n street\n number\n neighborhood\n complement\n reference\n geoCoordinates\n }\n dockId\n friendlyName\n isPickupStore\n }\n quantityOfDifferentItems\n total\n items {\n id\n uniqueId\n name\n quantity\n price\n imageUrl\n tax\n total\n }\n }\n contact {\n email\n phone\n name\n }\n }\n paymentData {\n transactions {\n isActive\n payments {\n id\n paymentSystemName\n value\n installments\n referenceValue\n lastDigits\n url\n group\n tid\n connectorResponses {\n authId\n }\n bankIssuedInvoiceIdentificationNumber\n redemptionCode\n paymentOrigin\n }\n }\n }\n totals {\n id\n name\n value\n }\n shopper {\n firstName\n lastName\n email\n phone\n }\n }\n
|
|
203
|
+
source: '\n query ServerOrderDetailsQuery($orderId: String!) {\n userOrder(orderId: $orderId) {\n orderId\n creationDate\n status\n canProcessOrderAuthorization\n statusDescription\n allowCancellation\n ruleForAuthorization {\n orderAuthorizationId\n dimensionId\n rule {\n id\n name\n status\n doId\n authorizedEmails\n priority\n trigger {\n condition {\n conditionType\n description\n lessThan\n greatherThan\n expression\n }\n effect {\n description\n effectType\n funcPath\n }\n }\n timeout\n notification\n scoreInterval {\n accept\n deny\n }\n authorizationData {\n requireAllApprovals\n authorizers {\n id\n email\n type\n authorizationDate\n }\n }\n isUserAuthorized\n isUserNextAuthorizer\n }\n }\n storePreferencesData {\n currencyCode\n }\n clientProfileData {\n firstName\n lastName\n email\n phone\n corporateName\n isCorporate\n }\n customFields {\n type\n id\n fields {\n name\n value\n refId\n }\n }\n deliveryOptionsData {\n deliveryOptions {\n selectedSla\n deliveryChannel\n deliveryCompany\n deliveryWindow {\n startDateUtc\n endDateUtc\n price\n }\n shippingEstimate\n shippingEstimateDate\n friendlyShippingEstimate\n friendlyDeliveryOptionName\n seller\n address {\n addressType\n receiverName\n addressId\n versionId\n entityId\n postalCode\n city\n state\n country\n street\n number\n neighborhood\n complement\n reference\n geoCoordinates\n }\n pickupStoreInfo {\n additionalInfo\n address {\n addressType\n receiverName\n addressId\n versionId\n entityId\n postalCode\n city\n state\n country\n street\n number\n neighborhood\n complement\n reference\n geoCoordinates\n }\n dockId\n friendlyName\n isPickupStore\n }\n quantityOfDifferentItems\n total\n items {\n id\n uniqueId\n name\n quantity\n price\n imageUrl\n tax\n total\n }\n }\n contact {\n email\n phone\n name\n }\n }\n paymentData {\n transactions {\n isActive\n payments {\n id\n paymentSystemName\n value\n installments\n referenceValue\n lastDigits\n url\n group\n tid\n connectorResponses {\n authId\n }\n bankIssuedInvoiceIdentificationNumber\n redemptionCode\n paymentOrigin\n }\n }\n }\n totals {\n id\n name\n value\n }\n shopper {\n firstName\n lastName\n email\n phone\n }\n }\n accountProfile {\n name\n }\n }\n'
|
|
204
204
|
): typeof import('./graphql').ServerOrderDetailsQueryDocument
|
|
205
205
|
/**
|
|
206
206
|
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
207
207
|
*/
|
|
208
208
|
export function gql(
|
|
209
|
-
source: '\n query ServerListOrdersQuery ($page: Int,$perPage: Int, $status: [String], $dateInitial: String, $dateFinal: String, $text: String, $clientEmail: String) {\n listUserOrders (page: $page, perPage: $perPage, status: $status, dateInitial: $dateInitial, dateFinal: $dateFinal, text: $text, clientEmail: $clientEmail) {\n list {\n orderId\n creationDate\n clientName\n items {\n seller\n quantity\n description\n ean\n refId\n id\n productId\n sellingPrice\n price\n }\n totalValue\n status\n statusDescription\n ShippingEstimatedDate\n currencyCode\n customFields {\n type\n value\n }\n }\n paging {\n total\n pages\n currentPage\n perPage\n }\n }\n
|
|
209
|
+
source: '\n query ServerListOrdersQuery ($page: Int,$perPage: Int, $status: [String], $dateInitial: String, $dateFinal: String, $text: String, $clientEmail: String) {\n listUserOrders (page: $page, perPage: $perPage, status: $status, dateInitial: $dateInitial, dateFinal: $dateFinal, text: $text, clientEmail: $clientEmail) {\n list {\n orderId\n creationDate\n clientName\n items {\n seller\n quantity\n description\n ean\n refId\n id\n productId\n sellingPrice\n price\n }\n totalValue\n status\n statusDescription\n ShippingEstimatedDate\n currencyCode\n customFields {\n type\n value\n }\n }\n paging {\n total\n pages\n currentPage\n perPage\n }\n }\n accountProfile {\n name\n }\n }\n'
|
|
210
210
|
): typeof import('./graphql').ServerListOrdersQueryDocument
|
|
211
211
|
/**
|
|
212
212
|
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
213
213
|
*/
|
|
214
214
|
export function gql(
|
|
215
|
-
source: '\n query ServerProfileQuery {\n
|
|
215
|
+
source: '\n query ServerProfileQuery {\n accountProfile {\n name\n email\n id\n }\n }\n'
|
|
216
216
|
): typeof import('./graphql').ServerProfileQueryDocument
|
|
217
217
|
/**
|
|
218
218
|
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
219
219
|
*/
|
|
220
220
|
export function gql(
|
|
221
|
-
source: '\n query ServerSecurity {\n
|
|
221
|
+
source: '\n query ServerSecurity {\n accountProfile {\n name\n }\n userDetails {\n email\n }\n }\n'
|
|
222
222
|
): typeof import('./graphql').ServerSecurityDocument
|
|
223
223
|
/**
|
|
224
224
|
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
225
225
|
*/
|
|
226
226
|
export function gql(
|
|
227
|
-
source: '\n query ServerUserDetailsQuery {\n
|
|
227
|
+
source: '\n query ServerUserDetailsQuery {\n accountProfile {\n name\n }\n userDetails {\n name\n email\n role\n orgUnit\n }\n }\n'
|
|
228
228
|
): typeof import('./graphql').ServerUserDetailsQueryDocument
|
|
229
229
|
/**
|
|
230
230
|
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
package/@generated/graphql.ts
CHANGED
|
@@ -829,8 +829,6 @@ export type ProfileAddress = {
|
|
|
829
829
|
}
|
|
830
830
|
|
|
831
831
|
export type Query = {
|
|
832
|
-
/** Returns the account name of the current user or the B2B contract name if applicable. */
|
|
833
|
-
accountName: Maybe<Scalars['String']['output']>
|
|
834
832
|
/** Returns the account profile information for the current authenticated user (b2b or b2c user). */
|
|
835
833
|
accountProfile: StoreAccountProfile
|
|
836
834
|
/** Returns information about all collections. */
|
|
@@ -2649,7 +2647,9 @@ export type ServerAccountPageQueryQueryVariables = Exact<{
|
|
|
2649
2647
|
[key: string]: never
|
|
2650
2648
|
}>
|
|
2651
2649
|
|
|
2652
|
-
export type ServerAccountPageQueryQuery = {
|
|
2650
|
+
export type ServerAccountPageQueryQuery = {
|
|
2651
|
+
accountProfile: { name: string | null }
|
|
2652
|
+
}
|
|
2653
2653
|
|
|
2654
2654
|
export type ServerCollectionPageQueryQueryVariables = Exact<{
|
|
2655
2655
|
slug: Scalars['String']['input']
|
|
@@ -2739,7 +2739,6 @@ export type ServerOrderDetailsQueryQueryVariables = Exact<{
|
|
|
2739
2739
|
}>
|
|
2740
2740
|
|
|
2741
2741
|
export type ServerOrderDetailsQueryQuery = {
|
|
2742
|
-
accountName: string | null
|
|
2743
2742
|
userOrder: {
|
|
2744
2743
|
orderId: string | null
|
|
2745
2744
|
creationDate: string | null
|
|
@@ -2911,6 +2910,7 @@ export type ServerOrderDetailsQueryQuery = {
|
|
|
2911
2910
|
phone: string | null
|
|
2912
2911
|
} | null
|
|
2913
2912
|
} | null
|
|
2913
|
+
accountProfile: { name: string | null }
|
|
2914
2914
|
}
|
|
2915
2915
|
|
|
2916
2916
|
export type ServerListOrdersQueryQueryVariables = Exact<{
|
|
@@ -2927,7 +2927,6 @@ export type ServerListOrdersQueryQueryVariables = Exact<{
|
|
|
2927
2927
|
}>
|
|
2928
2928
|
|
|
2929
2929
|
export type ServerListOrdersQueryQuery = {
|
|
2930
|
-
accountName: string | null
|
|
2931
2930
|
listUserOrders: {
|
|
2932
2931
|
list: Array<{
|
|
2933
2932
|
orderId: string | null
|
|
@@ -2961,12 +2960,12 @@ export type ServerListOrdersQueryQuery = {
|
|
|
2961
2960
|
perPage: number | null
|
|
2962
2961
|
} | null
|
|
2963
2962
|
} | null
|
|
2963
|
+
accountProfile: { name: string | null }
|
|
2964
2964
|
}
|
|
2965
2965
|
|
|
2966
2966
|
export type ServerProfileQueryQueryVariables = Exact<{ [key: string]: never }>
|
|
2967
2967
|
|
|
2968
2968
|
export type ServerProfileQueryQuery = {
|
|
2969
|
-
accountName: string | null
|
|
2970
2969
|
accountProfile: {
|
|
2971
2970
|
name: string | null
|
|
2972
2971
|
email: string | null
|
|
@@ -2977,7 +2976,7 @@ export type ServerProfileQueryQuery = {
|
|
|
2977
2976
|
export type ServerSecurityQueryVariables = Exact<{ [key: string]: never }>
|
|
2978
2977
|
|
|
2979
2978
|
export type ServerSecurityQuery = {
|
|
2980
|
-
|
|
2979
|
+
accountProfile: { name: string | null }
|
|
2981
2980
|
userDetails: { email: string | null }
|
|
2982
2981
|
}
|
|
2983
2982
|
|
|
@@ -2986,7 +2985,7 @@ export type ServerUserDetailsQueryQueryVariables = Exact<{
|
|
|
2986
2985
|
}>
|
|
2987
2986
|
|
|
2988
2987
|
export type ServerUserDetailsQueryQuery = {
|
|
2989
|
-
|
|
2988
|
+
accountProfile: { name: string | null }
|
|
2990
2989
|
userDetails: {
|
|
2991
2990
|
name: string | null
|
|
2992
2991
|
email: string | null
|
|
@@ -4288,7 +4287,7 @@ export const SearchEvent_MetadataFragmentDoc = new TypedDocumentString(
|
|
|
4288
4287
|
export const ServerAccountPageQueryDocument = {
|
|
4289
4288
|
__meta__: {
|
|
4290
4289
|
operationName: 'ServerAccountPageQuery',
|
|
4291
|
-
operationHash: '
|
|
4290
|
+
operationHash: '9baae331b75848a310fecb457e8c971ae27897ff',
|
|
4292
4291
|
},
|
|
4293
4292
|
} as unknown as TypedDocumentString<
|
|
4294
4293
|
ServerAccountPageQueryQuery,
|
|
@@ -4315,7 +4314,7 @@ export const ServerProductQueryDocument = {
|
|
|
4315
4314
|
export const ServerOrderDetailsQueryDocument = {
|
|
4316
4315
|
__meta__: {
|
|
4317
4316
|
operationName: 'ServerOrderDetailsQuery',
|
|
4318
|
-
operationHash: '
|
|
4317
|
+
operationHash: '7937ec2d330f0f6f68f3aab589f10bc96c6ddeea',
|
|
4319
4318
|
},
|
|
4320
4319
|
} as unknown as TypedDocumentString<
|
|
4321
4320
|
ServerOrderDetailsQueryQuery,
|
|
@@ -4324,7 +4323,7 @@ export const ServerOrderDetailsQueryDocument = {
|
|
|
4324
4323
|
export const ServerListOrdersQueryDocument = {
|
|
4325
4324
|
__meta__: {
|
|
4326
4325
|
operationName: 'ServerListOrdersQuery',
|
|
4327
|
-
operationHash: '
|
|
4326
|
+
operationHash: 'b0a6b9da966cf2365f9806fd810bac248b44dba8',
|
|
4328
4327
|
},
|
|
4329
4328
|
} as unknown as TypedDocumentString<
|
|
4330
4329
|
ServerListOrdersQueryQuery,
|
|
@@ -4333,7 +4332,7 @@ export const ServerListOrdersQueryDocument = {
|
|
|
4333
4332
|
export const ServerProfileQueryDocument = {
|
|
4334
4333
|
__meta__: {
|
|
4335
4334
|
operationName: 'ServerProfileQuery',
|
|
4336
|
-
operationHash: '
|
|
4335
|
+
operationHash: '672fe0f00b7b710b63fc6573c0a6b2ec54812b8f',
|
|
4337
4336
|
},
|
|
4338
4337
|
} as unknown as TypedDocumentString<
|
|
4339
4338
|
ServerProfileQueryQuery,
|
|
@@ -4342,7 +4341,7 @@ export const ServerProfileQueryDocument = {
|
|
|
4342
4341
|
export const ServerSecurityDocument = {
|
|
4343
4342
|
__meta__: {
|
|
4344
4343
|
operationName: 'ServerSecurity',
|
|
4345
|
-
operationHash: '
|
|
4344
|
+
operationHash: '0890ba3456c40a426893b80b698df7a84cfdd6a1',
|
|
4346
4345
|
},
|
|
4347
4346
|
} as unknown as TypedDocumentString<
|
|
4348
4347
|
ServerSecurityQuery,
|
|
@@ -4351,7 +4350,7 @@ export const ServerSecurityDocument = {
|
|
|
4351
4350
|
export const ServerUserDetailsQueryDocument = {
|
|
4352
4351
|
__meta__: {
|
|
4353
4352
|
operationName: 'ServerUserDetailsQuery',
|
|
4354
|
-
operationHash: '
|
|
4353
|
+
operationHash: 'e5eb7e46c685d0c7a2ec62c865bfb0a66f81d557',
|
|
4355
4354
|
},
|
|
4356
4355
|
} as unknown as TypedDocumentString<
|
|
4357
4356
|
ServerUserDetailsQueryQuery,
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
|
-
"
|
|
2
|
+
"9baae331b75848a310fecb457e8c971ae27897ff": "query ServerAccountPageQuery { accountProfile { name } }",
|
|
3
3
|
"4b33c5c07f440dc7489e55619dc2211a13786e72": "fragment ServerCollectionPage on Query { collection(slug: $slug) { id } } query ServerCollectionPageQuery($slug: String!) { collection(slug: $slug) { breadcrumbList { itemListElement { item name position } } meta { selectedFacets { key value } } seo { description title } } ...ServerCollectionPage }",
|
|
4
4
|
"e855903879c6504e90269e6e010549bc6de933eb": "fragment CartProductItem on StoreProduct { additionalProperty { name propertyID value valueReference } brand { name } gtin image { alternateName url } isVariantOf { name productGroupID skuVariants { activeVariations availableVariations slugsMap } } name sku unitMultiplier } fragment ProductDetailsFragment_product on StoreProduct { additionalProperty { name propertyID value valueReference } brand { name } description gtin image { alternateName url } isVariantOf { name productGroupID skuVariants { activeVariations allVariantProducts { name productID } availableVariations slugsMap } } name offers { lowPrice lowPriceWithTaxes offers { availability listPrice listPriceWithTaxes price priceWithTaxes seller { identifier } } } id: productID sku unitMultiplier ...CartProductItem } fragment ServerProduct on Query { product(locator: $locator) { id: productID } } query ServerProductQuery($locator: [IStoreSelectedFacet!]!) { product(locator: $locator) { brand { name } breadcrumbList { itemListElement { item name position } } description gtin image { alternateName url } isVariantOf { productGroupID } name offers { highPrice lowPrice lowPriceWithTaxes offers { availability itemCondition price priceCurrency priceValidUntil seller { identifier } } priceCurrency } id: productID releaseDate seo { canonical description title } sku ...ProductDetailsFragment_product } ...ServerProduct }",
|
|
5
|
-
"
|
|
6
|
-
"
|
|
7
|
-
"
|
|
8
|
-
"
|
|
9
|
-
"
|
|
5
|
+
"7937ec2d330f0f6f68f3aab589f10bc96c6ddeea": "query ServerOrderDetailsQuery($orderId: String!) { accountProfile { name } userOrder(orderId: $orderId) { allowCancellation canProcessOrderAuthorization clientProfileData { corporateName email firstName isCorporate lastName phone } creationDate customFields { fields { name refId value } id type } deliveryOptionsData { contact { email name phone } deliveryOptions { address { addressId addressType city complement country entityId geoCoordinates neighborhood number postalCode receiverName reference state street versionId } deliveryChannel deliveryCompany deliveryWindow { endDateUtc price startDateUtc } friendlyDeliveryOptionName friendlyShippingEstimate items { id imageUrl name price quantity tax total uniqueId } pickupStoreInfo { additionalInfo address { addressId addressType city complement country entityId geoCoordinates neighborhood number postalCode receiverName reference state street versionId } dockId friendlyName isPickupStore } quantityOfDifferentItems selectedSla seller shippingEstimate shippingEstimateDate total } } orderId paymentData { transactions { isActive payments { bankIssuedInvoiceIdentificationNumber connectorResponses { authId } group id installments lastDigits paymentOrigin paymentSystemName redemptionCode referenceValue tid url value } } } ruleForAuthorization { dimensionId orderAuthorizationId rule { authorizationData { authorizers { authorizationDate email id type } requireAllApprovals } authorizedEmails doId id isUserAuthorized isUserNextAuthorizer name notification priority scoreInterval { accept deny } status timeout trigger { condition { conditionType description expression greatherThan lessThan } effect { description effectType funcPath } } } } shopper { email firstName lastName phone } status statusDescription storePreferencesData { currencyCode } totals { id name value } } }",
|
|
6
|
+
"b0a6b9da966cf2365f9806fd810bac248b44dba8": "query ServerListOrdersQuery($clientEmail: String, $dateFinal: String, $dateInitial: String, $page: Int, $perPage: Int, $status: [String], $text: String) { accountProfile { name } listUserOrders( page: $page perPage: $perPage status: $status dateInitial: $dateInitial dateFinal: $dateFinal text: $text clientEmail: $clientEmail ) { list { ShippingEstimatedDate clientName creationDate currencyCode customFields { type value } items { description ean id price productId quantity refId seller sellingPrice } orderId status statusDescription totalValue } paging { currentPage pages perPage total } } }",
|
|
7
|
+
"672fe0f00b7b710b63fc6573c0a6b2ec54812b8f": "query ServerProfileQuery { accountProfile { email id name } }",
|
|
8
|
+
"0890ba3456c40a426893b80b698df7a84cfdd6a1": "query ServerSecurity { accountProfile { name } userDetails { email } }",
|
|
9
|
+
"e5eb7e46c685d0c7a2ec62c865bfb0a66f81d557": "query ServerUserDetailsQuery { accountProfile { name } userDetails { email name orgUnit role } }",
|
|
10
10
|
"e2b06da6840614d3c72768e56579b9d3b8e80802": "mutation CancelOrderMutation($data: IUserOrderCancel!) { cancelOrder(data: $data) { data } }",
|
|
11
11
|
"8c25d37c8d6e7c20ab21bb8a4f4e6a2fe320ea8d": "mutation ProcessOrderAuthorizationMutation($data: IProcessOrderAuthorization!) { processOrderAuthorization(data: $data) { isPendingForOtherAuthorizer ruleForAuthorization { dimensionId orderAuthorizationId rule { authorizationData { authorizers { authorizationDate email id type } requireAllApprovals } authorizedEmails doId id isUserAuthorized isUserNextAuthorizer name notification priority scoreInterval { accept deny } status timeout trigger { condition { conditionType description expression greatherThan lessThan } effect { description effectType funcPath } } } } } }",
|
|
12
12
|
"32f99c73c3de958b64d6bece1afe800469f54548": "query ValidateUser { validateUser { isValid } }",
|
|
@@ -1048,8 +1048,6 @@ type Query {
|
|
|
1048
1048
|
userDetails: StoreUserDetails! @cacheControl(scope: "public", sMaxAge: 120, staleWhileRevalidate: 3600)
|
|
1049
1049
|
"""Returns the account profile information for the current authenticated user (b2b or b2c user)."""
|
|
1050
1050
|
accountProfile: StoreAccountProfile! @cacheControl(scope: "public", sMaxAge: 120, staleWhileRevalidate: 3600)
|
|
1051
|
-
"""Returns the account name of the current user or the B2B contract name if applicable."""
|
|
1052
|
-
accountName: String @cacheControl(scope: "public", sMaxAge: 120, staleWhileRevalidate: 3600)
|
|
1053
1051
|
"""Returns information about the user validation."""
|
|
1054
1052
|
validateUser: ValidateUserData @cacheControl(scope: "public", sMaxAge: 120, staleWhileRevalidate: 3600)
|
|
1055
1053
|
"""Returns a list of pickup points near to the given geo coordinates."""
|
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,19 @@
|
|
|
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
|
+
## 3.89.2 (2025-10-02)
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
- Filter quantity badge and labels references SFS-2896 ([#3061](https://github.com/vtex/faststore/issues/3061)) ([cfcf650](https://github.com/vtex/faststore/commit/cfcf650b5d1462c3988bc83fe2cb83981a2afa04))
|
|
11
|
+
- refactor `ProductShelf` component to import directly - SFS-2895 ([#3059](https://github.com/vtex/faststore/issues/3059)) ([24ee8fb](https://github.com/vtex/faststore/commit/24ee8fb8020cf037f4fe83b7ace1a747c383cbcf))
|
|
12
|
+
|
|
13
|
+
## [3.89.1](https://github.com/vtex/faststore/compare/v3.89.0...v3.89.1) (2025-10-02)
|
|
14
|
+
|
|
15
|
+
### Bug Fixes
|
|
16
|
+
|
|
17
|
+
- updates contract name SFS-2863 ([#3051](https://github.com/vtex/faststore/issues/3051)) ([3b884e4](https://github.com/vtex/faststore/commit/3b884e49eabbbd4d5832f342c759d1301c98dc0e))
|
|
18
|
+
|
|
6
19
|
# [3.89.0](https://github.com/vtex/faststore/compare/v3.88.7...v3.89.0) (2025-10-02)
|
|
7
20
|
|
|
8
21
|
### Features
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@faststore/core",
|
|
3
|
-
"version": "3.89.
|
|
3
|
+
"version": "3.89.2",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"repository": "vtex/faststore",
|
|
6
6
|
"browserslist": "supports es6-module and not dead",
|
|
@@ -44,11 +44,11 @@
|
|
|
44
44
|
"@envelop/graphql-jit": "^8.0.3",
|
|
45
45
|
"@envelop/parser-cache": "^6.0.2",
|
|
46
46
|
"@envelop/validation-cache": "^6.0.2",
|
|
47
|
-
"@faststore/api": "^3.
|
|
48
|
-
"@faststore/graphql-utils": "^3.
|
|
49
|
-
"@faststore/lighthouse": "^3.
|
|
50
|
-
"@faststore/sdk": "^3.
|
|
51
|
-
"@faststore/ui": "^3.89.
|
|
47
|
+
"@faststore/api": "^3.89.2",
|
|
48
|
+
"@faststore/graphql-utils": "^3.89.2",
|
|
49
|
+
"@faststore/lighthouse": "^3.89.2",
|
|
50
|
+
"@faststore/sdk": "^3.89.2",
|
|
51
|
+
"@faststore/ui": "^3.89.2",
|
|
52
52
|
"@graphql-codegen/cli": "5.0.2",
|
|
53
53
|
"@graphql-codegen/client-preset": "4.2.6",
|
|
54
54
|
"@graphql-codegen/typescript": "4.0.7",
|
|
@@ -116,5 +116,5 @@
|
|
|
116
116
|
"ts-jest": "29.1.1",
|
|
117
117
|
"typescript": "5.3.2"
|
|
118
118
|
},
|
|
119
|
-
"gitHead": "
|
|
119
|
+
"gitHead": "0c46f5ec9b129cbb928e68e2cf28fb6bd633155c"
|
|
120
120
|
}
|
|
@@ -182,21 +182,30 @@ function MyAccountFilterSlider({
|
|
|
182
182
|
>
|
|
183
183
|
{type === 'StoreFacetBoolean' && isExpanded && (
|
|
184
184
|
<UIFilterFacetBoolean>
|
|
185
|
-
{facet.values.map((item) =>
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
185
|
+
{facet.values.map((item) => {
|
|
186
|
+
const normalizedTestId = testId?.trim().toLowerCase() || ''
|
|
187
|
+
const normalizedFacetLabel =
|
|
188
|
+
facet.label?.trim().toLowerCase() || ''
|
|
189
|
+
const normalizedItemLabel =
|
|
190
|
+
item.label?.trim().toLowerCase() || ''
|
|
191
|
+
const itemId = `${normalizedTestId}-${normalizedFacetLabel}-${normalizedItemLabel}`
|
|
192
|
+
|
|
193
|
+
return (
|
|
194
|
+
<UIFilterFacetBooleanItem
|
|
195
|
+
key={itemId}
|
|
196
|
+
id={itemId}
|
|
197
|
+
testId={`mobile-${normalizedTestId}`}
|
|
198
|
+
onFacetChange={(facet) =>
|
|
199
|
+
dispatch({ type: 'toggleFacet', payload: facet })
|
|
200
|
+
}
|
|
201
|
+
selected={item.selected}
|
|
202
|
+
value={item.value}
|
|
203
|
+
quantity={item.quantity}
|
|
204
|
+
facetKey={facet.key}
|
|
205
|
+
label={item.label}
|
|
206
|
+
/>
|
|
207
|
+
)
|
|
208
|
+
})}
|
|
200
209
|
</UIFilterFacetBoolean>
|
|
201
210
|
)}
|
|
202
211
|
{type === 'StoreFacetPlacedBy' && isExpanded && (
|
|
@@ -3,8 +3,9 @@ import type { ComponentType } from 'react'
|
|
|
3
3
|
|
|
4
4
|
import { OverriddenDefaultHero as Hero } from 'src/components/sections/Hero/OverriddenDefaultHero'
|
|
5
5
|
import Incentives from 'src/components/sections/Incentives'
|
|
6
|
-
import {
|
|
6
|
+
import { OverriddenDefaultProductShelf as ProductShelf } from 'src/components/sections/ProductShelf/OverriddenDefaultProductShelf'
|
|
7
7
|
import { getComponentKey } from 'src/utils/cms'
|
|
8
|
+
import { default as GLOBAL_COMPONENTS } from '../global/Components'
|
|
8
9
|
|
|
9
10
|
import CUSTOM_COMPONENTS from 'src/customizations/src/components'
|
|
10
11
|
import PLUGINS_COMPONENTS from 'src/plugins'
|
|
@@ -23,13 +24,7 @@ const Newsletter = dynamic(
|
|
|
23
24
|
).then((mod) => mod.OverriddenDefaultNewsletter),
|
|
24
25
|
{ ssr: false }
|
|
25
26
|
)
|
|
26
|
-
|
|
27
|
-
() =>
|
|
28
|
-
import(
|
|
29
|
-
/* webpackChunkName: "ProductShelf" */ 'src/components/sections/ProductShelf/OverriddenDefaultProductShelf'
|
|
30
|
-
).then((mod) => mod.OverriddenDefaultProductShelf),
|
|
31
|
-
{ ssr: false }
|
|
32
|
-
)
|
|
27
|
+
|
|
33
28
|
const ProductTiles = dynamic(
|
|
34
29
|
() =>
|
|
35
30
|
import(
|
|
@@ -1,19 +1,13 @@
|
|
|
1
|
-
import dynamic from 'next/dynamic'
|
|
2
1
|
import { useEffect, useId, useRef } from 'react'
|
|
3
2
|
|
|
4
3
|
import deepmerge from 'deepmerge'
|
|
4
|
+
import ProductShelfSkeleton from 'src/components/skeletons/ProductShelfSkeleton'
|
|
5
5
|
import { useViewItemListEvent } from 'src/sdk/analytics/hooks/useViewItemListEvent'
|
|
6
6
|
import { useDeliveryPromiseFacets } from 'src/sdk/deliveryPromise/useDeliveryPromiseFacets'
|
|
7
7
|
import { useOverrideComponents } from 'src/sdk/overrides/OverrideContext'
|
|
8
8
|
import { useProductsQuery } from 'src/sdk/product/useProductsQuery'
|
|
9
9
|
import { overwriteMerge, textToKebabCase } from 'src/utils/utilities'
|
|
10
10
|
|
|
11
|
-
const ProductShelfSkeleton = dynamic(
|
|
12
|
-
() =>
|
|
13
|
-
/* webpackChunkName: "ProductShelfSkeleton" */
|
|
14
|
-
import('src/components/skeletons/ProductShelfSkeleton')
|
|
15
|
-
)
|
|
16
|
-
|
|
17
11
|
type Sort =
|
|
18
12
|
| 'discount_desc'
|
|
19
13
|
| 'name_asc'
|
|
@@ -10,12 +10,12 @@ import {
|
|
|
10
10
|
type GlobalSectionsData,
|
|
11
11
|
getGlobalSectionsData,
|
|
12
12
|
} from 'src/components/cms/GlobalSections'
|
|
13
|
-
import { execute } from 'src/server'
|
|
14
13
|
import { getIsRepresentative } from 'src/sdk/account/getIsRepresentative'
|
|
14
|
+
import { execute } from 'src/server'
|
|
15
15
|
|
|
16
|
+
import { validateUser } from 'src/sdk/account/validateUser'
|
|
16
17
|
import { injectGlobalSections } from 'src/server/cms/global'
|
|
17
18
|
import { getMyAccountRedirect } from 'src/utils/myAccountRedirect'
|
|
18
|
-
import { validateUser } from 'src/sdk/account/validateUser'
|
|
19
19
|
import storeConfig from '../../discovery.config'
|
|
20
20
|
|
|
21
21
|
export type MyAccountProps = {
|
|
@@ -26,7 +26,9 @@ export type MyAccountProps = {
|
|
|
26
26
|
|
|
27
27
|
const query = gql(`
|
|
28
28
|
query ServerAccountPageQuery {
|
|
29
|
-
|
|
29
|
+
accountProfile {
|
|
30
|
+
name
|
|
31
|
+
}
|
|
30
32
|
}
|
|
31
33
|
`)
|
|
32
34
|
|
|
@@ -91,7 +93,7 @@ export const getServerSideProps: GetServerSideProps<
|
|
|
91
93
|
return {
|
|
92
94
|
props: {
|
|
93
95
|
globalSections: globalSectionsResult,
|
|
94
|
-
accountName: account.data.
|
|
96
|
+
accountName: account.data.accountProfile.name,
|
|
95
97
|
isRepresentative,
|
|
96
98
|
},
|
|
97
99
|
}
|
|
@@ -35,7 +35,7 @@ const COMPONENTS: Record<string, ComponentType<any>> = {
|
|
|
35
35
|
|
|
36
36
|
type Props = {
|
|
37
37
|
globalSections: GlobalSectionsData
|
|
38
|
-
accountName: ServerAccountPageQueryQuery['
|
|
38
|
+
accountName: ServerAccountPageQueryQuery['accountProfile']['name']
|
|
39
39
|
}
|
|
40
40
|
|
|
41
41
|
function Page({ globalSections: globalSectionsProp, accountName }: Props) {
|
|
@@ -66,7 +66,9 @@ function Page({ globalSections: globalSectionsProp, accountName }: Props) {
|
|
|
66
66
|
|
|
67
67
|
const query = gql(`
|
|
68
68
|
query ServerAccountPageQuery {
|
|
69
|
-
|
|
69
|
+
accountProfile {
|
|
70
|
+
name
|
|
71
|
+
}
|
|
70
72
|
}
|
|
71
73
|
`)
|
|
72
74
|
|
|
@@ -134,7 +136,7 @@ export const getServerSideProps: GetServerSideProps<
|
|
|
134
136
|
// The sections from the CMS page are not utilized here for the My Account page.
|
|
135
137
|
// page,
|
|
136
138
|
globalSections: globalSectionsResult,
|
|
137
|
-
accountName: account.data.
|
|
139
|
+
accountName: account.data.accountProfile.name,
|
|
138
140
|
},
|
|
139
141
|
}
|
|
140
142
|
}
|
|
@@ -38,7 +38,7 @@ const COMPONENTS: Record<string, ComponentType<any>> = {
|
|
|
38
38
|
type Props = {
|
|
39
39
|
page: PageContentType
|
|
40
40
|
globalSections: GlobalSectionsData
|
|
41
|
-
accountName: ServerAccountPageQueryQuery['
|
|
41
|
+
accountName: ServerAccountPageQueryQuery['accountProfile']['name']
|
|
42
42
|
}
|
|
43
43
|
|
|
44
44
|
function Page({
|
|
@@ -66,7 +66,9 @@ function Page({
|
|
|
66
66
|
|
|
67
67
|
const query = gql(`
|
|
68
68
|
query ServerAccountPageQuery {
|
|
69
|
-
|
|
69
|
+
accountProfile {
|
|
70
|
+
name
|
|
71
|
+
}
|
|
70
72
|
}
|
|
71
73
|
`)
|
|
72
74
|
|
|
@@ -133,7 +135,7 @@ export const getServerSideProps: GetServerSideProps<
|
|
|
133
135
|
props: {
|
|
134
136
|
page,
|
|
135
137
|
globalSections: globalSectionsResult,
|
|
136
|
-
accountName: account.data.
|
|
138
|
+
accountName: account.data.accountProfile.name,
|
|
137
139
|
},
|
|
138
140
|
}
|
|
139
141
|
}
|