IFClite TypeScript API
    Preparing search index...

    Function acceptProposal

    • Commit the chosen batches (default: all) to the live state, each re-checked by the gate against the live document. Rejected batches are reported, not applied; nothing is committed when none is accepted.

      Parameters

      • live: StudioState
      • proposal: Pick<Proposal, "runId" | "model" | "mode" | "batches">
      • options: { at?: string; batchIds?: Iterable<string, any, any>; gate: GateContext }

      Returns AcceptResult