@punks/backend-entity-manager 0.0.444 → 0.0.445

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/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:
@@ -950,6 +951,7 @@ class EntitiesImportCommand {
950
951
  contentType: input.file.contentType,
951
952
  fileName: input.file.fileName,
952
953
  });
954
+ console.log("/commands/import/execute", input?.payload);
953
955
  const importEntities = await this.parseImportFile(input.file.content, input.format, input?.payload);
954
956
  const validEntities = importEntities.filter((x) => x.status.isValid);
955
957
  const invalidEntities = importEntities.filter((x) => !x.status.isValid);
@@ -971,6 +973,7 @@ class EntitiesImportCommand {
971
973
  };
972
974
  }
973
975
  async parseImportFile(content, format, payload) {
976
+ console.log("/import/command/parseImportFile", payload);
974
977
  return await this.services
975
978
  .resolveSerializer()
976
979
  .parse(content, format, payload);