feed-common 1.30.0 → 1.30.2

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.30.2](https://github.com/advertikon/package-maxify-feed-common/compare/v1.30.1...v1.30.2) (2024-08-05)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * fix BaseProductUploadProfile ([dd0ea5e](https://github.com/advertikon/package-maxify-feed-common/commit/dd0ea5e16d9e70f69201e030ee33a43ead4352d7))
7
+
8
+ ## [1.30.1](https://github.com/advertikon/package-maxify-feed-common/compare/v1.30.0...v1.30.1) (2024-08-05)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * fix XmlFeedTemplateType ([96d371d](https://github.com/advertikon/package-maxify-feed-common/commit/96d371d14f6fb67f5ac4e46777261a19fce44fad))
14
+
1
15
  # [1.30.0](https://github.com/advertikon/package-maxify-feed-common/compare/v1.29.0...v1.30.0) (2024-08-05)
2
16
 
3
17
 
@@ -45,7 +45,7 @@ type MappingFields = (typeof ProductUploadMappings)[number]['attribute'];
45
45
  export type BaseProductUploadProfile = {
46
46
  id: string;
47
47
  type?: XMLFeedType;
48
- formats: XmlFeedFormat[];
48
+ format: XmlFeedFormat | null;
49
49
  name: string;
50
50
  active: boolean;
51
51
  rules: ProductUploadRules;
@@ -74,7 +74,7 @@ export type MacroPartType = {
74
74
  subtype?: 'mapping' | 'action' | 'metafield';
75
75
  };
76
76
  export type XmlFeedTemplateType = {
77
- formats: XmlFeedFormat[];
77
+ formats?: XmlFeedFormat[];
78
78
  mapping: ProductUploadMapSource[];
79
79
  };
80
80
  export {};
@@ -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,aAAa,EAAE,WAAW,EAAE,MAAM,mCAAmC,CAAC;AACrH,OAAO,EAAE,mBAAmB,EAAE,MAAM,KAAK,CAAC;AAE1C,MAAM,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AAE/C,MAAM,MAAM,kBAAkB,GAAG;IAC7B,QAAQ,EAAE,wBAAwB,EAAE,CAAC;CACxC,CAAC;AAEF,MAAM,MAAM,wBAAwB,GAAG;IACnC,EAAE,EAAE,MAAM,CAAC;IACX,SAAS,EAAE,qBAAqB,EAAE,CAAC;CACtC,CAAC;AAEF,MAAM,MAAM,qBAAqB,GAAG;IAChC,EAAE,EAAE,MAAM,CAAC;IACX,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,EAAE,GAAG,MAAM,EAAE,GAAG,OAAO,CAAC;CAC1D,CAAC;AAEF,MAAM,MAAM,aAAa,GAAG;IACxB,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,OAAO,GAAG,QAAQ,CAAC;IACzB,OAAO,CAAC,EAAE,SAAS,GAAG,QAAQ,GAAG,WAAW,CAAC;CAChD,CAAC;AAEF,MAAM,MAAM,mBAAmB,GAAG;IAC9B,OAAO,CAAC,EAAE,aAAa,EAAE,CAAC;IAC1B,OAAO,EAAE,sBAAsB,EAAE,CAAC;CACrC,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "feed-common",
3
- "version": "1.30.0",
3
+ "version": "1.30.2",
4
4
  "description": "Maxify feed common library",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",
@@ -54,7 +54,7 @@ type MappingFields = (typeof ProductUploadMappings)[number]['attribute'];
54
54
  export type BaseProductUploadProfile = {
55
55
  id: string;
56
56
  type?: XMLFeedType;
57
- formats: XmlFeedFormat[],
57
+ format: XmlFeedFormat|null,
58
58
  name: string;
59
59
  active: boolean;
60
60
  rules: ProductUploadRules;
@@ -90,6 +90,6 @@ export type MacroPartType = {
90
90
  };
91
91
 
92
92
  export type XmlFeedTemplateType = {
93
- formats: XmlFeedFormat[];
93
+ formats?: XmlFeedFormat[];
94
94
  mapping: ProductUploadMapSource[];
95
95
  }