@sqlrooms/mosaic / ChartBuilderField
Interface: ChartBuilderField
Describes a field selector in a chart builder UI
Properties
key
key:
string
Unique key for this field
label
label:
string
Display label
required?
optionalrequired?:boolean
Whether the field is required
types?
optionaltypes?:string[]
Filter columns by DuckDB type (e.g. 'INTEGER', 'VARCHAR', 'DOUBLE')
description?
optionaldescription?:string
Optional helper text for AI or custom UIs
multiple?
optionalmultiple?:boolean
Whether this field accepts multiple values (array)
