feed-common 1.9.8 → 1.10.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,10 @@
1
+ # [1.10.0](https://github.com/advertikon/package-maxify-feed-common/compare/v1.9.8...v1.10.0) (2024-05-10)
2
+
3
+
4
+ ### Features
5
+
6
+ * add AppGmcProduct type ([2746de9](https://github.com/advertikon/package-maxify-feed-common/commit/2746de9b84f064701ff159882d99e565099e9d84))
7
+
1
8
  ## [1.9.8](https://github.com/advertikon/package-maxify-feed-common/compare/v1.9.7...v1.9.8) (2024-05-05)
2
9
 
3
10
 
@@ -53,6 +53,11 @@ export type AppProduct = {
53
53
  export type AppVariant = Omit<AppProduct, 'variants' | 'gmcIssues' | 'gmcProductId'> & {
54
54
  variants: AppProductVariant;
55
55
  };
56
+ export type AppGmcProduct = Omit<AppVariant, 'variants.gmcProduct'> & {
57
+ variants: {
58
+ gmcProduct: GmcProductId;
59
+ };
60
+ };
56
61
  export type GetProductsQuery = {
57
62
  before?: string;
58
63
  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;AACtE,OAAO,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AAE3D,MAAM,MAAM,gBAAgB,GAAG,QAAQ,GAAG,OAAO,GAAG,UAAU,CAAC;AAE/D,MAAM,MAAM,iBAAiB,GACzB,IAAI,CACF,qBAAqB,EACnB,IAAI,GACJ,OAAO,GACP,OAAO,GACP,KAAK,GACL,oBAAoB,GACpB,kBAAkB,GAClB,kBAAkB,GAClB,QAAQ,GACR,aAAa,CAChB,GACD;IACE,UAAU,CAAC,EAAE,YAAY,EAAE,CAAC;CAC7B,CAAC;AAEN,MAAM,MAAM,YAAY,GAAG;IACzB,EAAE,EAAE,MA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AAC;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.8",
3
+ "version": "1.10.0",
4
4
  "description": "Maxify feed common library",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",
@@ -76,6 +76,11 @@ export type AppVariant = Omit<
76
76
  'variants' | 'gmcIssues' | 'gmcProductId'
77
77
  > & { variants: AppProductVariant };
78
78
 
79
+ export type AppGmcProduct = Omit<
80
+ AppVariant,
81
+ 'variants.gmcProduct'
82
+ > & { variants: {gmcProduct: GmcProductId} };
83
+
79
84
  export type GetProductsQuery = {
80
85
  before?: string;
81
86
  after?: string;