source: imaps-frontend/node_modules/ajv-keywords/dist/definitions/index.js

main
Last change on this file was 79a0317, checked in by stefan toskovski <stefantoska84@…>, 4 days ago

F4 Finalna Verzija

  • Property mode set to 100644
File size: 1.8 KB
Line 
1"use strict";
2var __importDefault = (this && this.__importDefault) || function (mod) {
3 return (mod && mod.__esModule) ? mod : { "default": mod };
4};
5Object.defineProperty(exports, "__esModule", { value: true });
6const typeof_1 = __importDefault(require("./typeof"));
7const instanceof_1 = __importDefault(require("./instanceof"));
8const range_1 = __importDefault(require("./range"));
9const exclusiveRange_1 = __importDefault(require("./exclusiveRange"));
10const regexp_1 = __importDefault(require("./regexp"));
11const transform_1 = __importDefault(require("./transform"));
12const uniqueItemProperties_1 = __importDefault(require("./uniqueItemProperties"));
13const allRequired_1 = __importDefault(require("./allRequired"));
14const anyRequired_1 = __importDefault(require("./anyRequired"));
15const oneRequired_1 = __importDefault(require("./oneRequired"));
16const patternRequired_1 = __importDefault(require("./patternRequired"));
17const prohibited_1 = __importDefault(require("./prohibited"));
18const deepProperties_1 = __importDefault(require("./deepProperties"));
19const deepRequired_1 = __importDefault(require("./deepRequired"));
20const dynamicDefaults_1 = __importDefault(require("./dynamicDefaults"));
21const select_1 = __importDefault(require("./select"));
22const 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];
39function ajvKeywords(opts) {
40 return definitions.map((d) => d(opts)).concat((0, select_1.default)(opts));
41}
42exports.default = ajvKeywords;
43module.exports = ajvKeywords;
44//# sourceMappingURL=index.js.map
Note: See TracBrowser for help on using the repository browser.