CRUDUI

Home > @polyspec/crudui-validator > ListValidationResult

ListValidationResult interface

The result of checking a list or detail declaration: whether it is valid and its errors.

Signature:

export interface ListValidationResult 

Properties

Property

Modifiers

Type

Description

errors

ValidationError[]

List of all errors found; empty when valid is true.

valid

boolean

True when the declaration passed; false if any error was collected.