@lemoncode/fonk
Advanced tools
Comparing version 1.2.0 to 1.2.1
{ | ||
"name": "@lemoncode/fonk", | ||
"version": "1.2.0", | ||
"version": "1.2.1", | ||
"description": "Form schema validator library", | ||
@@ -5,0 +5,0 @@ "main": "dist/@lemoncode/fonk.cjs.js", |
@@ -37,3 +37,5 @@ import { ValidationResult } from './result.model'; | ||
export interface FullFieldValidation { | ||
validator: FieldValidationFunctionSyncAsync; | ||
validator: | ||
| FieldValidationFunctionSyncAsync | ||
| { validator: FieldValidationFunctionSyncAsync }; | ||
customArgs?: any; | ||
@@ -40,0 +42,0 @@ message?: string | string[]; |
@@ -35,3 +35,5 @@ import { ValidationResult } from './result.model'; | ||
export interface FullRecordValidation { | ||
validator: RecordValidationFunctionSyncAsync; | ||
validator: | ||
| RecordValidationFunctionSyncAsync | ||
| { validator: RecordValidationFunctionSyncAsync }; | ||
message?: string | string[]; | ||
@@ -38,0 +40,0 @@ } |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
186561
4706