Type alias ValidationRuleMappingInternal
ValidationRuleMapping: {
[K in ValidationRuleName]: K extends "any"
? RuleAny
: K extends "array"
? RuleArray
: K extends "boolean"
? RuleBoolean
: K extends "class"
? RuleClass
: K extends "currency"
? RuleCurrency
: K extends "custom"
? RuleCustom
: K extends "date"
? RuleDate
: K extends "email"
? RuleEmail
: K extends "enum"
? RuleEnum
: (...) extends (...)
? (...)
: (...)
}
map a Fastest-Validator rule with its type