Anchorage API reference
    Preparing search index...

    Minimal STRUCTURAL shape of the approval stream event this hub fans out.

    ACYCLIC LAYERING: approval-api already imports FROM do-runner, so do-runner must NOT import ApprovalStreamEvent back from approval-api — that would be a dependency cycle. The hub only re-serializes the whole event to subscribers, so this local subset is sufficient. The real ApprovalStreamEvent (approval-api/contract.ts) is bridged onto the hub's POST body by host-kit through createHubTopology, which may import both packages.

    interface HubStreamEvent {
        record: Record<string, unknown>;
        type?: string;
        [key: string]: unknown;
    }

    Indexable

    • [key: string]: unknown
    Index

    Properties

    Properties

    record: Record<string, unknown>
    type?: string