Skip to content
Developer Preview

ApprovalDecisionInput

What an approval handler answers with: a choice the SERVER offered, and optional feedback. Composed from the generated decide params, so “the client picks a choiceId” stays one fact rather than two that can drift.

is select-never-create, and this TYPE cannot enforce it — choiceId is a string on the wire — so the router checks the answer against the request’s own availableChoices before the frame is built.

Source

clients/sdk-ts/src/facade/approval.ts:52

{
"kind": "Type alias",
"canonicalPath": "ApprovalDecisionInput"
}