feed-common 1.77.6 → 1.77.7
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/constants/profile.constants.d.ts +1 -0
- package/dist/constants/profile.constants.d.ts.map +1 -1
- package/dist/constants/profile.constants.js +7 -0
- package/dist/constants/profile.constants.js.map +1 -1
- package/dist/sources/ebay-site.source.d.ts +5 -0
- package/dist/sources/ebay-site.source.d.ts.map +1 -0
- package/dist/sources/ebay-site.source.js +24 -0
- package/dist/sources/ebay-site.source.js.map +1 -0
- package/dist/utils/feed-templates/ebay.template.d.ts.map +1 -1
- package/dist/utils/feed-templates/ebay.template.js +385 -134
- package/dist/utils/feed-templates/ebay.template.js.map +1 -1
- package/dist/utils/profile.d.ts.map +1 -1
- package/dist/utils/profile.js +4 -1
- package/dist/utils/profile.js.map +1 -1
- package/package.json +1 -1
- package/src/constants/profile.constants.ts +7 -0
- package/src/sources/ebay-site.source.ts +23 -0
- package/src/utils/feed-templates/ebay.template.ts +395 -142
- package/src/utils/profile.ts +4 -0
package/src/utils/profile.ts
CHANGED
@@ -26,6 +26,7 @@ import {
|
|
26
26
|
SOURCE_EBAY_LISTING_TYPE,
|
27
27
|
SOURCE_EBAY_MEASUREMENT_UNITS,
|
28
28
|
SOURCE_EBAY_PAID_BY_COST,
|
29
|
+
SOURCE_EBAY_SITE,
|
29
30
|
SOURCE_EBAY_YES_NO,
|
30
31
|
SOURCE_ENERGY_EFFICIENCY,
|
31
32
|
SOURCE_FB_AGE_GROUP,
|
@@ -77,6 +78,7 @@ import { EbayInternationalRefundOptionsSource } from '../sources/ebay-refund-opt
|
|
77
78
|
import { EbayInternationalReturnsAcceptedSource } from '../sources/ebay-returns-accepted.source.js';
|
78
79
|
import { EbayPaidByCostSource } from '../sources/ebay-paid-by-cost.source.js';
|
79
80
|
import { EbayMeasurementUnitsSource } from '../sources/ebay-measurement-units.source.js';
|
81
|
+
import { EBaySiteSource } from '../sources/ebay-site.source.js';
|
80
82
|
|
81
83
|
/**
|
82
84
|
* Check for rules duplication
|
@@ -437,6 +439,8 @@ export function resolveSourceValue(source: string): SelectItem[] | null {
|
|
437
439
|
return EbayPaidByCostSource;
|
438
440
|
case SOURCE_EBAY_MEASUREMENT_UNITS:
|
439
441
|
return EbayMeasurementUnitsSource;
|
442
|
+
case SOURCE_EBAY_SITE:
|
443
|
+
return EBaySiteSource;
|
440
444
|
default:
|
441
445
|
return null;
|
442
446
|
}
|