Skip to content

Interface: UIDescriptorDto

@kortexya/reasoninglayer


@kortexya/reasoninglayer / UIDescriptorDto

Defined in: src/types/ui.ts:175

UI descriptor tree node (recursive).

A feature whose sort declares an entity range renders as a select node: its props carry sortName, valueKey: 'id' and labelKey: 'label' (read them with isSortRefSelectProps), and its one load_data action lists the options with MATCH ?label: <sort>(__osf_term_id: ?id);. The picked option’s id is the value to send for that field; the action’s fieldTypes names it "sort_ref". A range at or below a literal carrier renders as that literal’s control, a top range as a string control, and a range the engine cannot resolve as a text notice.

optional actions?: UIActionDto[]

Defined in: src/types/ui.ts:176


optional bindingPath?: string

Defined in: src/types/ui.ts:177


optional children?: UIDescriptorDto[]

Defined in: src/types/ui.ts:178


optional initialValues?: object

Defined in: src/types/ui.ts:179


priority: number

Defined in: src/types/ui.ts:180


props: object

Defined in: src/types/ui.ts:181


optional slotId?: string

Defined in: src/types/ui.ts:182


sort: string

Defined in: src/types/ui.ts:183


optional validationRules?: ValidationRuleDto[]

Defined in: src/types/ui.ts:184