BSB Node.js Type Definitions
    Preparing search index...

    Interface EventSchemaExport

    Complete exported schema for a plugin. This is the format consumed by cross-language code generators.

    interface EventSchemaExport {
        pluginName: string;
        version: string;
        events: Record<string, EventExportDefinition>;
        dependencies?: { id: string; version: string }[];
        configSchema?: Record<string, any>;
    }
    Index

    Properties

    pluginName: string

    Plugin identifier

    version: string

    Plugin version

    events: Record<string, EventExportDefinition>

    Map of event names to their definitions

    dependencies?: { id: string; version: string }[]

    Auto-detected plugin dependencies (from .bsb/clients/ imports)

    configSchema?: Record<string, any>

    Config schema as JSON Schema (from Zod validation schema)