feed-common 1.22.1 → 1.23.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.23.0](https://github.com/advertikon/package-maxify-feed-common/compare/v1.22.1...v1.23.0) (2024-07-31)
2
+
3
+
4
+ ### Features
5
+
6
+ * add type to profile type ([d2c8fee](https://github.com/advertikon/package-maxify-feed-common/commit/d2c8fee70c42cac38ed89edb260994e42c472587))
7
+
1
8
  ## [1.22.1](https://github.com/advertikon/package-maxify-feed-common/compare/v1.22.0...v1.22.1) (2024-07-28)
2
9
 
3
10
 
@@ -42,6 +42,7 @@ export type ProductUploadMapping = {
42
42
  type MappingFields = (typeof ProductUploadMappings)[number]['attribute'];
43
43
  export type BaseProductUploadProfile = {
44
44
  id: string;
45
+ type?: XMLFeedType;
45
46
  name: string;
46
47
  active: boolean;
47
48
  rules: ProductUploadRules;
@@ -1 +1 @@
1
- {"version":3,"file":"profile.types.d.ts","sourceRoot":"","sources":["../../src/types/profile.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,aAAa,EAAE,MAAM,mCAAmC,CAAC;AACzF,OAAO,EAAE,mBAAmB,EAAE,MAAM,KAAK,CAAC;AAE1C,MAAM,MAAM,UAAU,GAAG;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,CAAC;AAE1D,MAAM,MAAM,6BAA6B,GAAG,UAAU,CAAC;AAEvD,MAAM,MAAM,2BAA2B,GAAG;IACtC,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,6BAA6B,EAAE,CAAC;IAC3C,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,MAAM,CAAC,EAAE,UAAU,EAAE,CAAC;CACzB,CAAC;AAEF,MAAM,MAAM,iBAAiB,GAAG,OAAO,aAAa,CAAC;AACrD,MAAM,MAAM,SAAS,GAAG,MAAM,GAAG,MAAM,EAAE,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QAAQ,CAAC;IACzB,OAAO,CAAC,EAAE,SAAS,GAAG,QAAQ,GAAG,WAAW,CAAC;CAChD,CAAC;AAEF,MAAM,MAAM,gBAAgB,GAAG;IAC3B,EAAE,EAAE,MAAM,CAAC;IACX,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE,OAAO,CAAC;IAClB,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,CAAC,CAAC,EAAE,MAAM,GAAC,MAAM,KAAK,mBAAmB,CAAC,GAAG,EAAE,GAAG,CAAC,CAAC;IAC9D,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,kBAAkB,CAAC;CAC9B,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"profile.types.js","sourceRoot":"","sources":["../../src/types/profile.types.ts"],"names":[],"mappings":"AAsEA,MAAM,CAAN,IAAY,WAGX;AAHD,WAAY,WAAW;IACnB,gCAAiB,CAAA;IACjB,oCAAqB,CAAA;AACzB,CAAC,EAHW,WAAW,KAAX,WAAW,QAGtB"}
1
+ {"version":3,"file":"profile.types.js","sourceRoot":"","sources":["../../src/types/profile.types.ts"],"names":[],"mappings":"AAuEA,MAAM,CAAN,IAAY,WAGX;AAHD,WAAY,WAAW;IACnB,gCAAiB,CAAA;IACjB,oCAAqB,CAAA;AACzB,CAAC,EAHW,WAAW,KAAX,WAAW,QAGtB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "feed-common",
3
- "version": "1.22.1",
3
+ "version": "1.23.0",
4
4
  "description": "Maxify feed common library",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",
@@ -40,6 +40,7 @@ type MappingFields = (typeof ProductUploadMappings)[number]['attribute'];
40
40
 
41
41
  export type BaseProductUploadProfile = {
42
42
  id: string;
43
+ type?: XMLFeedType;
43
44
  name: string;
44
45
  active: boolean;
45
46
  rules: ProductUploadRules;