UNPKG

tynder

Version:

TypeScript friendly Data validator for JavaScript.

20 lines 1.12 kB
"use strict"; // Copyright (c) 2019 Shellyl_N and Authors // license: ISC // https://github.com/shellyln Object.defineProperty(exports, "__esModule", { value: true }); exports.ErrorTypes = void 0; 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 = exports.ErrorTypes || (exports.ErrorTypes = {})); //# sourceMappingURL=tynder-schema-types.js.map