UNPKG

graphql-extra-scalars

Version:

Collection of extra GraphQL scalar types like Email, URL, Password and more

29 lines (27 loc) 637 B
/** * Flowtype definitions for validators * Generated by Flowgen from a Typescript Definition * Flowgen v1.9.2 */ declare var lengthValidator: ( name: string, value: string, min: number, max?: number | void ) => void; declare var alphabetValidator: ( name: string, value: string, alphabet: string | string[] ) => void; export interface ComplexityOptions { alphaNumeric?: boolean; mixedCase?: boolean; specialChars?: boolean; } declare var complexityValidator: ( name: string, value: string, options?: ComplexityOptions ) => void; declare export { alphabetValidator, complexityValidator, lengthValidator };