A2uiCheck
Client-side validation condition paired with the message shown on failure.
import type { A2uiCheck } from '@threadplane/a2ui';Declaration
export interface A2uiCheck {
condition: DynamicValue;
message: string;
}Members
condition
A DynamicBoolean — typically a validator function call (required,
regex, length, numeric, email) or a logic combinator. The rule
passes when the condition resolves to true.
condition: DynamicValue;message
Error message displayed when the check fails.
message: string;