Interface: MutationResult

August 8, 2026 · View on GitHub

@plures/praxis


@plures/praxis / index / MutationResult

Interface: MutationResult

Defined in: src/unified/types.ts:91

Result returned by app.mutate() — accepted status, violations, and emitted facts.

Properties

accepted

accepted: boolean

Defined in: src/unified/types.ts:93

Whether the mutation was accepted


facts

facts: PraxisFact[]

Defined in: src/unified/types.ts:97

Facts emitted by rules triggered by this mutation


violations

violations: PraxisDiagnostics[]

Defined in: src/unified/types.ts:95

Constraint violations that blocked the mutation (if any)