feed-common 1.77.3 → 1.77.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +7 -0
- package/dist/utils/feed-templates/template-utils.d.ts +2 -2
- package/dist/utils/feed-templates/template-utils.d.ts.map +1 -1
- package/dist/utils/feed-templates/template-utils.js +8 -8
- package/dist/utils/feed-templates/template-utils.js.map +1 -1
- package/package.json +1 -1
- package/src/utils/feed-templates/template-utils.ts +9 -9
package/CHANGELOG.md
CHANGED
@@ -1,3 +1,10 @@
|
|
1
|
+
## [1.77.4](https://github.com/advertikon/package-maxify-feed-common/compare/v1.77.3...v1.77.4) (2024-12-07)
|
2
|
+
|
3
|
+
|
4
|
+
### Bug Fixes
|
5
|
+
|
6
|
+
* fix import ([0192aa6](https://github.com/advertikon/package-maxify-feed-common/commit/0192aa6a359d38ec09a7b9d01a482cbaf8a9c338))
|
7
|
+
|
1
8
|
## [1.77.3](https://github.com/advertikon/package-maxify-feed-common/compare/v1.77.2...v1.77.3) (2024-12-07)
|
2
9
|
|
3
10
|
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { XMLFeedType } from '../../constants/profile.constants';
|
2
|
-
import { XmlFeedTemplateType } from '../../types/profile.types';
|
1
|
+
import { XMLFeedType } from '../../constants/profile.constants.js';
|
2
|
+
import { XmlFeedTemplateType } from '../../types/profile.types.js';
|
3
3
|
export declare function getTemplate(type: XMLFeedType): XmlFeedTemplateType;
|
4
4
|
//# sourceMappingURL=template-utils.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"template-utils.d.ts","sourceRoot":"","sources":["../../../src/utils/feed-templates/template-utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,
|
1
|
+
{"version":3,"file":"template-utils.d.ts","sourceRoot":"","sources":["../../../src/utils/feed-templates/template-utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,sCAAsC,CAAC;AACnE,OAAO,EAAE,mBAAmB,EAAE,MAAM,8BAA8B,CAAC;AASnE,wBAAgB,WAAW,CAAC,IAAI,EAAE,WAAW,GAAG,mBAAmB,CAmBlE"}
|
@@ -1,11 +1,11 @@
|
|
1
|
-
import { XMLFeedType } from '../../constants/profile.constants';
|
2
|
-
import { customFeedTemplate } from './custom.template';
|
3
|
-
import { eBayFeedTemplate } from './ebay.template';
|
4
|
-
import { facebookFeedTemplate } from './facebook.template';
|
5
|
-
import { googleApiTemplate } from './google-api.template';
|
6
|
-
import { googleFeedTemplate } from './google.template';
|
7
|
-
import { microsoftTemplate } from './microsoft.template';
|
8
|
-
import { tiktokFeedTemplate } from './tiktok.template';
|
1
|
+
import { XMLFeedType } from '../../constants/profile.constants.js';
|
2
|
+
import { customFeedTemplate } from './custom.template.js';
|
3
|
+
import { eBayFeedTemplate } from './ebay.template.js';
|
4
|
+
import { facebookFeedTemplate } from './facebook.template.js';
|
5
|
+
import { googleApiTemplate } from './google-api.template.js';
|
6
|
+
import { googleFeedTemplate } from './google.template.js';
|
7
|
+
import { microsoftTemplate } from './microsoft.template.js';
|
8
|
+
import { tiktokFeedTemplate } from './tiktok.template.js';
|
9
9
|
export function getTemplate(type) {
|
10
10
|
switch (type) {
|
11
11
|
case XMLFeedType.Custom:
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"template-utils.js","sourceRoot":"","sources":["../../../src/utils/feed-templates/template-utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,
|
1
|
+
{"version":3,"file":"template-utils.js","sourceRoot":"","sources":["../../../src/utils/feed-templates/template-utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,sCAAsC,CAAC;AAEnE,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AAC7D,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAC5D,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAE1D,MAAM,UAAU,WAAW,CAAC,IAAiB;IACzC,QAAQ,IAAI,EAAE,CAAC;QACX,KAAK,WAAW,CAAC,MAAM;YACnB,OAAO,kBAAkB,CAAC;QAC9B,KAAK,WAAW,CAAC,QAAQ;YACrB,OAAO,oBAAoB,CAAC;QAChC,KAAK,WAAW,CAAC,MAAM;YACnB,OAAO,kBAAkB,CAAC;QAC9B,KAAK,WAAW,CAAC,MAAM;YACnB,OAAO,kBAAkB,CAAC;QAC9B,KAAK,WAAW,CAAC,SAAS;YACtB,OAAO,iBAAiB,CAAC;QAC7B,KAAK,WAAW,CAAC,OAAO;YACpB,OAAO,iBAAiB,CAAC;QAC7B,KAAK,WAAW,CAAC,IAAI;YACjB,OAAO,gBAAgB,CAAC;QAC5B;YACI,MAAM,IAAI,KAAK,CAAC,sBAAsB,IAAI,EAAE,CAAC,CAAC;IACtD,CAAC;AACL,CAAC"}
|
package/package.json
CHANGED
@@ -1,12 +1,12 @@
|
|
1
|
-
import { XMLFeedType } from '../../constants/profile.constants';
|
2
|
-
import { XmlFeedTemplateType } from '../../types/profile.types';
|
3
|
-
import { customFeedTemplate } from './custom.template';
|
4
|
-
import { eBayFeedTemplate } from './ebay.template';
|
5
|
-
import { facebookFeedTemplate } from './facebook.template';
|
6
|
-
import { googleApiTemplate } from './google-api.template';
|
7
|
-
import { googleFeedTemplate } from './google.template';
|
8
|
-
import { microsoftTemplate } from './microsoft.template';
|
9
|
-
import { tiktokFeedTemplate } from './tiktok.template';
|
1
|
+
import { XMLFeedType } from '../../constants/profile.constants.js';
|
2
|
+
import { XmlFeedTemplateType } from '../../types/profile.types.js';
|
3
|
+
import { customFeedTemplate } from './custom.template.js';
|
4
|
+
import { eBayFeedTemplate } from './ebay.template.js';
|
5
|
+
import { facebookFeedTemplate } from './facebook.template.js';
|
6
|
+
import { googleApiTemplate } from './google-api.template.js';
|
7
|
+
import { googleFeedTemplate } from './google.template.js';
|
8
|
+
import { microsoftTemplate } from './microsoft.template.js';
|
9
|
+
import { tiktokFeedTemplate } from './tiktok.template.js';
|
10
10
|
|
11
11
|
export function getTemplate(type: XMLFeedType): XmlFeedTemplateType {
|
12
12
|
switch (type) {
|