source: imaps-frontend/node_modules/ajv/dist/vocabularies/validation/limitContains.js@ 79a0317

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

F4 Finalna Verzija

  • Property mode set to 100644
File size: 495 bytes
Line 
1"use strict";
2Object.defineProperty(exports, "__esModule", { value: true });
3const util_1 = require("../../compile/util");
4const def = {
5 keyword: ["maxContains", "minContains"],
6 type: "array",
7 schemaType: "number",
8 code({ keyword, parentSchema, it }) {
9 if (parentSchema.contains === undefined) {
10 (0, util_1.checkStrictMode)(it, `"${keyword}" without "contains" is ignored`);
11 }
12 },
13};
14exports.default = def;
15//# sourceMappingURL=limitContains.js.map
Note: See TracBrowser for help on using the repository browser.