frontend


frontend / api/inventory/rowNormalizers

api/inventory/rowNormalizers

File

rowNormalizers.ts

Enterprise

  • Single responsibility: DTO → InventoryRow transformation
  • Handles backend field name mappings transparently
  • Type-safe with full TypeScript support
  • Reusable for both single rows and batch operations

Functions