Optional
allowedThe legal enum values. If it does not match, a ConfigEnumError is thrown.
Optional
maxThe maximum string length. If the string is longer than this, a ConfigRangeError is thrown.
Optional
minThe minimum string length. If the string is not this long, a ConfigRangeError is thrown.
Optional
patternA regular expression the string must match. If it does not match, a ConfigPatternError is thrown.
Generated using TypeDoc
StringConfigOptions may be used to constrain the set of legal values a string config value may contain.