@punks/backend-entity-manager 0.0.439 → 0.0.441

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
@@ -265,6 +265,7 @@ class EntitySerializer {
265
265
  dateColumns: dateColumns.map((x) => x.name),
266
266
  ...(definition?.options ? definition.options : {}),
267
267
  });
268
+ console.log("records", records);
268
269
  return records.map((x, i) => this.convertSheetRecord(x, definition, i));
269
270
  }
270
271
  convertSheetRecord(record, definition, rowIndex) {
@@ -275,8 +276,6 @@ class EntitySerializer {
275
276
  const entity = (definition.autoColumns ? { ...record } : {});
276
277
  for (const column of definition.columns) {
277
278
  const columnName = [column.name, ...(column?.aliases ?? [])].find((x) => normalizeSheetColumn(x) in record) ?? null;
278
- console.log("name", columnName);
279
- console.log("record", entity);
280
279
  if (!columnName)
281
280
  continue;
282
281
  if (column.parseAction) {
@@ -291,7 +290,6 @@ class EntitySerializer {
291
290
  columnName,
292
291
  parser: column.parser,
293
292
  });
294
- console.log("parsed", parsedColumn);
295
293
  entity[column.selector] = column.array
296
294
  ? splitArrayColumn(parsedColumn, column.arraySeparator)
297
295
  .map((x) => applyModifiers(x, column.modifiers))