Application-facing request for human review of an interrupted operation.
Summary
Functions
Normalizes an existing request, keyword list, or map.
Projects a runtime interrupt into a public review request.
Projects a runtime interrupt and raises if its data is invalid.
Builds a review request from keyword or map attributes.
Builds a review request and raises if the attributes are invalid.
Returns the Zoi schema for a public review request.
Types
Functions
Normalizes an existing request, keyword list, or map.
@spec from_interrupt(Jidoka.Review.Interrupt.t()) :: {:ok, t()} | {:error, term()}
Projects a runtime interrupt into a public review request.
@spec from_interrupt!(Jidoka.Review.Interrupt.t()) :: t()
Projects a runtime interrupt and raises if its data is invalid.
Builds a review request from keyword or map attributes.
Builds a review request and raises if the attributes are invalid.
@spec schema() :: Zoi.schema()
Returns the Zoi schema for a public review request.