feed-common 1.9.1 → 1.9.3

Sign up to get free protection for your applications and to get access to all the features.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,17 @@
1
+ ## [1.9.3](https://github.com/advertikon/package-maxify-feed-common/compare/v1.9.2...v1.9.3) (2024-05-05)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * change variant_id to number[] ([c99380e](https://github.com/advertikon/package-maxify-feed-common/commit/c99380e4989398a0d01e24ca1a395c50f8aa14a6))
7
+
8
+ ## [1.9.2](https://github.com/advertikon/package-maxify-feed-common/compare/v1.9.1...v1.9.2) (2024-05-05)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * add variant_ids to AppProduct image field ([0df088a](https://github.com/advertikon/package-maxify-feed-common/commit/0df088a2727ad53ee3f1f739c46cec85b62e11fa))
14
+
1
15
  ## [1.9.1](https://github.com/advertikon/package-maxify-feed-common/compare/v1.9.0...v1.9.1) (2024-05-05)
2
16
 
3
17
 
@@ -42,13 +42,13 @@ export type AppProduct = {
42
42
  title: string;
43
43
  category?: string;
44
44
  id: number;
45
- image?: string;
46
45
  _id: string;
47
46
  updated_at: string;
48
47
  variants: AppProductVariant[];
49
48
  images: {
50
49
  src: string;
51
50
  id: string;
51
+ variant_ids: number[];
52
52
  }[];
53
53
  collections: AppCollection[];
54
54
  tags: string[];
@@ -1 +1 @@
1
- {"version":3,"file":"product.types.d.ts","sourceRoot":"","sources":["../../src/types/product.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,kCAAkC,CAAC;AACxE,OAAO,EAAE,iBAAiB,EAAE,MAAM,mCAAmC,CAAC;AAEtE,MAAM,MAAM,gBAAgB,GAAG,QAAQ,GAAG,OAAO,GAAG,UAAU,CAAC;AAE/D,MAAM,MAAM,iBAAiB,GAAG;IAC9B,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,GAAG,EAAE,MAAM,GAAG,IAAI,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nC,QAAQ,EAAE,UAAU,EAAE,CAAC;IACvB,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,MAAM,MAAM,YAAY,GAAG;IACzB,GAAG,EAAE,MAAM,EAAE,CAAC;CACf,CAAC;AAEF,MAAM,MAAM,wBAAwB,GAAG;IACrC,WAAW,EAAE,MAAM,EAAE,CAAC;IACtB,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,KAAK,EAAE,MAAM,EAAE,CAAC;IAChB,IAAI,EAAE,MAAM,EAAE,CAAC;CAChB,CAAC;AAEF,MAAM,MAAM,UAAU,GAAG;IACvB,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,CAAC;IAChB,YAAY,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,QAAQ,EAAE,CAAC,MAAM,CAAC,CAAC,OAAO,CAAC,CAAC;IACxC,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,EAAE,MAAM,CAAC;IACnB,kBAAkB,EAAE,MAAM,CAAC;IAC3B,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,oBAAoB,CAAC;CAC/B,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "feed-common",
3
- "version": "1.9.1",
3
+ "version": "1.9.3",
4
4
  "description": "Maxify feed common library",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",
@@ -49,7 +49,7 @@ export type AppProduct = {
49
49
  title: string;
50
50
  category?: string;
51
51
  id: number;
52
- image?: string;
52
+ // image?: string;
53
53
  _id: string;
54
54
  // gmcIssues?: gmcIssue[];
55
55
  // gmcProductId?: GmcProductId[];
@@ -58,6 +58,7 @@ export type AppProduct = {
58
58
  images: {
59
59
  src: string;
60
60
  id: string;
61
+ variant_ids: number[]
61
62
  }[];
62
63
  collections: AppCollection[];
63
64
  tags: string[];