FormContextFieldInput interface exported
Last updated: 2026-03-03T11:04:37.495Z
Metrics
LOC: 9
Complexity: 1
Params: 0
Signature
interface FormContextFieldInput
Summary
Compact metadata for a single field passed to the form context generator.
Source Code
export interface FormContextFieldInput {
/** 0-based position index — used as the JSON key in the response */
readonly index: number;
readonly label?: string;
readonly fieldType: FieldType;
readonly inputType?: string;
/** Up to 6 option values for <select> fields */
readonly options?: readonly string[];
}
Dependencies (Outgoing)
| Target | Type |
|---|---|
| FieldType | uses |
| StructuredPrompt | uses |
Impact (Incoming)
| Source | Type |
|---|---|
| getLanguageModelApi | uses |
| isAvailableViaProxy | uses |
| getLanguageModelApi | uses |
| setNativeValue | uses |
| makeField | uses |