480 lines
12 KiB
JavaScript
480 lines
12 KiB
JavaScript
// flow-typed signature: df6a5a3e3b1fbde4f973e1041ec88f2f
|
|
// flow-typed version: <<STUB>>/validator_v5.2.0/flow_v0.104.0
|
|
|
|
/**
|
|
* This is an autogenerated libdef stub for:
|
|
*
|
|
* 'validator'
|
|
*
|
|
* Fill this stub out by replacing all the `any` types.
|
|
*
|
|
* Once filled out, we encourage you to share your work with the
|
|
* community by sending a pull request to:
|
|
* https://github.com/flowtype/flow-typed
|
|
*/
|
|
|
|
declare module 'validator' {
|
|
declare module.exports: any;
|
|
}
|
|
|
|
/**
|
|
* We include stubs for each file inside this npm package in case you need to
|
|
* require those files directly. Feel free to delete any files that aren't
|
|
* needed.
|
|
*/
|
|
declare module 'validator/lib/alpha' {
|
|
declare module.exports: any;
|
|
}
|
|
|
|
declare module 'validator/lib/blacklist' {
|
|
declare module.exports: any;
|
|
}
|
|
|
|
declare module 'validator/lib/contains' {
|
|
declare module.exports: any;
|
|
}
|
|
|
|
declare module 'validator/lib/equals' {
|
|
declare module.exports: any;
|
|
}
|
|
|
|
declare module 'validator/lib/escape' {
|
|
declare module.exports: any;
|
|
}
|
|
|
|
declare module 'validator/lib/isAfter' {
|
|
declare module.exports: any;
|
|
}
|
|
|
|
declare module 'validator/lib/isAlpha' {
|
|
declare module.exports: any;
|
|
}
|
|
|
|
declare module 'validator/lib/isAlphanumeric' {
|
|
declare module.exports: any;
|
|
}
|
|
|
|
declare module 'validator/lib/isAscii' {
|
|
declare module.exports: any;
|
|
}
|
|
|
|
declare module 'validator/lib/isBase64' {
|
|
declare module.exports: any;
|
|
}
|
|
|
|
declare module 'validator/lib/isBefore' {
|
|
declare module.exports: any;
|
|
}
|
|
|
|
declare module 'validator/lib/isBoolean' {
|
|
declare module.exports: any;
|
|
}
|
|
|
|
declare module 'validator/lib/isByteLength' {
|
|
declare module.exports: any;
|
|
}
|
|
|
|
declare module 'validator/lib/isCreditCard' {
|
|
declare module.exports: any;
|
|
}
|
|
|
|
declare module 'validator/lib/isCurrency' {
|
|
declare module.exports: any;
|
|
}
|
|
|
|
declare module 'validator/lib/isDataURI' {
|
|
declare module.exports: any;
|
|
}
|
|
|
|
declare module 'validator/lib/isDate' {
|
|
declare module.exports: any;
|
|
}
|
|
|
|
declare module 'validator/lib/isDecimal' {
|
|
declare module.exports: any;
|
|
}
|
|
|
|
declare module 'validator/lib/isDivisibleBy' {
|
|
declare module.exports: any;
|
|
}
|
|
|
|
declare module 'validator/lib/isEmail' {
|
|
declare module.exports: any;
|
|
}
|
|
|
|
declare module 'validator/lib/isFloat' {
|
|
declare module.exports: any;
|
|
}
|
|
|
|
declare module 'validator/lib/isFQDN' {
|
|
declare module.exports: any;
|
|
}
|
|
|
|
declare module 'validator/lib/isFullWidth' {
|
|
declare module.exports: any;
|
|
}
|
|
|
|
declare module 'validator/lib/isHalfWidth' {
|
|
declare module.exports: any;
|
|
}
|
|
|
|
declare module 'validator/lib/isHexadecimal' {
|
|
declare module.exports: any;
|
|
}
|
|
|
|
declare module 'validator/lib/isHexColor' {
|
|
declare module.exports: any;
|
|
}
|
|
|
|
declare module 'validator/lib/isIn' {
|
|
declare module.exports: any;
|
|
}
|
|
|
|
declare module 'validator/lib/isInt' {
|
|
declare module.exports: any;
|
|
}
|
|
|
|
declare module 'validator/lib/isIP' {
|
|
declare module.exports: any;
|
|
}
|
|
|
|
declare module 'validator/lib/isISBN' {
|
|
declare module.exports: any;
|
|
}
|
|
|
|
declare module 'validator/lib/isISIN' {
|
|
declare module.exports: any;
|
|
}
|
|
|
|
declare module 'validator/lib/isISO8601' {
|
|
declare module.exports: any;
|
|
}
|
|
|
|
declare module 'validator/lib/isJSON' {
|
|
declare module.exports: any;
|
|
}
|
|
|
|
declare module 'validator/lib/isLength' {
|
|
declare module.exports: any;
|
|
}
|
|
|
|
declare module 'validator/lib/isLowercase' {
|
|
declare module.exports: any;
|
|
}
|
|
|
|
declare module 'validator/lib/isMACAddress' {
|
|
declare module.exports: any;
|
|
}
|
|
|
|
declare module 'validator/lib/isMobilePhone' {
|
|
declare module.exports: any;
|
|
}
|
|
|
|
declare module 'validator/lib/isMongoId' {
|
|
declare module.exports: any;
|
|
}
|
|
|
|
declare module 'validator/lib/isMultibyte' {
|
|
declare module.exports: any;
|
|
}
|
|
|
|
declare module 'validator/lib/isNull' {
|
|
declare module.exports: any;
|
|
}
|
|
|
|
declare module 'validator/lib/isNumeric' {
|
|
declare module.exports: any;
|
|
}
|
|
|
|
declare module 'validator/lib/isSurrogatePair' {
|
|
declare module.exports: any;
|
|
}
|
|
|
|
declare module 'validator/lib/isUppercase' {
|
|
declare module.exports: any;
|
|
}
|
|
|
|
declare module 'validator/lib/isURL' {
|
|
declare module.exports: any;
|
|
}
|
|
|
|
declare module 'validator/lib/isUUID' {
|
|
declare module.exports: any;
|
|
}
|
|
|
|
declare module 'validator/lib/isVariableWidth' {
|
|
declare module.exports: any;
|
|
}
|
|
|
|
declare module 'validator/lib/isWhitelisted' {
|
|
declare module.exports: any;
|
|
}
|
|
|
|
declare module 'validator/lib/ltrim' {
|
|
declare module.exports: any;
|
|
}
|
|
|
|
declare module 'validator/lib/matches' {
|
|
declare module.exports: any;
|
|
}
|
|
|
|
declare module 'validator/lib/normalizeEmail' {
|
|
declare module.exports: any;
|
|
}
|
|
|
|
declare module 'validator/lib/rtrim' {
|
|
declare module.exports: any;
|
|
}
|
|
|
|
declare module 'validator/lib/stripLow' {
|
|
declare module.exports: any;
|
|
}
|
|
|
|
declare module 'validator/lib/toBoolean' {
|
|
declare module.exports: any;
|
|
}
|
|
|
|
declare module 'validator/lib/toDate' {
|
|
declare module.exports: any;
|
|
}
|
|
|
|
declare module 'validator/lib/toFloat' {
|
|
declare module.exports: any;
|
|
}
|
|
|
|
declare module 'validator/lib/toInt' {
|
|
declare module.exports: any;
|
|
}
|
|
|
|
declare module 'validator/lib/trim' {
|
|
declare module.exports: any;
|
|
}
|
|
|
|
declare module 'validator/lib/unescape' {
|
|
declare module.exports: any;
|
|
}
|
|
|
|
declare module 'validator/lib/util/assertString' {
|
|
declare module.exports: any;
|
|
}
|
|
|
|
declare module 'validator/lib/util/merge' {
|
|
declare module.exports: any;
|
|
}
|
|
|
|
declare module 'validator/lib/util/toString' {
|
|
declare module.exports: any;
|
|
}
|
|
|
|
declare module 'validator/lib/whitelist' {
|
|
declare module.exports: any;
|
|
}
|
|
|
|
declare module 'validator/validator' {
|
|
declare module.exports: any;
|
|
}
|
|
|
|
declare module 'validator/validator.min' {
|
|
declare module.exports: any;
|
|
}
|
|
|
|
// Filename aliases
|
|
declare module 'validator/index' {
|
|
declare module.exports: $Exports<'validator'>;
|
|
}
|
|
declare module 'validator/index.js' {
|
|
declare module.exports: $Exports<'validator'>;
|
|
}
|
|
declare module 'validator/lib/alpha.js' {
|
|
declare module.exports: $Exports<'validator/lib/alpha'>;
|
|
}
|
|
declare module 'validator/lib/blacklist.js' {
|
|
declare module.exports: $Exports<'validator/lib/blacklist'>;
|
|
}
|
|
declare module 'validator/lib/contains.js' {
|
|
declare module.exports: $Exports<'validator/lib/contains'>;
|
|
}
|
|
declare module 'validator/lib/equals.js' {
|
|
declare module.exports: $Exports<'validator/lib/equals'>;
|
|
}
|
|
declare module 'validator/lib/escape.js' {
|
|
declare module.exports: $Exports<'validator/lib/escape'>;
|
|
}
|
|
declare module 'validator/lib/isAfter.js' {
|
|
declare module.exports: $Exports<'validator/lib/isAfter'>;
|
|
}
|
|
declare module 'validator/lib/isAlpha.js' {
|
|
declare module.exports: $Exports<'validator/lib/isAlpha'>;
|
|
}
|
|
declare module 'validator/lib/isAlphanumeric.js' {
|
|
declare module.exports: $Exports<'validator/lib/isAlphanumeric'>;
|
|
}
|
|
declare module 'validator/lib/isAscii.js' {
|
|
declare module.exports: $Exports<'validator/lib/isAscii'>;
|
|
}
|
|
declare module 'validator/lib/isBase64.js' {
|
|
declare module.exports: $Exports<'validator/lib/isBase64'>;
|
|
}
|
|
declare module 'validator/lib/isBefore.js' {
|
|
declare module.exports: $Exports<'validator/lib/isBefore'>;
|
|
}
|
|
declare module 'validator/lib/isBoolean.js' {
|
|
declare module.exports: $Exports<'validator/lib/isBoolean'>;
|
|
}
|
|
declare module 'validator/lib/isByteLength.js' {
|
|
declare module.exports: $Exports<'validator/lib/isByteLength'>;
|
|
}
|
|
declare module 'validator/lib/isCreditCard.js' {
|
|
declare module.exports: $Exports<'validator/lib/isCreditCard'>;
|
|
}
|
|
declare module 'validator/lib/isCurrency.js' {
|
|
declare module.exports: $Exports<'validator/lib/isCurrency'>;
|
|
}
|
|
declare module 'validator/lib/isDataURI.js' {
|
|
declare module.exports: $Exports<'validator/lib/isDataURI'>;
|
|
}
|
|
declare module 'validator/lib/isDate.js' {
|
|
declare module.exports: $Exports<'validator/lib/isDate'>;
|
|
}
|
|
declare module 'validator/lib/isDecimal.js' {
|
|
declare module.exports: $Exports<'validator/lib/isDecimal'>;
|
|
}
|
|
declare module 'validator/lib/isDivisibleBy.js' {
|
|
declare module.exports: $Exports<'validator/lib/isDivisibleBy'>;
|
|
}
|
|
declare module 'validator/lib/isEmail.js' {
|
|
declare module.exports: $Exports<'validator/lib/isEmail'>;
|
|
}
|
|
declare module 'validator/lib/isFloat.js' {
|
|
declare module.exports: $Exports<'validator/lib/isFloat'>;
|
|
}
|
|
declare module 'validator/lib/isFQDN.js' {
|
|
declare module.exports: $Exports<'validator/lib/isFQDN'>;
|
|
}
|
|
declare module 'validator/lib/isFullWidth.js' {
|
|
declare module.exports: $Exports<'validator/lib/isFullWidth'>;
|
|
}
|
|
declare module 'validator/lib/isHalfWidth.js' {
|
|
declare module.exports: $Exports<'validator/lib/isHalfWidth'>;
|
|
}
|
|
declare module 'validator/lib/isHexadecimal.js' {
|
|
declare module.exports: $Exports<'validator/lib/isHexadecimal'>;
|
|
}
|
|
declare module 'validator/lib/isHexColor.js' {
|
|
declare module.exports: $Exports<'validator/lib/isHexColor'>;
|
|
}
|
|
declare module 'validator/lib/isIn.js' {
|
|
declare module.exports: $Exports<'validator/lib/isIn'>;
|
|
}
|
|
declare module 'validator/lib/isInt.js' {
|
|
declare module.exports: $Exports<'validator/lib/isInt'>;
|
|
}
|
|
declare module 'validator/lib/isIP.js' {
|
|
declare module.exports: $Exports<'validator/lib/isIP'>;
|
|
}
|
|
declare module 'validator/lib/isISBN.js' {
|
|
declare module.exports: $Exports<'validator/lib/isISBN'>;
|
|
}
|
|
declare module 'validator/lib/isISIN.js' {
|
|
declare module.exports: $Exports<'validator/lib/isISIN'>;
|
|
}
|
|
declare module 'validator/lib/isISO8601.js' {
|
|
declare module.exports: $Exports<'validator/lib/isISO8601'>;
|
|
}
|
|
declare module 'validator/lib/isJSON.js' {
|
|
declare module.exports: $Exports<'validator/lib/isJSON'>;
|
|
}
|
|
declare module 'validator/lib/isLength.js' {
|
|
declare module.exports: $Exports<'validator/lib/isLength'>;
|
|
}
|
|
declare module 'validator/lib/isLowercase.js' {
|
|
declare module.exports: $Exports<'validator/lib/isLowercase'>;
|
|
}
|
|
declare module 'validator/lib/isMACAddress.js' {
|
|
declare module.exports: $Exports<'validator/lib/isMACAddress'>;
|
|
}
|
|
declare module 'validator/lib/isMobilePhone.js' {
|
|
declare module.exports: $Exports<'validator/lib/isMobilePhone'>;
|
|
}
|
|
declare module 'validator/lib/isMongoId.js' {
|
|
declare module.exports: $Exports<'validator/lib/isMongoId'>;
|
|
}
|
|
declare module 'validator/lib/isMultibyte.js' {
|
|
declare module.exports: $Exports<'validator/lib/isMultibyte'>;
|
|
}
|
|
declare module 'validator/lib/isNull.js' {
|
|
declare module.exports: $Exports<'validator/lib/isNull'>;
|
|
}
|
|
declare module 'validator/lib/isNumeric.js' {
|
|
declare module.exports: $Exports<'validator/lib/isNumeric'>;
|
|
}
|
|
declare module 'validator/lib/isSurrogatePair.js' {
|
|
declare module.exports: $Exports<'validator/lib/isSurrogatePair'>;
|
|
}
|
|
declare module 'validator/lib/isUppercase.js' {
|
|
declare module.exports: $Exports<'validator/lib/isUppercase'>;
|
|
}
|
|
declare module 'validator/lib/isURL.js' {
|
|
declare module.exports: $Exports<'validator/lib/isURL'>;
|
|
}
|
|
declare module 'validator/lib/isUUID.js' {
|
|
declare module.exports: $Exports<'validator/lib/isUUID'>;
|
|
}
|
|
declare module 'validator/lib/isVariableWidth.js' {
|
|
declare module.exports: $Exports<'validator/lib/isVariableWidth'>;
|
|
}
|
|
declare module 'validator/lib/isWhitelisted.js' {
|
|
declare module.exports: $Exports<'validator/lib/isWhitelisted'>;
|
|
}
|
|
declare module 'validator/lib/ltrim.js' {
|
|
declare module.exports: $Exports<'validator/lib/ltrim'>;
|
|
}
|
|
declare module 'validator/lib/matches.js' {
|
|
declare module.exports: $Exports<'validator/lib/matches'>;
|
|
}
|
|
declare module 'validator/lib/normalizeEmail.js' {
|
|
declare module.exports: $Exports<'validator/lib/normalizeEmail'>;
|
|
}
|
|
declare module 'validator/lib/rtrim.js' {
|
|
declare module.exports: $Exports<'validator/lib/rtrim'>;
|
|
}
|
|
declare module 'validator/lib/stripLow.js' {
|
|
declare module.exports: $Exports<'validator/lib/stripLow'>;
|
|
}
|
|
declare module 'validator/lib/toBoolean.js' {
|
|
declare module.exports: $Exports<'validator/lib/toBoolean'>;
|
|
}
|
|
declare module 'validator/lib/toDate.js' {
|
|
declare module.exports: $Exports<'validator/lib/toDate'>;
|
|
}
|
|
declare module 'validator/lib/toFloat.js' {
|
|
declare module.exports: $Exports<'validator/lib/toFloat'>;
|
|
}
|
|
declare module 'validator/lib/toInt.js' {
|
|
declare module.exports: $Exports<'validator/lib/toInt'>;
|
|
}
|
|
declare module 'validator/lib/trim.js' {
|
|
declare module.exports: $Exports<'validator/lib/trim'>;
|
|
}
|
|
declare module 'validator/lib/unescape.js' {
|
|
declare module.exports: $Exports<'validator/lib/unescape'>;
|
|
}
|
|
declare module 'validator/lib/util/assertString.js' {
|
|
declare module.exports: $Exports<'validator/lib/util/assertString'>;
|
|
}
|
|
declare module 'validator/lib/util/merge.js' {
|
|
declare module.exports: $Exports<'validator/lib/util/merge'>;
|
|
}
|
|
declare module 'validator/lib/util/toString.js' {
|
|
declare module.exports: $Exports<'validator/lib/util/toString'>;
|
|
}
|
|
declare module 'validator/lib/whitelist.js' {
|
|
declare module.exports: $Exports<'validator/lib/whitelist'>;
|
|
}
|
|
declare module 'validator/validator.js' {
|
|
declare module.exports: $Exports<'validator/validator'>;
|
|
}
|
|
declare module 'validator/validator.min.js' {
|
|
declare module.exports: $Exports<'validator/validator.min'>;
|
|
}
|