hashbrown

UiDecisionCandidate

A component option for uiDecisionResource in candidates mode.

component
Type<unknown>

The component rendered when the candidate is chosen.

description
string

Tells the model when this candidate fits the input.

id
string

A unique id for the candidate. Must not be empty or contain ..

inputs
Record<string, unknown> | Signal<Record<string, unknown>>

Inputs bound to the component when it is rendered. Pass a signal to keep the rendered component in step with app state; changing it re-renders the chosen candidate without a new decision. The id and description stay static.