Add options field to BlockIOStringSubSchema type

Introduces an optional 'options' array to BlockIOStringSubSchema, allowing specification of selectable string values with labels and optional descriptions.
This commit is contained in:
Bentlybro
2026-01-16 10:13:33 +00:00
parent 47a70cdbd0
commit eab93aba2b

View File

@@ -186,6 +186,7 @@ export type BlockIOStringSubSchema = BlockIOSubSchemaMeta & {
default?: string;
format?: string;
maxLength?: number;
options?: { value: string; label: string; description?: string }[];
};
export type BlockIONumberSubSchema = BlockIOSubSchemaMeta & {