Dotloom TypeScript API
    Preparing search index...

    Interface DotloomPlugin

    interface DotloomPlugin {
        commands?: Record<string, PluginCommand>;
        constraintTemplates?: ConstraintTemplate[];
        exporters?: Exporter[];
        id: string;
        importers?: Importer[];
        panels?: PanelContribution[];
        sdk?: string;
        snapProviders?: SnapProvider[];
        storage?: StorageAdapter[];
        tools?: (() => Tool)[];
        types?: EntityTypeDef[];
        version: string;
        activate?(api: PluginApi): (() => void) | undefined;
    }
    Index
    commands?: Record<string, PluginCommand>
    constraintTemplates?: ConstraintTemplate[]
    exporters?: Exporter[]
    id: string

    Namespaced ID, e.g. acme.shelves.

    importers?: Importer[]
    sdk?: string

    Semver range of @dotloomjs/sdk the plugin supports, e.g. ^1.0.0.

    snapProviders?: SnapProvider[]
    storage?: StorageAdapter[]
    tools?: (() => Tool)[]

    Tool factories (fresh instances on every enable).

    types?: EntityTypeDef[]
    version: string

    Plugin version (semver).