Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create @Decorators for missing /behaviors/common/* #4

Open
25 of 69 tasks
Sorikairox opened this issue Sep 21, 2022 · 1 comment
Open
25 of 69 tasks

Create @Decorators for missing /behaviors/common/* #4

Sorikairox opened this issue Sep 21, 2022 · 1 comment

Comments

@Sorikairox
Copy link
Contributor

Sorikairox commented Sep 21, 2022

We have a lot of behaviors in /behaviors/common/ but not all of them have decorators.

We need to implement them all (with tests for errors messages) in validators/common.ts following already written code.

Here is a list to track them :

  • contains
  • isAfter
  • isAlpha
  • isAlphanumeric
  • isAscii
  • isBase32
  • isBase64
  • isBefore
  • isBIC
  • isBoolean
  • isBtcAddress
  • isByteLength
  • isCreditCard
  • isCurrency
  • isDataURI
  • isDate
  • isDecimal
  • isDivisibleBy
  • isEAN
  • isEmail
  • isEmpty
  • isEthereumAddress
  • isFloat
  • isFQDN
  • isFullWidth
  • isHalfWidth
  • isHash
  • isHexadecimal
  • isHexColor
  • isHSL
  • isIBAN
  • isIdentityCard
  • isIn
  • isInt
  • isISIN
  • isISO31661Alpha2
  • isISO31661Alpha3
  • isISO8601
  • isISBN
  • isISRC
  • isISSN
  • isJSON
  • isIP
  • isIPRange
  • isJWT
  • isLatLong
  • isLocale
  • isLowerCase
  • isMACAddress
  • isMagnetURI
  • isMimeType
  • isMongoId
  • isMobilePhone
  • isMultibyte
  • isNumeric
  • isOctal
  • isPassportNumber
  • isPort
  • isPostalCode
  • isRFC3339
  • isRgbColor
  • isSemVer
  • isSlug
  • isSurrogatePair
  • isUpperCase
  • isURL
  • isUUID
  • isVariableWidth
  • isWhitelisted,
@hellodhruvin
Copy link
Contributor

Mark:
IsDivisibleBy
IsHexColor
IsLowerCase

as Done so someone doesn't start working on them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants