FieldMixin
FieldMixin<
TLanguage
,TBase
,TField
>:Simplify
<TBase
extendsany
?Extract
<keyofTField
,string
> extendsExtract
<keyofTBase
,string
> ?Omit
<TBase
,"description"
|"label"
| keyofTField
> &TField
&object
:Omit
<TBase
,"description"
|"label"
> &object
:never
>
Utility type to implement one of the core field types defined in @douglasneuroinformatics/libui-form-types
Type Parameters
• TLanguage extends InstrumentLanguage
the language(s) of the instrument
• TBase extends BaseField
the base field type that this field corresponds to
• TField extends object
= object
optional extensions to the multilingual base type, only applying to union members with the keys