verificator
Version:
Client and server-side validation JavaScript library
57 lines (56 loc) • 3.16 kB
TypeScript
export declare const messages: {
accepted: ({ attribute }: any) => string;
after: ({ attribute, parameters: [date] }: any) => string;
after_or_equal: ({ attribute, parameters: [date] }: any) => string;
alpha: ({ attribute }: any) => string;
alpha_dash: ({ attribute }: any) => string;
alpha_num: ({ attribute }: any) => string;
array: ({ attribute }: any) => string;
before: ({ attribute, parameters: [date] }: any) => string;
before_or_equal: ({ attribute, parameters: [date] }: any) => string;
'between:numeric': ({ attribute, parameters: [min, max] }: any) => string;
'between:string': ({ attribute, parameters: [min, max] }: any) => string;
'between:array': ({ attribute, parameters: [min, max] }: any) => string;
boolean: ({ attribute }: any) => string;
confirmed: ({ attribute }: any) => string;
date: ({ attribute }: any) => string;
date_equals: ({ attribute, parameters: [date] }: any) => string;
date_format: ({ attribute, parameters: [format] }: any) => string;
different: ({ attribute, parameters: [other] }: any) => string;
digits: ({ attribute, parameters: [digits] }: any) => string;
digits_between: ({ attribute, parameters: [min, max] }: any) => string;
distinct: ({ attribute }: any) => string;
email: ({ attribute }: any) => string;
filled: ({ attribute }: any) => string;
in: ({ attribute }: any) => string;
in_array: ({ attribute, parameters: [other] }: any) => string;
integer: ({ attribute }: any) => string;
ip: ({ attribute }: any) => string;
ipv4: ({ attribute }: any) => string;
ipv6: ({ attribute }: any) => string;
json: ({ attribute }: any) => string;
'max:numeric': ({ attribute, parameters: [max] }: any) => string;
'max:string': ({ attribute, parameters: [max] }: any) => string;
'max:array': ({ attribute, parameters: [max] }: any) => string;
'min:numeric': ({ attribute, parameters: [min] }: any) => string;
'min:string': ({ attribute, parameters: [min] }: any) => string;
'min:array': ({ attribute, parameters: [min] }: any) => string;
not_in: ({ attribute }: any) => string;
numeric: ({ attribute }: any) => string;
present: ({ attribute }: any) => string;
regex: ({ attribute }: any) => string;
required: ({ attribute }: any) => string;
required_if: ({ attribute, parameters: [other, value] }: any) => string;
required_unless: ({ attribute, parameters: [other, value] }: any) => string;
required_with: ({ attribute, parameters }: any) => string;
required_with_all: ({ attribute, parameters }: any) => string;
required_without: ({ attribute, parameters }: any) => string;
required_without_all: ({ attribute, parameters }: any) => string;
same: ({ attribute, parameters: [other] }: any) => string;
'size:numeric': ({ attribute, parameters: [size] }: any) => string;
'size:string': ({ attribute, parameters: [size] }: any) => string;
'size:array': ({ attribute, parameters: [size] }: any) => string;
string: ({ attribute }: any) => string;
url: ({ attribute }: any) => string;
};
export declare const attributes: {};