@edirect/template 1.2.4 → 1.4.0
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/README.md
CHANGED
|
@@ -423,6 +423,125 @@ console.log(result);
|
|
|
423
423
|
// }
|
|
424
424
|
```
|
|
425
425
|
|
|
426
|
+
### Example with arrays + ignoreIndexs
|
|
427
|
+
|
|
428
|
+
`Note`: When it comes to arrays mapper, we need to have in mind that is required use this two keys: arraySource and arrayTemplate.
|
|
429
|
+
|
|
430
|
+
- `arraySource`: source path where the engine will seek the information to mapper
|
|
431
|
+
- `arrayTemplate`: template that will be used for each object within the array
|
|
432
|
+
- `ignoreIndexs`: array with the index position that must be ignore
|
|
433
|
+
|
|
434
|
+
##### File name: baseTransformers.ts
|
|
435
|
+
|
|
436
|
+
```javascript
|
|
437
|
+
import { ITransformer, ITransformerParams } from "@edirect/template";
|
|
438
|
+
|
|
439
|
+
const upperCase = ({ value }: ITransformerParams): string | null => {
|
|
440
|
+
return value ? String(value).toUpperCase() : null;
|
|
441
|
+
};
|
|
442
|
+
|
|
443
|
+
const transformers: ITransformer = {
|
|
444
|
+
upperCase,
|
|
445
|
+
};
|
|
446
|
+
|
|
447
|
+
export default transformers;
|
|
448
|
+
```
|
|
449
|
+
|
|
450
|
+
##### File name: index.ts
|
|
451
|
+
|
|
452
|
+
```javascript
|
|
453
|
+
import { TemplateModule } from "@edirect/template";
|
|
454
|
+
import baseTransformers from "./baseTransformers";
|
|
455
|
+
|
|
456
|
+
const template = {
|
|
457
|
+
quote: {
|
|
458
|
+
orders: {
|
|
459
|
+
arraySource: "order",
|
|
460
|
+
arrayTemplate: {
|
|
461
|
+
value: "value",
|
|
462
|
+
date: "date",
|
|
463
|
+
products: {
|
|
464
|
+
arraySource: "products",
|
|
465
|
+
arrayTemplate: {
|
|
466
|
+
id: "id",
|
|
467
|
+
value: "value",
|
|
468
|
+
description: {
|
|
469
|
+
fields: ["description"],
|
|
470
|
+
transformer: "upperCase",
|
|
471
|
+
defaultValue: "Default description",
|
|
472
|
+
},
|
|
473
|
+
categories: "categories",
|
|
474
|
+
},
|
|
475
|
+
ignoreIndexs: [0]
|
|
476
|
+
},
|
|
477
|
+
},
|
|
478
|
+
},
|
|
479
|
+
},
|
|
480
|
+
};
|
|
481
|
+
|
|
482
|
+
const dataSource = {
|
|
483
|
+
order: [
|
|
484
|
+
{
|
|
485
|
+
value: 1000.0,
|
|
486
|
+
date: "2000-01-01",
|
|
487
|
+
products: [
|
|
488
|
+
{
|
|
489
|
+
id: "id-test-1",
|
|
490
|
+
value: 1000,
|
|
491
|
+
description: "description-test 1",
|
|
492
|
+
categories: ["category-1"],
|
|
493
|
+
},
|
|
494
|
+
{
|
|
495
|
+
id: "id-test-2",
|
|
496
|
+
value: 2000,
|
|
497
|
+
description: "description-test 2",
|
|
498
|
+
categories: ["category-1", "category-2"],
|
|
499
|
+
},
|
|
500
|
+
{
|
|
501
|
+
id: "id-test-3",
|
|
502
|
+
value: 3000,
|
|
503
|
+
categories: ["category-1", "category-2", "category-3"],
|
|
504
|
+
},
|
|
505
|
+
],
|
|
506
|
+
},
|
|
507
|
+
],
|
|
508
|
+
};
|
|
509
|
+
|
|
510
|
+
const templateModule = new TemplateModule();
|
|
511
|
+
|
|
512
|
+
templateModule.setTemplate(template);
|
|
513
|
+
templateModule.setContext(dataSource);
|
|
514
|
+
templateModule.setTransformers(baseTransformers);
|
|
515
|
+
|
|
516
|
+
const result = templateModule.transformPayload(dataSource);
|
|
517
|
+
console.log(result);
|
|
518
|
+
|
|
519
|
+
//{
|
|
520
|
+
// quote: {
|
|
521
|
+
// orders: [
|
|
522
|
+
// {
|
|
523
|
+
// value: 1000,
|
|
524
|
+
// date: "2000-01-01",
|
|
525
|
+
// products: [
|
|
526
|
+
// {
|
|
527
|
+
// id: "id-test-2",
|
|
528
|
+
// value: 2000,
|
|
529
|
+
// description: "DESCRIPTION-TEST 2",
|
|
530
|
+
// categories: ["category-1", "category-2"],
|
|
531
|
+
// },
|
|
532
|
+
// {
|
|
533
|
+
// id: "id-test-3",
|
|
534
|
+
// value: 3000,
|
|
535
|
+
// description: "Default description",
|
|
536
|
+
// categories: ["category-1", "category-2", "category-3"],
|
|
537
|
+
// },
|
|
538
|
+
// ],
|
|
539
|
+
// },
|
|
540
|
+
// ],
|
|
541
|
+
// },
|
|
542
|
+
// }
|
|
543
|
+
```
|
|
544
|
+
|
|
426
545
|
### Template example with transformer + transformerParams
|
|
427
546
|
|
|
428
547
|
##### File name: baseTransformers.ts
|
|
@@ -568,6 +687,133 @@ console.log(result);
|
|
|
568
687
|
// }
|
|
569
688
|
```
|
|
570
689
|
|
|
690
|
+
### Example with Sequential Transformers
|
|
691
|
+
|
|
692
|
+
The library now supports applying multiple transformers sequentially to a single field. This is particularly useful for more complex transformations that require multiple steps.
|
|
693
|
+
|
|
694
|
+
Each transformer in the sequence will receive the output of the previous transformer as its input value. The `allowNull` property of the last transformer in the sequence determines whether null values are allowed in the final output.
|
|
695
|
+
|
|
696
|
+
##### File name: baseTransformers.ts
|
|
697
|
+
|
|
698
|
+
```javascript
|
|
699
|
+
import { ITransformer, ITransformerParams } from "@edirect/template";
|
|
700
|
+
|
|
701
|
+
const findKeyInArrayGetField = (
|
|
702
|
+
{ value, context }: ITransformerParams,
|
|
703
|
+
key: string,
|
|
704
|
+
valueToFind: string,
|
|
705
|
+
field: string,
|
|
706
|
+
transformer: any,
|
|
707
|
+
...params: any
|
|
708
|
+
): any | null => {
|
|
709
|
+
const listToFind = findKeyInArray({ value }, key, valueToFind);
|
|
710
|
+
if (typeof transformer !== "undefined") {
|
|
711
|
+
value = _.get(listToFind, field, null);
|
|
712
|
+
let transformerParams = params;
|
|
713
|
+
if (field === "#") {
|
|
714
|
+
transformerParams = [];
|
|
715
|
+
for (const fieldItem of params) {
|
|
716
|
+
let item = fieldItem;
|
|
717
|
+
if (fieldItem.includes("#")) {
|
|
718
|
+
item = _.get(listToFind, fieldItem.replace(/\#\{(.*)\}/, "$1"), null);
|
|
719
|
+
}
|
|
720
|
+
transformerParams.push(item);
|
|
721
|
+
}
|
|
722
|
+
}
|
|
723
|
+
if (typeof baseTransformers[transformer] !== "undefined") {
|
|
724
|
+
return baseTransformers[transformer]({ value, context }, ...transformerParams);
|
|
725
|
+
}
|
|
726
|
+
}
|
|
727
|
+
return _.get(listToFind, field, null);
|
|
728
|
+
};
|
|
729
|
+
|
|
730
|
+
const calculateAgeByBirthdate = ({ value }: ITransformerParams, ...formatDate: string[]): string | null => {
|
|
731
|
+
if (!value) return null;
|
|
732
|
+
|
|
733
|
+
if (!formatDate.length) formatDate.push("dd/MM/yyyy");
|
|
734
|
+
|
|
735
|
+
for (const format of formatDate) {
|
|
736
|
+
const date = parse(value, format, new Date());
|
|
737
|
+
if (isValid(date)) {
|
|
738
|
+
return differenceInYears(new Date(), date).toString();
|
|
739
|
+
}
|
|
740
|
+
}
|
|
741
|
+
return null;
|
|
742
|
+
};
|
|
743
|
+
|
|
744
|
+
const transformers: ITransformer = {
|
|
745
|
+
findKeyInArrayGetField,
|
|
746
|
+
calculateAgeByBirthdate
|
|
747
|
+
};
|
|
748
|
+
|
|
749
|
+
export default transformers;
|
|
750
|
+
```
|
|
751
|
+
|
|
752
|
+
##### File name: index.ts
|
|
753
|
+
|
|
754
|
+
```javascript
|
|
755
|
+
import { TemplateModule } from "@edirect/template";
|
|
756
|
+
import baseTransformers from "./baseTransformers";
|
|
757
|
+
|
|
758
|
+
const template = {
|
|
759
|
+
age: {
|
|
760
|
+
transformers: [
|
|
761
|
+
{
|
|
762
|
+
fields: [
|
|
763
|
+
"data.externalReferences"
|
|
764
|
+
],
|
|
765
|
+
transformer: "findKeyInArrayGetField",
|
|
766
|
+
transformerParams: [
|
|
767
|
+
"type",
|
|
768
|
+
"birthDate",
|
|
769
|
+
"value"
|
|
770
|
+
]
|
|
771
|
+
},
|
|
772
|
+
{
|
|
773
|
+
transformer: "calculateAgeByBirthdate",
|
|
774
|
+
transformerParams: [
|
|
775
|
+
"yyyy-MM-dd'T'HH:mm:ss.SSSXXX"
|
|
776
|
+
]
|
|
777
|
+
}
|
|
778
|
+
]
|
|
779
|
+
}
|
|
780
|
+
};
|
|
781
|
+
|
|
782
|
+
const dataSource = {
|
|
783
|
+
data: {
|
|
784
|
+
externalReferences: [
|
|
785
|
+
{
|
|
786
|
+
type: "randomKey",
|
|
787
|
+
value: "randomValue"
|
|
788
|
+
},
|
|
789
|
+
{
|
|
790
|
+
type: "birthDate",
|
|
791
|
+
value: "1995-12-27T15:22:32.511+00:00"
|
|
792
|
+
}
|
|
793
|
+
]
|
|
794
|
+
}
|
|
795
|
+
};
|
|
796
|
+
|
|
797
|
+
const templateModule = new TemplateModule();
|
|
798
|
+
|
|
799
|
+
templateModule.setTemplate(template);
|
|
800
|
+
templateModule.setContext(dataSource);
|
|
801
|
+
templateModule.setTransformers(baseTransformers);
|
|
802
|
+
|
|
803
|
+
const result = templateModule.transformPayload(dataSource);
|
|
804
|
+
console.log(result);
|
|
805
|
+
|
|
806
|
+
// {
|
|
807
|
+
// age: "29"
|
|
808
|
+
// }
|
|
809
|
+
```
|
|
810
|
+
|
|
811
|
+
In this example:
|
|
812
|
+
1. The first transformer (`findKeyInArrayGetField`) extracts the birthdate value from the array of external references
|
|
813
|
+
2. The second transformer (`calculateAgeByBirthdate`) calculates the age from the birthdate
|
|
814
|
+
|
|
815
|
+
The transformers are applied sequentially, with each one receiving the result of the previous transformation as its input value.
|
|
816
|
+
|
|
571
817
|
### Example inferring types to transformPayload
|
|
572
818
|
|
|
573
819
|
```typescript
|
|
@@ -696,4 +942,4 @@ console.log(result);
|
|
|
696
942
|
]
|
|
697
943
|
}
|
|
698
944
|
*/
|
|
699
|
-
```
|
|
945
|
+
```
|
|
@@ -13,6 +13,7 @@ export declare class TemplateModule implements ITemplateModule {
|
|
|
13
13
|
runTransformerWithParams(transformer: string, params: unknown[], value?: unknown): unknown | null;
|
|
14
14
|
setValueByCondition<U>(object: U, key: string, value: unknown, allowNull?: boolean): U;
|
|
15
15
|
isTransformer(object: Record<string, unknown>): boolean;
|
|
16
|
+
isTransformers(object: Record<string, unknown>): boolean;
|
|
16
17
|
isStaticArrayMapper(object: Record<string, unknown>): boolean;
|
|
17
18
|
isDynamicArrayMapper(object: Record<string, unknown>): boolean;
|
|
18
19
|
isValidObject(object: object): boolean;
|
|
@@ -21,4 +22,5 @@ export declare class TemplateModule implements ITemplateModule {
|
|
|
21
22
|
getVarOnConst(varName: string, context: object): unknown;
|
|
22
23
|
simpleValueToObject(value: unknown): Record<string, unknown>;
|
|
23
24
|
transformPayload<T>(dataSource: object, template?: Record<string, unknown>, rootData?: object): T;
|
|
25
|
+
private applySequentialTransformers;
|
|
24
26
|
}
|
|
@@ -45,8 +45,12 @@ class TemplateModule {
|
|
|
45
45
|
return !!((0, lodash_1.has)(object, "transformer") ||
|
|
46
46
|
(0, lodash_1.has)(object, "fields") ||
|
|
47
47
|
(0, lodash_1.has)(object, "defaultValue") ||
|
|
48
|
+
(0, lodash_1.has)(object, "transformers") ||
|
|
48
49
|
((0, lodash_1.has)(object, "transformerParams") && (0, lodash_1.has)(object, "transformer")));
|
|
49
50
|
}
|
|
51
|
+
isTransformers(object) {
|
|
52
|
+
return !!((0, lodash_1.has)(object, "transformers") && Array.isArray(object.transformers));
|
|
53
|
+
}
|
|
50
54
|
isStaticArrayMapper(object) {
|
|
51
55
|
return Array.isArray(object);
|
|
52
56
|
}
|
|
@@ -87,6 +91,7 @@ class TemplateModule {
|
|
|
87
91
|
if (rootData === undefined)
|
|
88
92
|
rootData = dataSource;
|
|
89
93
|
return Object.keys(template).reduce((acc, key) => {
|
|
94
|
+
var _a;
|
|
90
95
|
const target = template[key];
|
|
91
96
|
let value = (0, lodash_1.get)(dataSource, target);
|
|
92
97
|
if (this.isStaticArrayMapper(target)) {
|
|
@@ -101,11 +106,13 @@ class TemplateModule {
|
|
|
101
106
|
return this.setValueByCondition(acc, key, finalArray);
|
|
102
107
|
}
|
|
103
108
|
if (this.isDynamicArrayMapper(target)) {
|
|
104
|
-
const { arraySource, arrayTemplate } = target;
|
|
109
|
+
const { arraySource, arrayTemplate, ignoreIndexs } = target;
|
|
105
110
|
value = (0, lodash_1.get)(dataSource, arraySource);
|
|
106
111
|
if ((0, lodash_1.isArray)(value)) {
|
|
107
112
|
const finalArray = [];
|
|
108
|
-
for (const dataSource of value) {
|
|
113
|
+
for (const [index, dataSource] of value.entries()) {
|
|
114
|
+
if (ignoreIndexs && ignoreIndexs.includes(index))
|
|
115
|
+
continue;
|
|
109
116
|
if (!!target.simpleArray) {
|
|
110
117
|
const source = this.simpleValueToObject(dataSource);
|
|
111
118
|
value = this.transformPayload(source, arrayTemplate);
|
|
@@ -124,39 +131,88 @@ class TemplateModule {
|
|
|
124
131
|
if (!this.isTransformer(target)) {
|
|
125
132
|
return this.setValueByCondition(acc, key, this.transformPayload(dataSource, target));
|
|
126
133
|
}
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
if (transformerParams && Array.isArray(transformerParams)) {
|
|
130
|
-
transformedTransformParams.push(...transformerParams.map((param) => {
|
|
131
|
-
if (!(0, lodash_1.isString)(param) || !this.containsVar(param))
|
|
132
|
-
return param;
|
|
133
|
-
return (this.getVarOnConst(param, dataSource) ||
|
|
134
|
-
this.getVarOnConst(param, rootData));
|
|
135
|
-
}));
|
|
134
|
+
if ((0, lodash_1.has)(target, "transformers") && Array.isArray(target.transformers)) {
|
|
135
|
+
value = this.applySequentialTransformers(target, dataSource, rootData);
|
|
136
136
|
}
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
137
|
+
else {
|
|
138
|
+
const { fields, transformer, transformerParams, defaultValue, allowNull, } = target;
|
|
139
|
+
const transformedTransformParams = [];
|
|
140
|
+
if (transformerParams && Array.isArray(transformerParams)) {
|
|
141
|
+
transformedTransformParams.push(...transformerParams.map((param) => {
|
|
142
|
+
if (!(0, lodash_1.isString)(param) || !this.containsVar(param))
|
|
143
|
+
return param;
|
|
144
|
+
return (this.getVarOnConst(param, dataSource) ||
|
|
145
|
+
this.getVarOnConst(param, rootData));
|
|
146
|
+
}));
|
|
147
|
+
}
|
|
148
|
+
if (fields && Array.isArray(fields)) {
|
|
149
|
+
for (const field of fields) {
|
|
150
|
+
value = (0, lodash_1.get)(dataSource, field);
|
|
151
|
+
if (transformer && transformedTransformParams.length)
|
|
152
|
+
value = this.runTransformerWithParams(transformer, transformedTransformParams, value);
|
|
153
|
+
else if (transformer)
|
|
154
|
+
value = this.runTransformer(transformer, value);
|
|
155
|
+
if (this.checkValue(value, !!allowNull))
|
|
156
|
+
break;
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
else {
|
|
140
160
|
if (transformer && transformedTransformParams.length)
|
|
141
|
-
value = this.runTransformerWithParams(transformer, transformedTransformParams
|
|
161
|
+
value = this.runTransformerWithParams(transformer, transformedTransformParams);
|
|
142
162
|
else if (transformer)
|
|
143
|
-
value = this.runTransformer(transformer
|
|
144
|
-
if (this.checkValue(value, !!allowNull))
|
|
145
|
-
break;
|
|
163
|
+
value = this.runTransformer(transformer);
|
|
146
164
|
}
|
|
165
|
+
value = this.checkValue(value, !!allowNull) ? value : defaultValue;
|
|
147
166
|
}
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
value = this.runTransformer(transformer);
|
|
153
|
-
}
|
|
154
|
-
value = this.checkValue(value, !!allowNull) ? value : defaultValue;
|
|
155
|
-
return this.setValueByCondition(acc, key, value, !!allowNull);
|
|
167
|
+
const useAllowNull = (0, lodash_1.has)(target, "transformers") && Array.isArray(target.transformers) ?
|
|
168
|
+
!!((_a = target.transformers[target.transformers.length - 1]) === null || _a === void 0 ? void 0 : _a.allowNull) :
|
|
169
|
+
!!target.allowNull;
|
|
170
|
+
return this.setValueByCondition(acc, key, value, useAllowNull);
|
|
156
171
|
}
|
|
157
172
|
return this.setValueByCondition(acc, key, value);
|
|
158
173
|
}, {});
|
|
159
174
|
}
|
|
175
|
+
applySequentialTransformers(target, dataSource, rootData) {
|
|
176
|
+
let transformedValue = null;
|
|
177
|
+
const transformers = target.transformers;
|
|
178
|
+
for (const transformer of transformers) {
|
|
179
|
+
const { fields, transformer: transformerName, transformerParams, defaultValue, allowNull, } = transformer;
|
|
180
|
+
const transformedTransformParams = [];
|
|
181
|
+
if (transformerParams && Array.isArray(transformerParams)) {
|
|
182
|
+
transformedTransformParams.push(...transformerParams.map((param) => {
|
|
183
|
+
if (!(0, lodash_1.isString)(param) || !this.containsVar(param))
|
|
184
|
+
return param;
|
|
185
|
+
return (this.getVarOnConst(param, dataSource) ||
|
|
186
|
+
this.getVarOnConst(param, rootData));
|
|
187
|
+
}));
|
|
188
|
+
}
|
|
189
|
+
if (fields && Array.isArray(fields)) {
|
|
190
|
+
for (const field of fields) {
|
|
191
|
+
transformedValue = transformedValue === null ? (0, lodash_1.get)(dataSource, field) : transformedValue;
|
|
192
|
+
if (transformerName && transformedTransformParams.length) {
|
|
193
|
+
transformedValue = this.runTransformerWithParams(transformerName, transformedTransformParams, transformedValue);
|
|
194
|
+
}
|
|
195
|
+
else if (transformerName) {
|
|
196
|
+
transformedValue = this.runTransformer(transformerName, transformedValue);
|
|
197
|
+
}
|
|
198
|
+
if (this.checkValue(transformedValue, !!allowNull))
|
|
199
|
+
break;
|
|
200
|
+
}
|
|
201
|
+
}
|
|
202
|
+
else {
|
|
203
|
+
if (transformerName && transformedTransformParams.length) {
|
|
204
|
+
transformedValue = this.runTransformerWithParams(transformerName, transformedTransformParams, transformedValue);
|
|
205
|
+
}
|
|
206
|
+
else if (transformerName) {
|
|
207
|
+
transformedValue = this.runTransformer(transformerName, transformedValue);
|
|
208
|
+
}
|
|
209
|
+
}
|
|
210
|
+
if (!this.checkValue(transformedValue, !!allowNull)) {
|
|
211
|
+
transformedValue = defaultValue;
|
|
212
|
+
}
|
|
213
|
+
}
|
|
214
|
+
return transformedValue;
|
|
215
|
+
}
|
|
160
216
|
}
|
|
161
217
|
exports.TemplateModule = TemplateModule;
|
|
162
218
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/templateModule/index.ts"],"names":[],"mappings":";;;AAAA,mCAAqD;AAGrD,MAAa,cAAc;IAA3B;QACU,YAAO,GAA4B,EAAE,CAAC;QACtC,aAAQ,GAA4B,EAAE,CAAC;QACvC,iBAAY,GAAiB,EAAE,CAAC;QAChC,YAAO,GAAqB,EAAE,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/templateModule/index.ts"],"names":[],"mappings":";;;AAAA,mCAAqD;AAGrD,MAAa,cAAc;IAA3B;QACU,YAAO,GAA4B,EAAE,CAAC;QACtC,aAAQ,GAA4B,EAAE,CAAC;QACvC,iBAAY,GAAiB,EAAE,CAAC;QAChC,YAAO,GAAqB,EAAE,CAAC;IA4TzC,CAAC;IA1TC,UAAU,CAAC,OAAgC;QACzC,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;IACzB,CAAC;IAED,WAAW,CAAC,QAAiC;QAC3C,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;IAC3B,CAAC;IAED,eAAe,CAAC,YAA0B;QACxC,IAAI,CAAC,YAAY,GAAG,YAAY,CAAC;IACnC,CAAC;IAED,UAAU,CAAC,OAAyB;QAClC,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;IACzB,CAAC;IAED,iBAAiB,CAAC,WAAyB,EAAE,UAAkB;QAC7D,OAAO,CAAC,CAAC,CACP,WAAW;YACX,WAAW,CAAC,UAAU,CAAC;YACvB,OAAO,WAAW,CAAC,UAAU,CAAC,KAAK,UAAU,CAC9C,CAAC;IACJ,CAAC;IAED,cAAc,CAAC,WAAmB,EAAE,KAAe;QACjD,IAAI,IAAI,CAAC,iBAAiB,CAAC,IAAI,CAAC,YAAY,EAAE,WAAW,CAAC,EAAE;YAC1D,OAAO,IAAI,CAAC,YAAY,CAAC,WAAW,CAAC,CAAC,E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AC,cAAc,CAAC,eAAe,EAAE,gBAAgB,CAAC,CAAC;iBAC3E;aACF;YAED,IAAI,CAAC,IAAI,CAAC,UAAU,CAAC,gBAAgB,EAAE,CAAC,CAAC,SAAS,CAAC,EAAE;gBACnD,gBAAgB,GAAG,YAAY,CAAC;aACjC;SACF;QAED,OAAO,gBAAgB,CAAA;IACzB,CAAC;CAEF;AAhUD,wCAgUC"}
|
|
@@ -5,6 +5,13 @@ export interface ITransformerParams {
|
|
|
5
5
|
export interface ITransformer {
|
|
6
6
|
[x: string]: ({ context, value }: ITransformerParams, ...params: any) => any;
|
|
7
7
|
}
|
|
8
|
+
export interface ITransformerDefinition {
|
|
9
|
+
fields?: string[];
|
|
10
|
+
transformer: string;
|
|
11
|
+
transformerParams?: any[];
|
|
12
|
+
defaultValue?: any;
|
|
13
|
+
allowNull?: boolean;
|
|
14
|
+
}
|
|
8
15
|
export interface ITemplateOptions {
|
|
9
16
|
omitEmptyFields?: boolean;
|
|
10
17
|
}
|
|
@@ -17,6 +24,7 @@ export interface ITemplateModule {
|
|
|
17
24
|
runTransformer(transformer: string, value?: unknown): unknown | null;
|
|
18
25
|
setValueByCondition<U>(object: U, key: string, value: unknown): U;
|
|
19
26
|
isTransformer(object: Record<string, unknown>): boolean;
|
|
27
|
+
isTransformers(object: Record<string, unknown>): boolean;
|
|
20
28
|
isStaticArrayMapper(object: Record<string, unknown>): boolean;
|
|
21
29
|
isDynamicArrayMapper(object: Record<string, unknown>): boolean;
|
|
22
30
|
isValidObject(object: object): boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"program":{"fileNames":["../node_modules/typescript/lib/lib.es5.d.ts","../node_modules/typescript/lib/lib.es2015.d.ts","../node_modules/typescript/lib/lib.es2016.d.ts","../node_modules/typescript/lib/lib.es2017.d.ts","../node_modules/typescript/lib/lib.dom.d.ts","../node_modules/typescript/lib/lib.dom.iterable.d.ts","../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../node_modules/typescript/lib/lib.scripthost.d.ts","../node_modules/typescript/lib/lib.es2015.core.d.ts","../node_modules/typescript/lib/lib.es2015.collection.d.ts","../node_modules/typescript/lib/lib.es2015.generator.d.ts","../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../node_modules/typescript/lib/lib.es2015.promise.d.ts","../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../node_modules/typescript/lib/lib.es2017.object.d.ts","../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../node_modules/typescript/lib/lib.es2017.string.d.ts","../node_modules/typescript/lib/lib.es2017.intl.d.ts","../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../node_modules/typescript/lib/lib.decorators.d.ts","../node_modules/typescript/lib/lib.decorators.legacy.d.ts","../node_modules/typescript/lib/lib.es2017.full.d.ts","../node_modules/@types/lodash/common/common.d.ts","../node_modules/@types/lodash/common/array.d.ts","../node_modules/@types/lodash/common/collection.d.ts","../node_modules/@types/lodash/common/date.d.ts","../node_modules/@types/lodash/common/function.d.ts","../node_modules/@types/lodash/common/lang.d.ts","../node_modules/@types/lodash/common/math.d.ts","../node_modules/@types/lodash/common/number.d.ts","../node_modules/@types/lodash/common/object.d.ts","../node_modules/@types/lodash/common/seq.d.ts","../node_modules/@types/lodash/common/string.d.ts","../node_modules/@types/lodash/common/util.d.ts","../node_modules/@types/lodash/index.d.ts","../src/templateModule/interfaces.ts","../src/templateModule/index.ts","../src/index.ts"],"fileInfos":[{"version":"6a6b471e7e43e15ef6f8fe617a22ce4ecb0e34efa6c3dfcfe7cebd392bcca9d2","affectsGlobalScope":true},"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","dc48272d7c333ccf58034c0026162576b7d50ea0e69c3b9292f803fc20720fd5","27147504487dc1159369da4f4da8a26406364624fa9bc3db632f7d94a5bae2c3",{"version":"fcd3ecc9f764f06f4d5c467677f4f117f6abf49dee6716283aa204ff1162498b","affectsGlobalScope":true},{"version":"9a60b92bca4c1257db03b349d58e63e4868cfc0d1c8d0ba60c2dbc63f4e6c9f6","affectsGlobalScope":true},{"version":"c5c5565225fce2ede835725a92a28ece149f83542aa4866cfb10290bff7b8996","affectsGlobalScope":true},{"version":"7d2dbc2a0250400af0809b0ad5f84686e84c73526de931f84560e483eb16b03c","affectsGlobalScope":true},{"version":"f296963760430fb65b4e5d91f0ed770a91c6e77455bacf8fa23a1501654ede0e","affectsGlobalScope":true},{"version":"5114a95689b63f96b957e00216bc04baf9e1a1782aa4d8ee7e5e9acbf768e301","affectsGlobalScope":true},{"version":"4443e68b35f3332f753eacc66a04ac1d2053b8b035a0e0ac1d455392b5e243b3","affectsGlobalScope":true},{"version":"ab22100fdd0d24cfc2cc59d0a00fc8cf449830d9c4030dc54390a46bd562e929","affectsGlobalScope":true},{"version":"f7bd636ae3a4623c503359ada74510c4005df5b36de7f23e1db8a5c543fd176b","affectsGlobalScope":true},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true},{"version":"0c20f4d2358eb679e4ae8a4432bdd96c857a2960fd6800b21ec4008ec59d60ea","affectsGlobalScope":true},{"version":"36ae84ccc0633f7c0787bc6108386c8b773e95d3b052d9464a99cd9b8795fbec","affectsGlobalScope":true},{"version":"82d0d8e269b9eeac02c3bd1c9e884e85d483fcb2cd168bccd6bc54df663da031","affectsGlobalScope":true},{"version":"b8deab98702588840be73d67f02412a2d45a417a3c097b2e96f7f3a42ac483d1","affectsGlobalScope":true},{"version":"4738f2420687fd85629c9efb470793bb753709c2379e5f85bc1815d875ceadcd","affectsGlobalScope":true},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true},{"version":"376d554d042fb409cb55b5cbaf0b2b4b7e669619493c5d18d5fa8bd67273f82a","affectsGlobalScope":true},{"version":"9fc46429fbe091ac5ad2608c657201eb68b6f1b8341bd6d670047d32ed0a88fa","affectsGlobalScope":true},{"version":"189c0703923150aa30673fa3de411346d727cc44a11c75d05d7cf9ef095daa22","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},"994c234848afc14a2586b6565777f4c0b05dc479ede0a041bfd5becf6dceb586","675e702f2032766a91eeadee64f51014c64688525da99dccd8178f0c599f13a8","458111fc89d11d2151277c822dfdc1a28fa5b6b2493cf942e37d4cd0a6ee5f22","d70c026dd2eeaa974f430ea229230a1897fdb897dc74659deebe2afd4feeb08f","187119ff4f9553676a884e296089e131e8cc01691c546273b1d0089c3533ce42","febf0b2de54781102b00f61653b21377390a048fbf5262718c91860d11ff34a6","98f9d826db9cd99d27a01a59ee5f22863df00ccf1aaf43e1d7db80ebf716f7c3","0aaef8cded245bf5036a7a40b65622dd6c4da71f7a35343112edbe112b348a1e","00baffbe8a2f2e4875367479489b5d43b5fc1429ecb4a4cc98cfc3009095f52a","dcd91d3b697cb650b95db5471189b99815af5db2a1cd28760f91e0b12ede8ed5","3c92b6dfd43cc1c2485d9eba5ff0b74a19bb8725b692773ef1d66dac48cda4bd","3cf0d343c2276842a5b617f22ba82af6322c7cfe8bb52238ffc0c491a3c21019","df996e25faa505f85aeb294d15ebe61b399cf1d1e49959cdfaf2cc0815c203f9",{"version":"f2eff8704452659641164876c1ef0df4174659ce7311b0665798ea3f556fa9ad","affectsGlobalScope":true},{"version":"fe13be8689d050c419ce54866d3844d1ca161c664d00cb3a0656a022c596293e","signature":"5046cb6fc11fe732b96ea1e373b9a65cd6dc6aadba4f7d1034db0b54188b4bd1"},{"version":"4c6965de118a5d8c24c7f37676a99b9d0db07961c5af21bc0d18744778e92cd7","signature":"348199b928104e36ebfada3c699a9fbebed01d67e0d0696c30fee1949273e952"},"d2e3a5e97ca0bf568106173181629e1a03b8f6905a3cf923409f9a4329a459ff"],"root":[42],"options":{"declaration":true,"module":1,"outDir":"./","removeComments":true,"sourceMap":true,"target":4},"fileIdsList":[[27,29,30,31,32,33,34,35,36,37,38,39],[27,28,30,31,32,33,34,35,36,37,38,39],[28,29,30,31,32,33,34,35,36,37,38,39],[27,28,29,31,32,33,34,35,36,37,38,39],[27,28,29,30,32,33,34,35,36,37,38,39],[27,28,29,30,31,33,34,35,36,37,38,39],[27,28,29,30,31,32,34,35,36,37,38,39],[27,28,29,30,31,32,33,35,36,37,38,39],[27,28,29,30,31,32,33,34,36,37,38,39],[27,28,29,30,31,32,33,34,35,37,38,39],[27,28,29,30,31,32,33,34,35,36,38,39],[27,28,29,30,31,32,33,34,35,36,37,39],[27,28,29,30,31,32,33,34,35,36,37,38],[40,41],[39,40],[40]],"referencedMap":[[28,1],[29,2],[27,3],[30,4],[31,5],[32,6],[33,7],[34,8],[35,9],[36,10],[37,11],[38,12],[39,13],[42,14],[41,15]],"exportedModulesMap":[[28,1],[29,2],[27,3],[30,4],[31,5],[32,6],[33,7],[34,8],[35,9],[36,10],[37,11],[38,12],[39,13],[42,14],[41,16]],"semanticDiagnosticsPerFile":[28,29,27,30,31,32,33,34,35,36,37,38,39,24,25,5,6,10,9,2,11,12,13,14,15,16,17,18,3,4,26,22,19,20,21,23,1,8,7,42,41,40]},"version":"5.0.4"}
|
|
1
|
+
{"program":{"fileNames":["../node_modules/typescript/lib/lib.es5.d.ts","../node_modules/typescript/lib/lib.es2015.d.ts","../node_modules/typescript/lib/lib.es2016.d.ts","../node_modules/typescript/lib/lib.es2017.d.ts","../node_modules/typescript/lib/lib.es2018.d.ts","../node_modules/typescript/lib/lib.es2019.d.ts","../node_modules/typescript/lib/lib.es2020.d.ts","../node_modules/typescript/lib/lib.dom.d.ts","../node_modules/typescript/lib/lib.dom.iterable.d.ts","../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../node_modules/typescript/lib/lib.scripthost.d.ts","../node_modules/typescript/lib/lib.es2015.core.d.ts","../node_modules/typescript/lib/lib.es2015.collection.d.ts","../node_modules/typescript/lib/lib.es2015.generator.d.ts","../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../node_modules/typescript/lib/lib.es2015.promise.d.ts","../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../node_modules/typescript/lib/lib.es2017.object.d.ts","../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../node_modules/typescript/lib/lib.es2017.string.d.ts","../node_modules/typescript/lib/lib.es2017.intl.d.ts","../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../node_modules/typescript/lib/lib.es2018.intl.d.ts","../node_modules/typescript/lib/lib.es2018.promise.d.ts","../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../node_modules/typescript/lib/lib.es2019.array.d.ts","../node_modules/typescript/lib/lib.es2019.object.d.ts","../node_modules/typescript/lib/lib.es2019.string.d.ts","../node_modules/typescript/lib/lib.es2019.symbol.d.ts","../node_modules/typescript/lib/lib.es2019.intl.d.ts","../node_modules/typescript/lib/lib.es2020.bigint.d.ts","../node_modules/typescript/lib/lib.es2020.date.d.ts","../node_modules/typescript/lib/lib.es2020.promise.d.ts","../node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../node_modules/typescript/lib/lib.es2020.string.d.ts","../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../node_modules/typescript/lib/lib.es2020.intl.d.ts","../node_modules/typescript/lib/lib.es2020.number.d.ts","../node_modules/typescript/lib/lib.decorators.d.ts","../node_modules/typescript/lib/lib.decorators.legacy.d.ts","../node_modules/typescript/lib/lib.es2017.full.d.ts","../node_modules/@types/lodash/common/common.d.ts","../node_modules/@types/lodash/common/array.d.ts","../node_modules/@types/lodash/common/collection.d.ts","../node_modules/@types/lodash/common/date.d.ts","../node_modules/@types/lodash/common/function.d.ts","../node_modules/@types/lodash/common/lang.d.ts","../node_modules/@types/lodash/common/math.d.ts","../node_modules/@types/lodash/common/number.d.ts","../node_modules/@types/lodash/common/object.d.ts","../node_modules/@types/lodash/common/seq.d.ts","../node_modules/@types/lodash/common/string.d.ts","../node_modules/@types/lodash/common/util.d.ts","../node_modules/@types/lodash/index.d.ts","../src/templateModule/interfaces.ts","../src/templateModule/index.ts","../src/index.ts","../node_modules/@types/node/compatibility/disposable.d.ts","../node_modules/@types/node/compatibility/indexable.d.ts","../node_modules/@types/node/compatibility/iterators.d.ts","../node_modules/@types/node/compatibility/index.d.ts","../node_modules/@types/node/ts5.6/globals.typedarray.d.ts","../node_modules/@types/node/ts5.6/buffer.buffer.d.ts","../node_modules/undici-types/header.d.ts","../node_modules/undici-types/readable.d.ts","../node_modules/undici-types/file.d.ts","../node_modules/undici-types/fetch.d.ts","../node_modules/undici-types/formdata.d.ts","../node_modules/undici-types/connector.d.ts","../node_modules/undici-types/client.d.ts","../node_modules/undici-types/errors.d.ts","../node_modules/undici-types/dispatcher.d.ts","../node_modules/undici-types/global-dispatcher.d.ts","../node_modules/undici-types/global-origin.d.ts","../node_modules/undici-types/pool-stats.d.ts","../node_modules/undici-types/pool.d.ts","../node_modules/undici-types/handlers.d.ts","../node_modules/undici-types/balanced-pool.d.ts","../node_modules/undici-types/agent.d.ts","../node_modules/undici-types/mock-interceptor.d.ts","../node_modules/undici-types/mock-agent.d.ts","../node_modules/undici-types/mock-client.d.ts","../node_modules/undici-types/mock-pool.d.ts","../node_modules/undici-types/mock-errors.d.ts","../node_modules/undici-types/proxy-agent.d.ts","../node_modules/undici-types/env-http-proxy-agent.d.ts","../node_modules/undici-types/retry-handler.d.ts","../node_modules/undici-types/retry-agent.d.ts","../node_modules/undici-types/api.d.ts","../node_modules/undici-types/interceptors.d.ts","../node_modules/undici-types/util.d.ts","../node_modules/undici-types/cookies.d.ts","../node_modules/undici-types/patch.d.ts","../node_modules/undici-types/websocket.d.ts","../node_modules/undici-types/eventsource.d.ts","../node_modules/undici-types/filereader.d.ts","../node_modules/undici-types/diagnostics-channel.d.ts","../node_modules/undici-types/content-type.d.ts","../node_modules/undici-types/cache.d.ts","../node_modules/undici-types/index.d.ts","../node_modules/@types/node/globals.d.ts","../node_modules/@types/node/assert.d.ts","../node_modules/@types/node/assert/strict.d.ts","../node_modules/@types/node/async_hooks.d.ts","../node_modules/@types/node/buffer.d.ts","../node_modules/@types/node/child_process.d.ts","../node_modules/@types/node/cluster.d.ts","../node_modules/@types/node/console.d.ts","../node_modules/@types/node/constants.d.ts","../node_modules/@types/node/crypto.d.ts","../node_modules/@types/node/dgram.d.ts","../node_modules/@types/node/diagnostics_channel.d.ts","../node_modules/@types/node/dns.d.ts","../node_modules/@types/node/dns/promises.d.ts","../node_modules/@types/node/domain.d.ts","../node_modules/@types/node/dom-events.d.ts","../node_modules/@types/node/events.d.ts","../node_modules/@types/node/fs.d.ts","../node_modules/@types/node/fs/promises.d.ts","../node_modules/@types/node/http.d.ts","../node_modules/@types/node/http2.d.ts","../node_modules/@types/node/https.d.ts","../node_modules/@types/node/inspector.d.ts","../node_modules/@types/node/module.d.ts","../node_modules/@types/node/net.d.ts","../node_modules/@types/node/os.d.ts","../node_modules/@types/node/path.d.ts","../node_modules/@types/node/perf_hooks.d.ts","../node_modules/@types/node/process.d.ts","../node_modules/@types/node/punycode.d.ts","../node_modules/@types/node/querystring.d.ts","../node_modules/@types/node/readline.d.ts","../node_modules/@types/node/readline/promises.d.ts","../node_modules/@types/node/repl.d.ts","../node_modules/@types/node/sea.d.ts","../node_modules/@types/node/sqlite.d.ts","../node_modules/@types/node/stream.d.ts","../node_modules/@types/node/stream/promises.d.ts","../node_modules/@types/node/stream/consumers.d.ts","../node_modules/@types/node/stream/web.d.ts","../node_modules/@types/node/string_decoder.d.ts","../node_modules/@types/node/test.d.ts","../node_modules/@types/node/timers.d.ts","../node_modules/@types/node/timers/promises.d.ts","../node_modules/@types/node/tls.d.ts","../node_modules/@types/node/trace_events.d.ts","../node_modules/@types/node/tty.d.ts","../node_modules/@types/node/url.d.ts","../node_modules/@types/node/util.d.ts","../node_modules/@types/node/v8.d.ts","../node_modules/@types/node/vm.d.ts","../node_modules/@types/node/wasi.d.ts","../node_modules/@types/node/worker_threads.d.ts","../node_modules/@types/node/zlib.d.ts","../node_modules/@types/node/ts5.6/index.d.ts"],"fileInfos":[{"version":"6a6b471e7e43e15ef6f8fe617a22ce4ecb0e34efa6c3dfcfe7cebd392bcca9d2","affectsGlobalScope":true},"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","dc48272d7c333ccf58034c0026162576b7d50ea0e69c3b9292f803fc20720fd5","27147504487dc1159369da4f4da8a26406364624fa9bc3db632f7d94a5bae2c3","5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7","5efce4fc3c29ea84e8928f97adec086e3dc876365e0982cc8479a07954a3efd4",{"version":"fcd3ecc9f764f06f4d5c467677f4f117f6abf49dee6716283aa204ff1162498b","affectsGlobalScope":true},{"version":"9a60b92bca4c1257db03b349d58e63e4868cfc0d1c8d0ba60c2dbc63f4e6c9f6","affectsGlobalScope":true},{"version":"c5c5565225fce2ede835725a92a28ece149f83542aa4866cfb10290bff7b8996","affectsGlobalScope":true},{"version":"7d2dbc2a0250400af0809b0ad5f84686e84c73526de931f84560e483eb16b03c","affectsGlobalScope":true},{"version":"f296963760430fb65b4e5d91f0ed770a91c6e77455bacf8fa23a1501654ede0e","affectsGlobalScope":true},{"version":"5114a95689b63f96b957e00216bc04baf9e1a1782aa4d8ee7e5e9acbf768e301","affectsGlobalScope":true},{"version":"4443e68b35f3332f753eacc66a04ac1d2053b8b035a0e0ac1d455392b5e243b3","affectsGlobalScope":true},{"version":"ab22100fdd0d24cfc2cc59d0a00fc8cf449830d9c4030dc54390a46bd562e929","affectsGlobalScope":true},{"version":"f7bd636ae3a4623c503359ada74510c4005df5b36de7f23e1db8a5c543fd176b","affectsGlobalScope":true},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true},{"version":"0c20f4d2358eb679e4ae8a4432bdd96c857a2960fd6800b21ec4008ec59d60ea","affectsGlobalScope":true},{"version":"36ae84ccc0633f7c0787bc6108386c8b773e95d3b052d9464a99cd9b8795fbec","affectsGlobalScope":true},{"version":"82d0d8e269b9eeac02c3bd1c9e884e85d483fcb2cd168bccd6bc54df663da031","affectsGlobalScope":true},{"version":"b8deab98702588840be73d67f02412a2d45a417a3c097b2e96f7f3a42ac483d1","affectsGlobalScope":true},{"version":"4738f2420687fd85629c9efb470793bb753709c2379e5f85bc1815d875ceadcd","affectsGlobalScope":true},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true},{"version":"376d554d042fb409cb55b5cbaf0b2b4b7e669619493c5d18d5fa8bd67273f82a","affectsGlobalScope":true},{"version":"9fc46429fbe091ac5ad2608c657201eb68b6f1b8341bd6d670047d32ed0a88fa","affectsGlobalScope":true},{"version":"61c37c1de663cf4171e1192466e52c7a382afa58da01b1dc75058f032ddf0839","affectsGlobalScope":true},{"version":"c4138a3dd7cd6cf1f363ca0f905554e8d81b45844feea17786cdf1626cb8ea06","affectsGlobalScope":true},{"version":"6ff3e2452b055d8f0ec026511c6582b55d935675af67cdb67dd1dc671e8065df","affectsGlobalScope":true},{"version":"03de17b810f426a2f47396b0b99b53a82c1b60e9cba7a7edda47f9bb077882f4","affectsGlobalScope":true},{"version":"8184c6ddf48f0c98429326b428478ecc6143c27f79b79e85740f17e6feb090f1","affectsGlobalScope":true},{"version":"261c4d2cf86ac5a89ad3fb3fafed74cbb6f2f7c1d139b0540933df567d64a6ca","affectsGlobalScope":true},{"version":"6af1425e9973f4924fca986636ac19a0cf9909a7e0d9d3009c349e6244e957b6","affectsGlobalScope":true},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","affectsGlobalScope":true},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","affectsGlobalScope":true},{"version":"15a630d6817718a2ddd7088c4f83e4673fde19fa992d2eae2cf51132a302a5d3","affectsGlobalScope":true},{"version":"b7e9f95a7387e3f66be0ed6db43600c49cec33a3900437ce2fd350d9b7cb16f2","affectsGlobalScope":true},{"version":"01e0ee7e1f661acedb08b51f8a9b7d7f959e9cdb6441360f06522cc3aea1bf2e","affectsGlobalScope":true},{"version":"ac17a97f816d53d9dd79b0d235e1c0ed54a8cc6a0677e9a3d61efb480b2a3e4e","affectsGlobalScope":true},{"version":"bf14a426dbbf1022d11bd08d6b8e709a2e9d246f0c6c1032f3b2edb9a902adbe","affectsGlobalScope":true},{"version":"ec0104fee478075cb5171e5f4e3f23add8e02d845ae0165bfa3f1099241fa2aa","affectsGlobalScope":true},{"version":"2b72d528b2e2fe3c57889ca7baef5e13a56c957b946906d03767c642f386bbc3","affectsGlobalScope":true},{"version":"9cc66b0513ad41cb5f5372cca86ef83a0d37d1c1017580b7dace3ea5661836df","affectsGlobalScope":true},{"version":"368af93f74c9c932edd84c58883e736c9e3d53cec1fe24c0b0ff451f529ceab1","affectsGlobalScope":true},{"version":"189c0703923150aa30673fa3de411346d727cc44a11c75d05d7cf9ef095daa22","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},"994c234848afc14a2586b6565777f4c0b05dc479ede0a041bfd5becf6dceb586","675e702f2032766a91eeadee64f51014c64688525da99dccd8178f0c599f13a8","458111fc89d11d2151277c822dfdc1a28fa5b6b2493cf942e37d4cd0a6ee5f22","d70c026dd2eeaa974f430ea229230a1897fdb897dc74659deebe2afd4feeb08f","187119ff4f9553676a884e296089e131e8cc01691c546273b1d0089c3533ce42","febf0b2de54781102b00f61653b21377390a048fbf5262718c91860d11ff34a6","98f9d826db9cd99d27a01a59ee5f22863df00ccf1aaf43e1d7db80ebf716f7c3","0aaef8cded245bf5036a7a40b65622dd6c4da71f7a35343112edbe112b348a1e","00baffbe8a2f2e4875367479489b5d43b5fc1429ecb4a4cc98cfc3009095f52a","dcd91d3b697cb650b95db5471189b99815af5db2a1cd28760f91e0b12ede8ed5","3c92b6dfd43cc1c2485d9eba5ff0b74a19bb8725b692773ef1d66dac48cda4bd","3cf0d343c2276842a5b617f22ba82af6322c7cfe8bb52238ffc0c491a3c21019","df996e25faa505f85aeb294d15ebe61b399cf1d1e49959cdfaf2cc0815c203f9",{"version":"f2eff8704452659641164876c1ef0df4174659ce7311b0665798ea3f556fa9ad","affectsGlobalScope":true},{"version":"1613313b04b491844edc0489c9fc9dc7da5582956a5b6c30163194b8efabd050","signature":"35b606949a32f1f7b2d8c50b8cd42d737d49528e74925ed556fff2452c87d662"},{"version":"a1b290fe4884258e293cd7cf71b0dab47db11a27066715e59b7b243d7759eb58","signature":"cffa2c45309d0090b6c8aec31404c74fba636b6bb4493c9bc8cb2a8d1b3bdc28"},"d2e3a5e97ca0bf568106173181629e1a03b8f6905a3cf923409f9a4329a459ff",{"version":"70521b6ab0dcba37539e5303104f29b721bfb2940b2776da4cc818c07e1fefc1","affectsGlobalScope":true},{"version":"030e350db2525514580ed054f712ffb22d273e6bc7eddc1bb7eda1e0ba5d395e","affectsGlobalScope":true},{"version":"d153a11543fd884b596587ccd97aebbeed950b26933ee000f94009f1ab142848","affectsGlobalScope":true},"21d819c173c0cf7cc3ce57c3276e77fd9a8a01d35a06ad87158781515c9a438a",{"version":"613b21ccdf3be6329d56e6caa13b258c842edf8377be7bc9f014ed14cdcfc308","affectsGlobalScope":true},{"version":"109b9c280e8848c08bf4a78fff1fed0750a6ca1735671b5cf08b71bae5448c03","affectsGlobalScope":true},"5929864ce17fba74232584d90cb721a89b7ad277220627cc97054ba15a98ea8f","763fe0f42b3d79b440a9b6e51e9ba3f3f91352469c1e4b3b67bfa4ff6352f3f4","25c8056edf4314820382a5fdb4bb7816999acdcb929c8f75e3f39473b87e85bc","c464d66b20788266e5353b48dc4aa6bc0dc4a707276df1e7152ab0c9ae21fad8","78d0d27c130d35c60b5e5566c9f1e5be77caf39804636bc1a40133919a949f21","c6fd2c5a395f2432786c9cb8deb870b9b0e8ff7e22c029954fabdd692bff6195","1d6e127068ea8e104a912e42fc0a110e2aa5a66a356a917a163e8cf9a65e4a75","5ded6427296cdf3b9542de4471d2aa8d3983671d4cac0f4bf9c637208d1ced43","7f182617db458e98fc18dfb272d40aa2fff3a353c44a89b2c0ccb3937709bfb5","cadc8aced301244057c4e7e73fbcae534b0f5b12a37b150d80e5a45aa4bebcbd","385aab901643aa54e1c36f5ef3107913b10d1b5bb8cbcd933d4263b80a0d7f20","9670d44354bab9d9982eca21945686b5c24a3f893db73c0dae0fd74217a4c219","0b8a9268adaf4da35e7fa830c8981cfa22adbbe5b3f6f5ab91f6658899e657a7","11396ed8a44c02ab9798b7dca436009f866e8dae3c9c25e8c1fbc396880bf1bb","ba7bc87d01492633cb5a0e5da8a4a42a1c86270e7b3d2dea5d156828a84e4882","4893a895ea92c85345017a04ed427cbd6a1710453338df26881a6019432febdd","c21dc52e277bcfc75fac0436ccb75c204f9e1b3fa5e12729670910639f27343e","13f6f39e12b1518c6650bbb220c8985999020fe0f21d818e28f512b7771d00f9","9b5369969f6e7175740bf51223112ff209f94ba43ecd3bb09eefff9fd675624a","4fe9e626e7164748e8769bbf74b538e09607f07ed17c2f20af8d680ee49fc1da","24515859bc0b836719105bb6cc3d68255042a9f02a6022b3187948b204946bd2","ea0148f897b45a76544ae179784c95af1bd6721b8610af9ffa467a518a086a43","24c6a117721e606c9984335f71711877293a9651e44f59f3d21c1ea0856f9cc9","dd3273ead9fbde62a72949c97dbec2247ea08e0c6952e701a483d74ef92d6a17","405822be75ad3e4d162e07439bac80c6bcc6dbae1929e179cf467ec0b9ee4e2e","0db18c6e78ea846316c012478888f33c11ffadab9efd1cc8bcc12daded7a60b6","e61be3f894b41b7baa1fbd6a66893f2579bfad01d208b4ff61daef21493ef0a8","bd0532fd6556073727d28da0edfd1736417a3f9f394877b6d5ef6ad88fba1d1a","89167d696a849fce5ca508032aabfe901c0868f833a8625d5a9c6e861ef935d2","615ba88d0128ed16bf83ef8ccbb6aff05c3ee2db1cc0f89ab50a4939bfc1943f","a4d551dbf8746780194d550c88f26cf937caf8d56f102969a110cfaed4b06656","8bd86b8e8f6a6aa6c49b71e14c4ffe1211a0e97c80f08d2c8cc98838006e4b88","317e63deeb21ac07f3992f5b50cdca8338f10acd4fbb7257ebf56735bf52ab00","4732aec92b20fb28c5fe9ad99521fb59974289ed1e45aecb282616202184064f","2e85db9e6fd73cfa3d7f28e0ab6b55417ea18931423bd47b409a96e4a169e8e6","c46e079fe54c76f95c67fb89081b3e399da2c7d109e7dca8e4b58d83e332e605","bf67d53d168abc1298888693338cb82854bdb2e69ef83f8a0092093c2d562107",{"version":"3b724a66c071d616203133f8d099a0cb881b0b43fd42e8621e611243c5f30cd6","affectsGlobalScope":true},"a38efe83ff77c34e0f418a806a01ca3910c02ee7d64212a59d59bca6c2c38fa1","7394959e5a741b185456e1ef5d64599c36c60a323207450991e7a42e08911419","3fe4022ba1e738034e38ad9afacbf0f1f16b458ed516326f5bf9e4a31e9be1dc",{"version":"a957197054b074bcdf5555d26286e8461680c7c878040d0f4e2d5509a7524944","affectsGlobalScope":true},"4314c7a11517e221f7296b46547dbc4df047115b182f544d072bdccffa57fc72","e9b97d69510658d2f4199b7d384326b7c4053b9e6645f5c19e1c2a54ede427fc",{"version":"c2510f124c0293ab80b1777c44d80f812b75612f297b9857406468c0f4dafe29","affectsGlobalScope":true},"5524481e56c48ff486f42926778c0a3cce1cc85dc46683b92b1271865bcf015a",{"version":"f478f6f5902dc144c0d6d7bdc919c5177cac4d17a8ca8653c2daf6d7dc94317f","affectsGlobalScope":true},"19d5f8d3930e9f99aa2c36258bf95abbe5adf7e889e6181872d1cdba7c9a7dd5","b200675fd112ffef97c166d0341fb33f6e29e9f27660adde7868e95c5bc98beb","a6bf63d17324010ca1fbf0389cab83f93389bb0b9a01dc8a346d092f65b3605f","e009777bef4b023a999b2e5b9a136ff2cde37dc3f77c744a02840f05b18be8ff","1e0d1f8b0adfa0b0330e028c7941b5a98c08b600efe7f14d2d2a00854fb2f393",{"version":"ee1ee365d88c4c6c0c0a5a5701d66ebc27ccd0bcfcfaa482c6e2e7fe7b98edf7","affectsGlobalScope":true},{"version":"88bc59b32d0d5b4e5d9632ac38edea23454057e643684c3c0b94511296f2998c","affectsGlobalScope":true},"a0a1dda070290b92da5a50113b73ecc4dd6bcbffad66e3c86503d483eafbadcf","59dcad36c4549175a25998f6a8b33c1df8e18df9c12ebad1dfb25af13fd4b1ce","9ba5b6a30cb7961b68ad4fb18dca148db151c2c23b8d0a260fc18b83399d19d3","3f3edb8e44e3b9df3b7ca3219ab539710b6a7f4fe16bd884d441af207e03cd57","528b62e4272e3ddfb50e8eed9e359dedea0a4d171c3eb8f337f4892aac37b24b","d71535813e39c23baa113bc4a29a0e187b87d1105ccc8c5a6ebaca38d9a9bff2",{"version":"8cf7e92bdb2862c2d28ba4535c43dc599cfbc0025db5ed9973d9b708dcbe3d98","affectsGlobalScope":true},"278e70975bd456bba5874eaee17692355432e8d379b809a97f6af0eee2b702d8","b1b6ee0d012aeebe11d776a155d8979730440082797695fc8e2a5c326285678f","45875bcae57270aeb3ebc73a5e3fb4c7b9d91d6b045f107c1d8513c28ece71c0",{"version":"1dc73f8854e5c4506131c4d95b3a6c24d0c80336d3758e95110f4c7b5cb16397","affectsGlobalScope":true},{"version":"636302a00dfd1f9fe6e8e91e4e9350c6518dcc8d51a474e4fc3a9ba07135100b","affectsGlobalScope":true},"3f16a7e4deafa527ed9995a772bb380eb7d3c2c0fd4ae178c5263ed18394db2c","933921f0bb0ec12ef45d1062a1fc0f27635318f4d294e4d99de9a5493e618ca2","71a0f3ad612c123b57239a7749770017ecfe6b66411488000aba83e4546fde25","8145e07aad6da5f23f2fcd8c8e4c5c13fb26ee986a79d03b0829b8fce152d8b2","e1120271ebbc9952fdc7b2dd3e145560e52e06956345e6fdf91d70ca4886464f","814118df420c4e38fe5ae1b9a3bafb6e9c2aa40838e528cde908381867be6466","e1ce1d622f1e561f6cdf246372ead3bbc07ce0342024d0e9c7caf3136f712698","c878f74b6d10b267f6075c51ac1d8becd15b4aa6a58f79c0cfe3b24908357f60","37ba7b45141a45ce6e80e66f2a96c8a5ab1bcef0fc2d0f56bb58df96ec67e972","125d792ec6c0c0f657d758055c494301cc5fdb327d9d9d5960b3f129aff76093",{"version":"27e4532aaaa1665d0dd19023321e4dc12a35a741d6b8e1ca3517fcc2544e0efe","affectsGlobalScope":true},"2754d8221d77c7b382096651925eb476f1066b3348da4b73fe71ced7801edada",{"version":"8c2ad42d5d1a2e8e6112625767f8794d9537f1247907378543106f7ba6c7df90","affectsGlobalScope":true},{"version":"f0be1b8078cd549d91f37c30c222c2a187ac1cf981d994fb476a1adc61387b14","affectsGlobalScope":true},"0aaed1d72199b01234152f7a60046bc947f1f37d78d182e9ae09c4289e06a592","98ffdf93dfdd206516971d28e3e473f417a5cfd41172e46b4ce45008f640588e","66ba1b2c3e3a3644a1011cd530fb444a96b1b2dfe2f5e837a002d41a1a799e60","7e514f5b852fdbc166b539fdd1f4e9114f29911592a5eb10a94bb3a13ccac3c4",{"version":"7d6ff413e198d25639f9f01f16673e7df4e4bd2875a42455afd4ecc02ef156da","affectsGlobalScope":true},{"version":"12e8ce658dd17662d82fb0509d2057afc5e6ee30369a2e9e0957eff725b1f11d","affectsGlobalScope":true},"74736930d108365d7bbe740c7154706ccfb1b2a3855a897963ab3e5c07ecbf19","858f999b3e4a45a4e74766d43030941466460bf8768361d254234d5870480a53","ac5ed35e649cdd8143131964336ab9076937fa91802ec760b3ea63b59175c10a",{"version":"63b05afa6121657f25e99e1519596b0826cda026f09372c9100dfe21417f4bd6","affectsGlobalScope":true},"3797dd6f4ea3dc15f356f8cdd3128bfa18122213b38a80d6c1f05d8e13cbdad8","171fd8807643c46a9d17e843959abdf10480d57d60d38d061fb44a4c8d4a8cc4"],"root":[63],"options":{"declaration":true,"module":1,"outDir":"./","removeComments":true,"sourceMap":true,"target":4},"fileIdsList":[[48,50,51,52,53,54,55,56,57,58,59,60,69,111],[48,49,51,52,53,54,55,56,57,58,59,60,69,111],[49,50,51,52,53,54,55,56,57,58,59,60,69,111],[48,49,50,52,53,54,55,56,57,58,59,60,69,111],[48,49,50,51,53,54,55,56,57,58,59,60,69,111],[48,49,50,51,52,54,55,56,57,58,59,60,69,111],[48,49,50,51,52,53,55,56,57,58,59,60,69,111],[48,49,50,51,52,53,54,56,57,58,59,60,69,111],[48,49,50,51,52,53,54,55,57,58,59,60,69,111],[48,49,50,51,52,53,54,55,56,58,59,60,69,111],[48,49,50,51,52,53,54,55,56,57,59,60,69,111],[48,49,50,51,52,53,54,55,56,57,58,60,69,111],[48,49,50,51,52,53,54,55,56,57,58,59,69,111],[69,108,111],[69,110,111],[69,111,116,146],[69,111,112,117,123,124,131,143,154],[69,111,112,113,123,131],[69,111],[64,65,66,69,111],[69,111,114,155],[69,111,115,116,124,132],[69,111,116,143,151],[69,111,117,119,123,131],[69,110,111,118],[69,111,119,120],[69,111,123],[69,111,121,123],[69,110,111,123],[69,111,123,124,125,143,154],[69,111,123,124,125,138,143,146],[69,106,111,159],[69,106,111,119,123,126,131,143,154],[69,111,123,124,126,127,131,143,151,154],[69,111,126,128,143,151,154],[69,111,123,129],[69,111,130,154],[69,111,119,123,131,143],[69,111,132],[69,111,133],[69,110,111,134],[69,108,109,110,111,112,113,114,115,116,117,118,119,120,121,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160],[69,111,136],[69,111,137],[69,111,123,138,139],[69,111,138,140,155,157],[69,111,123,143,144,146],[69,111,145,146],[69,111,143,144],[69,111,146],[69,111,147],[69,108,111,143],[69,111,123,149,150],[69,111,149,150],[69,111,116,131,143,151],[69,111,152],[111],[67,68,69,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160],[69,111,131,153],[69,111,126,137,154],[69,111,116,155],[69,111,143,156],[69,111,130,157],[69,111,158],[69,111,116,123,125,134,143,154,157,159],[69,111,143,160],[69,78,82,111,154],[69,78,111,143,154],[69,73,111],[69,75,78,111,151,154],[69,111,131,151],[69,111,161],[69,73,111,161],[69,75,78,111,131,154],[69,70,71,74,77,111,123,143,154],[69,78,85,111],[69,70,76,111],[69,78,99,100,111],[69,74,78,111,146,154,161],[69,99,111,161],[69,72,73,111,161],[69,78,111],[69,72,73,74,75,76,77,78,79,80,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,100,101,102,103,104,105,111],[69,78,93,111],[69,78,85,86,111],[69,76,78,86,87,111],[69,77,111],[69,70,73,78,111],[69,78,82,86,87,111],[69,82,111],[69,76,78,81,111,154],[69,70,75,78,85,111],[69,111,143],[69,73,78,99,111,159,161],[61,62,69,111],[60,61,69,111],[61]],"referencedMap":[[49,1],[50,2],[48,3],[51,4],[52,5],[53,6],[54,7],[55,8],[56,9],[57,10],[58,11],[59,12],[60,13],[108,14],[109,14],[110,15],[111,16],[112,17],[113,18],[64,19],[67,20],[65,19],[66,19],[114,21],[115,22],[116,23],[117,24],[118,25],[119,26],[120,26],[122,27],[121,28],[123,29],[124,30],[125,31],[107,32],[126,33],[127,34],[128,35],[129,36],[130,37],[131,38],[132,39],[133,40],[134,41],[135,42],[136,43],[137,44],[138,45],[139,45],[140,46],[141,19],[142,19],[143,47],[145,48],[144,49],[146,50],[147,51],[148,52],[149,53],[150,54],[151,55],[152,56],[69,57],[68,19],[161,58],[153,59],[154,60],[155,61],[156,62],[157,63],[158,64],[159,65],[160,66],[45,19],[46,19],[8,19],[9,19],[13,19],[12,19],[2,19],[14,19],[15,19],[16,19],[17,19],[18,19],[19,19],[20,19],[21,19],[3,19],[4,19],[47,19],[25,19],[22,19],[23,19],[24,19],[26,19],[27,19],[28,19],[5,19],[29,19],[30,19],[31,19],[32,19],[6,19],[36,19],[33,19],[34,19],[35,19],[37,19],[7,19],[38,19],[43,19],[44,19],[39,19],[40,19],[41,19],[42,19],[1,19],[11,19],[10,19],[85,67],[95,68],[84,67],[105,69],[76,70],[75,71],[104,72],[98,73],[103,74],[78,75],[92,76],[77,77],[101,78],[73,79],[72,72],[102,80],[74,81],[79,82],[80,19],[83,82],[70,19],[106,83],[96,84],[87,85],[88,86],[90,87],[86,88],[89,89],[99,72],[81,90],[82,91],[91,92],[71,93],[94,84],[93,82],[97,19],[100,94],[63,95],[62,96],[61,19]],"exportedModulesMap":[[49,1],[50,2],[48,3],[51,4],[52,5],[53,6],[54,7],[55,8],[56,9],[57,10],[58,11],[59,12],[60,13],[108,14],[109,14],[110,15],[111,16],[112,17],[113,18],[64,19],[67,20],[65,19],[66,19],[114,21],[115,22],[116,23],[117,24],[118,25],[119,26],[120,26],[122,27],[121,28],[123,29],[124,30],[125,31],[107,32],[126,33],[127,34],[128,35],[129,36],[130,37],[131,38],[132,39],[133,40],[134,41],[135,42],[136,43],[137,44],[138,45],[139,45],[140,46],[141,19],[142,19],[143,47],[145,48],[144,49],[146,50],[147,51],[148,52],[149,53],[150,54],[151,55],[152,56],[69,57],[68,19],[161,58],[153,59],[154,60],[155,61],[156,62],[157,63],[158,64],[159,65],[160,66],[45,19],[46,19],[8,19],[9,19],[13,19],[12,19],[2,19],[14,19],[15,19],[16,19],[17,19],[18,19],[19,19],[20,19],[21,19],[3,19],[4,19],[47,19],[25,19],[22,19],[23,19],[24,19],[26,19],[27,19],[28,19],[5,19],[29,19],[30,19],[31,19],[32,19],[6,19],[36,19],[33,19],[34,19],[35,19],[37,19],[7,19],[38,19],[43,19],[44,19],[39,19],[40,19],[41,19],[42,19],[1,19],[11,19],[10,19],[85,67],[95,68],[84,67],[105,69],[76,70],[75,71],[104,72],[98,73],[103,74],[78,75],[92,76],[77,77],[101,78],[73,79],[72,72],[102,80],[74,81],[79,82],[80,19],[83,82],[70,19],[106,83],[96,84],[87,85],[88,86],[90,87],[86,88],[89,89],[99,72],[81,90],[82,91],[91,92],[71,93],[94,84],[93,82],[97,19],[100,94],[63,95],[62,97]],"semanticDiagnosticsPerFile":[49,50,48,51,52,53,54,55,56,57,58,59,60,108,109,110,111,112,113,64,67,65,66,114,115,116,117,118,119,120,122,121,123,124,125,107,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,145,144,146,147,148,149,150,151,152,69,68,161,153,154,155,156,157,158,159,160,45,46,8,9,13,12,2,14,15,16,17,18,19,20,21,3,4,47,25,22,23,24,26,27,28,5,29,30,31,32,6,36,33,34,35,37,7,38,43,44,39,40,41,42,1,11,10,85,95,84,105,76,75,104,98,103,78,92,77,101,73,72,102,74,79,80,83,70,106,96,87,88,90,86,89,99,81,82,91,71,94,93,97,100,63,62,61]},"version":"5.0.4"}
|