interface BridgeQueryFunctions {
    connect?: (
        id: string,
        maxDepth?: number,
    ) => Promisable<undefined | Lowercase<string>>;
    disconnect?: (
        id: string,
        maxDepth?: number,
    ) => Promisable<undefined | Lowercase<string>>;
    expose: (
        id: string,
        options?: BridgeExposeOptions,
    ) => Promisable<ModuleInstance[]>;
    unexpose?: (
        id: string,
        options?: BridgeUnexposeOptions,
    ) => Promisable<Lowercase<string>[]>;
}

Hierarchy (View Summary)

Properties

connect?: (
    id: string,
    maxDepth?: number,
) => Promisable<undefined | Lowercase<string>>
disconnect?: (
    id: string,
    maxDepth?: number,
) => Promisable<undefined | Lowercase<string>>
expose: (
    id: string,
    options?: BridgeExposeOptions,
) => Promisable<ModuleInstance[]>
unexpose?: (
    id: string,
    options?: BridgeUnexposeOptions,
) => Promisable<Lowercase<string>[]>