Skip to content

EventBusRegistry

Defined in: useEventBus.ts:32

Registry for custom event types.

Plugin authors can extend this interface via module augmentation to provide type-safe custom events.

// In your plugin file:
declare module "@izumisy/seizen-table/plugin" {
interface EventBusRegistry {
"my-plugin:action": { itemId: string; action: "create" | "delete" };
"my-plugin:complete": { success: boolean };
}
}