MCPcopy Create free account
hub / github.com/axe-api/axe-api / IValidator

Interface IValidator

packages/axe-api/src/Interfaces.ts:587–593  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

585}
586
587export interface IValidator {
588 validate: (
589 req: AxeRequest,
590 model: IModelService,
591 formData: any,
592 ) => Promise<null | IValidationError>;
593}
594
595export interface IValidationError {
596 errors: Record<string, string[]>;

Callers

nothing calls this directly

Implementers 2

RobustValidatorpackages/axe-api/src/Validators/Robust
Validatorjspackages/axe-api/src/Validators/Valida

Calls

no outgoing calls

Tested by

no test coverage detected