Interface ValueHostValidateResult

Result of the validate() function.

interface ValueHostValidateResult {
    status: ValidationStatus;
    issuesFound: null | IssueFound[];
    corrected?: boolean;
    pending?: null | Promise<ValidatorValidateResult>[];
}

Hierarchy (view full)

Properties

The state of validation for this ValueHost.

issuesFound: null | IssueFound[]

The issues that were found.

corrected?: boolean

Set to true when the user has fixed all invalid validators. Undefined or false otherwise, including if the status changes after this point.

pending?: null | Promise<ValidatorValidateResult>[]

Any promises returned by Validator.validate() These still need to finish before supplying their evaluation results. When either null or undefined, nothing is pending. There should never be an empty array as the presence of an array will make the system think there are promises pending.

Generated using TypeDoc v0.25.12