ajv-json-logic
Version:
JSON Logic integration for Ajv validator
20 lines (17 loc) • 587 B
JavaScript
import commonSchemas from './common/index.js';
import operatorSchemas from './operators/index.js';
// Main schema index file - exports all schemas
// Export all schemas in the recommended loading order
const allSchemas = [
// Common schemas first
...commonSchemas,
// Then all operator schemas
...operatorSchemas,
];
// For CommonJS compatibility
if (typeof module !== 'undefined' && typeof module.exports !== 'undefined') {
module.exports = allSchemas;
module.exports.default = allSchemas;
}
export { allSchemas as default };
//# sourceMappingURL=index.js.map