Initial commit

This commit is contained in:
yuding
2025-12-03 12:00:46 +08:00
commit 5763b764a3
5365 changed files with 1483113 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const KWDs = {
exclusiveMaximum: "maximum",
exclusiveMinimum: "minimum",
};
const def = {
keyword: Object.keys(KWDs),
type: "number",
schemaType: "boolean",
code({ keyword, parentSchema }) {
const limitKwd = KWDs[keyword];
if (parentSchema[limitKwd] === undefined) {
throw new Error(`${keyword} can only be used with ${limitKwd}`);
}
},
};
exports.default = def;
//# sourceMappingURL=limitNumberExclusive.js.map