@faststore/core 3.0.20 → 3.0.22

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 (101) hide show
  1. package/.next/BUILD_ID +1 -1
  2. package/.next/build-manifest.json +22 -22
  3. package/.next/cache/.tsbuildinfo +1 -1
  4. package/.next/cache/eslint/.cache_ybd91x +1 -0
  5. package/.next/cache/webpack/client-development/0.pack.gz +0 -0
  6. package/.next/cache/webpack/client-development/1.pack.gz +0 -0
  7. package/.next/cache/webpack/client-development/10.pack.gz +0 -0
  8. package/.next/cache/webpack/client-development/11.pack.gz +0 -0
  9. package/.next/cache/webpack/client-development/2.pack.gz +0 -0
  10. package/.next/cache/webpack/client-development/3.pack.gz +0 -0
  11. package/.next/cache/webpack/client-development/4.pack.gz +0 -0
  12. package/.next/cache/webpack/client-development/5.pack.gz +0 -0
  13. package/.next/cache/webpack/client-development/6.pack.gz +0 -0
  14. package/.next/cache/webpack/client-development/7.pack.gz +0 -0
  15. package/.next/cache/webpack/client-development/8.pack.gz +0 -0
  16. package/.next/cache/webpack/client-development/9.pack.gz +0 -0
  17. package/.next/cache/webpack/client-development/index.pack.gz +0 -0
  18. package/.next/cache/webpack/client-development/index.pack.gz.old +0 -0
  19. package/.next/cache/webpack/client-production/0.pack +0 -0
  20. package/.next/cache/webpack/client-production/1.pack +0 -0
  21. package/.next/cache/webpack/client-production/10.pack +0 -0
  22. package/.next/cache/webpack/client-production/2.pack +0 -0
  23. package/.next/cache/webpack/client-production/3.pack +0 -0
  24. package/.next/cache/webpack/client-production/4.pack +0 -0
  25. package/.next/cache/webpack/client-production/5.pack +0 -0
  26. package/.next/cache/webpack/client-production/6.pack +0 -0
  27. package/.next/cache/webpack/client-production/7.pack +0 -0
  28. package/.next/cache/webpack/client-production/8.pack +0 -0
  29. package/.next/cache/webpack/client-production/9.pack +0 -0
  30. package/.next/cache/webpack/client-production/index.pack +0 -0
  31. package/.next/cache/webpack/client-production/index.pack.old +0 -0
  32. package/.next/cache/webpack/server-development/0.pack.gz +0 -0
  33. package/.next/cache/webpack/server-development/1.pack.gz +0 -0
  34. package/.next/cache/webpack/server-development/10.pack.gz +0 -0
  35. package/.next/cache/webpack/server-development/11.pack.gz +0 -0
  36. package/.next/cache/webpack/server-development/12.pack.gz +0 -0
  37. package/.next/cache/webpack/server-development/2.pack.gz +0 -0
  38. package/.next/cache/webpack/server-development/3.pack.gz +0 -0
  39. package/.next/cache/webpack/server-development/4.pack.gz +0 -0
  40. package/.next/cache/webpack/server-development/5.pack.gz +0 -0
  41. package/.next/cache/webpack/server-development/6.pack.gz +0 -0
  42. package/.next/cache/webpack/server-development/7.pack.gz +0 -0
  43. package/.next/cache/webpack/server-development/8.pack.gz +0 -0
  44. package/.next/cache/webpack/server-development/9.pack.gz +0 -0
  45. package/.next/cache/webpack/server-development/index.pack.gz +0 -0
  46. package/.next/cache/webpack/server-development/index.pack.gz.old +0 -0
  47. package/.next/cache/webpack/server-production/0.pack +0 -0
  48. package/.next/cache/webpack/server-production/1.pack +0 -0
  49. package/.next/cache/webpack/server-production/2.pack +0 -0
  50. package/.next/cache/webpack/server-production/3.pack +0 -0
  51. package/.next/cache/webpack/server-production/4.pack +0 -0
  52. package/.next/cache/webpack/server-production/5.pack +0 -0
  53. package/.next/cache/webpack/server-production/6.pack +0 -0
  54. package/.next/cache/webpack/server-production/7.pack +0 -0
  55. package/.next/cache/webpack/server-production/index.pack +0 -0
  56. package/.next/cache/webpack/server-production/index.pack.old +0 -0
  57. package/.next/next-minimal-server.js.nft.json +1 -1
  58. package/.next/next-server.js.nft.json +1 -1
  59. package/.next/prerender-manifest.js +1 -1
  60. package/.next/prerender-manifest.json +1 -1
  61. package/.next/required-server-files.json +1 -1
  62. package/.next/routes-manifest.json +1 -1
  63. package/.next/server/chunks/242.js +1 -1
  64. package/.next/server/chunks/640.js +1 -1
  65. package/.next/server/chunks/646.js +14 -2
  66. package/.next/server/functions-config-manifest.json +1 -1
  67. package/.next/server/middleware-build-manifest.js +1 -1
  68. package/.next/server/pages/500.js +1 -1
  69. package/.next/server/pages/[...slug].js.nft.json +1 -1
  70. package/.next/server/pages/[slug]/p.js.nft.json +1 -1
  71. package/.next/server/pages/api/graphql.js +1 -1
  72. package/.next/server/pages/api/graphql.js.nft.json +1 -1
  73. package/.next/server/pages/en-US/404.html +2 -2
  74. package/.next/server/pages/en-US/500.html +2 -2
  75. package/.next/server/pages/en-US/account.html +2 -2
  76. package/.next/server/pages/en-US/checkout.html +2 -2
  77. package/.next/server/pages/en-US/login.html +2 -2
  78. package/.next/server/pages/en-US/s.html +2 -2
  79. package/.next/server/pages/en-US.html +4 -4
  80. package/.next/server/pages/en-US.json +1 -1
  81. package/.next/server/pages-manifest.json +1 -1
  82. package/.next/static/{rG9HjHHbItuqOEnXtbNZ5 → KHfUTI2LyBArHphiJspvQ}/_buildManifest.js +1 -1
  83. package/.next/static/chunks/104-407fa6e31258582b.js +1 -0
  84. package/.next/static/chunks/{webpack-b4a2fdf4ef127bb7.js → webpack-f3be21bc483182aa.js} +1 -1
  85. package/.next/trace +6 -91
  86. package/@generated/gql.ts +4 -4
  87. package/@generated/graphql.ts +54 -12
  88. package/@generated/persisted-documents.json +4 -4
  89. package/@generated/schema.graphql +14 -2
  90. package/package.json +4 -5
  91. package/src/components/product/ProductCard/ProductCard.tsx +7 -0
  92. package/src/components/sections/ProductDetails/ProductDetails.tsx +7 -0
  93. package/.next/cache/config.json +0 -7
  94. package/.next/cache/eslint/.cache_1gneedd +0 -1
  95. package/.next/static/chunks/104-4f83b1d87ad36358.js +0 -1
  96. package/.turbo/turbo-build.log +0 -65
  97. package/.turbo/turbo-lint.log +0 -2
  98. package/.turbo/turbo-test.log +0 -23
  99. package/@generated/graphql/persisted.json +0 -13
  100. package/@generated/graphql/schema.graphql +0 -1053
  101. /package/.next/static/{rG9HjHHbItuqOEnXtbNZ5 → KHfUTI2LyBArHphiJspvQ}/_ssgManifest.js +0 -0
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,
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "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 }",
3
- "bf778aa3411fa194094d24f73250124d60496121": "fragment CartProductItem on StoreProduct { additionalProperty { name propertyID value valueReference } brand { name } gtin image { alternateName url } isVariantOf { name productGroupID skuVariants { activeVariations availableVariations slugsMap } } name sku } fragment ProductDetailsFragment_product on StoreProduct { brand { name } description gtin image { alternateName url } isVariantOf { name productGroupID skuVariants { activeVariations availableVariations slugsMap } } name offers { lowPrice offers { availability listPrice price seller { identifier } } } id: productID sku ...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 offers { availability itemCondition price priceCurrency priceValidUntil seller { identifier } } priceCurrency } id: productID releaseDate seo { canonical description title } sku ...ProductDetailsFragment_product } ...ServerProduct }",
3
+ "50155d908ff90781e8c56134ded29b70d7494aa7": "fragment CartProductItem on StoreProduct { additionalProperty { name propertyID value valueReference } brand { name } gtin image { alternateName url } isVariantOf { name productGroupID skuVariants { activeVariations availableVariations slugsMap } } name sku } fragment ProductDetailsFragment_product on StoreProduct { additionalProperty { name propertyID value valueReference } brand { name } description gtin image { alternateName url } isVariantOf { name productGroupID skuVariants { activeVariations availableVariations slugsMap } } name offers { lowPrice offers { availability listPrice price seller { identifier } } } id: productID sku ...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 offers { availability itemCondition price priceCurrency priceValidUntil seller { identifier } } priceCurrency } id: productID releaseDate seo { canonical description title } sku ...ProductDetailsFragment_product } ...ServerProduct }",
4
4
  "87e1ba227013cb087bcbb35584c1b0b7cdf612ef": "fragment CartItem on StoreOffer { itemOffered { ...CartProductItem } listPrice price quantity seller { identifier } } fragment CartMessage on StoreCartMessage { status text } fragment CartProductItem on StoreProduct { additionalProperty { name propertyID value valueReference } brand { name } gtin image { alternateName url } isVariantOf { name productGroupID skuVariants { activeVariations availableVariations slugsMap } } name sku } mutation ValidateCartMutation($cart: IStoreCart!, $session: IStoreSession!) { validateCart(cart: $cart, session: $session) { messages { ...CartMessage } order { acceptedOffer { ...CartItem } orderNumber } } }",
5
5
  "feb7005103a859e2bc8cf2360d568806fd88deba": "mutation SubscribeToNewsletter($data: IPersonNewsletter!) { subscribeToNewsletter(data: $data) { id } }",
6
- "b854e384d076dc482f0afe016b604d527f2562a3": "fragment ClientManyProducts on Query { search( first: $first after: $after sort: $sort term: $term selectedFacets: $selectedFacets ) { products { pageInfo { totalCount } } } } fragment ProductSummary_product on StoreProduct { brand { brandName: name } brand { name } gtin image { alternateName url } isVariantOf { name productGroupID } name offers { lowPrice offers { availability listPrice price quantity seller { identifier } } } id: productID sku slug } query ClientManyProductsQuery($after: String, $first: Int!, $selectedFacets: [IStoreSelectedFacet!]!, $sort: StoreSort!, $term: String!) { search( first: $first after: $after sort: $sort term: $term selectedFacets: $selectedFacets ) { products { edges { node { ...ProductSummary_product } } pageInfo { totalCount } } } ...ClientManyProducts }",
6
+ "c0d7d2ae1d5aaae5d50eea683b389377c36fb57d": "fragment ClientManyProducts on Query { search( first: $first after: $after sort: $sort term: $term selectedFacets: $selectedFacets ) { products { pageInfo { totalCount } } } } fragment ProductSummary_product on StoreProduct { additionalProperty { name propertyID value valueReference } brand { brandName: name } brand { name } gtin image { alternateName url } isVariantOf { name productGroupID } name offers { lowPrice offers { availability listPrice price quantity seller { identifier } } } id: productID sku slug } query ClientManyProductsQuery($after: String, $first: Int!, $selectedFacets: [IStoreSelectedFacet!]!, $sort: StoreSort!, $term: String!) { search( first: $first after: $after sort: $sort term: $term selectedFacets: $selectedFacets ) { products { edges { node { ...ProductSummary_product } } pageInfo { totalCount } } } ...ClientManyProducts }",
7
7
  "054742a6e1a39f1e09237dcec956879d964f3f20": "fragment ClientProductGallery on Query { search( first: $first after: $after sort: $sort term: $term selectedFacets: $selectedFacets ) { products { pageInfo { totalCount } } } } fragment Filter_facets on StoreFacet { ... on StoreFacetBoolean { __typename key label values { label quantity selected value } } ... on StoreFacetRange { __typename key label max { absolute selected } min { absolute selected } } } fragment SearchEvent_metadata on SearchMetadata { fuzzy isTermMisspelled logicalOperator } query ClientProductGalleryQuery($after: String!, $first: Int!, $selectedFacets: [IStoreSelectedFacet!]!, $sort: StoreSort!, $term: String!) { search( first: $first after: $after sort: $sort term: $term selectedFacets: $selectedFacets ) { facets { ...Filter_facets } metadata { ...SearchEvent_metadata } products { pageInfo { totalCount } } } ...ClientProductGallery }",
8
- "e535e4897bf98968b8ce0a59af64212c4a746e6f": "fragment CartProductItem on StoreProduct { additionalProperty { name propertyID value valueReference } brand { name } gtin image { alternateName url } isVariantOf { name productGroupID skuVariants { activeVariations availableVariations slugsMap } } name sku } fragment ClientProduct on Query { product(locator: $locator) { id: productID } } fragment ProductDetailsFragment_product on StoreProduct { brand { name } description gtin image { alternateName url } isVariantOf { name productGroupID skuVariants { activeVariations availableVariations slugsMap } } name offers { lowPrice offers { availability listPrice price seller { identifier } } } id: productID sku ...CartProductItem } query ClientProductQuery($locator: [IStoreSelectedFacet!]!) { product(locator: $locator) { ...ProductDetailsFragment_product } ...ClientProduct }",
9
- "d145a09bc100dd52d67e3b2624081da2cff66bee": "fragment ClientSearchSuggestions on Query { search(first: 5, term: $term, selectedFacets: $selectedFacets) { suggestions { terms { value } } } } fragment ProductSummary_product on StoreProduct { brand { brandName: name } brand { name } gtin image { alternateName url } isVariantOf { name productGroupID } name offers { lowPrice offers { availability listPrice price quantity seller { identifier } } } id: productID sku slug } fragment SearchEvent_metadata on SearchMetadata { fuzzy isTermMisspelled logicalOperator } query ClientSearchSuggestionsQuery($selectedFacets: [IStoreSelectedFacet!], $term: String!) { search(first: 5, term: $term, selectedFacets: $selectedFacets) { metadata { ...SearchEvent_metadata } products { pageInfo { totalCount } } suggestions { products { ...ProductSummary_product } terms { value } } } ...ClientSearchSuggestions }",
8
+ "a35530c2f55c1c85bd2b4fe4964356ab27e32622": "fragment CartProductItem on StoreProduct { additionalProperty { name propertyID value valueReference } brand { name } gtin image { alternateName url } isVariantOf { name productGroupID skuVariants { activeVariations availableVariations slugsMap } } name sku } fragment ClientProduct on Query { product(locator: $locator) { id: productID } } fragment ProductDetailsFragment_product on StoreProduct { additionalProperty { name propertyID value valueReference } brand { name } description gtin image { alternateName url } isVariantOf { name productGroupID skuVariants { activeVariations availableVariations slugsMap } } name offers { lowPrice offers { availability listPrice price seller { identifier } } } id: productID sku ...CartProductItem } query ClientProductQuery($locator: [IStoreSelectedFacet!]!) { product(locator: $locator) { ...ProductDetailsFragment_product } ...ClientProduct }",
9
+ "a8a27661f6a032e086c047339e0d0f180f0e0161": "fragment ClientSearchSuggestions on Query { search(first: 5, term: $term, selectedFacets: $selectedFacets) { suggestions { terms { value } } } } fragment ProductSummary_product on StoreProduct { additionalProperty { name propertyID value valueReference } brand { brandName: name } brand { name } gtin image { alternateName url } isVariantOf { name productGroupID } name offers { lowPrice offers { availability listPrice price quantity seller { identifier } } } id: productID sku slug } fragment SearchEvent_metadata on SearchMetadata { fuzzy isTermMisspelled logicalOperator } query ClientSearchSuggestionsQuery($selectedFacets: [IStoreSelectedFacet!], $term: String!) { search(first: 5, term: $term, selectedFacets: $selectedFacets) { metadata { ...SearchEvent_metadata } products { pageInfo { totalCount } } suggestions { products { ...ProductSummary_product } terms { value } } } ...ClientSearchSuggestions }",
10
10
  "e2385b0f11726d0068f96548f57a8dd441c064e3": "fragment ClientTopSearchSuggestions on Query { search(first: 5, term: $term, selectedFacets: $selectedFacets) { suggestions { terms { value } } } } query ClientTopSearchSuggestionsQuery($selectedFacets: [IStoreSelectedFacet!], $term: String!) { search(first: 5, term: $term, selectedFacets: $selectedFacets) { suggestions { terms { value } } } ...ClientTopSearchSuggestions }",
11
11
  "5696202828f9275216a445e316ebf516f168c506": "mutation ValidateSession($search: String!, $session: IStoreSession!) { validateSession(session: $session, search: $search) { addressType channel country currency { code symbol } deliveryMode { deliveryChannel deliveryMethod deliveryWindow { endDate startDate } } geoCoordinates { latitude longitude } locale person { email familyName givenName id } postalCode } }",
12
12
  "d6667f1de2a26b94b9b55f4b25d7d823f82635a0": "fragment ClientShippingSimulation on Query { shipping(items: $items, postalCode: $postalCode, country: $country) { address { city } } } query ClientShippingSimulationQuery($country: String!, $items: [IShippingItem!]!, $postalCode: String!) { shipping(items: $items, postalCode: $postalCode, country: $country) { address { city neighborhood state } logisticsInfo { slas { availableDeliveryWindows { endDateUtc listPrice price startDateUtc } carrier localizedEstimates price shippingEstimate } } } ...ClientShippingSimulation }"
@@ -51,6 +51,18 @@ type StoreAggregateRating {
51
51
  reviewCount: Int!
52
52
  }
53
53
 
54
+ """Attribute of a given product."""
55
+ type StoreAttribute {
56
+ """Attribute id."""
57
+ id: String!
58
+ """Attribute name."""
59
+ name: String!
60
+ """Attribute value."""
61
+ value: String!
62
+ """Attribute visibility."""
63
+ visible: Boolean!
64
+ }
65
+
54
66
  """information about the author of a product review or rating."""
55
67
  type StoreAuthor {
56
68
  """Author name."""
@@ -415,7 +427,7 @@ type StorePropertyValue {
415
427
  """Property name."""
416
428
  name: String!
417
429
  """Specifies the nature of the value"""
418
- valueReference: String!
430
+ valueReference: ObjectOrString!
419
431
  }
420
432
 
421
433
  input IStorePropertyValue {
@@ -426,7 +438,7 @@ input IStorePropertyValue {
426
438
  """Property name."""
427
439
  name: String!
428
440
  """Specifies the nature of the value"""
429
- valueReference: String!
441
+ valueReference: ObjectOrString!
430
442
  }
431
443
 
432
444
  """Each product edge contains a `node`, with product information, and a `cursor`, that can be used as a reference for pagination."""
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@faststore/core",
3
- "version": "3.0.20",
3
+ "version": "3.0.22",
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.20",
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",
@@ -83,7 +83,7 @@
83
83
  "devDependencies": {
84
84
  "@cypress/code-coverage": "^3.12.1",
85
85
  "@envelop/testing": "^6.0.0",
86
- "@faststore/cli": "^3.0.13",
86
+ "@faststore/cli": "^3.0.22",
87
87
  "@faststore/eslint-config": "^3.0.7",
88
88
  "@faststore/lighthouse": "^1.12.32",
89
89
  "@lhci/cli": "^0.9.0",
@@ -127,6 +127,5 @@
127
127
  "volta": {
128
128
  "node": "18.19.0",
129
129
  "yarn": "1.19.1"
130
- },
131
- "gitHead": "c75d1f53d7efeae52483db94d9e66ddbebb8de5f"
130
+ }
132
131
  }
@@ -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": "1709562209347",
4
- "anonymousId": "093f4e1599f65ed8893645df137749366898d3756e3d7747bd21672213fcb1a8",
5
- "salt": "2d3898034aa97aebc09e54bab3c3035d"
6
- }
7
- }