Skip to content

Commit 49f1921

Browse files
os-justinclaude
andcommitted
chore(spec): regenerate api-surface / export-origins / references for deriveColumnSummary and the ColumnSummary describe
Regenerated by `check:generated --fix` after the merge was committed (api-surface/ui.json + export-origins/ui.json: the new export; content/docs/references/ui/view.mdx: the ColumnSummarySchema describe). Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01H2oQebDDxYKfWZusyd8GXk
1 parent d117bd8 commit 49f1921

3 files changed

Lines changed: 3 additions & 1 deletion

File tree

content/docs/references/ui/view.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ Compound-cell prefix configuration
127127

128128
## ColumnSummary
129129

130-
Aggregation function for the column footer summary — and, on a grouped list view, the per-group header summary (server-side): count (COUNT(*), the group count), count_unique (count_distinct), sum, avg, min, max map onto the query AST's AggregationFunction; count_empty, count_filled, percent_empty, percent_filled have no counterpart yet and are refused loudly by the group-header compiler (an open contract question) — never dropped silently
130+
Aggregation function for the column footer summary — and, on a grouped list view, the per-group header summary (server-side): count (COUNT(*), the group count), count_unique (count_distinct), sum, avg, min, max map onto the query AST's AggregationFunction; count_filled, count_empty, percent_filled, percent_empty derive from one COUNT(field) node (the non-null count) and the group count — count_filled = COUNT(field), count_empty = count − COUNT(field), percent_filled = COUNT(field) / count (0 when count is 0), percent_empty = 1 − percent_filled. Server-side "empty" is null on every face; the footer's client-side reading of empty strings and empty arrays as empty is the renderer's to converge
131131

132132
### Allowed Values
133133

packages/spec/api-surface/ui.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -427,6 +427,7 @@
427427
"defineReport (function)",
428428
"defineView (function)",
429429
"defineViewItem (function)",
430+
"deriveColumnSummary (function)",
430431
"diagnoseViewMetadata (function)",
431432
"expandViewContainer (function)",
432433
"expandViewContainerWithDiagnostics (function)",

packages/spec/export-origins/ui.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -427,6 +427,7 @@
427427
"defineReport": "src/ui/report.zod.ts#defineReport (function)",
428428
"defineView": "src/ui/view.zod.ts#defineView (function)",
429429
"defineViewItem": "src/ui/view.zod.ts#defineViewItem (function)",
430+
"deriveColumnSummary": "src/ui/view-grouping-query.ts#deriveColumnSummary (function)",
430431
"diagnoseViewMetadata": "src/ui/view.zod.ts#diagnoseViewMetadata (function)",
431432
"expandViewContainer": "src/ui/view.zod.ts#expandViewContainer (function)",
432433
"expandViewContainerWithDiagnostics": "src/ui/view.zod.ts#expandViewContainerWithDiagnostics (function)",

0 commit comments

Comments
 (0)