feed-common 1.7.2 → 1.8.0
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.8.0](https://github.com/advertikon/package-maxify-feed-common/compare/v1.7.3...v1.8.0) (2024-05-05)
|
2
|
+
|
3
|
+
|
4
|
+
### Features
|
5
|
+
|
6
|
+
* add AppVariant type ([f499ce6](https://github.com/advertikon/package-maxify-feed-common/commit/f499ce634bfd46dbbf5694c2f1383f6f81152ea2))
|
7
|
+
|
8
|
+
## [1.7.3](https://github.com/advertikon/package-maxify-feed-common/compare/v1.7.2...v1.7.3) (2024-05-05)
|
9
|
+
|
10
|
+
|
11
|
+
### Bug Fixes
|
12
|
+
|
13
|
+
* add inventory fields to AppProduct variant ([0e9fc45](https://github.com/advertikon/package-maxify-feed-common/commit/0e9fc450f4a9ffecaff30c8800599899b5eeb735))
|
14
|
+
|
1
15
|
## [1.7.2](https://github.com/advertikon/package-maxify-feed-common/compare/v1.7.1...v1.7.2) (2024-05-05)
|
2
16
|
|
3
17
|
|
@@ -7,6 +7,8 @@ export type AppProductVariant = {
|
|
7
7
|
price: string;
|
8
8
|
sku: string | null;
|
9
9
|
image_id: number | null;
|
10
|
+
inventory_quantity: number;
|
11
|
+
inventory_management: string;
|
10
12
|
};
|
11
13
|
export type GmcProductId = {
|
12
14
|
id: string;
|
@@ -38,7 +40,6 @@ export type AppProduct = {
|
|
38
40
|
title: string;
|
39
41
|
category?: string;
|
40
42
|
id: number;
|
41
|
-
googleCategory?: number;
|
42
43
|
image?: string;
|
43
44
|
_id: string;
|
44
45
|
gmcIssues?: gmcIssue[];
|
@@ -55,6 +56,9 @@ export type AppProduct = {
|
|
55
56
|
product_type: string;
|
56
57
|
syncStatus: ProductSyncStatus;
|
57
58
|
};
|
59
|
+
export type AppVariant = Omit<AppProduct, 'variants' | 'gmcIssues' | 'gmcProductId'> & {
|
60
|
+
variant: AppProductVariant;
|
61
|
+
};
|
58
62
|
export type GetProductsQuery = {
|
59
63
|
before?: string;
|
60
64
|
after?: 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,CAAC;IACnB,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;
|
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,CAAC;IACnB,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,kBAAkB,EAAE,MAAM,CAAC;IAC3B,oBAAoB,EAAE,MAAM,CAAC;CAC9B,CAAC;AAEF,MAAM,MAAM,YAAY,GAAG;IACzB,EAAE,EAAE,MAAM,CAAC;IACX,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,EAAE,MAAM,CAAC;IACnB,WAAW,EAAE,MAAM,CAAC;IACpB,MAAM,CAAC,EAA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AAU,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
@@ -9,6 +9,8 @@ export type AppProductVariant = {
|
|
9
9
|
price: string;
|
10
10
|
sku: string | null;
|
11
11
|
image_id: number | null;
|
12
|
+
inventory_quantity: number;
|
13
|
+
inventory_management: string;
|
12
14
|
};
|
13
15
|
|
14
16
|
export type GmcProductId = {
|
@@ -45,7 +47,6 @@ export type AppProduct = {
|
|
45
47
|
title: string;
|
46
48
|
category?: string;
|
47
49
|
id: number;
|
48
|
-
googleCategory?: number;
|
49
50
|
image?: string;
|
50
51
|
_id: string;
|
51
52
|
gmcIssues?: gmcIssue[];
|
@@ -63,6 +64,8 @@ export type AppProduct = {
|
|
63
64
|
syncStatus: ProductSyncStatus;
|
64
65
|
};
|
65
66
|
|
67
|
+
export type AppVariant = Omit<AppProduct, 'variants'|'gmcIssues'|'gmcProductId'> & {variant: AppProductVariant};
|
68
|
+
|
66
69
|
export type GetProductsQuery = {
|
67
70
|
before?: string;
|
68
71
|
after?: string;
|