Final app-facing result of one Jidoka turn.
Summary
Functions
Projects finished turn state into the public result contract.
Builds a turn result from keyword or map attributes.
Builds a turn result and raises if the attributes are invalid.
Returns the Zoi schema for a completed turn result.
Types
Functions
@spec from_turn_state!(Jidoka.Turn.State.t()) :: t()
Projects finished turn state into the public result contract.
Builds a turn result from keyword or map attributes.
Builds a turn result and raises if the attributes are invalid.
@spec schema() :: Zoi.schema()
Returns the Zoi schema for a completed turn result.