XuqmGroup-H5SDK/node_modules/ajv-draft-04/dist/vocabulary/validation/limitNumberExclusive.js
徐勤民 e34fa2052a feat(private): add private deployment SDK module
Adds @xuqm/h5-sdk/private entry point with JSON-based initialization,
feature gating, and error codes for private deployment scenarios.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-18 21:08:08 +08:00

19 行
552 B
JavaScript

"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