lessel - v0.1.0
    Preparing search index...

    Interface LesselPlugin

    A single plugin module

    interface LesselPlugin {
        name: string;
        onStart?: (context: PluginContext) => Promise<void>;
        onStop?: () => Promise<void>;
        schema: string | string[];
        schemas?: Schema[];
        execute(event: MessageEvent, context: PluginContext): Promise<void>;
    }
    Index
    name: string

    Plugin name (must match npm package name or file path)

    onStart?: (context: PluginContext) => Promise<void>

    Optional: called once at startup

    onStop?: () => Promise<void>

    Optional: called on shutdown

    schema: string | string[]

    Which schema(s) to hook into. "*" means all.

    schemas?: Schema[]

    Auto-register these schemas when the plugin loads