Variable: dashboardFilterOptionSchema
const dashboardFilterOptionSchema: ZodObject<{
label: ZodString;
value: ZodString;
}, $strip>;Defined in: shared/insights/types/dashboard-filter.ts:66
One choice in a select filter — the stored value and its display label.
These are NOT authored on the descriptor: a select filter names only its
field, and the server resolves the choices from the data at request time
(DashboardService.resolveFilterOptions runs a governed DISTINCT query, or
falls back to a non-groupable enum's declared enumValues). The consumer
hands the resolved map down to DashboardFilterBar the same way it
hands down tile results — so the bar stays presentational and the option list
always reflects the tenant's actual data rather than a hand-typed list that
drifts.