feed-common 1.28.1 → 1.28.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.28.3](https://github.com/advertikon/package-maxify-feed-common/compare/v1.28.2...v1.28.3) (2024-08-05)
|
2
|
+
|
3
|
+
|
4
|
+
### Bug Fixes
|
5
|
+
|
6
|
+
* fix AppProduct type ([30aa911](https://github.com/advertikon/package-maxify-feed-common/commit/30aa91185836da61aa46718b6e6a01b311b726b1))
|
7
|
+
|
8
|
+
## [1.28.2](https://github.com/advertikon/package-maxify-feed-common/compare/v1.28.1...v1.28.2) (2024-08-04)
|
9
|
+
|
10
|
+
|
11
|
+
### Bug Fixes
|
12
|
+
|
13
|
+
* fix AppProductVariant type ([1b78de6](https://github.com/advertikon/package-maxify-feed-common/commit/1b78de60d13b4da23704ade35bdb03931fa88db9))
|
14
|
+
|
1
15
|
## [1.28.1](https://github.com/advertikon/package-maxify-feed-common/compare/v1.28.0...v1.28.1) (2024-08-04)
|
2
16
|
|
3
17
|
|
@@ -11,7 +11,7 @@ export type AppProductVariant = {
|
|
11
11
|
inventory_policy: string;
|
12
12
|
compare_at_price: number | null;
|
13
13
|
image: string | null;
|
14
|
-
gmcProduct?: GmcProductId;
|
14
|
+
gmcProduct?: GmcProductId[];
|
15
15
|
};
|
16
16
|
export type GmcProductId = {
|
17
17
|
id: string;
|
@@ -59,6 +59,7 @@ export type AppProduct = {
|
|
59
59
|
jsonValue: string;
|
60
60
|
type: string;
|
61
61
|
namespace: string;
|
62
|
+
value?: string;
|
62
63
|
}[];
|
63
64
|
};
|
64
65
|
export type AppVariant = Omit<AppProduct, 'variants'> & {
|
@@ -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,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f,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;IAC9B,WAAW,CAAC,EAAE,MAAM,CAAC;CACxB,CAAC"}
|
package/package.json
CHANGED
@@ -1,6 +1,5 @@
|
|
1
1
|
import { GmcProductSyncStatus } from '../constants/google.constants.js';
|
2
2
|
import { ProductSyncStatus } from '../constants/product.constants.js';
|
3
|
-
import { ShopifyProductImage } from './shopify.types.js';
|
4
3
|
|
5
4
|
export type AppProductStatus = 'active' | 'draft' | 'archived';
|
6
5
|
|
@@ -14,7 +13,7 @@ export type AppProductVariant = {
|
|
14
13
|
inventory_policy: string;
|
15
14
|
compare_at_price: number|null;
|
16
15
|
image: string|null;
|
17
|
-
gmcProduct?: GmcProductId;
|
16
|
+
gmcProduct?: GmcProductId[];
|
18
17
|
}
|
19
18
|
|
20
19
|
export type GmcProductId = {
|
@@ -62,7 +61,7 @@ export type AppProduct = {
|
|
62
61
|
vendor: string;
|
63
62
|
product_type: string;
|
64
63
|
syncStatus: ProductSyncStatus;
|
65
|
-
metafields: { key: string; jsonValue: string; type: string; namespace: string; }[];
|
64
|
+
metafields: { key: string; jsonValue: string; type: string; namespace: string; value?: string }[];
|
66
65
|
};
|
67
66
|
|
68
67
|
export type AppVariant = Omit<AppProduct, 'variants'> & {
|