Created
August 4, 2021 07:48
-
-
Save mealCode/43d8184dd1d923176975e1a4f6fe44f3 to your computer and use it in GitHub Desktop.
Joi validation error helpers
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
messages: { | |
'any.custom': [Object], | |
'any.default': [Object], | |
'any.failover': [Object], | |
'any.invalid': [Object], | |
'any.only': [Object], | |
'any.ref': [Object], | |
'any.required': [Object], | |
'any.unknown': [Object], | |
'string.alphanum': [Object], | |
'string.base': [Object], | |
'string.base64': [Object], | |
'string.creditCard': [Object], | |
'string.dataUri': [Object], | |
'string.domain': [Object], | |
'string.email': [Object], | |
'string.empty': [Object], | |
'string.guid': [Object], | |
'string.hex': [Object], | |
'string.hexAlign': [Object], | |
'string.hostname': [Object], | |
'string.ip': [Object], | |
'string.ipVersion': [Object], | |
'string.isoDate': [Object], | |
'string.isoDuration': [Object], | |
'string.length': [Object], | |
'string.lowercase': [Object], | |
'string.max': [Object], | |
'string.min': [Object], | |
'string.normalize': [Object], | |
'string.token': [Object], | |
'string.pattern.base': [Object], | |
'string.pattern.name': [Object], | |
'string.pattern.invert.base': [Object], | |
'string.pattern.invert.name': [Object], | |
'string.trim': [Object], | |
'string.uri': [Object], | |
'string.uriCustomScheme': [Object], | |
'string.uriRelativeOnly': [Object], | |
'string.uppercase': [Object] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment