Skip to content

Interface: UIActionRequest

@kortexya/reasoninglayer


@kortexya/reasoninglayer / UI / UIActionRequest

Interface: UIActionRequest

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

Request to execute a UI action.

Properties

actionType

actionType: string

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

Action type: "submit_form", "update_form", "delete_record", "trigger_inference", "run_osfql".


confirm?

optional confirm: boolean

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

Explicit go-ahead for destructive tiers. The server is the boundary: a destructive statement without confirm: true is refused and nothing is mutated.


dryRun?

optional dryRun: boolean

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

Preview only: classify and (for destructive tiers) return the affected-row preview WITHOUT mutating. Defaults to false.


fieldTypes?

optional fieldTypes: object | null

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


originalValues?

optional originalValues: object | null

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


osfql?

optional osfql: string | null

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

Raw OSFQL override — gated server-side, rejected with 400 unless explicitly enabled.


osfqlTemplate?

optional osfqlTemplate: string | null

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

OSFQL template with {field} placeholders the server substitutes from values. Used by run_osfql and by feature-based delete_record.


sortName?

optional sortName: string | null

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


statementId?

optional statementId: string | null

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

Catalog statement id echoed from the descriptor action — audit/trace only.


termId?

optional termId: string | null

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


values?

optional values: object | null

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