UNPKG

@cranberry-money/shared-types

Version:

Shared TypeScript type definitions for Blueberry platform

12 lines 315 B
export interface ValidationResult { isValid: boolean; message?: string; } export interface FieldValidation extends ValidationResult { isEmpty: boolean; } export interface FormValidation { isFormValid: boolean; fields?: Record<string, ValidationResult>; } //# sourceMappingURL=validation.d.ts.map