Validate
Table of Contents
Classes
- DataLimits
- The data limits of a form root (validation-rules.md, "Data limits"): the bounds of the levels and the nodes of the
submitted data.
- FormInputError
- Submitted form data whose shape does not match the specification.
- ListValidationResult
- CRUDUI list-spec validation result — { valid, errors } (SPEC §9). Read sister of
ValidationResult. A list carries no data (rows are injected, SPEC §9), so the
four-language engine runs only compose + forbidden-scan: a clean structure load
is always { valid:true, errors:[] }. A composition/forbidden-key failure is a
LOAD failure (a thrown ComposeLoadError), NOT a valid:false result — so this
shape is the clean-load companion, idempotent with the JS validateList return.
- ValidationResult
- CRUDUI validation result — { valid, errors, hidden } (SPEC G-B). Port of the JS
ValidationResult shape. `errors` is a flat list of error records, each
{ path, field, rule, message, value }, identical in every runtime so the
4-language fixture compares bit-for-bit.
- Validator
- CRUDUI form validator — SPEC §2 G5→§3→§2 G1. Port of
validator-ts/src/validate/validator.ts (Validator), function-for-function.