Skip to content

Type Alias: ValidationTypeDto

@kortexya/reasoninglayer


@kortexya/reasoninglayer / UI / ValidationTypeDto

Type Alias: ValidationTypeDto

ValidationTypeDto = { type: "required"; } | { params: number; type: "min"; } | { params: number; type: "max"; } | { params: string; type: "pattern"; } | { params: string[]; type: "one_of"; } | { params: string; type: "value_type"; } | { params: string; type: "date_after"; } | { params: string; type: "date_before"; }

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

Validation type (discriminated union). Re-exported from generated types.