@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/cjs/index.js
CHANGED
|
@@ -259,6 +259,7 @@ class EntitySerializer {
|
|
|
259
259
|
}
|
|
260
260
|
async parse(data, format, payload) {
|
|
261
261
|
const context = await this.getContext();
|
|
262
|
+
console.log("/serializer/base/parse", payload);
|
|
262
263
|
const definition = await this.getDefinition(context, payload);
|
|
263
264
|
switch (format) {
|
|
264
265
|
case exports.EntitySerializationFormat.Csv:
|
|
@@ -355,6 +356,7 @@ class EntitySerializer {
|
|
|
355
356
|
refDate: new Date(),
|
|
356
357
|
});
|
|
357
358
|
const context = await this.getContext();
|
|
359
|
+
console.log("buildSampleFile", "definition call");
|
|
358
360
|
const definition = await this.getDefinition(context);
|
|
359
361
|
switch (format) {
|
|
360
362
|
case exports.EntitySerializationFormat.Csv:
|
|
@@ -421,6 +423,7 @@ class EntitySerializer {
|
|
|
421
423
|
refDate: new Date(),
|
|
422
424
|
});
|
|
423
425
|
const context = await this.getContext();
|
|
426
|
+
console.log("buildExportFile", "definition call");
|
|
424
427
|
const definition = await this.getDefinition(context);
|
|
425
428
|
switch (format) {
|
|
426
429
|
case exports.EntitySerializationFormat.Csv:
|