OptionalbaseOptionaltitleBrand shown in the sidebar + titles.
OptionalauthorizeGate — return true to allow. Default: deny everything.
OptionalheadInjected into
after the default theme (link a color-scheme sheet + stamper to follow the host theme).OptionalhideField names to omit from every entity.
OptionalhideEntity names to omit from the panel entirely (e.g. ones you handle via a custom section instead).
OptionaluploadEndpoint that accepts a multipart/form-data file and returns { url } — enables the media field's upload
button (e.g. an R2-backed worker route). Omit and media fields are paste-a-URL only.
OptionalstatsDashboard-framework extras (all optional — omit for a plain CRUD admin). Each may be a per-request FUNCTION so the dashboard adapts to WHO is logged in — a bespoke, role-dependent product dashboard, not a generic CRUD index.
OptionalgroupsOptionalsectionsOptionalhomeReplace the auto-generated home (stat cards + entity/section cards) with a BESPOKE overview — your product's landing page (welcome, recent activity, recommendations, quick actions). Stat cards, when set, render above it.
OptionalhomeHeading on the dashboard home (default "Dashboard").
OptionalhomeLabel of the home nav link (default "Dashboard").
The v4 document — a value, or a per-request function (e.g. return projectDocument(doc, roleOf(c))).