Skip to content

mutationStatusSchema

const mutationStatusSchema: ZodEnum<{ acked: "acked"; conflicted: "conflicted"; failed: "failed"; pending: "pending"; quarantined: "quarantined"; rejected: "rejected"; sending: "sending"; }>

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

The full Mutation-journal status machine — every status a journal row can hold, including the two terminal states (quarantined, ADR-0006; conflicted, ADR-0015). Kept in lockstep with the client’s MutationStatus (packages/client/src/mutation-state.ts). Distinct from mutationAckStatusSchema, the narrower transport subset a server ack may carry.