type
AdminPluginMetadata
Static package/export pairing for a plugin admin half.
Properties
| Property | Type | Description |
|---|---|---|
Package | string | Installed bare JavaScript package specifier. |
Export | string | Named AdminPlugin export in Package. |
APIVersion | uint32 | Admin contract version; must equal AdminPluginAPIVersion. |
PairingVersion | uint32 | Backend/admin pairing version checked during generation. |
Routes | []string | Authenticated admin route paths in exact registration order. |
Assets | []string | Package-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.