UNPKG

tynder

Version:

TypeScript friendly Data validator for JavaScript.

17 lines 990 B
// Copyright (c) 2019 Shellyl_N and Authors // license: ISC // https://github.com/shellyln export var ErrorTypes; (function (ErrorTypes) { ErrorTypes[ErrorTypes["InvalidDefinition"] = 1] = "InvalidDefinition"; ErrorTypes[ErrorTypes["Required"] = 2] = "Required"; ErrorTypes[ErrorTypes["TypeUnmatched"] = 3] = "TypeUnmatched"; ErrorTypes[ErrorTypes["AdditionalPropUnmatched"] = 4] = "AdditionalPropUnmatched"; ErrorTypes[ErrorTypes["RepeatQtyUnmatched"] = 5] = "RepeatQtyUnmatched"; ErrorTypes[ErrorTypes["SequenceUnmatched"] = 6] = "SequenceUnmatched"; ErrorTypes[ErrorTypes["ValueRangeUnmatched"] = 7] = "ValueRangeUnmatched"; ErrorTypes[ErrorTypes["ValuePatternUnmatched"] = 8] = "ValuePatternUnmatched"; ErrorTypes[ErrorTypes["ValueLengthUnmatched"] = 9] = "ValueLengthUnmatched"; ErrorTypes[ErrorTypes["ValueUnmatched"] = 10] = "ValueUnmatched"; })(ErrorTypes || (ErrorTypes = {})); //# sourceMappingURL=tynder-schema-types.js.map