UNPKG

ajv-json-logic

Version:
1 lines 1.77 kB
{"version":3,"file":"index.cjs","sources":["../../../src/schemas/common/index.ts"],"sourcesContent":["// Common schemas index\nimport allOperators from './all-operators.json';\nimport allTypesWoArray from './all-types-wo-array.json';\nimport allTypes from './all-types.json';\nimport anyWoArray from './any-wo-array.json';\nimport any from './any.json';\nimport binaryArgs from './binary-args.json';\nimport noLogicObject from './no-logic-object.json';\nimport oneOrMoreArgs from './one-or-more-args.json';\nimport pointer from './pointer.json';\nimport trinaryArgs from './trinary-args.json';\nimport unaryArg from './unary-arg.json';\nimport varSchema from './var.json';\n\nconst commonSchemas = [\n any,\n anyWoArray,\n allTypes,\n allTypesWoArray,\n binaryArgs,\n trinaryArgs,\n unaryArg,\n oneOrMoreArgs,\n varSchema,\n pointer,\n noLogicObject,\n allOperators,\n];\n\n// Support both CommonJS and ES modules\nexport default commonSchemas;\n\n// For CommonJS compatibility\nif (typeof module !== 'undefined' && typeof module.exports !== 'undefined') {\n module.exports = commonSchemas;\n module.exports.default = commonSchemas;\n}\n\n// see https://github.com/axa-ch/json-logic-js/tree/master/schemas/common\n"],"names":["any","anyWoArray","allTypes","allTypesWoArray","binaryArgs","trinaryArgs","unaryArg","oneOrMoreArgs","varSchema","pointer","noLogicObject","allOperators"],"mappings":";;;;;;;;;;;;;;;;;AAAA;AAcA,MAAM,aAAa,GAAG;IACpBA,WAAG;IACHC,kBAAU;IACVC,gBAAQ;IACRC,uBAAe;IACfC,kBAAU;IACVC,mBAAW;IACXC,gBAAQ;IACRC,qBAAa;IACbC,YAAS;IACTC,eAAO;IACPC,qBAAa;IACbC,oBAAY;;AAMd;AACA,IAAI,OAAO,MAAM,KAAK,WAAW,IAAI,OAAO,MAAM,CAAC,OAAO,KAAK,WAAW,EAAE;AAC1E,IAAA,MAAM,CAAC,OAAO,GAAG,aAAa;AAC9B,IAAA,MAAM,CAAC,OAAO,CAAC,OAAO,GAAG,aAAa;AACxC;AAEA;;;;"}