@faststore/core 3.0.17 → 3.0.21

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 (232) hide show
  1. package/.next/BUILD_ID +1 -1
  2. package/.next/build-manifest.json +90 -89
  3. package/.next/cache/.tsbuildinfo +1 -1
  4. package/.next/cache/eslint/.cache_abdhua +1 -0
  5. package/.next/cache/next-server.js.nft.json +1 -0
  6. package/.next/cache/webpack/client-development/0.pack +0 -0
  7. package/.next/cache/webpack/client-development/1.pack +0 -0
  8. package/.next/cache/webpack/client-development/2.pack +0 -0
  9. package/.next/cache/webpack/client-development/index.pack +0 -0
  10. package/.next/cache/webpack/client-development/index.pack.old +0 -0
  11. package/.next/cache/webpack/client-production/0.pack +0 -0
  12. package/.next/cache/webpack/client-production/1.pack +0 -0
  13. package/.next/cache/webpack/client-production/2.pack +0 -0
  14. package/.next/cache/webpack/client-production/index.pack +0 -0
  15. package/.next/cache/webpack/client-production/index.pack.old +0 -0
  16. package/.next/cache/webpack/server-development/0.pack +0 -0
  17. package/.next/cache/webpack/server-development/1.pack +0 -0
  18. package/.next/cache/webpack/server-development/2.pack +0 -0
  19. package/.next/cache/webpack/server-development/3.pack +0 -0
  20. package/.next/cache/webpack/server-development/4.pack +0 -0
  21. package/.next/cache/webpack/server-development/index.pack +0 -0
  22. package/.next/cache/webpack/server-development/index.pack.old +0 -0
  23. package/.next/cache/webpack/server-production/0.pack +0 -0
  24. package/.next/cache/webpack/server-production/1.pack +0 -0
  25. package/.next/cache/webpack/server-production/2.pack +0 -0
  26. package/.next/cache/webpack/server-production/index.pack +0 -0
  27. package/.next/cache/webpack/server-production/index.pack.old +0 -0
  28. package/.next/images-manifest.json +1 -1
  29. package/.next/next-server.js.nft.json +1 -1
  30. package/.next/prerender-manifest.json +1 -1
  31. package/.next/react-loadable-manifest.json +18 -18
  32. package/.next/required-server-files.json +1 -1
  33. package/.next/routes-manifest.json +1 -1
  34. package/.next/server/chunks/117.js +430 -0
  35. package/.next/server/chunks/177.js +125 -0
  36. package/.next/server/chunks/183.js +122 -0
  37. package/.next/server/chunks/184.js +61 -0
  38. package/.next/server/chunks/289.js +240 -0
  39. package/.next/server/chunks/312.js +678 -0
  40. package/.next/server/chunks/350.js +2834 -0
  41. package/.next/server/chunks/386.js +200 -0
  42. package/.next/server/chunks/390.js +550 -0
  43. package/.next/server/chunks/398.js +611 -0
  44. package/.next/server/chunks/404.js +434 -1
  45. package/.next/server/chunks/53.js +61 -0
  46. package/.next/server/chunks/57.js +434 -1
  47. package/.next/server/chunks/574.js +145 -0
  48. package/.next/server/chunks/576.js +122 -0
  49. package/.next/server/chunks/585.js +640 -0
  50. package/.next/server/chunks/676.js +32 -0
  51. package/.next/server/chunks/693.js +58 -1
  52. package/.next/server/chunks/732.js +1881 -0
  53. package/.next/server/chunks/74.js +4066 -0
  54. package/.next/server/chunks/779.js +58 -1
  55. package/.next/server/chunks/825.js +4074 -0
  56. package/.next/server/chunks/854.js +72 -0
  57. package/.next/server/chunks/859.js +957 -4
  58. package/.next/server/chunks/863.js +111 -0
  59. package/.next/server/chunks/979.js +1305 -0
  60. package/.next/server/chunks/98.js +163 -0
  61. package/.next/server/chunks/988.js +211 -0
  62. package/.next/server/middleware-build-manifest.js +1 -1
  63. package/.next/server/middleware-react-loadable-manifest.js +1 -1
  64. package/.next/server/pages/404.js +391 -1
  65. package/.next/server/pages/404.js.nft.json +1 -1
  66. package/.next/server/pages/500.js +395 -1
  67. package/.next/server/pages/500.js.nft.json +1 -1
  68. package/.next/server/pages/[...slug].js +1076 -1
  69. package/.next/server/pages/[...slug].js.nft.json +1 -1
  70. package/.next/server/pages/[slug]/p.js +2265 -1
  71. package/.next/server/pages/[slug]/p.js.nft.json +1 -1
  72. package/.next/server/pages/_app.js +301 -1
  73. package/.next/server/pages/_app.js.nft.json +1 -1
  74. package/.next/server/pages/_document.js +363 -1
  75. package/.next/server/pages/_document.js.nft.json +1 -1
  76. package/.next/server/pages/_error.js +164 -1
  77. package/.next/server/pages/_error.js.nft.json +1 -1
  78. package/.next/server/pages/account.js +370 -1
  79. package/.next/server/pages/account.js.nft.json +1 -1
  80. package/.next/server/pages/api/graphql.js +2999 -1
  81. package/.next/server/pages/api/graphql.js.nft.json +1 -1
  82. package/.next/server/pages/api/health/live.js +31 -1
  83. package/.next/server/pages/api/health/live.js.nft.json +1 -1
  84. package/.next/server/pages/api/health/ready.js +31 -1
  85. package/.next/server/pages/api/health/ready.js.nft.json +1 -1
  86. package/.next/server/pages/api/preview.js +137 -1
  87. package/.next/server/pages/api/preview.js.nft.json +1 -1
  88. package/.next/server/pages/checkout.js +370 -1
  89. package/.next/server/pages/checkout.js.nft.json +1 -1
  90. package/.next/server/pages/en-US/404.html +2 -2
  91. package/.next/server/pages/en-US/404.json +1 -1
  92. package/.next/server/pages/en-US/500.html +2 -2
  93. package/.next/server/pages/en-US/500.json +1 -1
  94. package/.next/server/pages/en-US/account.html +2 -2
  95. package/.next/server/pages/en-US/account.json +1 -1
  96. package/.next/server/pages/en-US/checkout.html +2 -2
  97. package/.next/server/pages/en-US/checkout.json +1 -1
  98. package/.next/server/pages/en-US/login.html +2 -2
  99. package/.next/server/pages/en-US/login.json +1 -1
  100. package/.next/server/pages/en-US/s.html +2 -2
  101. package/.next/server/pages/en-US/s.json +1 -1
  102. package/.next/server/pages/en-US.html +5 -5
  103. package/.next/server/pages/en-US.json +1 -1
  104. package/.next/server/pages/index.js +439 -1
  105. package/.next/server/pages/index.js.nft.json +1 -1
  106. package/.next/server/pages/login.js +382 -1
  107. package/.next/server/pages/login.js.nft.json +1 -1
  108. package/.next/server/pages/s.js +554 -1
  109. package/.next/server/pages/s.js.nft.json +1 -1
  110. package/.next/server/pages-manifest.json +18 -1
  111. package/.next/server/webpack-api-runtime.js +229 -1
  112. package/.next/server/webpack-runtime.js +229 -1
  113. package/.next/static/HI-kc1kjNIbFyFsZCeDEA/_buildManifest.js +1 -0
  114. package/.next/static/chunks/223-cb77217cce52d45c.js +1 -0
  115. package/.next/static/chunks/251.1c79f06f2a2814b1.js +1 -0
  116. package/.next/static/chunks/386.d01e0db26c523f0f.js +1 -0
  117. package/.next/static/chunks/400-d4daabcd57b2ea80.js +1 -0
  118. package/.next/static/chunks/469-7259b855711d4ad3.js +1 -0
  119. package/.next/static/chunks/574.70612be06fd1365f.js +1 -0
  120. package/.next/static/chunks/585.4c5d40fc6a72a611.js +1 -0
  121. package/.next/static/chunks/651.7142f31ce1e052b3.js +1 -0
  122. package/.next/static/chunks/741.52f7fb873418346f.js +1 -0
  123. package/.next/static/chunks/783-fbcb7a3216c40744.js +1 -0
  124. package/.next/static/chunks/800.ee4f8b9622001e8c.js +1 -0
  125. package/.next/static/chunks/98.40c7e17d9de4eb8f.js +1 -0
  126. package/.next/static/chunks/988.afda042dd9ba11d1.js +1 -0
  127. package/.next/static/chunks/framework-dfd14d7ce6600b03.js +1 -0
  128. package/.next/static/chunks/main-e4e873ee741162eb.js +1 -0
  129. package/.next/static/chunks/pages/404-2240f0b22db2d370.js +1 -0
  130. package/.next/static/chunks/pages/500-c0580e3299329874.js +1 -0
  131. package/.next/static/chunks/pages/[...slug]-3eed3497c887fae5.js +1 -0
  132. package/.next/static/chunks/pages/[slug]/p-e1df08570f34a0d8.js +1 -0
  133. package/.next/static/chunks/pages/_app-30b9666307e4b3b1.js +1 -0
  134. package/.next/static/chunks/pages/_error-319451dea77827a6.js +1 -0
  135. package/.next/static/chunks/pages/account-b35bcbef719765f3.js +1 -0
  136. package/.next/static/chunks/pages/checkout-55bd56ade4408cbe.js +1 -0
  137. package/.next/static/chunks/pages/index-2506749e45c335bf.js +1 -0
  138. package/.next/static/chunks/pages/login-3f94bff1503b4fdc.js +1 -0
  139. package/.next/static/chunks/pages/s-2374cff2e39ed624.js +1 -0
  140. package/.next/static/chunks/webpack-af94306e71c4459d.js +1 -0
  141. package/.next/static/css/29868543c76bc6fd.css +1 -0
  142. package/.next/static/css/527e334fa69cf40a.css +1 -0
  143. package/.next/static/css/{b9d9ba1b04f3160d.css → 6a7fdc5a21fbead5.css} +1 -1
  144. package/.next/static/css/723835bce380750d.css +1 -0
  145. package/.next/static/css/{d586715f4f707df4.css → a2eefb25a4608343.css} +1 -1
  146. package/.next/static/css/{e32410b31c666cb2.css → cb7d1fcea42fab9c.css} +1 -1
  147. package/.next/static/css/d7bbfbd552f407e9.css +1 -0
  148. package/.next/static/css/{2980acad3f8e1028.css → df588bb98c0b0ca6.css} +1 -1
  149. package/.next/static/css/dfbdb0f27fd64782.css +1 -0
  150. package/.next/static/css/e84fc497732ea596.css +1 -0
  151. package/.next/trace +80 -91
  152. package/.turbo/turbo-build.log +1 -1
  153. package/.turbo/turbo-dev.log +45 -0
  154. package/@generated/gql.ts +4 -4
  155. package/@generated/graphql.ts +54 -12
  156. package/package.json +3 -3
  157. package/src/components/product/ProductCard/ProductCard.tsx +7 -0
  158. package/src/components/sections/ProductDetails/ProductDetails.tsx +7 -0
  159. package/.next/cache/config.json +0 -7
  160. package/.next/cache/eslint/.cache_1gneedd +0 -1
  161. package/.next/next-minimal-server.js.nft.json +0 -1
  162. package/.next/prerender-manifest.js +0 -1
  163. package/.next/server/chunks/119.js +0 -1
  164. package/.next/server/chunks/12.js +0 -1
  165. package/.next/server/chunks/187.js +0 -1
  166. package/.next/server/chunks/202.js +0 -1
  167. package/.next/server/chunks/24.js +0 -1
  168. package/.next/server/chunks/242.js +0 -1
  169. package/.next/server/chunks/247.js +0 -1
  170. package/.next/server/chunks/344.js +0 -1
  171. package/.next/server/chunks/414.js +0 -1
  172. package/.next/server/chunks/484.js +0 -1
  173. package/.next/server/chunks/493.js +0 -1
  174. package/.next/server/chunks/498.js +0 -1
  175. package/.next/server/chunks/540.js +0 -1
  176. package/.next/server/chunks/624.js +0 -1
  177. package/.next/server/chunks/640.js +0 -6
  178. package/.next/server/chunks/646.js +0 -280
  179. package/.next/server/chunks/659.js +0 -9
  180. package/.next/server/chunks/679.js +0 -1
  181. package/.next/server/chunks/694.js +0 -1
  182. package/.next/server/chunks/82.js +0 -8
  183. package/.next/server/chunks/857.js +0 -1
  184. package/.next/server/chunks/881.js +0 -1
  185. package/.next/server/chunks/917.js +0 -1
  186. package/.next/server/chunks/936.js +0 -1
  187. package/.next/server/chunks/96.js +0 -1
  188. package/.next/server/chunks/997.js +0 -1
  189. package/.next/server/functions-config-manifest.json +0 -1
  190. package/.next/server/next-font-manifest.js +0 -1
  191. package/.next/server/next-font-manifest.json +0 -1
  192. package/.next/static/GuDWclSYmL3r-NEqsUOG2/_buildManifest.js +0 -1
  193. package/.next/static/chunks/104-4f83b1d87ad36358.js +0 -1
  194. package/.next/static/chunks/161-b39fe2f79ff7bc85.js +0 -1
  195. package/.next/static/chunks/202.c7d8a71173edecfb.js +0 -1
  196. package/.next/static/chunks/217.01bc0ad07edd6f1b.js +0 -1
  197. package/.next/static/chunks/247.6f1391104a867395.js +0 -1
  198. package/.next/static/chunks/484.b82b73b1d8c37e02.js +0 -1
  199. package/.next/static/chunks/540.6c62d2536d42a1e0.js +0 -1
  200. package/.next/static/chunks/575-853fb8b1ba4ce8c4.js +0 -14
  201. package/.next/static/chunks/624.d3de62b4562a33f3.js +0 -1
  202. package/.next/static/chunks/629-c74f247bd29420a5.js +0 -1
  203. package/.next/static/chunks/65.da22595d53beae76.js +0 -1
  204. package/.next/static/chunks/758.b53ee01b506973e0.js +0 -1
  205. package/.next/static/chunks/857.d2299cfe995af21d.js +0 -1
  206. package/.next/static/chunks/framework-8e279965036b6169.js +0 -33
  207. package/.next/static/chunks/main-6f63f6746cc029db.js +0 -1
  208. package/.next/static/chunks/pages/404-1334d11ab8467b3d.js +0 -1
  209. package/.next/static/chunks/pages/500-449c5bd51f98423f.js +0 -1
  210. package/.next/static/chunks/pages/[...slug]-bcaf61b01157d8cb.js +0 -1
  211. package/.next/static/chunks/pages/[slug]/p-5fb8fe2c80ec1608.js +0 -1
  212. package/.next/static/chunks/pages/_app-ad8623e78bc5b766.js +0 -68
  213. package/.next/static/chunks/pages/_error-fbf331a03642b495.js +0 -1
  214. package/.next/static/chunks/pages/account-dbc5c028225cd1ac.js +0 -1
  215. package/.next/static/chunks/pages/checkout-29ae2c37eaf172e1.js +0 -1
  216. package/.next/static/chunks/pages/index-cd109119d65df8e3.js +0 -1
  217. package/.next/static/chunks/pages/login-c4d2c856008df5ac.js +0 -1
  218. package/.next/static/chunks/pages/s-26e475975386c51a.js +0 -1
  219. package/.next/static/chunks/webpack-b4a2fdf4ef127bb7.js +0 -1
  220. package/.next/static/css/0d45c82d8887a269.css +0 -1
  221. package/.next/static/css/211c7542af66d8b4.css +0 -1
  222. package/.next/static/css/4c4d90eb8cb1d2b7.css +0 -1
  223. package/.next/static/css/821a5219786be653.css +0 -1
  224. package/.next/static/css/96e3fddf695d6aa9.css +0 -1
  225. package/.next/static/css/cff9aafa16fccc9c.css +0 -1
  226. package/.turbo/turbo-lint.log +0 -2
  227. package/.turbo/turbo-test.log +0 -23
  228. package/@generated/graphql/persisted.json +0 -13
  229. package/@generated/graphql/schema.graphql +0 -1053
  230. package/@generated/persisted-documents.json +0 -13
  231. package/@generated/schema.graphql +0 -1055
  232. /package/.next/static/{GuDWclSYmL3r-NEqsUOG2 → HI-kc1kjNIbFyFsZCeDEA}/_ssgManifest.js +0 -0
@@ -1,6 +1,6 @@
1
1
  $ yarn partytown & yarn generate && next build
2
- $ faststore generate-graphql -c
3
2
  $ partytown copylib ./public/~partytown
3
+ $ faststore generate-graphql -c
4
4
  Partytown lib copied to: /home/runner/work/faststore/faststore/packages/core/public/~partytown
5
5
  success - GraphQL schema, types, and optimizations successfully generated 🎉
6
6
  ⚠ No build cache found. Please configure build caching for faster rebuilds. Read more: https://nextjs.org/docs/messages/no-cache
@@ -0,0 +1,45 @@
1
+ $ yarn partytown & yarn generate && next dev
2
+ $ partytown copylib ./public/~partytown
3
+ $ faststore generate-graphql -c
4
+ Partytown lib copied to: /Users/emersonlaurentino/develop/vtex/faststore/packages/core/public/~partytown
5
+ success - GraphQL schema, types, and optimizations successfully generated 🎉
6
+ ready - started server on 0.0.0.0:3000, url: http://localhost:3000
7
+ warn - You have enabled experimental feature (scrollRestoration) in next.config.js.
8
+ warn - Experimental features are not covered by semver, and may cause unexpected or broken application behavior. Use at your own risk.
9
+
10
+ Browserslist: caniuse-lite is outdated. Please run:
11
+ npx browserslist@latest --update-db
12
+ Why you should do it regularly: https://github.com/browserslist/browserslist#browsers-data-updating
13
+ info - Disabled SWC as replacement for Babel because of custom Babel configuration ".babelrc" https://nextjs.org/docs/messages/swc-disabled
14
+ info - Using external babel configuration from /Users/emersonlaurentino/develop/vtex/faststore/packages/core/.babelrc
15
+ Browserslist: caniuse-lite is outdated. Please run:
16
+ npx update-browserslist-db@latest
17
+ Why you should do it regularly: https://github.com/browserslist/update-db#readme
18
+ event - compiled client and server successfully in 2.9s (703 modules)
19
+ wait - compiling / (client and server)...
20
+ event - compiled client and server successfully in 6.2s (1134 modules)
21
+ cart cart
22
+ wait - compiling /api/graphql (client and server)...
23
+ event - compiled successfully in 280 ms (622 modules)
24
+ GraphQLError [Object]: Variable "$session" got invalid value { locale: "en-US", channel: "{\"salesChannel\":\"1\",\"regionId\":\"\"}", country: "FRA", postalCode: null, currency: { code: "EUR", symbol: "€" }, person: null, personUpdated: null }; Field "personUpdated" is not defined by type IStoreSession.
25
+ at getVariables (eval at compileVariableParsing (/Users/emersonlaurentino/develop/vtex/faststore/node_modules/graphql-jit/dist/variables.js:66:21), <anonymous>:455:23)
26
+ at Object.ValidateSession [as query] (/Users/emersonlaurentino/develop/vtex/faststore/node_modules/graphql-jit/dist/execution.js:124:37)
27
+ at jitExecutor (file:///Users/emersonlaurentino/develop/vtex/faststore/node_modules/@envelop/graphql-jit/index.mjs:54:39)
28
+ at file:///Users/emersonlaurentino/develop/vtex/faststore/node_modules/@envelop/core/index.mjs:649:29
29
+ at runMicrotasks (<anonymous>)
30
+ at processTicksAndRejections (node:internal/process/task_queues:96:5)
31
+ at async execute (webpack-internal:///(api)/./src/server/index.ts:97:7)
32
+ at async handler (webpack-internal:///(api)/./src/pages/api/graphql.ts:51:9)
33
+ at async Object.apiResolver (/Users/emersonlaurentino/develop/vtex/faststore/packages/core/node_modules/next/dist/server/api-utils/node.js:366:9)
34
+ at async DevServer.runApi (/Users/emersonlaurentino/develop/vtex/faststore/packages/core/node_modules/next/dist/server/next-server.js:481:9) {
35
+ locations: [ { line: 1, column: 26 } ]
36
+ }
37
+ GraphQLError [Object]: Variable "$session" got invalid value { locale: "en-US", channel: "{\"salesChannel\":\"1\",\"regionId\":\"\"}", country: "FRA", postalCode: null, currency: { code: "EUR", symbol: "€" }, person: null, personUpdated: null }; Field "personUpdated" is not defined by type IStoreSession.
38
+ at getVariables (eval at compileVariableParsing (/Users/emersonlaurentino/develop/vtex/faststore/node_modules/graphql-jit/dist/variables.js:66:21), <anonymous>:1651:23)
39
+ at Object.ValidateCartMutation [as query] (/Users/emersonlaurentino/develop/vtex/faststore/node_modules/graphql-jit/dist/execution.js:124:37)
40
+ at jitExecutor (file:///Users/emersonlaurentino/develop/vtex/faststore/node_modules/@envelop/graphql-jit/index.mjs:54:39)
41
+ at file:///Users/emersonlaurentino/develop/vtex/faststore/node_modules/@envelop/core/index.mjs:649:29
42
+ at runMicrotasks (<anonymous>)
43
+ at processTicksAndRejections (node:internal/process/task_queues:96:5)
44
+ at async execute (webpack-internal:///(api)/./src/server/index.ts:97:7)
45
+ at async handler (webpack-internal:///(api)/./src/pages/api/graphql.ts:51
package/@generated/gql.ts CHANGED
@@ -12,11 +12,11 @@ import * as types from './graphql'
12
12
  * Therefore it is highly recommended to use the babel or swc plugin for production.
13
13
  */
14
14
  const documents = {
15
- '\n fragment ProductSummary_product on StoreProduct {\n id: productID\n slug\n sku\n brand {\n brandName: name\n }\n name\n gtin\n\n isVariantOf {\n productGroupID\n name\n }\n\n image {\n url\n alternateName\n }\n\n brand {\n name\n }\n\n offers {\n lowPrice\n offers {\n availability\n price\n listPrice\n quantity\n seller {\n identifier\n }\n }\n }\n }\n':
15
+ '\n fragment ProductSummary_product on StoreProduct {\n id: productID\n slug\n sku\n brand {\n brandName: name\n }\n name\n gtin\n\n isVariantOf {\n productGroupID\n name\n }\n\n image {\n url\n alternateName\n }\n\n brand {\n name\n }\n\n offers {\n lowPrice\n offers {\n availability\n price\n listPrice\n quantity\n seller {\n identifier\n }\n }\n }\n\n additionalProperty {\n propertyID\n name\n value\n valueReference\n }\n }\n':
16
16
  types.ProductSummary_ProductFragmentDoc,
17
17
  '\n fragment Filter_facets on StoreFacet {\n ... on StoreFacetRange {\n key\n label\n\n min {\n selected\n absolute\n }\n\n max {\n selected\n absolute\n }\n\n __typename\n }\n ... on StoreFacetBoolean {\n key\n label\n values {\n label\n value\n selected\n quantity\n }\n\n __typename\n }\n }\n':
18
18
  types.Filter_FacetsFragmentDoc,
19
- '\n fragment ProductDetailsFragment_product on StoreProduct {\n id: productID\n sku\n name\n gtin\n description\n\n isVariantOf {\n name\n productGroupID\n skuVariants {\n activeVariations\n slugsMap\n availableVariations\n }\n }\n\n image {\n url\n alternateName\n }\n\n brand {\n name\n }\n\n offers {\n lowPrice\n offers {\n availability\n price\n listPrice\n seller {\n identifier\n }\n }\n }\n\n # Contains necessary info to add this item to cart\n ...CartProductItem\n }\n':
19
+ '\n fragment ProductDetailsFragment_product on StoreProduct {\n id: productID\n sku\n name\n gtin\n description\n\n isVariantOf {\n name\n productGroupID\n skuVariants {\n activeVariations\n slugsMap\n availableVariations\n }\n }\n\n image {\n url\n alternateName\n }\n\n brand {\n name\n }\n\n offers {\n lowPrice\n offers {\n availability\n price\n listPrice\n seller {\n identifier\n }\n }\n }\n\n additionalProperty {\n propertyID\n name\n value\n valueReference\n }\n\n # Contains necessary info to add this item to cart\n ...CartProductItem\n }\n':
20
20
  types.ProductDetailsFragment_ProductFragmentDoc,
21
21
  '\n fragment ClientManyProducts on Query {\n search(\n first: $first\n after: $after\n sort: $sort\n term: $term\n selectedFacets: $selectedFacets\n ) {\n products {\n pageInfo {\n totalCount\n }\n }\n }\n }\n':
22
22
  types.ClientManyProductsFragmentDoc,
@@ -64,7 +64,7 @@ const documents = {
64
64
  * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
65
65
  */
66
66
  export function gql(
67
- source: '\n fragment ProductSummary_product on StoreProduct {\n id: productID\n slug\n sku\n brand {\n brandName: name\n }\n name\n gtin\n\n isVariantOf {\n productGroupID\n name\n }\n\n image {\n url\n alternateName\n }\n\n brand {\n name\n }\n\n offers {\n lowPrice\n offers {\n availability\n price\n listPrice\n quantity\n seller {\n identifier\n }\n }\n }\n }\n'
67
+ source: '\n fragment ProductSummary_product on StoreProduct {\n id: productID\n slug\n sku\n brand {\n brandName: name\n }\n name\n gtin\n\n isVariantOf {\n productGroupID\n name\n }\n\n image {\n url\n alternateName\n }\n\n brand {\n name\n }\n\n offers {\n lowPrice\n offers {\n availability\n price\n listPrice\n quantity\n seller {\n identifier\n }\n }\n }\n\n additionalProperty {\n propertyID\n name\n value\n valueReference\n }\n }\n'
68
68
  ): typeof import('./graphql').ProductSummary_ProductFragmentDoc
69
69
  /**
70
70
  * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
@@ -76,7 +76,7 @@ export function gql(
76
76
  * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
77
77
  */
78
78
  export function gql(
79
- source: '\n fragment ProductDetailsFragment_product on StoreProduct {\n id: productID\n sku\n name\n gtin\n description\n\n isVariantOf {\n name\n productGroupID\n skuVariants {\n activeVariations\n slugsMap\n availableVariations\n }\n }\n\n image {\n url\n alternateName\n }\n\n brand {\n name\n }\n\n offers {\n lowPrice\n offers {\n availability\n price\n listPrice\n seller {\n identifier\n }\n }\n }\n\n # Contains necessary info to add this item to cart\n ...CartProductItem\n }\n'
79
+ source: '\n fragment ProductDetailsFragment_product on StoreProduct {\n id: productID\n sku\n name\n gtin\n description\n\n isVariantOf {\n name\n productGroupID\n skuVariants {\n activeVariations\n slugsMap\n availableVariations\n }\n }\n\n image {\n url\n alternateName\n }\n\n brand {\n name\n }\n\n offers {\n lowPrice\n offers {\n availability\n price\n listPrice\n seller {\n identifier\n }\n }\n }\n\n additionalProperty {\n propertyID\n name\n value\n valueReference\n }\n\n # Contains necessary info to add this item to cart\n ...CartProductItem\n }\n'
80
80
  ): typeof import('./graphql').ProductDetailsFragment_ProductFragmentDoc
81
81
  /**
82
82
  * The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
@@ -274,7 +274,7 @@ export type IStorePropertyValue = {
274
274
  /** Property value. May hold a string or the string representation of an object. */
275
275
  value: Scalars['ObjectOrString']['input']
276
276
  /** Specifies the nature of the value */
277
- valueReference: Scalars['String']['input']
277
+ valueReference: Scalars['ObjectOrString']['input']
278
278
  }
279
279
 
280
280
  /** Selected search facet input. */
@@ -629,6 +629,18 @@ export type StoreAggregateRating = {
629
629
  reviewCount: Scalars['Int']['output']
630
630
  }
631
631
 
632
+ /** Attribute of a given product. */
633
+ export type StoreAttribute = {
634
+ /** Attribute id. */
635
+ id: Scalars['String']['output']
636
+ /** Attribute name. */
637
+ name: Scalars['String']['output']
638
+ /** Attribute value. */
639
+ value: Scalars['String']['output']
640
+ /** Attribute visibility. */
641
+ visible: Scalars['Boolean']['output']
642
+ }
643
+
632
644
  /** information about the author of a product review or rating. */
633
645
  export type StoreAuthor = {
634
646
  /** Author name. */
@@ -978,7 +990,7 @@ export type StorePropertyValue = {
978
990
  /** Property value. May hold a string or the string representation of an object. */
979
991
  value: Scalars['ObjectOrString']['output']
980
992
  /** Specifies the nature of the value */
981
- valueReference: Scalars['String']['output']
993
+ valueReference: Scalars['ObjectOrString']['output']
982
994
  }
983
995
 
984
996
  /**
@@ -1109,6 +1121,12 @@ export type ProductSummary_ProductFragment = {
1109
1121
  seller: { identifier: string }
1110
1122
  }>
1111
1123
  }
1124
+ additionalProperty: Array<{
1125
+ propertyID: string
1126
+ name: string
1127
+ value: any
1128
+ valueReference: any
1129
+ }>
1112
1130
  }
1113
1131
 
1114
1132
  type Filter_Facets_StoreFacetBoolean_Fragment = {
@@ -1165,7 +1183,7 @@ export type ProductDetailsFragment_ProductFragment = {
1165
1183
  propertyID: string
1166
1184
  name: string
1167
1185
  value: any
1168
- valueReference: string
1186
+ valueReference: any
1169
1187
  }>
1170
1188
  }
1171
1189
 
@@ -1255,7 +1273,7 @@ export type ServerProductQueryQuery = {
1255
1273
  propertyID: string
1256
1274
  name: string
1257
1275
  value: any
1258
- valueReference: string
1276
+ valueReference: any
1259
1277
  }>
1260
1278
  }
1261
1279
  }
@@ -1293,7 +1311,7 @@ export type ValidateCartMutationMutation = {
1293
1311
  propertyID: string
1294
1312
  name: string
1295
1313
  value: any
1296
- valueReference: string
1314
+ valueReference: any
1297
1315
  }>
1298
1316
  }
1299
1317
  }>
@@ -1328,7 +1346,7 @@ export type CartItemFragment = {
1328
1346
  propertyID: string
1329
1347
  name: string
1330
1348
  value: any
1331
- valueReference: string
1349
+ valueReference: any
1332
1350
  }>
1333
1351
  }
1334
1352
  }
@@ -1352,7 +1370,7 @@ export type CartProductItemFragment = {
1352
1370
  propertyID: string
1353
1371
  name: string
1354
1372
  value: any
1355
- valueReference: string
1373
+ valueReference: any
1356
1374
  }>
1357
1375
  }
1358
1376
 
@@ -1396,6 +1414,12 @@ export type ClientManyProductsQueryQuery = {
1396
1414
  seller: { identifier: string }
1397
1415
  }>
1398
1416
  }
1417
+ additionalProperty: Array<{
1418
+ propertyID: string
1419
+ name: string
1420
+ value: any
1421
+ valueReference: any
1422
+ }>
1399
1423
  }
1400
1424
  }>
1401
1425
  }
@@ -1482,7 +1506,7 @@ export type ClientProductQueryQuery = {
1482
1506
  propertyID: string
1483
1507
  name: string
1484
1508
  value: any
1485
- valueReference: string
1509
+ valueReference: any
1486
1510
  }>
1487
1511
  }
1488
1512
  }
@@ -1515,6 +1539,12 @@ export type ClientSearchSuggestionsQueryQuery = {
1515
1539
  seller: { identifier: string }
1516
1540
  }>
1517
1541
  }
1542
+ additionalProperty: Array<{
1543
+ propertyID: string
1544
+ name: string
1545
+ value: any
1546
+ valueReference: any
1547
+ }>
1518
1548
  }>
1519
1549
  }
1520
1550
  products: { pageInfo: { totalCount: number } }
@@ -1641,6 +1671,12 @@ export const ProductSummary_ProductFragmentDoc = new TypedDocumentString(
1641
1671
  }
1642
1672
  }
1643
1673
  }
1674
+ additionalProperty {
1675
+ propertyID
1676
+ name
1677
+ value
1678
+ valueReference
1679
+ }
1644
1680
  }
1645
1681
  `,
1646
1682
  { fragmentName: 'ProductSummary_product' }
@@ -1744,6 +1780,12 @@ export const ProductDetailsFragment_ProductFragmentDoc =
1744
1780
  }
1745
1781
  }
1746
1782
  }
1783
+ additionalProperty {
1784
+ propertyID
1785
+ name
1786
+ value
1787
+ valueReference
1788
+ }
1747
1789
  ...CartProductItem
1748
1790
  }
1749
1791
  fragment CartProductItem on StoreProduct {
@@ -1961,7 +2003,7 @@ export const ServerCollectionPageQueryDocument = {
1961
2003
  export const ServerProductQueryDocument = {
1962
2004
  __meta__: {
1963
2005
  operationName: 'ServerProductQuery',
1964
- operationHash: 'bf778aa3411fa194094d24f73250124d60496121',
2006
+ operationHash: '50155d908ff90781e8c56134ded29b70d7494aa7',
1965
2007
  },
1966
2008
  } as unknown as TypedDocumentString<
1967
2009
  ServerProductQueryQuery,
@@ -1988,7 +2030,7 @@ export const SubscribeToNewsletterDocument = {
1988
2030
  export const ClientManyProductsQueryDocument = {
1989
2031
  __meta__: {
1990
2032
  operationName: 'ClientManyProductsQuery',
1991
- operationHash: 'b854e384d076dc482f0afe016b604d527f2562a3',
2033
+ operationHash: 'c0d7d2ae1d5aaae5d50eea683b389377c36fb57d',
1992
2034
  },
1993
2035
  } as unknown as TypedDocumentString<
1994
2036
  ClientManyProductsQueryQuery,
@@ -2006,7 +2048,7 @@ export const ClientProductGalleryQueryDocument = {
2006
2048
  export const ClientProductQueryDocument = {
2007
2049
  __meta__: {
2008
2050
  operationName: 'ClientProductQuery',
2009
- operationHash: 'e535e4897bf98968b8ce0a59af64212c4a746e6f',
2051
+ operationHash: 'a35530c2f55c1c85bd2b4fe4964356ab27e32622',
2010
2052
  },
2011
2053
  } as unknown as TypedDocumentString<
2012
2054
  ClientProductQueryQuery,
@@ -2015,7 +2057,7 @@ export const ClientProductQueryDocument = {
2015
2057
  export const ClientSearchSuggestionsQueryDocument = {
2016
2058
  __meta__: {
2017
2059
  operationName: 'ClientSearchSuggestionsQuery',
2018
- operationHash: 'd145a09bc100dd52d67e3b2624081da2cff66bee',
2060
+ operationHash: 'a8a27661f6a032e086c047339e0d0f180f0e0161',
2019
2061
  },
2020
2062
  } as unknown as TypedDocumentString<
2021
2063
  ClientSearchSuggestionsQueryQuery,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@faststore/core",
3
- "version": "3.0.17",
3
+ "version": "3.0.21",
4
4
  "license": "MIT",
5
5
  "repository": "vtex/faststore",
6
6
  "browserslist": "supports es6-module and not dead",
@@ -39,7 +39,7 @@
39
39
  "@envelop/graphql-jit": "^1.1.1",
40
40
  "@envelop/parser-cache": "^2.2.0",
41
41
  "@envelop/validation-cache": "^2.2.0",
42
- "@faststore/api": "^3.0.7",
42
+ "@faststore/api": "^3.0.21",
43
43
  "@faststore/components": "^3.0.7",
44
44
  "@faststore/graphql-utils": "^3.0.13",
45
45
  "@faststore/sdk": "^3.0.7",
@@ -128,5 +128,5 @@
128
128
  "node": "18.19.0",
129
129
  "yarn": "1.19.1"
130
130
  },
131
- "gitHead": "ae2fd5e80daef2a86a865cbd615e3fa0d475d959"
131
+ "gitHead": "ef086297cc7d6882d73138b5d8aa60a8713c7136"
132
132
  }
@@ -162,6 +162,13 @@ export const fragment = gql(`
162
162
  }
163
163
  }
164
164
  }
165
+
166
+ additionalProperty {
167
+ propertyID
168
+ name
169
+ value
170
+ valueReference
171
+ }
165
172
  }
166
173
  `)
167
174
 
@@ -277,6 +277,13 @@ export const fragment = gql(`
277
277
  }
278
278
  }
279
279
 
280
+ additionalProperty {
281
+ propertyID
282
+ name
283
+ value
284
+ valueReference
285
+ }
286
+
280
287
  # Contains necessary info to add this item to cart
281
288
  ...CartProductItem
282
289
  }
@@ -1,7 +0,0 @@
1
- {
2
- "telemetry": {
3
- "notifiedAt": "1709304228380",
4
- "anonymousId": "dc178dba82fc71f91a98957ac54c3795cf3c651725095c5048e592d5badfc1c4",
5
- "salt": "989e9f37f01b2c579b80bdae44ba06aa"
6
- }
7
- }