Skip to main content

Variable: ADMIN_WIDGETS

const ADMIN_WIDGETS: readonly WidgetDef[]

Defined in: src/server/dashboard/registry.tsx:44

The admin dashboard widget registry — the single, declarative source of role→widget mapping. selectWidgets (see ./select) filters this to the current admin's permitted domains; widgets are never rendered (and so never query) outside their domain. Add new widgets here, tagged with the domain that gates them.