@stepbook/plugin-api
v0.2.0
Published
Public contract for stepbook dashboard plugins (types + hook signatures, no runtime).
Readme
@stepbook/plugin-api
The public contract for stepbook dashboard plugins. Types only — no runtime. Depend on it to author a plugin against a stable surface without pulling in the dashboard itself.
Install
npm install -D @stepbook/plugin-apiUsage
import type {
StepbookPlugin,
AddonPanelContribution,
CanvasViewContribution,
AddonTabBadge,
} from '@stepbook/plugin-api'
export default {
name: 'my-plugin',
// panels, canvas views, and tab badges the dashboard will mount
} satisfies StepbookPlugin