File tree Expand file tree Collapse file tree 2 files changed +36
-0
lines changed
Expand file tree Collapse file tree 2 files changed +36
-0
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ " @vee-validate/rules " : patch
3+ ---
4+
5+ fix: offer an all export with simplified typings closes #4766
Original file line number Diff line number Diff line change @@ -26,6 +26,37 @@ import required from './required';
2626import size from './size' ;
2727import url from './url' ;
2828import { toTypedSchema } from './toTypedSchema' ;
29+ import { SimpleValidationRuleFunction } from 'packages/shared' ;
30+
31+ export const all : Record < string , SimpleValidationRuleFunction < any , any > > = {
32+ alpha_dash,
33+ alpha_num,
34+ alpha_spaces,
35+ alpha,
36+ between,
37+ confirmed,
38+ digits,
39+ dimensions,
40+ email,
41+ ext,
42+ image,
43+ integer,
44+ is_not,
45+ is,
46+ length,
47+ max_value,
48+ max,
49+ mimes,
50+ min_value,
51+ min,
52+ not_one_of,
53+ numeric,
54+ one_of,
55+ regex,
56+ required,
57+ size,
58+ url,
59+ } ;
2960
3061export {
3162 alpha_dash ,
You can’t perform that action at this time.
0 commit comments