Type Alias: UIActionDto
@kortexya/reasoninglayer / UIActionDto
Type Alias: UIActionDto
Section titled “Type Alias: UIActionDto”UIActionDto = {
fieldTypes:Record<string,string>;osfqlTemplate:string;riskTier:RiskTier;sortName:string;statementId?:string|null;type:"submit_form"; } | {osfqlQuery:string;riskTier:RiskTier;statementId?:string|null;type:"load_data"; } | {fieldTypes:Record<string,string>;osfqlTemplate:string;riskTier:RiskTier;sortName:string;statementId?:string|null;type:"update_form"; } | {osfqlTemplate?:string|null;riskTier:RiskTier;sortName:string;statementId?:string|null;type:"delete_record"; } | {osfqlDerive:string;riskTier:RiskTier;statementId?:string|null;type:"trigger_inference"; } | {riskTier:RiskTier;sortId:string;statementId?:string|null;termId?:string|null;type:"navigate";viewMode:string; } | {riskTier:RiskTier;statementId?:string|null;type:"refresh"; } | {fieldTypes:Record<string,string>;osfqlTemplate:string;riskTier:RiskTier;statementId:string;title:string;type:"run_osfql"; }
Defined in: src/types/ui.ts:98
UI action discriminated union.
Union Members
Section titled “Union Members”Type Literal
Section titled “Type Literal”{ fieldTypes: Record<string, string>; osfqlTemplate: string; riskTier: RiskTier; sortName: string; statementId?: string | null; type: "submit_form"; }
fieldTypes
Section titled “fieldTypes”fieldTypes:
Record<string,string>
Feature name → value type. A "sort_ref" field takes a term UUID in
values, stored as a Reference; see UIActionRequest.fieldTypes.
osfqlTemplate
Section titled “osfqlTemplate”osfqlTemplate:
string
riskTier
Section titled “riskTier”riskTier:
RiskTier
sortName
Section titled “sortName”sortName:
string
statementId?
Section titled “statementId?”
optionalstatementId?:string|null
type:
"submit_form"
Type Literal
Section titled “Type Literal”{ osfqlQuery: string; riskTier: RiskTier; statementId?: string | null; type: "load_data"; }
Type Literal
Section titled “Type Literal”{ fieldTypes: Record<string, string>; osfqlTemplate: string; riskTier: RiskTier; sortName: string; statementId?: string | null; type: "update_form"; }
fieldTypes
Section titled “fieldTypes”fieldTypes:
Record<string,string>
Feature name → value type. A "sort_ref" field takes a term UUID in
values, stored as a Reference; see UIActionRequest.fieldTypes.
osfqlTemplate
Section titled “osfqlTemplate”osfqlTemplate:
string
riskTier
Section titled “riskTier”riskTier:
RiskTier
sortName
Section titled “sortName”sortName:
string
statementId?
Section titled “statementId?”
optionalstatementId?:string|null
type:
"update_form"
Type Literal
Section titled “Type Literal”{ osfqlTemplate?: string | null; riskTier: RiskTier; sortName: string; statementId?: string | null; type: "delete_record"; }
osfqlTemplate?
Section titled “osfqlTemplate?”
optionalosfqlTemplate?:string|null
OSFQL template with {field} placeholders — present for feature-based deletes.
riskTier
Section titled “riskTier”riskTier:
RiskTier
sortName
Section titled “sortName”sortName:
string
statementId?
Section titled “statementId?”
optionalstatementId?:string|null
type:
"delete_record"
Type Literal
Section titled “Type Literal”{ osfqlDerive: string; riskTier: RiskTier; statementId?: string | null; type: "trigger_inference"; }
Type Literal
Section titled “Type Literal”{ riskTier: RiskTier; sortId: string; statementId?: string | null; termId?: string | null; type: "navigate"; viewMode: string; }
Type Literal
Section titled “Type Literal”{ riskTier: RiskTier; statementId?: string | null; type: "refresh"; }
Type Literal
Section titled “Type Literal”{ fieldTypes: Record<string, string>; osfqlTemplate: string; riskTier: RiskTier; statementId: string; title: string; type: "run_osfql"; }
fieldTypes
Section titled “fieldTypes”fieldTypes:
Record<string,string>
Feature name → value type. A "sort_ref" field takes a term UUID in
values, stored as a Reference; see UIActionRequest.fieldTypes.
osfqlTemplate
Section titled “osfqlTemplate”osfqlTemplate:
string
riskTier
Section titled “riskTier”riskTier:
RiskTier
statementId
Section titled “statementId”statementId:
string
Catalog statement id whose OSFQL template this action runs.
title:
string
Human-readable label for the catalog statement.
type:
"run_osfql"
Remarks
Section titled “Remarks”Every variant carries a RiskTier (riskTier) and an optional catalog
statementId — the server derives both from the action kind and echoes them on
the descriptor. run_osfql is the catalog-authored variant: its statementId is
required because it names the catalog statement whose OSFQL template the action runs.