-
-
Notifications
You must be signed in to change notification settings - Fork 714
Commit
- Loading branch information
There are no files selected for viewing
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,7 +9,7 @@ | |
} | ||
], | ||
"license": "MIT", | ||
"version": "18.0.0-alpha.41", | ||
"version": "18.0.0-alpha.42", | ||
"repository": { | ||
"type": "git", | ||
"url": "[email protected]:plone/volto.git" | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
import { ConfigType } from '@plone/registry'; | ||
declare const registerValidators: (config: ConfigType) => void; | ||
export { registerValidators }; |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
type MinMaxValidator = { | ||
value: string | number; | ||
fieldSpec: string | number; | ||
criterion: string; | ||
formatMessage: Function; | ||
}; | ||
type Validator = { | ||
value: string; | ||
field: Record<string, any>; | ||
formData: any; | ||
formatMessage: Function; | ||
}; | ||
export declare const isMaxPropertyValid: ({ value, fieldSpec, criterion, formatMessage, }: MinMaxValidator) => any; | ||
export declare const isMinPropertyValid: ({ value, fieldSpec, criterion, formatMessage, }: MinMaxValidator) => any; | ||
export declare const minLengthValidator: ({ value, field, formatMessage, }: Validator) => any; | ||
export declare const maxLengthValidator: ({ value, field, formatMessage, }: Validator) => any; | ||
export declare const urlValidator: ({ value, formatMessage }: Validator) => any; | ||
export declare const emailValidator: ({ value, formatMessage }: Validator) => string; | ||
export declare const isNumberValidator: ({ value, formatMessage }: Validator) => any; | ||
export declare const minimumValidator: ({ value, field, formatMessage }: Validator) => any; | ||
export declare const maximumValidator: ({ value, field, formatMessage }: Validator) => any; | ||
export declare const isIntegerValidator: ({ value, formatMessage }: Validator) => any; | ||
export declare const hasUniqueItemsValidator: ({ value, field, formatMessage, }: Validator) => any; | ||
export declare const startEventDateRangeValidator: ({ value, field, formData, formatMessage, }: Validator) => any; | ||
export declare const endEventDateRangeValidator: ({ value, field, formData, formatMessage, }: Validator) => any; | ||
export declare const patternValidator: ({ value, field, formatMessage, }: Validator) => any; | ||
export declare const maxItemsValidator: ({ value, field, formatMessage, }: Validator) => any; | ||
export declare const minItemsValidator: ({ value, field, formatMessage, }: Validator) => any; | ||
export {}; |