Skip to main content

Interface: BaseValidationResult

Defined in: shared/types/validation.ts:42

Base validation result interface.

Remarksโ€‹

Provides the core structure for validation results across the app. Other validation interfaces can extend this for domain-specific needs.

Hierarchyโ€‹

View Summary

Extended byโ€‹

Propertiesโ€‹

errorsโ€‹

errors: readonly string[];

Defined in: shared/types/validation.ts:44

Array of validation error messages


successโ€‹

success: boolean;

Defined in: shared/types/validation.ts:46

Whether validation passed (no errors)


warnings?โ€‹

optional warnings?: readonly string[];

Defined in: shared/types/validation.ts:48

Optional warning messages that don't prevent validation success