@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/esm/index.js CHANGED
@@ -405,10 +405,14 @@ class EntitySerializer {
405
405
  data,
406
406
  sheetName: this.entityName,
407
407
  columns: [
408
- {
409
- header: "_type",
410
- value: () => this.entityName,
411
- },
408
+ ...(definition.sheet?.useTypeColumn
409
+ ? [
410
+ {
411
+ header: "_type",
412
+ value: () => this.entityName,
413
+ },
414
+ ]
415
+ : []),
412
416
  ...definition.columns.map((c) => ({
413
417
  header: c.name,
414
418
  value: (item) => {