feed-common 1.14.1 → 1.14.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.14.3](https://github.com/advertikon/package-maxify-feed-common/compare/v1.14.2...v1.14.3) (2024-06-09)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * change AppProductVariant weight type ([6f15ce4](https://github.com/advertikon/package-maxify-feed-common/commit/6f15ce4be5ef8e0fa4115f61106f0fbb9171706c))
7
+
8
+ ## [1.14.2](https://github.com/advertikon/package-maxify-feed-common/compare/v1.14.1...v1.14.2) (2024-06-09)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * change GmcProduct price type ([4e1ca45](https://github.com/advertikon/package-maxify-feed-common/commit/4e1ca45a469d413436c64f8d590c355813fabd95))
14
+
1
15
  ## [1.14.1](https://github.com/advertikon/package-maxify-feed-common/compare/v1.14.0...v1.14.1) (2024-06-09)
2
16
 
3
17
 
@@ -5,7 +5,7 @@ export type AppProductStatus = 'active' | 'draft' | 'archived';
5
5
  export type AppProductVariant = Pick<ShopifyProductVariant, 'id' | 'title' | 'sku' | 'barcode' | 'image_id' | 'inventory_policy' | 'weight_unit' | 'requires_shipping'> & {
6
6
  price: number;
7
7
  compare_at_price: number | null;
8
- weight: number;
8
+ weight: number | null;
9
9
  inventory_quantity: number;
10
10
  gmcProduct?: GmcProductId[];
11
11
  };
@@ -111,7 +111,7 @@ export type UploadProductBulkPayload = {
111
111
  export type GmcProduct = {
112
112
  id: number;
113
113
  title: string;
114
- price: string;
114
+ price: number;
115
115
  sku: string;
116
116
  image?: string;
117
117
  locale: 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;AACtE,OAAO,EAAE,mBAAmB,EAAE,qBAAq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
+ "version": "1.14.3",
4
4
  "description": "Maxify feed common library",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",
@@ -11,7 +11,7 @@ export type AppProductVariant =
11
11
  > & {
12
12
  price: number;
13
13
  compare_at_price: number | null;
14
- weight: number;
14
+ weight: number | null;
15
15
  inventory_quantity: number;
16
16
  gmcProduct?: GmcProductId[];
17
17
  };
@@ -126,7 +126,7 @@ export type UploadProductBulkPayload = {
126
126
  export type GmcProduct = {
127
127
  id: number;
128
128
  title: string;
129
- price: string;
129
+ price: number;
130
130
  sku: string;
131
131
  image?: string;
132
132
  locale: string;