@dxos/app-framework - v0.15.0
    Preparing search index...

    Interface ComposerDevtools

    globalThis.composer — the app-layer console namespace, the counterpart to __DXOS__/dxos (client and ECHO). Populated as the app boots, so every member is optional; the declaration buys type-checking at call sites, not a presence guarantee.

    An interface rather than a type alias so apps can declaration-merge their own debug hooks onto it — a second declare global { var composer } elsewhere would collide with this one instead.

    interface ComposerDevtools {
        invoke?: (
            key: string,
            input?: unknown,
            options?: InvokeOptions,
        ) => Promise<unknown>;
        manager?: PluginManager.PluginManager;
        operations?: (pluginId?: string) => OperationInfo[];
        plugins?: () => PluginInfo[];
        [key: string]: unknown;
    }

    Indexable

    • [key: string]: unknown
    Index

    Properties

    invoke?: (
        key: string,
        input?: unknown,
        options?: InvokeOptions,
    ) => Promise<unknown>
    operations?: (pluginId?: string) => OperationInfo[]
    plugins?: () => PluginInfo[]