Skip to content

mutationAckStatusSchema

const mutationAckStatusSchema: ZodEnum<{ acked: "acked"; conflicted: "conflicted"; failed: "failed"; rejected: "rejected"; }>

Defined in: packages/contracts/src/mutation.ts:28

The transport statuses a server ack may carry. acked (applied), failed (transient, retry), conflicted (ADR-0015 stale write — overlay KEPT, resolve as a new write), and rejected (ADR-0022 — a business rejection from the authoritative endpoint: a server-side invariant the client cannot evaluate said no, so the optimistic overlay is auto-discarded for the whole write-unit and the typed reason is surfaced).