feed-common 1.40.3 → 1.41.1
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +15 -0
- package/dist/constants/profile.constants.d.ts +3 -2
- package/dist/constants/profile.constants.d.ts.map +1 -1
- package/dist/constants/profile.constants.js +10 -9
- package/dist/constants/profile.constants.js.map +1 -1
- package/dist/types/profile.types.d.ts +9 -1
- package/dist/types/profile.types.d.ts.map +1 -1
- package/dist/utils/profile.d.ts +2 -0
- package/dist/utils/profile.d.ts.map +1 -1
- package/dist/utils/profile.js +16 -1
- package/dist/utils/profile.js.map +1 -1
- package/package.json +1 -1
- package/src/constants/profile.constants.ts +11 -10
- package/src/types/profile.types.ts +9 -1
- package/src/utils/profile.ts +21 -1
package/CHANGELOG.md
CHANGED
@@ -1,3 +1,18 @@
|
|
1
|
+
## [1.41.1](https://github.com/advertikon/package-maxify-feed-common/compare/v1.41.0...v1.41.1) (2024-08-25)
|
2
|
+
|
3
|
+
|
4
|
+
### Bug Fixes
|
5
|
+
|
6
|
+
* extend XmlFeed with stats ([6f5a593](https://github.com/advertikon/package-maxify-feed-common/commit/6f5a5933311db2caf2f11ab67ce443b7f0b24987))
|
7
|
+
|
8
|
+
# [1.41.0](https://github.com/advertikon/package-maxify-feed-common/compare/v1.40.3...v1.41.0) (2024-08-25)
|
9
|
+
|
10
|
+
|
11
|
+
### Features
|
12
|
+
|
13
|
+
* add ANY to MappingSourceValueType ([6f87509](https://github.com/advertikon/package-maxify-feed-common/commit/6f87509eb26e474372e2d2063f8d54d9c7817147))
|
14
|
+
* change MappingSourceActionType type to scalar ([ceb9b3b](https://github.com/advertikon/package-maxify-feed-common/commit/ceb9b3b3fa0b76191e2e0037d7b6d28e28181565))
|
15
|
+
|
1
16
|
## [1.40.3](https://github.com/advertikon/package-maxify-feed-common/compare/v1.40.2...v1.40.3) (2024-08-22)
|
2
17
|
|
3
18
|
|
@@ -137,7 +137,7 @@ export declare const ProductUploadRuleFilters: ProductUploadRuleFilterType[];
|
|
137
137
|
export type MappingSourceActionType = {
|
138
138
|
label: string;
|
139
139
|
description?: string;
|
140
|
-
type: MappingSourceValueType
|
140
|
+
type: MappingSourceValueType;
|
141
141
|
value: string;
|
142
142
|
isUnary?: boolean;
|
143
143
|
};
|
@@ -145,7 +145,8 @@ export declare enum MappingSourceValueType {
|
|
145
145
|
STRING = "string",
|
146
146
|
FLOAT = "float",
|
147
147
|
INT = "int",
|
148
|
-
BOOLEAN = "boolean"
|
148
|
+
BOOLEAN = "boolean",
|
149
|
+
ANY = "any"
|
149
150
|
}
|
150
151
|
export declare const ACTION_UPPERCASE = "action.uppercase";
|
151
152
|
export declare const ACTION_LOWERCASE = "action.lowercase";
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"profile.constants.d.ts","sourceRoot":"","sources":["../../src/constants/profile.constants.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,2BAA2B,EAAE,MAAM,2BAA2B,CAAC;AAEhG,eAAO,MAAM,cAAc,kBAAkB,CAAC;AAC9C,eAAO,MAAM,WAAW,eAAe,CAAC;AACxC,eAAO,MAAM,mBAAmB,wBAAwB,CAAC;AACzD,eAAO,MAAM,kBAAkB,sBAAsB,CAAC;AACtD,eAAO,MAAM,eAAe,oBAAoB,CAAC;AACjD,eAAO,MAAM,sBAAsB,2BAA2B,CAAC;AAC/D,eAAO,MAAM,cAAc,mBAAmB,CAAC;AAE/C,eAAO,MAAM,aAAa,iBAAiB,CAAC;AAE5C,oBAAY,eAAe;IACvB,QAAQ,aAAa;IACrB,YAAY,gBAAgB;IAC5B,MAAM,WAAW;IACjB,UAAU,cAAc;IACxB,WAAW,eAAe;IAC1B,eAAe,kBAAkB;IACjC,SAAS,aAAa;IACtB,aAAa,gBAAgB;IAC7B,EAAE,OAAO;IACT,MAAM,UAAU;IAChB,IAAI,SAAS;IACb,OAAO,YAAY;IACnB,aAAa,gBAAgB;IAC7B,gBAAgB,mBAAmB;IACnC,KAAK,UAAU;IACf,SAAS,aAAa;CACzB;AAED,oBAAY,gBAAgB;IACxB,KAAK,UAAU;IACf,UAAU,eAAe;IACzB,YAAY,iBAAiB;IAC7B,MAAM,WAAW;IACjB,GAAG,QAAQ;IACX,gBAAgB,qBAAqB;IACrC,kBAAkB,uBAAuB;IACzC,KAAK,UAAU;CAClB;AAED,oBAAY,kBAAkB;IAC1B,gBAAgB,oBAAoB;IACpC,cAAc,kBAAkB;IAChC,KAAK,UAAU;IACf,SAAS,aAAa;IACtB,YAAY,iBAAiB;IAC7B,KAAK,UAAU;IACf,MAAM,WAAW;IACjB,uBAAuB,0BAA0B;IACjD,IAAI,SAAS;IACb,GAAG,QAAQ;IACX,qBAAqB,yBAAyB;IAC9C,cAAc,kBAAkB;CACnC;AAED,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiEzB,CAAC;AAEF,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;CAsBvC,CAAC;AAEF,eAAO,MAAM,wBAAwB,EAAE,2BAA2B,EA6CjE,CAAC;AAEF,MAAM,MAAM,uBAAuB,GAAG;IAClC,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,IAAI,EAAE,sBAAsB,
|
1
|
+
{"version":3,"file":"profile.constants.d.ts","sourceRoot":"","sources":["../../src/constants/profile.constants.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,2BAA2B,EAAE,MAAM,2BAA2B,CAAC;AAEhG,eAAO,MAAM,cAAc,kBAAkB,CAAC;AAC9C,eAAO,MAAM,WAAW,eAAe,CAAC;AACxC,eAAO,MAAM,mBAAmB,wBAAwB,CAAC;AACzD,eAAO,MAAM,kBAAkB,sBAAsB,CAAC;AACtD,eAAO,MAAM,eAAe,oBAAoB,CAAC;AACjD,eAAO,MAAM,sBAAsB,2BAA2B,CAAC;AAC/D,eAAO,MAAM,cAAc,mBAAmB,CAAC;AA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,+BAA+B,CAAC;AAC9E,eAAO,MAAM,qBAAqB,mBAAmB,CAAC;AACtD,eAAO,MAAM,0BAA0B,wBAAwB,CAAC;AAChE,eAAO,MAAM,0BAA0B,wBAAwB,CAAC;AAChE,eAAO,MAAM,2BAA2B,yBAAyB,CAAC;AAClE,eAAO,MAAM,4BAA4B,0BAA0B,CAAC;AACpE,eAAO,MAAM,0BAA0B,wBAAwB,CAAC;AAChE,eAAO,MAAM,+BAA+B,6BAA6B,CAAC;AAE1E,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuChC,CAAC;AAEF,eAAO,MAAM,qBAAqB,EAAE,sBAAsB,EAgJzD,CAAC;AACF,eAAO,MAAM,OAAO,WAAW,CAAC;AAChC,eAAO,MAAM,uBAAuB,8BAA8B,CAAC;AACnE,eAAO,MAAM,sBAAsB,UAAsD,CAAC;AAE1F,oBAAY,aAAa;IACrB,GAAG,QAAQ;IACX,GAAG,QAAQ;IACX,GAAG,QAAQ;IACX,IAAI,SAAS;IACb,GAAG,QAAQ;CACd;AAED,oBAAY,WAAW;IACnB,MAAM,WAAW;IACjB,OAAO,YAAY;IACnB,QAAQ,aAAa;IACrB,MAAM,WAAW;IACjB,MAAM,WAAW;CACpB"}
|
@@ -192,6 +192,7 @@ export var MappingSourceValueType;
|
|
192
192
|
MappingSourceValueType["FLOAT"] = "float";
|
193
193
|
MappingSourceValueType["INT"] = "int";
|
194
194
|
MappingSourceValueType["BOOLEAN"] = "boolean";
|
195
|
+
MappingSourceValueType["ANY"] = "any";
|
195
196
|
})(MappingSourceValueType || (MappingSourceValueType = {}));
|
196
197
|
export const ACTION_UPPERCASE = 'action.uppercase';
|
197
198
|
export const ACTION_LOWERCASE = 'action.lowercase';
|
@@ -207,35 +208,35 @@ export const MappingSourceActions = [
|
|
207
208
|
{
|
208
209
|
label: 'Uppercase',
|
209
210
|
description: 'Convert all words to uppercase',
|
210
|
-
type:
|
211
|
+
type: MappingSourceValueType.STRING,
|
211
212
|
value: ACTION_UPPERCASE,
|
212
213
|
isUnary: true,
|
213
214
|
},
|
214
215
|
{
|
215
216
|
label: 'Lowercase',
|
216
217
|
description: 'Convert all words to lowercase',
|
217
|
-
type:
|
218
|
+
type: MappingSourceValueType.STRING,
|
218
219
|
value: ACTION_LOWERCASE,
|
219
220
|
isUnary: true,
|
220
221
|
},
|
221
222
|
{
|
222
223
|
label: 'Trim',
|
223
224
|
description: 'Remove leading and trailing whitespace',
|
224
|
-
type:
|
225
|
+
type: MappingSourceValueType.STRING,
|
225
226
|
value: ACTION_TRIM,
|
226
227
|
isUnary: true,
|
227
228
|
},
|
228
229
|
{
|
229
230
|
label: 'Capitalize',
|
230
231
|
description: 'Capitalize the first letter of each word',
|
231
|
-
type:
|
232
|
+
type: MappingSourceValueType.STRING,
|
232
233
|
value: ACTION_CAPITALIZE,
|
233
234
|
isUnary: true,
|
234
235
|
},
|
235
236
|
{
|
236
237
|
label: 'Title Case',
|
237
238
|
description: 'Convert the first letter of each word to uppercase',
|
238
|
-
type:
|
239
|
+
type: MappingSourceValueType.STRING,
|
239
240
|
value: ACTION_TITLE_CASE,
|
240
241
|
isUnary: true,
|
241
242
|
},
|
@@ -249,28 +250,28 @@ export const MappingSourceActions = [
|
|
249
250
|
{
|
250
251
|
label: 'Add',
|
251
252
|
description: 'Add a value to the current value',
|
252
|
-
type:
|
253
|
+
type: MappingSourceValueType.FLOAT,
|
253
254
|
value: ACTION_ADD,
|
254
255
|
isUnary: false,
|
255
256
|
},
|
256
257
|
{
|
257
258
|
label: 'Subtract',
|
258
259
|
description: 'Subtract a value from the current value',
|
259
|
-
type:
|
260
|
+
type: MappingSourceValueType.FLOAT,
|
260
261
|
value: ACTION_SUBTRACT,
|
261
262
|
isUnary: false,
|
262
263
|
},
|
263
264
|
{
|
264
265
|
label: 'Multiply by',
|
265
266
|
description: 'Multiply the current value by a value',
|
266
|
-
type:
|
267
|
+
type: MappingSourceValueType.FLOAT,
|
267
268
|
value: ACTION_MULTIPLY,
|
268
269
|
isUnary: false,
|
269
270
|
},
|
270
271
|
{
|
271
272
|
label: 'Divide by',
|
272
273
|
description: 'Divide the current value by a value',
|
273
|
-
type:
|
274
|
+
type: MappingSourceValueType.FLOAT,
|
274
275
|
value: ACTION_DIVIDE,
|
275
276
|
isUnary: false,
|
276
277
|
},
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"profile.constants.js","sourceRoot":"","sources":["../../src/constants/profile.constants.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,cAAc,GAAG,eAAe,CAAC;AAC9C,MAAM,CAAC,MAAM,WAAW,GAAG,YAAY,CAAC;AACxC,MAAM,CAAC,MAAM,mBAAmB,GAAG,qBAAqB,CAAC;AACzD,MAAM,CAAC,MAAM,kBAAkB,GAAG,mBAAmB,CAAC;AACtD,MAAM,CAAC,MAAM,eAAe,GAAG,iBAAiB,CAAC;AACjD,MAAM,CAAC,MAAM,sBAAsB,GAAG,wBAAwB,CAAC;AAC/D,MAAM,CAAC,MAAM,cAAc,GAAG,gBAAgB,CAAC;AAE/C,MAAM,CAAC,MAAM,aAAa,GAAG,cAAc,CAAC;AAE5C,MAAM,CAAN,IAAY,eAiBX;AAjBD,WAAY,eAAe;IACvB,wCAAqB,CAAA;IACrB,+CAA4B,CAAA;IAC5B,oCAAiB,CAAA;IACjB,2CAAwB,CAAA;IACxB,6CAA0B,CAAA;IAC1B,oDAAiC,CAAA;IACjC,yCAAsB,CAAA;IACtB,gDAA6B,CAAA;IAC7B,4BAAS,CAAA;IACT,mCAAgB,CAAA;IAChB,gCAAa,CAAA;IACb,sCAAmB,CAAA;IACnB,gDAA6B,CAAA;IAC7B,sDAAmC,CAAA;IACnC,kCAAe,CAAA;IACf,yCAAsB,CAAA;AAC1B,CAAC,EAjBW,eA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rB,gCAAiB,CAAA;IACjB,gCAAiB,CAAA;AACrB,CAAC,EANW,WAAW,KAAX,WAAW,QAMtB"}
|
1
|
+
{"version":3,"file":"profile.constants.js","sourceRoot":"","sources":["../../src/constants/profile.constants.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,cAAc,GAAG,eAAe,CAAC;AAC9C,MAAM,CAAC,MAAM,WAAW,GAAG,YAAY,CAAC;AACxC,MAAM,CAAC,MAAM,mBAAmB,GAAG,qBAAqB,CAAC;AACzD,MAAM,CAAC,MAAM,kBAAkB,GAAG,mBAAmB,CAAC;AACtD,MAAM,CAAC,MAAM,eAAe,GAAG,iBAAiB,CAAC;AACjD,MAAM,CAAC,MAAM,sBAAsB,GAAG,wBAAwB,CAAC;AAC/D,MAAM,CAAC,MAAM,cAAc,GAAG,gBAAgB,CAAC;AAE/C,MAAM,CAAC,MAAM,aAAa,GAAG,cAAc,CAAC;AAE5C,MAAM,CAAN,IAAY,eAiBX;AAjBD,WAAY,eAAe;IACvB,wCAAqB,CAAA;IACrB,+CAA4B,CAAA;IAC5B,oCAAiB,CAAA;IACjB,2CAAwB,CAAA;IACxB,6CAA0B,CAAA;IAC1B,oDAAiC,CAAA;IACjC,yCAAsB,CAAA;IACtB,gDAA6B,CAAA;IAC7B,4BAAS,CAAA;IACT,mCAAgB,CAAA;IAChB,gCAAa,CAAA;IACb,sCAAmB,CAAA;IACnB,gDAA6B,CAAA;IAC7B,sDAAmC,CAAA;IACnC,kCAAe,CAAA;IACf,yCAAsB,CAAA;AAC1B,CAAC,EAjBW,eAAe,KAAf,eAAe,QAiB1B;AAED,MAAM,CAAN,IAAY,gBASX;AATD,WAAY,gBAAgB;IACxB,mCAAe,CAAA;IACf,6CAAyB,CAAA;IACzB,iDAA6B,CAAA;IAC7B,qCAAiB,CAAA;IACjB,+BAAW,CAAA;IACX,yDAAqC,CAAA;IACrC,6DAAyC,CAAA;IACzC,mCAAe,CAAA;AACnB,CAAC,EATW,gBAAgB,KAAh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,QAAQ,EAAE,EAAE,EAAE;QACvB,WAAW;QACP,mCAAmC;QACnC,6GAA6G;KACpH;IACD;QACI,QAAQ,EAAE,KAAK;QACf,KAAK,EAAE,gBAAgB;QACvB,SAAS,EAAE,kBAAkB,CAAC,cAAc;QAC5C,IAAI,EAAE,MAAM;QACZ,KAAK,EAAE,EAAE,QAAQ,EAAE,EAAE,EAAE;QACvB,WAAW,EAAE,0FAA0F;KAC1G;CACJ,CAAC;AACF,MAAM,CAAC,MAAM,OAAO,GAAG,QAAQ,CAAC;AAChC,MAAM,CAAC,MAAM,uBAAuB,GAAG,2BAA2B,CAAC;AACnE,MAAM,CAAC,MAAM,sBAAsB,GAAG,CAAC,YAAY,EAAE,YAAY,EAAE,SAAS,EAAE,UAAU,CAAC,CAAC;AAE1F,MAAM,CAAN,IAAY,aAMX;AAND,WAAY,aAAa;IACrB,4BAAW,CAAA;IACX,4BAAW,CAAA;IACX,4BAAW,CAAA;IACX,8BAAa,CAAA;IACb,4BAAW,CAAA;AACf,CAAC,EANW,aAAa,KAAb,aAAa,QAMxB;AAED,MAAM,CAAN,IAAY,WAMX;AAND,WAAY,WAAW;IACnB,gCAAiB,CAAA;IACjB,kCAAmB,CAAA;IACnB,oCAAqB,CAAA;IACrB,gCAAiB,CAAA;IACjB,gCAAiB,CAAA;AACrB,CAAC,EANW,WAAW,KAAX,WAAW,QAMtB"}
|
@@ -55,7 +55,15 @@ export type BaseProductUploadProfile = {
|
|
55
55
|
export type ProductUploadProfile = BaseProductUploadProfile & {
|
56
56
|
profileIdTemplate: string;
|
57
57
|
};
|
58
|
-
export type XmlFeed = BaseProductUploadProfile
|
58
|
+
export type XmlFeed = BaseProductUploadProfile & {
|
59
|
+
stats: {
|
60
|
+
total_product_count: number;
|
61
|
+
uploaded_products_count: number;
|
62
|
+
failed_products_count: number;
|
63
|
+
last_uploaded_at: Date;
|
64
|
+
};
|
65
|
+
total_uploads_number: number;
|
66
|
+
};
|
59
67
|
export type ProductUploadRules = {
|
60
68
|
sections: ProductUploadRuleSection[];
|
61
69
|
};
|
@@ -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,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,GAAG,MAAM,EAAE,GAAG,MAAM,GAAG,OAAO,CAAC;AACxE,MAAM,MAAM,cAAc,GAAG;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,SAAS,CAAA;CAAE,CAAC;AACjE,MAAM,MAAM,eAAe,GAAG;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,cAAc,EAAE,CAAA;CAAE,CAAC;AAC3E,MAAM,MAAM,UAAU,GAAG,cAAc,GAAG,eAAe,GAAG,MAAM,CAAC;AACnE,MAAM,MAAM,sBAAsB,GAAG;IACjC,QAAQ,EAAE,OAAO,CAAC;IAClB,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,MAAM,CAAC;IAClB,IAAI,EAAE,QAAQ,GA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ACX,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,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,OAAO,EAAE,sBAAsB,EAAE,CAAC;CACrC,CAAC"}
|
package/dist/utils/profile.d.ts
CHANGED
@@ -1,4 +1,5 @@
|
|
1
1
|
import { OptionType, OptionTypeItem, OptionTypeGroup, ProductUploadProfile, ProductUploadMapping, ProductUploadRuleFilterType, RuleOperatorsType, ProductUploadRuleItem, ProductUploadRuleSection, ProductUploadRules } from '../types/profile.types.js';
|
2
|
+
import { MappingSourceValueType } from '../constants/profile.constants.js';
|
2
3
|
/**
|
3
4
|
* Check for rules duplication
|
4
5
|
* @param rules
|
@@ -39,4 +40,5 @@ export declare function detectProfileChange(a: ProductUploadProfile, b: ProductU
|
|
39
40
|
id: boolean;
|
40
41
|
};
|
41
42
|
export declare function sanitizeUploadProfile(profile: ProductUploadProfile): ProductUploadProfile;
|
43
|
+
export declare function variableType(values: MappingSourceValueType[]): MappingSourceValueType;
|
42
44
|
//# sourceMappingURL=profile.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"profile.d.ts","sourceRoot":"","sources":["../../src/utils/profile.ts"],"names":[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C,CAAC,EAAE,oBAAoB,EAAE,EAAE,CAAC,EAAE,oBAAoB,EAAE,GAAG,OAAO,CA6B7F;AAED,wBAAgB,cAAc,CAAC,MAAM,EAAE,UAAU,GAAG,MAAM,IAAI,MAAM,CAEnE;AAED,wBAAgB,YAAY,CAAC,MAAM,EAAE,UAAU,GAAG,MAAM,IAAI,cAAc,CAEzE;AAED,wBAAgB,aAAa,CAAC,MAAM,EAAE,UAAU,GAAG,MAAM,IAAI,eAAe,CAE3E;AAED,wBAAgB,mBAAmB,CAC/B,CAAC,EAAE,oBAAoB,EACvB,CAAC,EAAE,oBAAoB,GACxB;IAAE,IAAI,EAAE,OAAO,CAAC;IAAC,KAAK,EAAE,OAAO,CAAC;IAAC,QAAQ,EAAE,OAAO,CAAC;IAAC,EAAE,EAAE,OAAO,CAAA;CAAE,CAkCnE;AAED,wBAAgB,qBAAqB,CAAC,OAAO,EAAE,oBAAoB,GAAG,oBAAoB,CAczF;AAED,wBAAgB,YAAY,CAAC,MAAM,EAAE,sBAAsB,EAAE,GAAG,sBAAsB,CAkBrF"}
|
package/dist/utils/profile.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import { ProductUploadMappings, RULES_OPERATORS } from '../constants/profile.constants.js';
|
1
|
+
import { MappingSourceValueType, ProductUploadMappings, RULES_OPERATORS } from '../constants/profile.constants.js';
|
2
2
|
import { code } from './utils.js';
|
3
3
|
/**
|
4
4
|
* Check for rules duplication
|
@@ -248,4 +248,19 @@ export function sanitizeUploadProfile(profile) {
|
|
248
248
|
});
|
249
249
|
return profile;
|
250
250
|
}
|
251
|
+
export function variableType(values) {
|
252
|
+
if (values.some(v => v === MappingSourceValueType.STRING)) {
|
253
|
+
return MappingSourceValueType.STRING;
|
254
|
+
}
|
255
|
+
if (values.some(v => v === MappingSourceValueType.BOOLEAN)) {
|
256
|
+
return MappingSourceValueType.BOOLEAN;
|
257
|
+
}
|
258
|
+
if (values.some(v => v === MappingSourceValueType.INT)) {
|
259
|
+
return MappingSourceValueType.INT;
|
260
|
+
}
|
261
|
+
if (values.some(v => v === MappingSourceValueType.FLOAT)) {
|
262
|
+
return MappingSourceValueType.FLOAT;
|
263
|
+
}
|
264
|
+
return MappingSourceValueType.ANY;
|
265
|
+
}
|
251
266
|
//# sourceMappingURL=profile.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"profile.js","sourceRoot":"","sources":["../../src/utils/profile.ts"],"names":[],"mappings":"AAaA,OAAO,EAAE,qBAAqB,EAAE,eAAe,EAAE,MAAM,mCAAmC,CAAC;AAC3F,OAAO,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AAElC;;;;GAIG;AACH,MAAM,UAAU,oBAAoB,CAAC,KAA8B;IAC/D,OAAO,KAAK;SACP,GAAG,CAAC,CAAC,CAAC,EAAE;QACL,KAAK,MAAM,IAAI,IAAI,KAAK,EAAE,CAAC;YACvB,IACI,CAAC,CAAC,EAAE,KAAK,IAAI,CAAC,EAAE;gBAChB,CAAC,CAAC,SAAS,KAAK,IAAI,CAAC,SAAS;gBAC9B,CAAC,CAAC,QAAQ,KAAK,IAAI,CAAC,QAAQ;gBAC5B,CAAC,CAAC,KAAK,KAAK,IAAI,CAAC,KAAK,EACxB,CAAC;gBACC,OAAO,CAAC,CAAC,EAAE,CAAC;YAChB,CAAC;QACL,CAAC;QACD,OAAO,IAAI,CAAC;IAChB,CAAC,CAAC;SACD,MAAM,CAAC,OAAO,CAAa,CAAC;AACrC,CAAC;AAED;;;;GAIG;AACH,MAAM,UAAU,mBAAmB,CAAC,KAA8B;IAC9D,OAAO,KAAK;SACP,GAAG,CAAC,CAAC,CAAC,EAAE;QACL,KAAK,MAAM,IAAI,IAAI,KAAK,EAAE,CAAC;YACvB,IAAI,WAAW,CAAC,CAAC,EAAE,IAAI,CAAC,EAAE,CAAC;gBACvB,OAAO,CAAC,CAAC,EAAE,CAAC;YAChB,CAAC;QACL,CAAC;QACD,OAAO,IAAI,CAAC;IAChB,CAAC,CAAC;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= [
|
|
196
196
|
export type MappingSourceActionType = {
|
197
197
|
label: string;
|
198
198
|
description?: string;
|
199
|
-
type: MappingSourceValueType
|
199
|
+
type: MappingSourceValueType;
|
200
200
|
value: string;
|
201
201
|
isUnary?: boolean;
|
202
202
|
};
|
@@ -206,6 +206,7 @@ export enum MappingSourceValueType {
|
|
206
206
|
FLOAT = 'float',
|
207
207
|
INT = 'int',
|
208
208
|
BOOLEAN = 'boolean',
|
209
|
+
ANY = 'any',
|
209
210
|
}
|
210
211
|
|
211
212
|
export const ACTION_UPPERCASE = 'action.uppercase';
|
@@ -223,35 +224,35 @@ export const MappingSourceActions: MappingSourceActionType[] = [
|
|
223
224
|
{
|
224
225
|
label: 'Uppercase',
|
225
226
|
description: 'Convert all words to uppercase',
|
226
|
-
type:
|
227
|
+
type: MappingSourceValueType.STRING,
|
227
228
|
value: ACTION_UPPERCASE,
|
228
229
|
isUnary: true,
|
229
230
|
},
|
230
231
|
{
|
231
232
|
label: 'Lowercase',
|
232
233
|
description: 'Convert all words to lowercase',
|
233
|
-
type:
|
234
|
+
type: MappingSourceValueType.STRING,
|
234
235
|
value: ACTION_LOWERCASE,
|
235
236
|
isUnary: true,
|
236
237
|
},
|
237
238
|
{
|
238
239
|
label: 'Trim',
|
239
240
|
description: 'Remove leading and trailing whitespace',
|
240
|
-
type:
|
241
|
+
type: MappingSourceValueType.STRING,
|
241
242
|
value: ACTION_TRIM,
|
242
243
|
isUnary: true,
|
243
244
|
},
|
244
245
|
{
|
245
246
|
label: 'Capitalize',
|
246
247
|
description: 'Capitalize the first letter of each word',
|
247
|
-
type:
|
248
|
+
type: MappingSourceValueType.STRING,
|
248
249
|
value: ACTION_CAPITALIZE,
|
249
250
|
isUnary: true,
|
250
251
|
},
|
251
252
|
{
|
252
253
|
label: 'Title Case',
|
253
254
|
description: 'Convert the first letter of each word to uppercase',
|
254
|
-
type:
|
255
|
+
type: MappingSourceValueType.STRING,
|
255
256
|
value: ACTION_TITLE_CASE,
|
256
257
|
isUnary: true,
|
257
258
|
},
|
@@ -265,28 +266,28 @@ export const MappingSourceActions: MappingSourceActionType[] = [
|
|
265
266
|
{
|
266
267
|
label: 'Add',
|
267
268
|
description: 'Add a value to the current value',
|
268
|
-
type:
|
269
|
+
type: MappingSourceValueType.FLOAT,
|
269
270
|
value: ACTION_ADD,
|
270
271
|
isUnary: false,
|
271
272
|
},
|
272
273
|
{
|
273
274
|
label: 'Subtract',
|
274
275
|
description: 'Subtract a value from the current value',
|
275
|
-
type:
|
276
|
+
type: MappingSourceValueType.FLOAT,
|
276
277
|
value: ACTION_SUBTRACT,
|
277
278
|
isUnary: false,
|
278
279
|
},
|
279
280
|
{
|
280
281
|
label: 'Multiply by',
|
281
282
|
description: 'Multiply the current value by a value',
|
282
|
-
type:
|
283
|
+
type: MappingSourceValueType.FLOAT,
|
283
284
|
value: ACTION_MULTIPLY,
|
284
285
|
isUnary: false,
|
285
286
|
},
|
286
287
|
{
|
287
288
|
label: 'Divide by',
|
288
289
|
description: 'Divide the current value by a value',
|
289
|
-
type:
|
290
|
+
type: MappingSourceValueType.FLOAT,
|
290
291
|
value: ACTION_DIVIDE,
|
291
292
|
isUnary: false,
|
292
293
|
},
|
@@ -66,7 +66,15 @@ export type ProductUploadProfile = BaseProductUploadProfile & {
|
|
66
66
|
profileIdTemplate: string;
|
67
67
|
};
|
68
68
|
|
69
|
-
export type XmlFeed = BaseProductUploadProfile
|
69
|
+
export type XmlFeed = BaseProductUploadProfile & {
|
70
|
+
stats: {
|
71
|
+
total_product_count: number;
|
72
|
+
uploaded_products_count: number;
|
73
|
+
failed_products_count: number;
|
74
|
+
last_uploaded_at: Date;
|
75
|
+
};
|
76
|
+
total_uploads_number: number;
|
77
|
+
};
|
70
78
|
|
71
79
|
export type ProductUploadRules = {
|
72
80
|
sections: ProductUploadRuleSection[];
|
package/src/utils/profile.ts
CHANGED
@@ -11,7 +11,7 @@ import {
|
|
11
11
|
ProductUploadRuleSection,
|
12
12
|
ProductUploadRules,
|
13
13
|
} from '../types/profile.types.js';
|
14
|
-
import { ProductUploadMappings, RULES_OPERATORS } from '../constants/profile.constants.js';
|
14
|
+
import { MappingSourceValueType, ProductUploadMappings, RULES_OPERATORS } from '../constants/profile.constants.js';
|
15
15
|
import { code } from './utils.js';
|
16
16
|
|
17
17
|
/**
|
@@ -324,3 +324,23 @@ export function sanitizeUploadProfile(profile: ProductUploadProfile): ProductUpl
|
|
324
324
|
|
325
325
|
return profile;
|
326
326
|
}
|
327
|
+
|
328
|
+
export function variableType(values: MappingSourceValueType[]): MappingSourceValueType {
|
329
|
+
if (values.some(v => v === MappingSourceValueType.STRING)) {
|
330
|
+
return MappingSourceValueType.STRING;
|
331
|
+
}
|
332
|
+
|
333
|
+
if (values.some(v => v === MappingSourceValueType.BOOLEAN)) {
|
334
|
+
return MappingSourceValueType.BOOLEAN;
|
335
|
+
}
|
336
|
+
|
337
|
+
if (values.some(v => v === MappingSourceValueType.INT)) {
|
338
|
+
return MappingSourceValueType.INT;
|
339
|
+
}
|
340
|
+
|
341
|
+
if (values.some(v => v === MappingSourceValueType.FLOAT)) {
|
342
|
+
return MappingSourceValueType.FLOAT;
|
343
|
+
}
|
344
|
+
|
345
|
+
return MappingSourceValueType.ANY;
|
346
|
+
}
|