Sync / foldkit-durable

JudgeDecision

type · packages/durable/src/journal.ts:98

type JudgeDecision =
  | true
  | {
      readonly rule: string
      readonly message: string
      readonly path: ReadonlyArray<string>
    }

What judge answers: true when every law holds, or the first broken one, by its id, its words and the snapshot fields it names.