utils/columnMappings
Overview
Default mappings from DRF serializer field types to list column adapter components. Mirrors fieldMappings.js (which maps types to form widgets). Resolved via the shared getTypeMapping helper, keyed typeSerializer -> typeModel.
Date/time/datetime types resolve to ColumnDateTime; foreign-key relations resolve to ColumnModelLink. Any unmapped type falls back to ColumnText, reproducing the historical plain-text cell.
Properties
columnMappings
Type: object
Source: client/lib/utils/columnMappings.js:21
Methods
- mergeColumnMappings - Deep-merge custom column mappings into the defaults.
Types
ColumnMappingEntry
Source
client/lib/utils/columnMappings.js:1