Skip to content

Commit ea17ab8

Browse files
committed
chore(spec): regenerate the three artifacts the narrowing proved stale
`check:generated` named exactly three: `api-surface/` (+1 added, 0 breaking — the new exported refinement check), `export-origins/ui.json` (same symbol), and `content/docs/references/ui/dashboard.mdx` (the `values` doc string now states the arity rule it enforces). The other twelve were already current, including `authorable-surface/` — no authorable key moves here. Claude-Session: https://claude.ai/code/session_01JbZnqu8bt6YqfJsr9vaFb3 Co-authored-by: Claude <noreply@anthropic.com>
1 parent 04cc604 commit ea17ab8

3 files changed

Lines changed: 4 additions & 2 deletions

File tree

‎content/docs/references/ui/dashboard.mdx‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ const result = DashboardSchema.parse(data);
7676
| **compareTo** | `{ kind: Enum<'previousPeriod' \| 'previousYear'>; dimension?: string }` | optional | Period-over-period comparison window (`{ kind, dimension? }`) |
7777
| **dataset** | `string` | ✅ | Dataset name to bind (ADR-0021) |
7878
| **dimensions** | `string[]` | optional | Dimension names — X/group/split |
79-
| **values** | `string[]` | ✅ | Measure names — Y (at least one) |
79+
| **values** | `string[]` | ✅ | Measure names — Y (at least one; exactly one on the metric/kpi/gauge/solid-gauge/bullet family) |
8080
| **layout** | `{ x: number; y: number; w: number; h: number }` | optional | Grid layout position (auto-flowed when omitted) |
8181
| **options** | `{ dateGranularity?: Enum<'day' \| 'week' \| 'month' \| 'quarter' \| 'year'>; sortBy?: string; sortOrder?: Enum<'asc' \| 'desc'>; limit?: integer; … } & Record<string, any>` | optional | Widget specific configuration |
8282
| **filterBindings** | `Record<string, string \| false>` | optional | Per-widget dashboard-filter bindings: filter name → this widget's field, or false to opt out |
@@ -181,7 +181,7 @@ Dashboard header action
181181
| **compareTo** | `{ kind: Enum<'previousPeriod' \| 'previousYear'>; dimension?: string }` | optional | Period-over-period comparison window (`{ kind, dimension? }`) |
182182
| **dataset** | `string` | ✅ | Dataset name to bind (ADR-0021) |
183183
| **dimensions** | `string[]` | optional | Dimension names — X/group/split |
184-
| **values** | `string[]` | ✅ | Measure names — Y (at least one) |
184+
| **values** | `string[]` | ✅ | Measure names — Y (at least one; exactly one on the metric/kpi/gauge/solid-gauge/bullet family) |
185185
| **layout** | `{ x: number; y: number; w: number; h: number }` | optional | Grid layout position (auto-flowed when omitted) |
186186
| **options** | `{ dateGranularity?: Enum<'day' \| 'week' \| 'month' \| 'quarter' \| 'year'>; sortBy?: string; sortOrder?: Enum<'asc' \| 'desc'>; limit?: integer; … } & Record<string, any>` | optional | Widget specific configuration |
187187
| **filterBindings** | `Record<string, string \| false>` | optional | Per-widget dashboard-filter bindings: filter name → this widget's field, or false to opt out |

‎packages/spec/api-surface/ui.json‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -443,6 +443,7 @@
443443
"chartAggregateCategoryKey (function)",
444444
"chartAggregateResultKeys (function)",
445445
"chartAggregateValueKey (function)",
446+
"checkDashboardWidgetMetricMeasureArity (function)",
446447
"checkDashboardWidgetStageOrder (function)",
447448
"checkGlobalFilterDateDefaultValue (function)",
448449
"checkListViewCalendarVisualization (function)",

‎packages/spec/export-origins/ui.json‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -429,6 +429,7 @@
429429
"chartAggregateCategoryKey": "src/ui/chart-aggregate.ts#chartAggregateCategoryKey (function)",
430430
"chartAggregateResultKeys": "src/ui/chart-aggregate.ts#chartAggregateResultKeys (function)",
431431
"chartAggregateValueKey": "src/ui/chart-aggregate.ts#chartAggregateValueKey (function)",
432+
"checkDashboardWidgetMetricMeasureArity": "src/ui/dashboard.zod.ts#checkDashboardWidgetMetricMeasureArity (function)",
432433
"checkDashboardWidgetStageOrder": "src/ui/dashboard.zod.ts#checkDashboardWidgetStageOrder (function)",
433434
"checkGlobalFilterDateDefaultValue": "src/ui/dashboard.zod.ts#checkGlobalFilterDateDefaultValue (function)",
434435
"checkListViewCalendarVisualization": "src/ui/view.zod.ts#checkListViewCalendarVisualization (function)",

0 commit comments

Comments
 (0)