Type Alias: ReportCellValue
type ReportCellValue = string | number | boolean | null;Defined in: shared/insights/types/results.ts:19
A single result cell.
IMPORTANT: money fields configured with representation: "decimal"
surface their values as strings (e.g. "1234.56"), never number.
PG numeric sums/avgs are computed in SQL and passed through verbatim
to avoid IEEE-754 float drift on large-denomination amounts. minorUnits
money and other numerics remain number. Consumers formatting a cell
must consult the column's money hint rather than typeof value.