interface
AdminPlugin
interface AdminPlugin { ... }The complete statically bundled admin half of a plugin.
Source packages/plugin/src/index.ts:31
apiVersion1- Framework admin-plugin contract version compiled by this package.
keystring- Stable key matching the compiled Go plugin.
pairingVersionnumber- Plugin-owned backend/admin compatibility version.
fieldsreadonly FieldPlugin[]- Field renderers contributed by this package.
rowLabelsreadonly RowLabelPlugin[]- Array and blocks row-label components contributed by this package.
messagesPluginMessageCatalog- Statically bundled, plugin-owned interface messages.
routesreadonly AdminPluginRoute[]- Authenticated admin routes contributed by this package.
dashboardreadonly AdminDashboardPanel[]- Panels composed into or replacing the authenticated dashboard.
loginreadonly AdminLoginComponent[]- Components composed around or replacing the sign-in screen.
accountreadonly AdminAccountComponent[]- Components composed around or replacing the framework account screens.
navigationreadonly AdminNavigationComponent[]- Components composed around or replacing the framework navigation.
logoutButtonAdminLogoutButton- Replaces the default sign-out control in the account menu.
viewsreadonly AdminCoreView[]- Wraps or replaces framework collection, global, and not-found views.
brandingreadonly AdminBrandComponent[]- Replaces framework-owned brand graphics at exact shell surfaces.
shellreadonly AdminShellComponent[]- Adds global header, action, or account-settings menu components.
providersreadonly AdminProvider[]- Wraps the admin in statically ordered Svelte context providers.
listCellsreadonly AdminListCell[]- Collection list cells rendered for exact collection/field pairs.
documentActionsreadonly AdminDocumentAction[]- Actions rendered alongside framework-owned document actions.
documentViewsreadonly AdminDocumentView[]- Read-only or operational views rendered beside Edit and API.
assetsreadonly string[]- Package-relative static modules imported by the generated admin registry.
Plugins are compiled into the admin registry; production never downloads or installs executable plugin code dynamically.
apiVersion is framework-owned. pairingVersion is plugin-owned and must change when the backend and admin halves stop being mutually compatible.