type

AdminPluginMetadata

Static package/export pairing for a plugin admin half.

Properties

PropertyTypeDescription
PackagestringInstalled bare JavaScript package specifier.
ExportstringNamed AdminPlugin export in Package.
APIVersionuint32Admin contract version; must equal AdminPluginAPIVersion.
PairingVersionuint32Backend/admin pairing version checked during generation.
Routes[]stringAuthenticated admin route paths in exact registration order.
Assets[]stringPackage-relative static assets in exact registration order.

How it works

Package and Export are statically imported at admin build time. Increment PairingVersion when backend and admin halves cease to be compatible.

Full signature