GridDataset
View as MarkdownIdentity
Section titled “Identity”GridDataset, related types, and gridDatasetSchema from @sapporta/shared/grid-dataset.
Contract
Section titled “Contract”- Columns use stable
idvalues and declare value/display semantics. - Nodes use stable
rowKeyandlevelName; source values live incolumnsand computed parent values inrollup. - Nested rows use
children; root totals usefooterRows; group totals usechildFooterRows. statscarry compact answers anderrorscarry non-fatal report issues.- Hidden identifiers remain in the dataset for frontend link resolvers.
Minimal lookup
Section titled “Minimal lookup”import { gridDatasetSchema, type GridDataset } from "@sapporta/shared/grid-dataset";