@intisy/bayonet
    Preparing search index...

    Interface LedgerFacadeShape

    The ledger a host exposes on HostSurface.

    interface LedgerFacadeShape {
        entries(): LedgerRowShape[];
        entry(pluginId: string): LedgerRowShape | undefined;
        recordDeclared(manifest: unknown): void;
    }
    Index

    entry

    • entry(pluginId: string): LedgerRowShape | undefined

      One plugin's row, or undefined when the host has not seen it.

      Parameters

      • pluginId: string

        the id of the plugin to look up

      Returns LedgerRowShape | undefined

      the plugin's row, or undefined when the host has not seen it

    • Records what a manifest declares, before its activation runs.

      Parameters

      • manifest: unknown

        the parsed plugin.json object being recorded

      Returns void