[79a0317] | 1 | "use strict";
|
---|
| 2 | var __importDefault = (this && this.__importDefault) || function (mod) {
|
---|
| 3 | return (mod && mod.__esModule) ? mod : { "default": mod };
|
---|
| 4 | };
|
---|
| 5 | Object.defineProperty(exports, "__esModule", { value: true });
|
---|
| 6 | const typeof_1 = __importDefault(require("./typeof"));
|
---|
| 7 | const instanceof_1 = __importDefault(require("./instanceof"));
|
---|
| 8 | const range_1 = __importDefault(require("./range"));
|
---|
| 9 | const exclusiveRange_1 = __importDefault(require("./exclusiveRange"));
|
---|
| 10 | const regexp_1 = __importDefault(require("./regexp"));
|
---|
| 11 | const transform_1 = __importDefault(require("./transform"));
|
---|
| 12 | const uniqueItemProperties_1 = __importDefault(require("./uniqueItemProperties"));
|
---|
| 13 | const allRequired_1 = __importDefault(require("./allRequired"));
|
---|
| 14 | const anyRequired_1 = __importDefault(require("./anyRequired"));
|
---|
| 15 | const oneRequired_1 = __importDefault(require("./oneRequired"));
|
---|
| 16 | const patternRequired_1 = __importDefault(require("./patternRequired"));
|
---|
| 17 | const prohibited_1 = __importDefault(require("./prohibited"));
|
---|
| 18 | const deepProperties_1 = __importDefault(require("./deepProperties"));
|
---|
| 19 | const deepRequired_1 = __importDefault(require("./deepRequired"));
|
---|
| 20 | const dynamicDefaults_1 = __importDefault(require("./dynamicDefaults"));
|
---|
| 21 | const select_1 = __importDefault(require("./select"));
|
---|
| 22 | const definitions = [
|
---|
| 23 | typeof_1.default,
|
---|
| 24 | instanceof_1.default,
|
---|
| 25 | range_1.default,
|
---|
| 26 | exclusiveRange_1.default,
|
---|
| 27 | regexp_1.default,
|
---|
| 28 | transform_1.default,
|
---|
| 29 | uniqueItemProperties_1.default,
|
---|
| 30 | allRequired_1.default,
|
---|
| 31 | anyRequired_1.default,
|
---|
| 32 | oneRequired_1.default,
|
---|
| 33 | patternRequired_1.default,
|
---|
| 34 | prohibited_1.default,
|
---|
| 35 | deepProperties_1.default,
|
---|
| 36 | deepRequired_1.default,
|
---|
| 37 | dynamicDefaults_1.default,
|
---|
| 38 | ];
|
---|
| 39 | function ajvKeywords(opts) {
|
---|
| 40 | return definitions.map((d) => d(opts)).concat((0, select_1.default)(opts));
|
---|
| 41 | }
|
---|
| 42 | exports.default = ajvKeywords;
|
---|
| 43 | module.exports = ajvKeywords;
|
---|
| 44 | //# sourceMappingURL=index.js.map |
---|