Skip to content

GridDataset

View as Markdown

GridDataset, related types, and gridDatasetSchema from @sapporta/shared/grid-dataset.

  • Columns use stable id values and declare value/display semantics.
  • Nodes use stable rowKey and levelName; source values live in columns and computed parent values in rollup.
  • Nested rows use children; root totals use footerRows; group totals use childFooterRows.
  • stats carry compact answers and errors carry non-fatal report issues.
  • Hidden identifiers remain in the dataset for frontend link resolvers.
import { gridDatasetSchema, type GridDataset } from "@sapporta/shared/grid-dataset";