Skip to main content

Type Alias: WidgetPriority

WidgetPriority = "primary" | "secondary"

Defined in: src/server/dashboard/types.ts:11

Declarative dashboard widget. The registry is the single source of truth for which role sees which widget: each widget belongs to exactly one ACCESS DOMAIN and selectWidgets filters the registry down to the domains the current admin may access (see ./select). This is the one chokepoint that keeps an out-of-domain widget from ever rendering OR querying — RLS does not separate admin access-roles, so the gate must live here in the app layer.