@punks/backend-entity-manager 0.0.447 → 0.0.448
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/dist/cjs/index.js +3 -0
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/index.js +3 -0
- package/dist/esm/index.js.map +1 -1
- package/package.json +1 -1
package/dist/esm/index.js
CHANGED
|
@@ -244,6 +244,7 @@ class EntitySerializer {
|
|
|
244
244
|
}
|
|
245
245
|
async parse(data, format, payload) {
|
|
246
246
|
const context = await this.getContext();
|
|
247
|
+
console.log("/serializer/base/parse", payload);
|
|
247
248
|
const definition = await this.getDefinition(context, payload);
|
|
248
249
|
switch (format) {
|
|
249
250
|
case EntitySerializationFormat.Csv:
|
|
@@ -340,6 +341,7 @@ class EntitySerializer {
|
|
|
340
341
|
refDate: new Date(),
|
|
341
342
|
});
|
|
342
343
|
const context = await this.getContext();
|
|
344
|
+
console.log("buildSampleFile", "definition call");
|
|
343
345
|
const definition = await this.getDefinition(context);
|
|
344
346
|
switch (format) {
|
|
345
347
|
case EntitySerializationFormat.Csv:
|
|
@@ -406,6 +408,7 @@ class EntitySerializer {
|
|
|
406
408
|
refDate: new Date(),
|
|
407
409
|
});
|
|
408
410
|
const context = await this.getContext();
|
|
411
|
+
console.log("buildExportFile", "definition call");
|
|
409
412
|
const definition = await this.getDefinition(context);
|
|
410
413
|
switch (format) {
|
|
411
414
|
case EntitySerializationFormat.Csv:
|