@faststore/api 1.11.3 → 1.11.4

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.
@@ -86,6 +86,7 @@ export interface Product {
86
86
  key: string;
87
87
  value: string;
88
88
  }>;
89
+ releaseDate: string;
89
90
  }
90
91
  interface Image {
91
92
  imageId: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@faststore/api",
3
- "version": "1.11.3",
3
+ "version": "1.11.4",
4
4
  "license": "MIT",
5
5
  "main": "dist/index.js",
6
6
  "typings": "dist/index.d.ts",
@@ -46,5 +46,5 @@
46
46
  "peerDependencies": {
47
47
  "graphql": "^15.6.0"
48
48
  },
49
- "gitHead": "3e3bfc6bd9aa68ffc170b9979d5e3eeb5e06088e"
49
+ "gitHead": "01591e2a58aa8d0ec505b8b4d0ca9c33d4244942"
50
50
  }
@@ -90,6 +90,7 @@ export interface Product {
90
90
  specificationGroups: SpecificationGroup[]
91
91
  properties: Array<{ name: string; values: string[] }>
92
92
  selectedProperties: Array<{ key: string; value: string }>
93
+ releaseDate: string
93
94
  }
94
95
 
95
96
  interface Image {
@@ -116,4 +116,5 @@ export const StoreProduct: Record<string, Resolver<Root>> & {
116
116
 
117
117
  return [...propertyValueSpecifications, ...propertyValueAttachments]
118
118
  },
119
+ releaseDate: ({ isVariantOf: { releaseDate } }) => releaseDate ?? ''
119
120
  }
@@ -62,6 +62,10 @@ type StoreProduct {
62
62
  Array of additional properties.
63
63
  """
64
64
  additionalProperty: [StorePropertyValue!]!
65
+ """
66
+ The product's release date. Formatted using https://en.wikipedia.org/wiki/ISO_8601
67
+ """
68
+ releaseDate: String!
65
69
  }
66
70
 
67
71
  """