@punks/backend-entity-manager 0.0.389 → 0.0.390

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 CHANGED
@@ -420,10 +420,14 @@ class EntitySerializer {
420
420
  data,
421
421
  sheetName: this.entityName,
422
422
  columns: [
423
- {
424
- header: "_type",
425
- value: () => this.entityName,
426
- },
423
+ ...(definition.sheet?.useTypeColumn
424
+ ? [
425
+ {
426
+ header: "_type",
427
+ value: () => this.entityName,
428
+ },
429
+ ]
430
+ : []),
427
431
  ...definition.columns.map((c) => ({
428
432
  header: c.name,
429
433
  value: (item) => {