feed-common 1.51.0 → 1.51.1
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.51.1](https://github.com/advertikon/package-maxify-feed-common/compare/v1.51.0...v1.51.1) (2024-10-06)
|
2
|
+
|
3
|
+
|
4
|
+
### Bug Fixes
|
5
|
+
|
6
|
+
* update macro parsing utils ([39766cc](https://github.com/advertikon/package-maxify-feed-common/commit/39766cc6085839c68b1069593c512e7a69c64bf2))
|
7
|
+
|
1
8
|
# [1.51.0](https://github.com/advertikon/package-maxify-feed-common/compare/v1.50.5...v1.51.0) (2024-10-06)
|
2
9
|
|
3
10
|
|
@@ -80,7 +80,7 @@ export type ProductUploadRuleItem = {
|
|
80
80
|
export type MacroPartType = {
|
81
81
|
content: string;
|
82
82
|
type: 'macro' | 'string';
|
83
|
-
subtype?: 'mapping' | 'action' | 'metafield';
|
83
|
+
subtype?: 'mapping' | 'action' | 'metafield' | 'source';
|
84
84
|
};
|
85
85
|
export type XmlFeedTemplateType = {
|
86
86
|
formats?: XmlFeedFormat[];
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"profile.types.d.ts","sourceRoot":"","sources":["../../src/types/profile.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,aAAa,EAAE,aAAa,EAAE,WAAW,EAAE,MAAM,mCAAmC,CAAC;AACtH,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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AAI,mBAAmB,GAAG,UAAU,EAAE,CAAC;YACjE,MAAM,IAAI,KAAK,CACX,6DAA6D,WAAW,mBAAmB,YAAY,EAAE,CAC5G,CAAC;QACN,CAAC;QAED,MAAM,QAAQ,GAAG,WAAW,CAAC,SAAS,CAAC,YAAY,GAAG,OAAO,CAAC,MAAM,EAAE,UAAU,CAAC,CAAC;QAElF,KAAK,CAAC,IAAI,CAAC;YACP,OAAO,EAAE,QAAQ,CAAC,IAAI,EAAE;YACxB,IAAI,EAAE,OAAO;YACb,OAAO,EAAE,eAAe,CAAC,QAAQ,CAAC;SACrC,CAAC,CAAC;QAEH,QAAQ,GAAG,UAAU,GAAG,QAAQ,CAAC,MAAM,CAAC;IAC5C,CAAC;IAED,OAAO,KAAK,CAAC;AACjB,CAAC;AAED,SAAS,eAAe,CAAE,QAAgB;IACtC,QAAQ,QAAQ,CAAC,IAAI,EAAE,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;QACpC,KAAK,QAAQ;YACT,OAAO,QAAQ,CAAC;QACpB,KAAK,WAAW;YACZ,OAAO,WAAW,CAAC;QACvB,KAAK,QAAQ;YACT,OAAO,QAAQ,CAAC;QACpB;YACI,OAAO,SAAS,CAAC;IACzB,CAAC;AACL,CAAC"}
|
package/package.json
CHANGED
@@ -94,7 +94,7 @@ export type ProductUploadRuleItem = {
|
|
94
94
|
export type MacroPartType = {
|
95
95
|
content: string;
|
96
96
|
type: 'macro' | 'string';
|
97
|
-
subtype?: 'mapping' | 'action' | 'metafield';
|
97
|
+
subtype?: 'mapping' | 'action' | 'metafield' |'source';
|
98
98
|
};
|
99
99
|
|
100
100
|
export type XmlFeedTemplateType = {
|