@anncic-api/validator 3.4.9 → 3.4.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- const a0_0x5c0de4=a0_0x4103;function a0_0x4103(_0x2a82b1,_0x2849a5){const _0xa1271=a0_0x133b();return a0_0x4103=function(_0x578b07,_0x51788e){_0x578b07=_0x578b07-0xe3;let _0x133b83=_0xa1271[_0x578b07];return _0x133b83;},a0_0x4103(_0x2a82b1,_0x2849a5);}(function(_0x1e7f24,_0x45229f){const _0x254a26=a0_0x4103,_0x225962=_0x1e7f24();while(!![]){try{const _0x2c853=-parseInt(_0x254a26(0xe8))/0x1*(-parseInt(_0x254a26(0xe5))/0x2)+-parseInt(_0x254a26(0xf1))/0x3*(-parseInt(_0x254a26(0xf6))/0x4)+-parseInt(_0x254a26(0xf5))/0x5+-parseInt(_0x254a26(0xee))/0x6+parseInt(_0x254a26(0xe6))/0x7*(parseInt(_0x254a26(0xe9))/0x8)+parseInt(_0x254a26(0xef))/0x9+-parseInt(_0x254a26(0xe4))/0xa;if(_0x2c853===_0x45229f)break;else _0x225962['push'](_0x225962['shift']());}catch(_0x5e1c57){_0x225962['push'](_0x225962['shift']());}}}(a0_0x133b,0x779fe));function a0_0x133b(){const _0x15444d=['ValidatorError','defineProperty','constructor','string','2605170eLGSqD','5362551MKTcjL','../../locales/zh_CN.json','357444RjSOUu','PARAMS','apply','search','2043390glgpww','28bmPexf','../exception/ValidatorError','13897220yoCfSu','362HbhYxN','11585VZtaUE','toString','3832InWCpx','2896niKOHj'];a0_0x133b=function(){return _0x15444d;};return a0_0x133b();}const a0_0x51788e=(function(){let _0x1b6593=!![];return function(_0x19a823,_0x3ccba3){const _0x51c699=_0x1b6593?function(){const _0x2434df=a0_0x4103;if(_0x3ccba3){const _0x4b67ad=_0x3ccba3[_0x2434df(0xf3)](_0x19a823,arguments);return _0x3ccba3=null,_0x4b67ad;}}:function(){};return _0x1b6593=![],_0x51c699;};}()),a0_0x578b07=a0_0x51788e(this,function(){const _0xde0e01=a0_0x4103;return a0_0x578b07[_0xde0e01(0xe7)]()['search']('(((.+)+)+)+$')[_0xde0e01(0xe7)]()[_0xde0e01(0xec)](a0_0x578b07)[_0xde0e01(0xf4)]('(((.+)+)+)+$');});a0_0x578b07();'use strict';Object[a0_0x5c0de4(0xeb)](exports,'__esModule',{'value':!![]});const ValidatorError_1=require(a0_0x5c0de4(0xe3));exports['default']={'validator':{'errorStatus':ValidatorError_1[a0_0x5c0de4(0xea)][a0_0x5c0de4(0xf2)],'validationOptions':{'allowUnknown':!![],'stripUnknown':!![],'dateFormat':a0_0x5c0de4(0xed)}},'i18n':{'localeTable':{'en_US':{'validator':require('../../locales/en_US.json')},'zh_CN':{'validator':require(a0_0x5c0de4(0xf0))}}}};
1
+ const a0_0xb0e1d0=a0_0x95ed;(function(_0x44dc34,_0x2bf211){const _0x588bf6=a0_0x95ed,_0x4f79e4=_0x44dc34();while(!![]){try{const _0xefa5bd=-parseInt(_0x588bf6(0x18f))/0x1+-parseInt(_0x588bf6(0x198))/0x2+parseInt(_0x588bf6(0x196))/0x3+parseInt(_0x588bf6(0x18c))/0x4+parseInt(_0x588bf6(0x194))/0x5*(parseInt(_0x588bf6(0x18b))/0x6)+-parseInt(_0x588bf6(0x19a))/0x7*(-parseInt(_0x588bf6(0x19d))/0x8)+parseInt(_0x588bf6(0x192))/0x9;if(_0xefa5bd===_0x2bf211)break;else _0x4f79e4['push'](_0x4f79e4['shift']());}catch(_0x5bb513){_0x4f79e4['push'](_0x4f79e4['shift']());}}}(a0_0x3915,0xd082e));function a0_0x95ed(_0x406078,_0x2a4f25){const _0x41f39a=a0_0x3915();return a0_0x95ed=function(_0x59baf6,_0x5048b5){_0x59baf6=_0x59baf6-0x18a;let _0x3915df=_0x41f39a[_0x59baf6];return _0x3915df;},a0_0x95ed(_0x406078,_0x2a4f25);}const a0_0x5048b5=(function(){let _0x3a88f4=!![];return function(_0x1dc686,_0x54a067){const _0xbaed19=_0x3a88f4?function(){const _0x46bfce=a0_0x95ed;if(_0x54a067){const _0x279c8d=_0x54a067[_0x46bfce(0x19b)](_0x1dc686,arguments);return _0x54a067=null,_0x279c8d;}}:function(){};return _0x3a88f4=![],_0xbaed19;};}()),a0_0x59baf6=a0_0x5048b5(this,function(){const _0x4c0130=a0_0x95ed;return a0_0x59baf6[_0x4c0130(0x191)]()[_0x4c0130(0x19c)](_0x4c0130(0x190))[_0x4c0130(0x191)]()['constructor'](a0_0x59baf6)[_0x4c0130(0x19c)](_0x4c0130(0x190));});a0_0x59baf6();'use strict';function a0_0x3915(){const _0x379ecb=['(((.+)+)+)+$','toString','290799zeHnFO','../exception/ValidatorError','65sKHozX','ValidatorError','283902EzDoIj','defineProperty','3014738GkhDMK','../../locales/zh_CN.json','63wubvGB','apply','search','1098360CrFDQC','default','587256NHHtcW','1765424mBAGLW','string','../../locales/en_US.json','714913bjGVuC'];a0_0x3915=function(){return _0x379ecb;};return a0_0x3915();}Object[a0_0xb0e1d0(0x197)](exports,'__esModule',{'value':!![]});const ValidatorError_1=require(a0_0xb0e1d0(0x193));exports[a0_0xb0e1d0(0x18a)]={'validator':{'errorStatus':ValidatorError_1[a0_0xb0e1d0(0x195)]['PARAMS'],'validationOptions':{'allowUnknown':!![],'stripUnknown':!![],'dateFormat':a0_0xb0e1d0(0x18d)}},'i18n':{'localeTable':{'en_US':{'validator':require(a0_0xb0e1d0(0x18e))},'zh_CN':{'validator':require(a0_0xb0e1d0(0x199))}}}};
@@ -1 +1 @@
1
- const a1_0x5677a6=a1_0xa2f2;(function(_0x21f34e,_0x5b2b17){const _0x236acf=a1_0xa2f2,_0x3b9e8b=_0x21f34e();while(!![]){try{const _0x43feee=parseInt(_0x236acf(0xfe))/0x1+parseInt(_0x236acf(0xe7))/0x2+parseInt(_0x236acf(0xd4))/0x3*(parseInt(_0x236acf(0xd5))/0x4)+parseInt(_0x236acf(0xe0))/0x5+parseInt(_0x236acf(0xf1))/0x6*(-parseInt(_0x236acf(0xd7))/0x7)+-parseInt(_0x236acf(0xd9))/0x8*(parseInt(_0x236acf(0xe4))/0x9)+parseInt(_0x236acf(0xf3))/0xa;if(_0x43feee===_0x5b2b17)break;else _0x3b9e8b['push'](_0x3b9e8b['shift']());}catch(_0x53671e){_0x3b9e8b['push'](_0x3b9e8b['shift']());}}}(a1_0x2c5a,0x7f30f));function a1_0xa2f2(_0x26b01c,_0x56552f){const _0x528861=a1_0x2c5a();return a1_0xa2f2=function(_0x13eefe,_0x558125){_0x13eefe=_0x13eefe-0xca;let _0x2c5a82=_0x528861[_0x13eefe];return _0x2c5a82;},a1_0xa2f2(_0x26b01c,_0x56552f);}const a1_0x558125=(function(){let _0x29d0f1=!![];return function(_0x3d001c,_0x5bafd7){const _0x1720ba=_0x29d0f1?function(){if(_0x5bafd7){const _0x2c0ffd=_0x5bafd7['apply'](_0x3d001c,arguments);return _0x5bafd7=null,_0x2c0ffd;}}:function(){};return _0x29d0f1=![],_0x1720ba;};}()),a1_0x13eefe=a1_0x558125(this,function(){const _0x5a5eba=a1_0xa2f2;return a1_0x13eefe['toString']()[_0x5a5eba(0xd6)](_0x5a5eba(0xee))[_0x5a5eba(0xe8)]()[_0x5a5eba(0x101)](a1_0x13eefe)[_0x5a5eba(0xd6)]('(((.+)+)+)+$');});function a1_0x2c5a(){const _0x3da93e=['design:type','Inject','@midwayjs/core','1297785hJlJhL','validator','params','getSchema','9PyLeYX','decorator','function','257062tHpJVl','toString','REQUEST_OBJ_CTX_KEY','find','method','MidwayDecoratorService','I18N_ATTR_KEY','(((.+)+)+)+$','prototype','assign','8022PNQeST','object','1661460DAYiFg','length','./interface','defineProperty','ValidatorService','metadata','bound\x20dispatch','getAttr','request','body','getClassMetadata','295528gOgsIQ','./service/ValidatorService','locale','constructor','undefined','splice','getMethodParamTypes','anncic-api:validator','./config/config.default','CustomConfiguration','onReady','target','@midwayjs/i18n','req','methodArgs','34362WQNEgy','268NqJSOe','search','4802NzNYrO','propertyName','1432184CZLgxa','res','__metadata','args'];a1_0x2c5a=function(){return _0x3da93e;};return a1_0x2c5a();}a1_0x13eefe();'use strict';var __decorate=this&&this['__decorate']||function(_0x2494fa,_0x3e99a6,_0xf142d8,_0x1fee36){const _0x4cb439=a1_0xa2f2;var _0x4fe686=arguments[_0x4cb439(0xf4)],_0x3f1372=_0x4fe686<0x3?_0x3e99a6:_0x1fee36===null?_0x1fee36=Object['getOwnPropertyDescriptor'](_0x3e99a6,_0xf142d8):_0x1fee36,_0x2bfc06;if(typeof Reflect===_0x4cb439(0xf2)&&typeof Reflect['decorate']===_0x4cb439(0xe6))_0x3f1372=Reflect['decorate'](_0x2494fa,_0x3e99a6,_0xf142d8,_0x1fee36);else{for(var _0x4ec64e=_0x2494fa[_0x4cb439(0xf4)]-0x1;_0x4ec64e>=0x0;_0x4ec64e--)if(_0x2bfc06=_0x2494fa[_0x4ec64e])_0x3f1372=(_0x4fe686<0x3?_0x2bfc06(_0x3f1372):_0x4fe686>0x3?_0x2bfc06(_0x3e99a6,_0xf142d8,_0x3f1372):_0x2bfc06(_0x3e99a6,_0xf142d8))||_0x3f1372;}return _0x4fe686>0x3&&_0x3f1372&&Object[_0x4cb439(0xf6)](_0x3e99a6,_0xf142d8,_0x3f1372),_0x3f1372;},__metadata=this&&this[a1_0x5677a6(0xdb)]||function(_0x494efb,_0x1c934a){const _0xe1a365=a1_0x5677a6;if(typeof Reflect==='object'&&typeof Reflect[_0xe1a365(0xf8)]===_0xe1a365(0xe6))return Reflect[_0xe1a365(0xf8)](_0x494efb,_0x1c934a);};Object['defineProperty'](exports,'__esModule',{'value':!![]}),exports[a1_0x5677a6(0xce)]=void 0x0;const i18n_1=require(a1_0x5677a6(0xd1)),core_1=require(a1_0x5677a6(0xdf)),core_2=require('@midwayjs/core'),interface_1=require(a1_0x5677a6(0xf5)),ValidatorService_1=require(a1_0x5677a6(0xff)),i18n=require(a1_0x5677a6(0xd1)),anncic=require('@anncic-api/core'),ConfigDefault=require(a1_0x5677a6(0xcd));let CustomConfiguration=class CustomConfiguration{async[a1_0x5677a6(0xcf)](){this['decorator']['registerMethodHandler'](interface_1['VALIDATOR_KEY'],_0x42c664=>{const _0xf83576=a1_0xa2f2,_0x9b65ae=_0x42c664[_0xf83576(0xf8)],_0x20e081=(0x0,core_2[_0xf83576(0xcb)])(_0x42c664['target'],_0x42c664[_0xf83576(0xd8)]);return{'before':_0x33a619=>{const _0x300089=_0xf83576;var _0x4978ba,_0x5d913e,_0x4dee42,_0x7586bd,_0x381233,_0x2bcbcb,_0x2d4818,_0x3693c6,_0x42c873,_0x57766b,_0x17daa6,_0x570d91,_0x4b80e3;const _0x258c41=_0x33a619[_0x300089(0xd0)][core_1[_0x300089(0xe9)]],_0x26aeb7=Object[_0x300089(0xf0)]({},((_0x4978ba=_0x258c41===null||_0x258c41===void 0x0?void 0x0:_0x258c41[_0x300089(0xfb)])===null||_0x4978ba===void 0x0?void 0x0:_0x4978ba['query'])||{},((_0x5d913e=_0x258c41===null||_0x258c41===void 0x0?void 0x0:_0x258c41['request'])===null||_0x5d913e===void 0x0?void 0x0:_0x5d913e[_0x300089(0xfc)])||{}),_0x494910=((0x0,core_2[_0x300089(0xfd)])(interface_1['VALIDATOR_KEY'],_0x33a619['target'])||[])[_0x300089(0xea)](_0x554919=>_0x554919[_0x300089(0xeb)]==_0x33a619['methodName']);!(_0x9b65ae===null||_0x9b65ae===void 0x0?void 0x0:_0x9b65ae[_0x300089(0x100)])&&_0x258c41&&_0x258c41[_0x300089(0xfa)]&&(_0x9b65ae[_0x300089(0x100)]=_0x258c41[_0x300089(0xfa)](i18n_1[_0x300089(0xed)]));for(let _0x501b6a=0x0;_0x501b6a<_0x20e081[_0x300089(0xf4)];_0x501b6a++){const _0x4d4689=_0x20e081[_0x501b6a],_0x5e4cf2=this[_0x300089(0xf7)][_0x300089(0xe3)](_0x4d4689);if(_0x5e4cf2){if(typeof _0x33a619[_0x300089(0xdc)][_0x501b6a]==_0x300089(0x102)||((_0x4dee42=_0x33a619[_0x300089(0xdc)][_0x501b6a])===null||_0x4dee42===void 0x0?void 0x0:_0x4dee42[_0x300089(0xfb)])&&((_0x7586bd=_0x33a619[_0x300089(0xdc)][_0x501b6a])===null||_0x7586bd===void 0x0?void 0x0:_0x7586bd[_0x300089(0xda)])&&((_0x381233=_0x33a619[_0x300089(0xdc)][_0x501b6a])===null||_0x381233===void 0x0?void 0x0:_0x381233[_0x300089(0xd2)]))_0x33a619[_0x300089(0xdc)][_0x501b6a]=_0x26aeb7;else((_0x2bcbcb=_0x33a619[_0x300089(0xdc)][_0x501b6a])===null||_0x2bcbcb===void 0x0?void 0x0:_0x2bcbcb['name'])==_0x300089(0xf9)&&_0x33a619[_0x300089(0xdc)][_0x300089(0xca)](_0x501b6a,0x0,_0x26aeb7);const _0x531328=this['ValidatorService'][_0x300089(0xe1)](_0x5e4cf2,_0x33a619['args'][_0x501b6a],_0x9b65ae);_0x531328&&(_0x33a619[_0x300089(0xdc)][_0x501b6a]=_0x531328);}else{if((_0x494910===null||_0x494910===void 0x0?void 0x0:_0x494910[_0x300089(0xd3)][_0x501b6a])&&((_0x2d4818=_0x33a619[_0x300089(0xdc)][_0x501b6a])===null||_0x2d4818===void 0x0?void 0x0:_0x2d4818[_0x300089(0xe2)])&&typeof _0x33a619[_0x300089(0xdc)][_0x501b6a]['param']==_0x300089(0xe6)&&((_0x3693c6=_0x258c41===null||_0x258c41===void 0x0?void 0x0:_0x258c41['params'])===null||_0x3693c6===void 0x0?void 0x0:_0x3693c6[_0x494910['methodArgs'][_0x501b6a]]))_0x33a619[_0x300089(0xdc)][_0x501b6a]=_0x4d4689((_0x42c873=_0x258c41===null||_0x258c41===void 0x0?void 0x0:_0x258c41[_0x300089(0xe2)])===null||_0x42c873===void 0x0?void 0x0:_0x42c873[_0x494910[_0x300089(0xd3)][_0x501b6a]]);else(_0x494910===null||_0x494910===void 0x0?void 0x0:_0x494910['methodArgs'][_0x501b6a])&&((_0x17daa6=(_0x57766b=_0x33a619[_0x300089(0xdc)][_0x501b6a])===null||_0x57766b===void 0x0?void 0x0:_0x57766b[_0x300089(0xe2)])===null||_0x17daa6===void 0x0?void 0x0:_0x17daa6[_0x494910['methodArgs'][_0x501b6a]])&&(_0x33a619[_0x300089(0xdc)][_0x501b6a]=(_0x4b80e3=(_0x570d91=_0x33a619[_0x300089(0xdc)][_0x501b6a])===null||_0x570d91===void 0x0?void 0x0:_0x570d91['params'])===null||_0x4b80e3===void 0x0?void 0x0:_0x4b80e3[_0x494910[_0x300089(0xd3)][_0x501b6a]]);}}},'afterThrow':(_0x135ba7,_0x15f1a5)=>{throw _0x15f1a5;}};});}};exports[a1_0x5677a6(0xce)]=CustomConfiguration,__decorate([(0x0,core_2[a1_0x5677a6(0xde)])(),__metadata(a1_0x5677a6(0xdd),core_1[a1_0x5677a6(0xec)])],CustomConfiguration['prototype'],a1_0x5677a6(0xe5),void 0x0),__decorate([(0x0,core_2[a1_0x5677a6(0xde)])(),__metadata(a1_0x5677a6(0xdd),ValidatorService_1['ValidatorService'])],CustomConfiguration[a1_0x5677a6(0xef)],a1_0x5677a6(0xf7),void 0x0),exports[a1_0x5677a6(0xce)]=CustomConfiguration=__decorate([(0x0,core_2['Configuration'])({'conflictCheck':![],'imports':[i18n,anncic],'namespace':a1_0x5677a6(0xcc),'importConfigs':[{'default':ConfigDefault}]})],CustomConfiguration);
1
+ const a1_0xe4ae9=a1_0x562d;(function(_0x1f4ea2,_0x537377){const _0x3a955a=a1_0x562d,_0x17c33c=_0x1f4ea2();while(!![]){try{const _0x4b9b24=parseInt(_0x3a955a(0x91))/0x1*(parseInt(_0x3a955a(0xa3))/0x2)+parseInt(_0x3a955a(0x83))/0x3*(-parseInt(_0x3a955a(0x99))/0x4)+parseInt(_0x3a955a(0x6e))/0x5*(parseInt(_0x3a955a(0x94))/0x6)+parseInt(_0x3a955a(0x9d))/0x7+parseInt(_0x3a955a(0x6d))/0x8*(parseInt(_0x3a955a(0x82))/0x9)+-parseInt(_0x3a955a(0x9f))/0xa+-parseInt(_0x3a955a(0x8f))/0xb;if(_0x4b9b24===_0x537377)break;else _0x17c33c['push'](_0x17c33c['shift']());}catch(_0x32dc4b){_0x17c33c['push'](_0x17c33c['shift']());}}}(a1_0xceb6,0xe33c5));function a1_0x562d(_0x3e1e94,_0x21849e){const _0x322ccd=a1_0xceb6();return a1_0x562d=function(_0x326eae,_0x4e2356){_0x326eae=_0x326eae-0x6a;let _0xceb699=_0x322ccd[_0x326eae];return _0xceb699;},a1_0x562d(_0x3e1e94,_0x21849e);}function a1_0xceb6(){const _0x1861f7=['validator','__decorate','res','object','./interface','5198666dGpapP','bound\x20dispatch','7231bODwSS','design:type','onReady','5286102UZCIEY','I18N_ATTR_KEY','propertyName','Inject','methodArgs','620gnSfuX','apply','constructor','decorate','2850533cWnGgD','getAttr','5400840SSIuCk','toString','decorator','undefined','338aNTOvK','defineProperty','ValidatorService','search','24eapcGL','5HolFGO','length','assign','Configuration','./service/ValidatorService','__esModule','metadata','@midwayjs/core','REQUEST_OBJ_CTX_KEY','name','prototype','param','params','@anncic-api/core','getSchema','splice','MidwayDecoratorService','req','args','registerMethodHandler','1237851cAtQzI','18957ivBmLl','target','@midwayjs/i18n','locale','request','function','(((.+)+)+)+$'];a1_0xceb6=function(){return _0x1861f7;};return a1_0xceb6();}const a1_0x4e2356=(function(){let _0x5dbf74=!![];return function(_0x4bb6d6,_0x1540ea){const _0x16831c=_0x5dbf74?function(){const _0x4e125f=a1_0x562d;if(_0x1540ea){const _0x325b28=_0x1540ea[_0x4e125f(0x9a)](_0x4bb6d6,arguments);return _0x1540ea=null,_0x325b28;}}:function(){};return _0x5dbf74=![],_0x16831c;};}()),a1_0x326eae=a1_0x4e2356(this,function(){const _0x3e14df=a1_0x562d;return a1_0x326eae[_0x3e14df(0xa0)]()[_0x3e14df(0x6c)](_0x3e14df(0x89))[_0x3e14df(0xa0)]()[_0x3e14df(0x9b)](a1_0x326eae)[_0x3e14df(0x6c)](_0x3e14df(0x89));});a1_0x326eae();'use strict';var __decorate=this&&this[a1_0xe4ae9(0x8b)]||function(_0x3734b4,_0x19afe3,_0x475c9f,_0x13100b){const _0x58a5eb=a1_0xe4ae9;var _0x500a93=arguments[_0x58a5eb(0x6f)],_0x283836=_0x500a93<0x3?_0x19afe3:_0x13100b===null?_0x13100b=Object['getOwnPropertyDescriptor'](_0x19afe3,_0x475c9f):_0x13100b,_0x5aade7;if(typeof Reflect===_0x58a5eb(0x8d)&&typeof Reflect[_0x58a5eb(0x9c)]===_0x58a5eb(0x88))_0x283836=Reflect[_0x58a5eb(0x9c)](_0x3734b4,_0x19afe3,_0x475c9f,_0x13100b);else{for(var _0x3dacdd=_0x3734b4[_0x58a5eb(0x6f)]-0x1;_0x3dacdd>=0x0;_0x3dacdd--)if(_0x5aade7=_0x3734b4[_0x3dacdd])_0x283836=(_0x500a93<0x3?_0x5aade7(_0x283836):_0x500a93>0x3?_0x5aade7(_0x19afe3,_0x475c9f,_0x283836):_0x5aade7(_0x19afe3,_0x475c9f))||_0x283836;}return _0x500a93>0x3&&_0x283836&&Object['defineProperty'](_0x19afe3,_0x475c9f,_0x283836),_0x283836;},__metadata=this&&this['__metadata']||function(_0x4454ea,_0x271f80){const _0x37cfcd=a1_0xe4ae9;if(typeof Reflect===_0x37cfcd(0x8d)&&typeof Reflect['metadata']===_0x37cfcd(0x88))return Reflect['metadata'](_0x4454ea,_0x271f80);};Object[a1_0xe4ae9(0x6a)](exports,a1_0xe4ae9(0x73),{'value':!![]}),exports['CustomConfiguration']=void 0x0;const i18n_1=require('@midwayjs/i18n'),core_1=require(a1_0xe4ae9(0x75)),core_2=require(a1_0xe4ae9(0x75)),interface_1=require(a1_0xe4ae9(0x8e)),ValidatorService_1=require(a1_0xe4ae9(0x72)),i18n=require(a1_0xe4ae9(0x85)),anncic=require(a1_0xe4ae9(0x7b)),ConfigDefault=require('./config/config.default');let CustomConfiguration=class CustomConfiguration{async[a1_0xe4ae9(0x93)](){const _0x4f8f12=a1_0xe4ae9;this[_0x4f8f12(0xa1)][_0x4f8f12(0x81)](interface_1['VALIDATOR_KEY'],_0x2c334c=>{const _0x38c5ca=_0x4f8f12,_0xac6d27=_0x2c334c[_0x38c5ca(0x74)],_0x5beca1=(0x0,core_2['getMethodParamTypes'])(_0x2c334c[_0x38c5ca(0x84)],_0x2c334c[_0x38c5ca(0x96)]);return{'before':_0x18c5f6=>{const _0x55b6d1=_0x38c5ca;var _0x3493e5,_0x2eb859,_0x1f318d,_0x1b42b5,_0x42c279,_0x5d65cb,_0x3a1f78,_0x59e8f7,_0x5e7752,_0x35f5a3,_0x785ef4,_0x24b1ad,_0x591312;const _0x8c1b96=_0x18c5f6[_0x55b6d1(0x84)][core_1[_0x55b6d1(0x76)]],_0x2ba67a=Object[_0x55b6d1(0x70)]({},((_0x3493e5=_0x8c1b96===null||_0x8c1b96===void 0x0?void 0x0:_0x8c1b96[_0x55b6d1(0x87)])===null||_0x3493e5===void 0x0?void 0x0:_0x3493e5['query'])||{},((_0x2eb859=_0x8c1b96===null||_0x8c1b96===void 0x0?void 0x0:_0x8c1b96['request'])===null||_0x2eb859===void 0x0?void 0x0:_0x2eb859['body'])||{}),_0x2cc731=((0x0,core_2['getClassMetadata'])(interface_1['VALIDATOR_KEY'],_0x18c5f6[_0x55b6d1(0x84)])||[])['find'](_0xddc7ed=>_0xddc7ed['method']==_0x18c5f6['methodName']);!(_0xac6d27===null||_0xac6d27===void 0x0?void 0x0:_0xac6d27[_0x55b6d1(0x86)])&&_0x8c1b96&&_0x8c1b96[_0x55b6d1(0x9e)]&&(_0xac6d27[_0x55b6d1(0x86)]=_0x8c1b96[_0x55b6d1(0x9e)](i18n_1[_0x55b6d1(0x95)]));for(let _0x502716=0x0;_0x502716<_0x5beca1[_0x55b6d1(0x6f)];_0x502716++){const _0x32c6b7=_0x5beca1[_0x502716],_0x872527=this[_0x55b6d1(0x6b)][_0x55b6d1(0x7c)](_0x32c6b7);if(_0x872527){if(typeof _0x18c5f6['args'][_0x502716]==_0x55b6d1(0xa2)||((_0x1f318d=_0x18c5f6[_0x55b6d1(0x80)][_0x502716])===null||_0x1f318d===void 0x0?void 0x0:_0x1f318d[_0x55b6d1(0x87)])&&((_0x1b42b5=_0x18c5f6[_0x55b6d1(0x80)][_0x502716])===null||_0x1b42b5===void 0x0?void 0x0:_0x1b42b5[_0x55b6d1(0x8c)])&&((_0x42c279=_0x18c5f6[_0x55b6d1(0x80)][_0x502716])===null||_0x42c279===void 0x0?void 0x0:_0x42c279[_0x55b6d1(0x7f)]))_0x18c5f6[_0x55b6d1(0x80)][_0x502716]=_0x2ba67a;else((_0x5d65cb=_0x18c5f6[_0x55b6d1(0x80)][_0x502716])===null||_0x5d65cb===void 0x0?void 0x0:_0x5d65cb[_0x55b6d1(0x77)])==_0x55b6d1(0x90)&&_0x18c5f6['args'][_0x55b6d1(0x7d)](_0x502716,0x0,_0x2ba67a);const _0x35d594=this['ValidatorService'][_0x55b6d1(0x8a)](_0x872527,_0x18c5f6[_0x55b6d1(0x80)][_0x502716],_0xac6d27);_0x35d594&&(_0x18c5f6['args'][_0x502716]=_0x35d594);}else{if((_0x2cc731===null||_0x2cc731===void 0x0?void 0x0:_0x2cc731[_0x55b6d1(0x98)][_0x502716])&&((_0x3a1f78=_0x18c5f6['args'][_0x502716])===null||_0x3a1f78===void 0x0?void 0x0:_0x3a1f78[_0x55b6d1(0x7a)])&&typeof _0x18c5f6[_0x55b6d1(0x80)][_0x502716][_0x55b6d1(0x79)]==_0x55b6d1(0x88)&&((_0x59e8f7=_0x8c1b96===null||_0x8c1b96===void 0x0?void 0x0:_0x8c1b96[_0x55b6d1(0x7a)])===null||_0x59e8f7===void 0x0?void 0x0:_0x59e8f7[_0x2cc731[_0x55b6d1(0x98)][_0x502716]]))_0x18c5f6['args'][_0x502716]=_0x32c6b7((_0x5e7752=_0x8c1b96===null||_0x8c1b96===void 0x0?void 0x0:_0x8c1b96[_0x55b6d1(0x7a)])===null||_0x5e7752===void 0x0?void 0x0:_0x5e7752[_0x2cc731['methodArgs'][_0x502716]]);else(_0x2cc731===null||_0x2cc731===void 0x0?void 0x0:_0x2cc731[_0x55b6d1(0x98)][_0x502716])&&((_0x785ef4=(_0x35f5a3=_0x18c5f6['args'][_0x502716])===null||_0x35f5a3===void 0x0?void 0x0:_0x35f5a3[_0x55b6d1(0x7a)])===null||_0x785ef4===void 0x0?void 0x0:_0x785ef4[_0x2cc731[_0x55b6d1(0x98)][_0x502716]])&&(_0x18c5f6[_0x55b6d1(0x80)][_0x502716]=(_0x591312=(_0x24b1ad=_0x18c5f6[_0x55b6d1(0x80)][_0x502716])===null||_0x24b1ad===void 0x0?void 0x0:_0x24b1ad['params'])===null||_0x591312===void 0x0?void 0x0:_0x591312[_0x2cc731[_0x55b6d1(0x98)][_0x502716]]);}}},'afterThrow':(_0x571705,_0x4b079e)=>{throw _0x4b079e;}};});}};exports['CustomConfiguration']=CustomConfiguration,__decorate([(0x0,core_2[a1_0xe4ae9(0x97)])(),__metadata(a1_0xe4ae9(0x92),core_1[a1_0xe4ae9(0x7e)])],CustomConfiguration['prototype'],a1_0xe4ae9(0xa1),void 0x0),__decorate([(0x0,core_2[a1_0xe4ae9(0x97)])(),__metadata(a1_0xe4ae9(0x92),ValidatorService_1[a1_0xe4ae9(0x6b)])],CustomConfiguration[a1_0xe4ae9(0x78)],a1_0xe4ae9(0x6b),void 0x0),exports['CustomConfiguration']=CustomConfiguration=__decorate([(0x0,core_2[a1_0xe4ae9(0x71)])({'conflictCheck':![],'imports':[i18n,anncic],'namespace':'anncic-api:validator','importConfigs':[{'default':ConfigDefault}]})],CustomConfiguration);
@@ -1 +1 @@
1
- const a2_0xb1c4f7=a2_0x4cc8;function a2_0x4cc8(_0x3fbea7,_0x3c6550){const _0x2b4c2f=a2_0x4463();return a2_0x4cc8=function(_0x3a456b,_0x72efd2){_0x3a456b=_0x3a456b-0xc1;let _0x44634b=_0x2b4c2f[_0x3a456b];return _0x44634b;},a2_0x4cc8(_0x3fbea7,_0x3c6550);}(function(_0x557f23,_0x1b1e59){const _0x318348=a2_0x4cc8,_0x28f8f1=_0x557f23();while(!![]){try{const _0x627004=-parseInt(_0x318348(0xe1))/0x1*(-parseInt(_0x318348(0xd9))/0x2)+-parseInt(_0x318348(0xe4))/0x3*(parseInt(_0x318348(0xca))/0x4)+parseInt(_0x318348(0xc3))/0x5+parseInt(_0x318348(0xd4))/0x6*(-parseInt(_0x318348(0xd7))/0x7)+parseInt(_0x318348(0xd1))/0x8+-parseInt(_0x318348(0xe0))/0x9+parseInt(_0x318348(0xcb))/0xa;if(_0x627004===_0x1b1e59)break;else _0x28f8f1['push'](_0x28f8f1['shift']());}catch(_0xc30a29){_0x28f8f1['push'](_0x28f8f1['shift']());}}}(a2_0x4463,0xdb2fb));const a2_0x72efd2=(function(){let _0x49a602=!![];return function(_0xd4fcd7,_0x543c5){const _0x5f345b=_0x49a602?function(){const _0x326527=a2_0x4cc8;if(_0x543c5){const _0x216ec0=_0x543c5[_0x326527(0xd8)](_0xd4fcd7,arguments);return _0x543c5=null,_0x216ec0;}}:function(){};return _0x49a602=![],_0x5f345b;};}()),a2_0x3a456b=a2_0x72efd2(this,function(){const _0x3577bf=a2_0x4cc8;return a2_0x3a456b[_0x3577bf(0xcf)]()[_0x3577bf(0xda)](_0x3577bf(0xe7))[_0x3577bf(0xcf)]()[_0x3577bf(0xc5)](a2_0x3a456b)[_0x3577bf(0xda)](_0x3577bf(0xe7));});a2_0x3a456b();function a2_0x4463(){const _0xef006=['isSchema','defineProperty','attachClassMetadata','toString','saveClassMetadata','7680920lxvgua','Array','getClassMetadata','53166MnAgtg','keys','name','952iwJwyw','apply','1219298eIPijv','search','description','object','function','array','joi','6798195Irfttj','1EAmMaY','extend','../interface','3507597vWkYqh','items','getPropertyType','(((.+)+)+)+$','Rule','RULES_KEY','RuleType','8956170TfawJP','label','constructor','@joi/date','__esModule','map','meta','4dRDqgj','6664390nRQiGH'];a2_0x4463=function(){return _0xef006;};return a2_0x4463();}'use strict';Object[a2_0xb1c4f7(0xcd)](exports,a2_0xb1c4f7(0xc7),{'value':!![]}),exports[a2_0xb1c4f7(0xe8)]=exports[a2_0xb1c4f7(0xc2)]=void 0x0;const joi=require(a2_0xb1c4f7(0xdf)),date_1=require(a2_0xb1c4f7(0xc6)),core_1=require('@midwayjs/core'),interface_1=require(a2_0xb1c4f7(0xe3));exports[a2_0xb1c4f7(0xc2)]=joi[a2_0xb1c4f7(0xe2)](date_1['default']);function Rule(_0x2941d2,_0x4ac6d3,_0xb24ed0=''){return(_0x1edebc,_0x3c7a6b)=>{const _0x37ce63=a2_0x4cc8;var _0xc4c30a;if(_0x3c7a6b)!joi[_0x37ce63(0xcc)](_0x4ac6d3)&&(_0x4ac6d3===null||_0x4ac6d3===void 0x0?void 0x0:_0x4ac6d3[_0x37ce63(0xd6)])&&(_0x4ac6d3=joi[_0x37ce63(0xdc)]((0x0,core_1[_0x37ce63(0xd3)])(interface_1[_0x37ce63(0xc1)],_0x4ac6d3))[_0x37ce63(0xc9)]({'id':_0x4ac6d3[_0x37ce63(0xd6)]}),(0x0,core_1[_0x37ce63(0xe6)])(_0x1edebc,_0x3c7a6b)[_0x37ce63(0xd6)]===_0x37ce63(0xd2)&&(_0x4ac6d3=joi[_0x37ce63(0xde)]()[_0x37ce63(0xe5)](_0x4ac6d3))),joi[_0x37ce63(0xcc)](_0x4ac6d3)&&(_0x2941d2&&typeof(_0x4ac6d3===null||_0x4ac6d3===void 0x0?void 0x0:_0x4ac6d3[_0x37ce63(0xc4)])==_0x37ce63(0xdd)&&(_0x4ac6d3=_0x4ac6d3['label'](_0x2941d2)),_0xb24ed0&&typeof(_0x4ac6d3===null||_0x4ac6d3===void 0x0?void 0x0:_0x4ac6d3[_0x37ce63(0xdb)])==_0x37ce63(0xdd)&&(_0x4ac6d3=_0x4ac6d3[_0x37ce63(0xdb)](_0xb24ed0)),(0x0,core_1[_0x37ce63(0xce)])(interface_1[_0x37ce63(0xc1)],_0x4ac6d3,_0x1edebc,_0x3c7a6b));else{const _0x342cee=(0x0,core_1[_0x37ce63(0xd3)])(interface_1[_0x37ce63(0xc1)],_0x4ac6d3);if(_0x342cee){let _0xf922b9=(_0xc4c30a=(0x0,core_1['getClassMetadata'])(interface_1[_0x37ce63(0xc1)],_0x1edebc))!==null&&_0xc4c30a!==void 0x0?_0xc4c30a:{};Object[_0x37ce63(0xd5)](_0x342cee)[_0x37ce63(0xc8)](_0x5f4dca=>{!_0xf922b9[_0x5f4dca]&&(_0xf922b9[_0x5f4dca]=_0x342cee[_0x5f4dca]);}),(0x0,core_1[_0x37ce63(0xd0)])(interface_1[_0x37ce63(0xc1)],_0xf922b9,_0x1edebc);}}};}exports['Rule']=Rule;
1
+ const a2_0x4d6114=a2_0x3d33;(function(_0x2de96c,_0x5aa735){const _0x19f5e=a2_0x3d33,_0x28fbf4=_0x2de96c();while(!![]){try{const _0x4d8295=-parseInt(_0x19f5e(0x85))/0x1*(-parseInt(_0x19f5e(0x9f))/0x2)+parseInt(_0x19f5e(0x8c))/0x3*(-parseInt(_0x19f5e(0x7e))/0x4)+parseInt(_0x19f5e(0x9b))/0x5+parseInt(_0x19f5e(0x94))/0x6+-parseInt(_0x19f5e(0x91))/0x7+parseInt(_0x19f5e(0x9e))/0x8*(-parseInt(_0x19f5e(0x97))/0x9)+-parseInt(_0x19f5e(0x81))/0xa;if(_0x4d8295===_0x5aa735)break;else _0x28fbf4['push'](_0x28fbf4['shift']());}catch(_0x256ed0){_0x28fbf4['push'](_0x28fbf4['shift']());}}}(a2_0x21e9,0x46e1f));const a2_0x1eec4c=(function(){let _0x33b110=!![];return function(_0x504702,_0x57f2d5){const _0x539437=_0x33b110?function(){const _0x5d6cf2=a2_0x3d33;if(_0x57f2d5){const _0x57f815=_0x57f2d5[_0x5d6cf2(0x9c)](_0x504702,arguments);return _0x57f2d5=null,_0x57f815;}}:function(){};return _0x33b110=![],_0x539437;};}()),a2_0x2f8eff=a2_0x1eec4c(this,function(){const _0xcbe19d=a2_0x3d33;return a2_0x2f8eff[_0xcbe19d(0x89)]()['search']('(((.+)+)+)+$')[_0xcbe19d(0x89)]()['constructor'](a2_0x2f8eff)[_0xcbe19d(0x88)](_0xcbe19d(0x84));});a2_0x2f8eff();'use strict';Object[a2_0x4d6114(0x96)](exports,'__esModule',{'value':!![]}),exports[a2_0x4d6114(0x90)]=exports['RuleType']=void 0x0;const joi=require(a2_0x4d6114(0x8d)),date_1=require(a2_0x4d6114(0x7c)),core_1=require(a2_0x4d6114(0x99)),interface_1=require('../interface');function a2_0x3d33(_0x1c78fb,_0x19c29a){const _0x1d04cb=a2_0x21e9();return a2_0x3d33=function(_0x2f8eff,_0x1eec4c){_0x2f8eff=_0x2f8eff-0x7c;let _0x21e909=_0x1d04cb[_0x2f8eff];return _0x21e909;},a2_0x3d33(_0x1c78fb,_0x19c29a);}function a2_0x21e9(){const _0x24e1da=['1738250rmfidK','label','array','(((.+)+)+)+$','2xtOtsG','function','Array','search','toString','RULES_KEY','description','6HMGmgN','joi','object','keys','Rule','1687133ZqXQKg','isSchema','getPropertyType','3475650uOXBxO','RuleType','defineProperty','45IfidTv','default','@midwayjs/core','map','1994465jdPQLB','apply','getClassMetadata','54760exuJom','197172xyqvKn','@joi/date','name','871872XHJOdj','meta','extend'];a2_0x21e9=function(){return _0x24e1da;};return a2_0x21e9();}exports[a2_0x4d6114(0x95)]=joi[a2_0x4d6114(0x80)](date_1[a2_0x4d6114(0x98)]);function Rule(_0x34b282,_0x4cb637,_0x1229e3=''){return(_0x8de690,_0x1bb73b)=>{const _0x40c91f=a2_0x3d33;var _0x26038c;if(_0x1bb73b)!joi[_0x40c91f(0x92)](_0x4cb637)&&(_0x4cb637===null||_0x4cb637===void 0x0?void 0x0:_0x4cb637[_0x40c91f(0x7d)])&&(_0x4cb637=joi[_0x40c91f(0x8e)]((0x0,core_1[_0x40c91f(0x9d)])(interface_1['RULES_KEY'],_0x4cb637))[_0x40c91f(0x7f)]({'id':_0x4cb637[_0x40c91f(0x7d)]}),(0x0,core_1[_0x40c91f(0x93)])(_0x8de690,_0x1bb73b)['name']===_0x40c91f(0x87)&&(_0x4cb637=joi[_0x40c91f(0x83)]()['items'](_0x4cb637))),joi[_0x40c91f(0x92)](_0x4cb637)&&(_0x34b282&&typeof(_0x4cb637===null||_0x4cb637===void 0x0?void 0x0:_0x4cb637[_0x40c91f(0x82)])==_0x40c91f(0x86)&&(_0x4cb637=_0x4cb637[_0x40c91f(0x82)](_0x34b282)),_0x1229e3&&typeof(_0x4cb637===null||_0x4cb637===void 0x0?void 0x0:_0x4cb637[_0x40c91f(0x8b)])==_0x40c91f(0x86)&&(_0x4cb637=_0x4cb637[_0x40c91f(0x8b)](_0x1229e3)),(0x0,core_1['attachClassMetadata'])(interface_1[_0x40c91f(0x8a)],_0x4cb637,_0x8de690,_0x1bb73b));else{const _0x363625=(0x0,core_1[_0x40c91f(0x9d)])(interface_1[_0x40c91f(0x8a)],_0x4cb637);if(_0x363625){let _0x260c1c=(_0x26038c=(0x0,core_1['getClassMetadata'])(interface_1[_0x40c91f(0x8a)],_0x8de690))!==null&&_0x26038c!==void 0x0?_0x26038c:{};Object[_0x40c91f(0x8f)](_0x363625)[_0x40c91f(0x9a)](_0x33c8e8=>{!_0x260c1c[_0x33c8e8]&&(_0x260c1c[_0x33c8e8]=_0x363625[_0x33c8e8]);}),(0x0,core_1['saveClassMetadata'])(interface_1[_0x40c91f(0x8a)],_0x260c1c,_0x8de690);}}};}exports[a2_0x4d6114(0x90)]=Rule;
@@ -1 +1 @@
1
- const a3_0x589638=a3_0x5e98;(function(_0x403b77,_0x274c8b){const _0x246f29=a3_0x5e98,_0x4bc2e2=_0x403b77();while(!![]){try{const _0x1a52a9=parseInt(_0x246f29(0x18c))/0x1+-parseInt(_0x246f29(0x180))/0x2*(-parseInt(_0x246f29(0x188))/0x3)+-parseInt(_0x246f29(0x190))/0x4+parseInt(_0x246f29(0x17d))/0x5+parseInt(_0x246f29(0x18d))/0x6*(parseInt(_0x246f29(0x18f))/0x7)+-parseInt(_0x246f29(0x18a))/0x8*(parseInt(_0x246f29(0x189))/0x9)+parseInt(_0x246f29(0x179))/0xa;if(_0x1a52a9===_0x274c8b)break;else _0x4bc2e2['push'](_0x4bc2e2['shift']());}catch(_0x556655){_0x4bc2e2['push'](_0x4bc2e2['shift']());}}}(a3_0x3ab7,0x683b4));const a3_0x482cd1=(function(){let _0x130562=!![];return function(_0x1da030,_0x116205){const _0x131cdb=_0x130562?function(){const _0x48c628=a3_0x5e98;if(_0x116205){const _0x237240=_0x116205[_0x48c628(0x186)](_0x1da030,arguments);return _0x116205=null,_0x237240;}}:function(){};return _0x130562=![],_0x131cdb;};}()),a3_0x3609ac=a3_0x482cd1(this,function(){const _0x4ac59b=a3_0x5e98;return a3_0x3609ac['toString']()['search'](_0x4ac59b(0x18e))[_0x4ac59b(0x17c)]()[_0x4ac59b(0x181)](a3_0x3609ac)[_0x4ac59b(0x187)](_0x4ac59b(0x18e));});function a3_0x3ab7(){const _0x4f3114=['9EhcFze','5294824pGNnTv','@midwayjs/core','29411tbFTme','30jjuqPr','(((.+)+)+)+$','740915RZuifI','1622184FnOrQs','defineProperty','match','3575230gjgZfr','createCustomMethodDecorator','../interface','toString','598575szVwCu','Validator','prototype','2XeHTQe','constructor','VALIDATOR_KEY','function','getFuncArgs','replace','apply','search','1375371LkuWRP'];a3_0x3ab7=function(){return _0x4f3114;};return a3_0x3ab7();}a3_0x3609ac();function a3_0x5e98(_0x55da9a,_0x4a90c7){const _0x9bacf7=a3_0x3ab7();return a3_0x5e98=function(_0x3609ac,_0x482cd1){_0x3609ac=_0x3609ac-0x177;let _0x3ab753=_0x9bacf7[_0x3609ac];return _0x3ab753;},a3_0x5e98(_0x55da9a,_0x4a90c7);}'use strict';Object[a3_0x589638(0x177)](exports,'__esModule',{'value':!![]}),exports[a3_0x589638(0x184)]=exports['Validator']=void 0x0;const core_1=require(a3_0x589638(0x18b)),interface_1=require(a3_0x589638(0x17b));function Validator(_0x103fab={}){return(_0x2c8026,_0x1d3282,_0x424379)=>{const _0x14e67e=a3_0x5e98,_0x487af3=getFuncArgs(_0x2c8026[_0x1d3282]);(0x0,core_1['attachClassMetadata'])(interface_1[_0x14e67e(0x182)],{'method':_0x1d3282,'methodArgs':_0x487af3},_0x2c8026),(0x0,core_1[_0x14e67e(0x17a)])(interface_1[_0x14e67e(0x182)],_0x103fab)(_0x2c8026,_0x1d3282,_0x424379);};}exports[a3_0x589638(0x17e)]=Validator;function getFuncArgs(_0x2c651e){const _0x474306=a3_0x589638;if(typeof _0x2c651e==_0x474306(0x183)){const _0x292c02=/=>.*$/mg,_0x1e1314=/=[^,)]+/mg,_0x3056ae=/((\/\/.*$)|(\/\*[\s\S]*?\*\/))/mg,_0xf851f9=(_0x2c651e[_0x474306(0x17f)]?_0x2c651e[_0x474306(0x17f)][_0x474306(0x181)][_0x474306(0x17c)]():_0x2c651e[_0x474306(0x17c)]())[_0x474306(0x185)](_0x3056ae,'')['replace'](_0x292c02,'')['replace'](_0x1e1314,''),_0x3525d1=_0xf851f9['slice'](_0xf851f9['indexOf']('(')+0x1,_0xf851f9['indexOf'](')'))[_0x474306(0x178)](/([^\s,]+)/g)||[];return _0x3525d1;}}exports[a3_0x589638(0x184)]=getFuncArgs;
1
+ function a3_0x3977(_0x84310,_0x50d176){const _0x395bd3=a3_0x4353();return a3_0x3977=function(_0x190914,_0xa50be9){_0x190914=_0x190914-0x15a;let _0x435314=_0x395bd3[_0x190914];return _0x435314;},a3_0x3977(_0x84310,_0x50d176);}const a3_0x4f094d=a3_0x3977;(function(_0x2e5aeb,_0x4c20f3){const _0x402707=a3_0x3977,_0x523309=_0x2e5aeb();while(!![]){try{const _0x50c5ce=parseInt(_0x402707(0x162))/0x1*(-parseInt(_0x402707(0x171))/0x2)+parseInt(_0x402707(0x16b))/0x3*(-parseInt(_0x402707(0x15f))/0x4)+parseInt(_0x402707(0x172))/0x5+-parseInt(_0x402707(0x15a))/0x6+parseInt(_0x402707(0x166))/0x7*(parseInt(_0x402707(0x16a))/0x8)+-parseInt(_0x402707(0x170))/0x9*(-parseInt(_0x402707(0x15d))/0xa)+parseInt(_0x402707(0x174))/0xb;if(_0x50c5ce===_0x4c20f3)break;else _0x523309['push'](_0x523309['shift']());}catch(_0x1715f5){_0x523309['push'](_0x523309['shift']());}}}(a3_0x4353,0x1b648));const a3_0xa50be9=(function(){let _0x3486fb=!![];return function(_0x1623bc,_0x3e41e9){const _0x5613bb=_0x3486fb?function(){const _0x546fc1=a3_0x3977;if(_0x3e41e9){const _0x192897=_0x3e41e9[_0x546fc1(0x16d)](_0x1623bc,arguments);return _0x3e41e9=null,_0x192897;}}:function(){};return _0x3486fb=![],_0x5613bb;};}()),a3_0x190914=a3_0xa50be9(this,function(){const _0x3463d1=a3_0x3977;return a3_0x190914[_0x3463d1(0x15b)]()['search'](_0x3463d1(0x15c))[_0x3463d1(0x15b)]()[_0x3463d1(0x16c)](a3_0x190914)[_0x3463d1(0x168)]('(((.+)+)+)+$');});a3_0x190914();'use strict';Object[a3_0x4f094d(0x173)](exports,'__esModule',{'value':!![]}),exports['getFuncArgs']=exports['Validator']=void 0x0;const core_1=require(a3_0x4f094d(0x163)),interface_1=require(a3_0x4f094d(0x164));function Validator(_0x55ab86={}){return(_0x4ef435,_0x2ed66f,_0x58d8)=>{const _0x148169=a3_0x3977,_0x1d29c7=getFuncArgs(_0x4ef435[_0x2ed66f]);(0x0,core_1['attachClassMetadata'])(interface_1[_0x148169(0x16e)],{'method':_0x2ed66f,'methodArgs':_0x1d29c7},_0x4ef435),(0x0,core_1[_0x148169(0x169)])(interface_1['VALIDATOR_KEY'],_0x55ab86)(_0x4ef435,_0x2ed66f,_0x58d8);};}function a3_0x4353(){const _0x1e2511=['slice','getFuncArgs','2987aSbSLl','@midwayjs/core','../interface','indexOf','602WlJPTv','prototype','search','createCustomMethodDecorator','4640kULmbJ','135savHXd','constructor','apply','VALIDATOR_KEY','function','8163OSOEpg','70CqKWQZ','907500fRVbyM','defineProperty','1213388IIWbKf','785238PCqwQJ','toString','(((.+)+)+)+$','1400LUJIzD','replace','10760VHGIST'];a3_0x4353=function(){return _0x1e2511;};return a3_0x4353();}exports['Validator']=Validator;function getFuncArgs(_0x3ae66c){const _0x2fcb44=a3_0x4f094d;if(typeof _0x3ae66c==_0x2fcb44(0x16f)){const _0x2749f4=/=>.*$/mg,_0x3edb73=/=[^,)]+/mg,_0x542d46=/((\/\/.*$)|(\/\*[\s\S]*?\*\/))/mg,_0x39c7f5=(_0x3ae66c[_0x2fcb44(0x167)]?_0x3ae66c[_0x2fcb44(0x167)][_0x2fcb44(0x16c)][_0x2fcb44(0x15b)]():_0x3ae66c[_0x2fcb44(0x15b)]())[_0x2fcb44(0x15e)](_0x542d46,'')['replace'](_0x2749f4,'')[_0x2fcb44(0x15e)](_0x3edb73,''),_0x15b0f5=_0x39c7f5[_0x2fcb44(0x160)](_0x39c7f5[_0x2fcb44(0x165)]('(')+0x1,_0x39c7f5[_0x2fcb44(0x165)](')'))['match'](/([^\s,]+)/g)||[];return _0x15b0f5;}}exports[a3_0x4f094d(0x161)]=getFuncArgs;
@@ -1 +1 @@
1
- var a4_0xc74338=a4_0x6d82;(function(_0x24d445,_0x4e5664){var _0x57fe9d=a4_0x6d82,_0x27e5f4=_0x24d445();while(!![]){try{var _0x4bef0d=-parseInt(_0x57fe9d(0x7a))/0x1+parseInt(_0x57fe9d(0x71))/0x2*(-parseInt(_0x57fe9d(0x7d))/0x3)+-parseInt(_0x57fe9d(0x75))/0x4*(-parseInt(_0x57fe9d(0x70))/0x5)+-parseInt(_0x57fe9d(0x78))/0x6+parseInt(_0x57fe9d(0x7c))/0x7+-parseInt(_0x57fe9d(0x88))/0x8*(parseInt(_0x57fe9d(0x73))/0x9)+parseInt(_0x57fe9d(0x85))/0xa*(parseInt(_0x57fe9d(0x80))/0xb);if(_0x4bef0d===_0x4e5664)break;else _0x27e5f4['push'](_0x27e5f4['shift']());}catch(_0x2efef6){_0x27e5f4['push'](_0x27e5f4['shift']());}}}(a4_0xbc93,0x85041));var a4_0x44eb66=(function(){var _0x44cecd=!![];return function(_0x34f834,_0x518a76){var _0x4bd9ea=_0x44cecd?function(){var _0x4d38fc=a4_0x6d82;if(_0x518a76){var _0x5b036d=_0x518a76[_0x4d38fc(0x77)](_0x34f834,arguments);return _0x518a76=null,_0x5b036d;}}:function(){};return _0x44cecd=![],_0x4bd9ea;};}()),a4_0x208085=a4_0x44eb66(this,function(){var _0x137a1a=a4_0x6d82;return a4_0x208085['toString']()[_0x137a1a(0x7f)](_0x137a1a(0x89))[_0x137a1a(0x7e)]()[_0x137a1a(0x74)](a4_0x208085)[_0x137a1a(0x7f)]('(((.+)+)+)+$');});a4_0x208085();'use strict';var __decorate=this&&this[a4_0xc74338(0x79)]||function(_0x307e99,_0x5e316f,_0x32b662,_0x2cffdd){var _0x3b565a=a4_0xc74338,_0x44a2d8=arguments[_0x3b565a(0x8e)],_0x2e574c=_0x44a2d8<0x3?_0x5e316f:_0x2cffdd===null?_0x2cffdd=Object[_0x3b565a(0x72)](_0x5e316f,_0x32b662):_0x2cffdd,_0xaf7ea9;if(typeof Reflect==='object'&&typeof Reflect['decorate']===_0x3b565a(0x8d))_0x2e574c=Reflect[_0x3b565a(0x7b)](_0x307e99,_0x5e316f,_0x32b662,_0x2cffdd);else{for(var _0x732028=_0x307e99[_0x3b565a(0x8e)]-0x1;_0x732028>=0x0;_0x732028--)if(_0xaf7ea9=_0x307e99[_0x732028])_0x2e574c=(_0x44a2d8<0x3?_0xaf7ea9(_0x2e574c):_0x44a2d8>0x3?_0xaf7ea9(_0x5e316f,_0x32b662,_0x2e574c):_0xaf7ea9(_0x5e316f,_0x32b662))||_0x2e574c;}return _0x44a2d8>0x3&&_0x2e574c&&Object[_0x3b565a(0x83)](_0x5e316f,_0x32b662,_0x2e574c),_0x2e574c;},__metadata=this&&this[a4_0xc74338(0x6e)]||function(_0x4d2396,_0x5e2db1){var _0x4d7bae=a4_0xc74338;if(typeof Reflect===_0x4d7bae(0x8a)&&typeof Reflect[_0x4d7bae(0x86)]==='function')return Reflect[_0x4d7bae(0x86)](_0x4d2396,_0x5e2db1);};Object[a4_0xc74338(0x83)](exports,a4_0xc74338(0x8c),{'value':!![]}),exports[a4_0xc74338(0x6f)]=void 0x0;const core_1=require(a4_0xc74338(0x81));function a4_0xbc93(){var _0x4d9578=['@anncic-api/core','NOFIND_SCHEMA','defineProperty','PARAMS','13633670xAiNJv','metadata','design:type','8ABYkwR','(((.+)+)+)+$','object','参数验证失败','__esModule','function','length','__metadata','ValidatorError','11055fVgXkA','28kbPJPC','getOwnPropertyDescriptor','5916825dXOTvH','constructor','888ZrVWEU','AnnErrorMsg','apply','49950RqPxwQ','__decorate','290373aFBWqZ','decorate','2197223jnZsOY','142959xyYaEg','toString','search','11yiTEgC'];a4_0xbc93=function(){return _0x4d9578;};return a4_0xbc93();}class ValidatorError extends AnnError{}function a4_0x6d82(_0x159e78,_0x22ee23){var _0x3ebd7d=a4_0xbc93();return a4_0x6d82=function(_0x208085,_0x44eb66){_0x208085=_0x208085-0x6e;var _0xbc9380=_0x3ebd7d[_0x208085];return _0xbc9380;},a4_0x6d82(_0x159e78,_0x22ee23);}exports[a4_0xc74338(0x6f)]=ValidatorError,ValidatorError['PARAMS']=0x18c1e,ValidatorError[a4_0xc74338(0x82)]=0x18c1c,__decorate([(0x0,core_1['AnnErrorMsg'])(a4_0xc74338(0x8b)),__metadata(a4_0xc74338(0x87),Object)],ValidatorError,a4_0xc74338(0x84),void 0x0),__decorate([(0x0,core_1[a4_0xc74338(0x76)])(a4_0xc74338(0x8b)),__metadata(a4_0xc74338(0x87),Object)],ValidatorError,a4_0xc74338(0x82),void 0x0);
1
+ var a4_0x547219=a4_0x31c7;function a4_0x20d1(){var _0x4671a3=['参数验证失败','1900gACfOP','__esModule','defineProperty','decorate','search','@anncic-api/core','toString','6ywVNru','getOwnPropertyDescriptor','__metadata','constructor','220EFFluU','function','AnnErrorMsg','6196080bqnTIE','611sLyECf','(((.+)+)+)+$','5679604heizTE','object','NOFIND_SCHEMA','366399VBzqnG','ValidatorError','PARAMS','2504644lhXegT','2993157kuveMt','design:type','2447610cYeLcy','metadata'];a4_0x20d1=function(){return _0x4671a3;};return a4_0x20d1();}(function(_0x506786,_0x5313c6){var _0x46e9e5=a4_0x31c7,_0x1bba37=_0x506786();while(!![]){try{var _0x4a4969=parseInt(_0x46e9e5(0x181))/0x1*(parseInt(_0x46e9e5(0x172))/0x2)+-parseInt(_0x46e9e5(0x18a))/0x3+parseInt(_0x46e9e5(0x189))/0x4+-parseInt(_0x46e9e5(0x18c))/0x5+parseInt(_0x46e9e5(0x179))/0x6*(parseInt(_0x46e9e5(0x183))/0x7)+-parseInt(_0x46e9e5(0x180))/0x8+parseInt(_0x46e9e5(0x186))/0x9*(parseInt(_0x46e9e5(0x17d))/0xa);if(_0x4a4969===_0x5313c6)break;else _0x1bba37['push'](_0x1bba37['shift']());}catch(_0xaaf8c4){_0x1bba37['push'](_0x1bba37['shift']());}}}(a4_0x20d1,0x9f262));var a4_0x40ec6a=(function(){var _0x1538da=!![];return function(_0x1096f7,_0x3bb3f5){var _0x3d6f61=_0x1538da?function(){if(_0x3bb3f5){var _0x477299=_0x3bb3f5['apply'](_0x1096f7,arguments);return _0x3bb3f5=null,_0x477299;}}:function(){};return _0x1538da=![],_0x3d6f61;};}()),a4_0x25bbc0=a4_0x40ec6a(this,function(){var _0x3d154d=a4_0x31c7;return a4_0x25bbc0[_0x3d154d(0x178)]()[_0x3d154d(0x176)](_0x3d154d(0x182))[_0x3d154d(0x178)]()[_0x3d154d(0x17c)](a4_0x25bbc0)['search'](_0x3d154d(0x182));});a4_0x25bbc0();'use strict';var __decorate=this&&this['__decorate']||function(_0x9fe27a,_0x569da4,_0x10d017,_0x343381){var _0x505510=a4_0x31c7,_0x43d686=arguments['length'],_0xfa071=_0x43d686<0x3?_0x569da4:_0x343381===null?_0x343381=Object[_0x505510(0x17a)](_0x569da4,_0x10d017):_0x343381,_0x484c9e;if(typeof Reflect===_0x505510(0x184)&&typeof Reflect[_0x505510(0x175)]===_0x505510(0x17e))_0xfa071=Reflect[_0x505510(0x175)](_0x9fe27a,_0x569da4,_0x10d017,_0x343381);else{for(var _0x4a5291=_0x9fe27a['length']-0x1;_0x4a5291>=0x0;_0x4a5291--)if(_0x484c9e=_0x9fe27a[_0x4a5291])_0xfa071=(_0x43d686<0x3?_0x484c9e(_0xfa071):_0x43d686>0x3?_0x484c9e(_0x569da4,_0x10d017,_0xfa071):_0x484c9e(_0x569da4,_0x10d017))||_0xfa071;}return _0x43d686>0x3&&_0xfa071&&Object['defineProperty'](_0x569da4,_0x10d017,_0xfa071),_0xfa071;},__metadata=this&&this[a4_0x547219(0x17b)]||function(_0x1c77e9,_0x12457d){var _0x3e0775=a4_0x547219;if(typeof Reflect===_0x3e0775(0x184)&&typeof Reflect[_0x3e0775(0x170)]===_0x3e0775(0x17e))return Reflect[_0x3e0775(0x170)](_0x1c77e9,_0x12457d);};Object[a4_0x547219(0x174)](exports,a4_0x547219(0x173),{'value':!![]}),exports[a4_0x547219(0x187)]=void 0x0;function a4_0x31c7(_0x2748c4,_0x22559c){var _0x16e061=a4_0x20d1();return a4_0x31c7=function(_0x25bbc0,_0x40ec6a){_0x25bbc0=_0x25bbc0-0x170;var _0x20d19a=_0x16e061[_0x25bbc0];return _0x20d19a;},a4_0x31c7(_0x2748c4,_0x22559c);}const core_1=require(a4_0x547219(0x177));class ValidatorError extends AnnError{}exports[a4_0x547219(0x187)]=ValidatorError,ValidatorError[a4_0x547219(0x188)]=0x18c1e,ValidatorError[a4_0x547219(0x185)]=0x18c1c,__decorate([(0x0,core_1[a4_0x547219(0x17f)])(a4_0x547219(0x171)),__metadata(a4_0x547219(0x18b),Object)],ValidatorError,'PARAMS',void 0x0),__decorate([(0x0,core_1[a4_0x547219(0x17f)])('参数验证失败'),__metadata(a4_0x547219(0x18b),Object)],ValidatorError,a4_0x547219(0x185),void 0x0);
@@ -1 +1 @@
1
- const a5_0x1faac4=a5_0x5019;(function(_0x389d95,_0x18aa11){const _0x63d3cf=a5_0x5019,_0x5a80cd=_0x389d95();while(!![]){try{const _0x3cb63d=parseInt(_0x63d3cf(0x206))/0x1*(-parseInt(_0x63d3cf(0x1f8))/0x2)+-parseInt(_0x63d3cf(0x1f5))/0x3*(-parseInt(_0x63d3cf(0x203))/0x4)+parseInt(_0x63d3cf(0x1f3))/0x5*(-parseInt(_0x63d3cf(0x1f1))/0x6)+-parseInt(_0x63d3cf(0x1fb))/0x7+parseInt(_0x63d3cf(0x1f4))/0x8*(parseInt(_0x63d3cf(0x1f6))/0x9)+parseInt(_0x63d3cf(0x1f2))/0xa+parseInt(_0x63d3cf(0x201))/0xb*(parseInt(_0x63d3cf(0x1ff))/0xc);if(_0x3cb63d===_0x18aa11)break;else _0x5a80cd['push'](_0x5a80cd['shift']());}catch(_0x34890a){_0x5a80cd['push'](_0x5a80cd['shift']());}}}(a5_0x4929,0x95211));function a5_0x5019(_0x24ab29,_0x2d963e){const _0x306ff3=a5_0x4929();return a5_0x5019=function(_0x29f8d0,_0x5aa090){_0x29f8d0=_0x29f8d0-0x1f0;let _0x49296a=_0x306ff3[_0x29f8d0];return _0x49296a;},a5_0x5019(_0x24ab29,_0x2d963e);}const a5_0x5aa090=(function(){let _0x321495=!![];return function(_0x1984c4,_0x13cef2){const _0x11719f=_0x321495?function(){const _0x1ce36b=a5_0x5019;if(_0x13cef2){const _0x54990b=_0x13cef2[_0x1ce36b(0x1fd)](_0x1984c4,arguments);return _0x13cef2=null,_0x54990b;}}:function(){};return _0x321495=![],_0x11719f;};}()),a5_0x29f8d0=a5_0x5aa090(this,function(){const _0x44fffb=a5_0x5019;return a5_0x29f8d0[_0x44fffb(0x204)]()[_0x44fffb(0x1fc)](_0x44fffb(0x200))[_0x44fffb(0x204)]()['constructor'](a5_0x29f8d0)[_0x44fffb(0x1fc)](_0x44fffb(0x200));});a5_0x29f8d0();'use strict';function a5_0x4929(){const _0xf50b05=['12010260BFeAzG','3685870UgBjrb','16uKbECM','3LqAaci','1153674KPxFsk','saveClassMetadata','120qxqEuN','RULES_KEY','prototype','6129858LevYBR','search','apply','__esModule','5869128NaiZzv','(((.+)+)+)+$','11PoZTQB','PickDto','1661556ebQXMw','toString','OmitDto','2303rWuaVi','getClassExtendedMetadata','6jbgAYP'];a5_0x4929=function(){return _0xf50b05;};return a5_0x4929();}Object['defineProperty'](exports,a5_0x1faac4(0x1fe),{'value':!![]}),exports[a5_0x1faac4(0x205)]=exports[a5_0x1faac4(0x202)]=void 0x0;const core_1=require('@midwayjs/core'),interface_1=require('../interface');function PickDto(_0x307fc6,_0x2470bd){const _0x5364ed=a5_0x1faac4,_0x4f9dec=function(){};_0x4f9dec[_0x5364ed(0x1fa)]=_0x307fc6[_0x5364ed(0x1fa)];const _0x42f554=(0x0,core_1[_0x5364ed(0x1f0)])(interface_1[_0x5364ed(0x1f9)],_0x307fc6),_0x396f9d={};for(const _0xf731ac of _0x2470bd){_0x42f554[_0xf731ac]&&(_0x396f9d[_0xf731ac]=_0x42f554[_0xf731ac]);}return(0x0,core_1[_0x5364ed(0x1f7)])(interface_1['RULES_KEY'],_0x396f9d,_0x4f9dec),_0x4f9dec;}exports[a5_0x1faac4(0x202)]=PickDto;function OmitDto(_0x4f6e49,_0xf7774){const _0x4b8660=a5_0x1faac4,_0x41f2a5=function(){};_0x41f2a5[_0x4b8660(0x1fa)]=_0x4f6e49['prototype'];const _0x10fce9=(0x0,core_1[_0x4b8660(0x1f0)])(interface_1[_0x4b8660(0x1f9)],_0x4f6e49),_0x5eee0d=Object['assign']({},_0x10fce9);for(const _0x1fbcfa of _0xf7774){delete _0x5eee0d[_0x1fbcfa];}return(0x0,core_1['saveClassMetadata'])(interface_1[_0x4b8660(0x1f9)],_0x5eee0d,_0x41f2a5),_0x41f2a5;}exports[a5_0x1faac4(0x205)]=OmitDto;
1
+ function a5_0x4d38(_0x742eb0,_0x25ca0b){const _0x1979c6=a5_0x4e94();return a5_0x4d38=function(_0x146620,_0x46f095){_0x146620=_0x146620-0x98;let _0x4e944f=_0x1979c6[_0x146620];return _0x4e944f;},a5_0x4d38(_0x742eb0,_0x25ca0b);}const a5_0x251fdd=a5_0x4d38;(function(_0x5de015,_0x23bf27){const _0x559441=a5_0x4d38,_0x1b6e45=_0x5de015();while(!![]){try{const _0x4b4c5e=-parseInt(_0x559441(0xa2))/0x1+-parseInt(_0x559441(0xa1))/0x2+-parseInt(_0x559441(0xa6))/0x3+parseInt(_0x559441(0x9e))/0x4*(-parseInt(_0x559441(0xae))/0x5)+parseInt(_0x559441(0xa7))/0x6+parseInt(_0x559441(0x9a))/0x7*(-parseInt(_0x559441(0x99))/0x8)+parseInt(_0x559441(0x9c))/0x9*(parseInt(_0x559441(0xa0))/0xa);if(_0x4b4c5e===_0x23bf27)break;else _0x1b6e45['push'](_0x1b6e45['shift']());}catch(_0x473a1a){_0x1b6e45['push'](_0x1b6e45['shift']());}}}(a5_0x4e94,0x37e8a));const a5_0x46f095=(function(){let _0x1c1249=!![];return function(_0x2fc2f4,_0x5ee757){const _0x12f41a=_0x1c1249?function(){if(_0x5ee757){const _0xc76f2f=_0x5ee757['apply'](_0x2fc2f4,arguments);return _0x5ee757=null,_0xc76f2f;}}:function(){};return _0x1c1249=![],_0x12f41a;};}()),a5_0x146620=a5_0x46f095(this,function(){const _0x1c4f69=a5_0x4d38;return a5_0x146620[_0x1c4f69(0x9d)]()['search'](_0x1c4f69(0x9b))[_0x1c4f69(0x9d)]()[_0x1c4f69(0xa8)](a5_0x146620)[_0x1c4f69(0x9f)](_0x1c4f69(0x9b));});a5_0x146620();function a5_0x4e94(){const _0xe42bbe=['(((.+)+)+)+$','12447jkTFFg','toString','1048BOevsa','search','8810ordEqn','484504kRuMeW','337813jHmBgS','RULES_KEY','assign','@midwayjs/core','1036143xPDsec','1562598eDdcii','constructor','getClassExtendedMetadata','saveClassMetadata','OmitDto','../interface','defineProperty','5005owWplV','prototype','PickDto','3088gxAFkZ','1127BrTujN'];a5_0x4e94=function(){return _0xe42bbe;};return a5_0x4e94();}'use strict';Object[a5_0x251fdd(0xad)](exports,'__esModule',{'value':!![]}),exports[a5_0x251fdd(0xab)]=exports[a5_0x251fdd(0x98)]=void 0x0;const core_1=require(a5_0x251fdd(0xa5)),interface_1=require(a5_0x251fdd(0xac));function PickDto(_0x3aff66,_0x18e1da){const _0x55a165=a5_0x251fdd,_0x27a9a4=function(){};_0x27a9a4['prototype']=_0x3aff66[_0x55a165(0xaf)];const _0xde4998=(0x0,core_1['getClassExtendedMetadata'])(interface_1['RULES_KEY'],_0x3aff66),_0x20514f={};for(const _0xec7c58 of _0x18e1da){_0xde4998[_0xec7c58]&&(_0x20514f[_0xec7c58]=_0xde4998[_0xec7c58]);}return(0x0,core_1['saveClassMetadata'])(interface_1[_0x55a165(0xa3)],_0x20514f,_0x27a9a4),_0x27a9a4;}exports['PickDto']=PickDto;function OmitDto(_0x56537f,_0x19612e){const _0xbd8933=a5_0x251fdd,_0x2f05b7=function(){};_0x2f05b7[_0xbd8933(0xaf)]=_0x56537f[_0xbd8933(0xaf)];const _0x21da69=(0x0,core_1[_0xbd8933(0xa9)])(interface_1['RULES_KEY'],_0x56537f),_0x84c491=Object[_0xbd8933(0xa4)]({},_0x21da69);for(const _0x14702e of _0x19612e){delete _0x84c491[_0x14702e];}return(0x0,core_1[_0xbd8933(0xaa)])(interface_1[_0xbd8933(0xa3)],_0x84c491,_0x2f05b7),_0x2f05b7;}exports[a5_0x251fdd(0xab)]=OmitDto;
@@ -1 +1 @@
1
- const a6_0x1b2da6=a6_0xb5b1;(function(_0x4022bb,_0x58fe65){const _0x13a7b7=a6_0xb5b1,_0x1bd26b=_0x4022bb();while(!![]){try{const _0x527dd2=parseInt(_0x13a7b7(0xe5))/0x1*(parseInt(_0x13a7b7(0xea))/0x2)+-parseInt(_0x13a7b7(0xf2))/0x3+parseInt(_0x13a7b7(0xed))/0x4*(parseInt(_0x13a7b7(0xe7))/0x5)+parseInt(_0x13a7b7(0xef))/0x6*(-parseInt(_0x13a7b7(0xf4))/0x7)+parseInt(_0x13a7b7(0xf6))/0x8+parseInt(_0x13a7b7(0xe2))/0x9+-parseInt(_0x13a7b7(0xe3))/0xa;if(_0x527dd2===_0x58fe65)break;else _0x1bd26b['push'](_0x1bd26b['shift']());}catch(_0x42b055){_0x1bd26b['push'](_0x1bd26b['shift']());}}}(a6_0x756f,0x609e7));function a6_0xb5b1(_0x1ebaf6,_0x190143){const _0x4d144e=a6_0x756f();return a6_0xb5b1=function(_0x57df32,_0x2cbae4){_0x57df32=_0x57df32-0xe2;let _0x756fc=_0x4d144e[_0x57df32];return _0x756fc;},a6_0xb5b1(_0x1ebaf6,_0x190143);}const a6_0x2cbae4=(function(){let _0x4fe1ce=!![];return function(_0x40bddc,_0x585590){const _0x37fb6c=_0x4fe1ce?function(){const _0x242351=a6_0xb5b1;if(_0x585590){const _0x59511f=_0x585590[_0x242351(0xe6)](_0x40bddc,arguments);return _0x585590=null,_0x59511f;}}:function(){};return _0x4fe1ce=![],_0x37fb6c;};}()),a6_0x57df32=a6_0x2cbae4(this,function(){const _0x3568a5=a6_0xb5b1;return a6_0x57df32[_0x3568a5(0xf7)]()['search']('(((.+)+)+)+$')[_0x3568a5(0xf7)]()[_0x3568a5(0xf8)](a6_0x57df32)[_0x3568a5(0xf5)](_0x3568a5(0xe9));});a6_0x57df32();'use strict';Object[a6_0x1b2da6(0xe8)](exports,'__esModule',{'value':!![]}),exports[a6_0x1b2da6(0xee)]=void 0x0;const Joi=require(a6_0x1b2da6(0xf0)),core_1=require(a6_0x1b2da6(0xec)),interface_1=require(a6_0x1b2da6(0xf1));function a6_0x756f(){const _0x44e94d=['6979221OkCUgV','18537450SOtaBU','object','299716CqGras','apply','3210aBYrro','defineProperty','(((.+)+)+)+$','2mATjPe','getClassExtendedMetadata','@midwayjs/core','3988ICCldU','getSchema','20478UBJXzK','joi','../interface','136809odwWpr','RULES_KEY','70aefpHC','search','4911760EUUlFK','toString','constructor'];a6_0x756f=function(){return _0x44e94d;};return a6_0x756f();}function getSchema(_0x305200){const _0x540c19=a6_0x1b2da6,_0x15af74=(0x0,core_1[_0x540c19(0xeb)])(interface_1[_0x540c19(0xf3)],_0x305200);if(_0x15af74)return Joi[_0x540c19(0xe4)](_0x15af74);}exports[a6_0x1b2da6(0xee)]=getSchema;
1
+ const a6_0x577985=a6_0x5732;(function(_0x4f9961,_0x5b9148){const _0x3827a3=a6_0x5732,_0x285dad=_0x4f9961();while(!![]){try{const _0x39d6e5=parseInt(_0x3827a3(0xb7))/0x1*(-parseInt(_0x3827a3(0xad))/0x2)+parseInt(_0x3827a3(0xa9))/0x3*(-parseInt(_0x3827a3(0xa5))/0x4)+-parseInt(_0x3827a3(0xb2))/0x5*(-parseInt(_0x3827a3(0xa8))/0x6)+parseInt(_0x3827a3(0xb8))/0x7*(parseInt(_0x3827a3(0xa4))/0x8)+parseInt(_0x3827a3(0xb4))/0x9+-parseInt(_0x3827a3(0xa3))/0xa*(parseInt(_0x3827a3(0xb3))/0xb)+-parseInt(_0x3827a3(0xab))/0xc;if(_0x39d6e5===_0x5b9148)break;else _0x285dad['push'](_0x285dad['shift']());}catch(_0x46aac2){_0x285dad['push'](_0x285dad['shift']());}}}(a6_0x49aa,0xe4fd3));const a6_0x2542c5=(function(){let _0x5affc7=!![];return function(_0x4a9816,_0x4dfbc2){const _0x28c1e8=_0x5affc7?function(){const _0x252ed5=a6_0x5732;if(_0x4dfbc2){const _0x350ae1=_0x4dfbc2[_0x252ed5(0xb0)](_0x4a9816,arguments);return _0x4dfbc2=null,_0x350ae1;}}:function(){};return _0x5affc7=![],_0x28c1e8;};}()),a6_0x16de14=a6_0x2542c5(this,function(){const _0x190ea8=a6_0x5732;return a6_0x16de14[_0x190ea8(0xa6)]()['search'](_0x190ea8(0xae))[_0x190ea8(0xa6)]()[_0x190ea8(0xb6)](a6_0x16de14)['search'](_0x190ea8(0xae));});a6_0x16de14();function a6_0x5732(_0x414864,_0x359597){const _0x127170=a6_0x49aa();return a6_0x5732=function(_0x16de14,_0x2542c5){_0x16de14=_0x16de14-0xa3;let _0x49aadc=_0x127170[_0x16de14];return _0x49aadc;},a6_0x5732(_0x414864,_0x359597);}'use strict';Object[a6_0x577985(0xaa)](exports,a6_0x577985(0xb9),{'value':!![]}),exports[a6_0x577985(0xb5)]=void 0x0;const Joi=require('joi'),core_1=require(a6_0x577985(0xac)),interface_1=require(a6_0x577985(0xa7));function a6_0x49aa(){const _0xedebda=['constructor','463AggmFw','1148qNDwTZ','__esModule','30ReiFia','41904soIVoK','10324TRFbev','toString','../interface','9162nQlULj','1176CEyeTW','defineProperty','4310400IFFlne','@midwayjs/core','2838qvffJK','(((.+)+)+)+$','object','apply','getClassExtendedMetadata','5820RXsKgp','2872661tHHQmb','10015929gUzlUN','getSchema'];a6_0x49aa=function(){return _0xedebda;};return a6_0x49aa();}function getSchema(_0x6ff75f){const _0x397e7a=a6_0x577985,_0x22467f=(0x0,core_1[_0x397e7a(0xb1)])(interface_1['RULES_KEY'],_0x6ff75f);if(_0x22467f)return Joi[_0x397e7a(0xaf)](_0x22467f);}exports['getSchema']=getSchema;
package/dist/index.js CHANGED
@@ -1 +1 @@
1
- var a7_0xe57516=a7_0x9d6f;(function(_0x4858ee,_0x4dacf0){var _0x44ee6f=a7_0x9d6f,_0x20e8b1=_0x4858ee();while(!![]){try{var _0x170034=parseInt(_0x44ee6f(0x142))/0x1+parseInt(_0x44ee6f(0x136))/0x2+parseInt(_0x44ee6f(0x156))/0x3*(parseInt(_0x44ee6f(0x137))/0x4)+parseInt(_0x44ee6f(0x13d))/0x5*(-parseInt(_0x44ee6f(0x14c))/0x6)+-parseInt(_0x44ee6f(0x150))/0x7*(parseInt(_0x44ee6f(0x135))/0x8)+parseInt(_0x44ee6f(0x151))/0x9*(parseInt(_0x44ee6f(0x144))/0xa)+-parseInt(_0x44ee6f(0x147))/0xb;if(_0x170034===_0x4dacf0)break;else _0x20e8b1['push'](_0x20e8b1['shift']());}catch(_0x46234c){_0x20e8b1['push'](_0x20e8b1['shift']());}}}(a7_0x5291,0x251f4));var a7_0x159be5=(function(){var _0x4867de=!![];return function(_0x1bcf89,_0x4da26d){var _0x236680=_0x4867de?function(){var _0x4d404c=a7_0x9d6f;if(_0x4da26d){var _0x4d106d=_0x4da26d[_0x4d404c(0x148)](_0x1bcf89,arguments);return _0x4da26d=null,_0x4d106d;}}:function(){};return _0x4867de=![],_0x236680;};}()),a7_0x2e1cac=a7_0x159be5(this,function(){var _0x2d41ea=a7_0x9d6f;return a7_0x2e1cac[_0x2d41ea(0x157)]()[_0x2d41ea(0x153)]('(((.+)+)+)+$')[_0x2d41ea(0x157)]()[_0x2d41ea(0x15c)](a7_0x2e1cac)[_0x2d41ea(0x153)](_0x2d41ea(0x14f));});function a7_0x9d6f(_0x43b938,_0x27d8e0){var _0x26e455=a7_0x5291();return a7_0x9d6f=function(_0x2e1cac,_0x159be5){_0x2e1cac=_0x2e1cac-0x134;var _0x5291fb=_0x26e455[_0x2e1cac];return _0x5291fb;},a7_0x9d6f(_0x43b938,_0x27d8e0);}a7_0x2e1cac();'use strict';var __createBinding=this&&this[a7_0xe57516(0x158)]||(Object['create']?function(_0x1db829,_0x504da1,_0x55311b,_0x1709dd){var _0xe79d40=a7_0xe57516;if(_0x1709dd===undefined)_0x1709dd=_0x55311b;var _0x48116c=Object[_0xe79d40(0x15a)](_0x504da1,_0x55311b);(!_0x48116c||(_0xe79d40(0x14b)in _0x48116c?!_0x504da1['__esModule']:_0x48116c[_0xe79d40(0x15b)]||_0x48116c[_0xe79d40(0x13a)]))&&(_0x48116c={'enumerable':!![],'get':function(){return _0x504da1[_0x55311b];}}),Object[_0xe79d40(0x14d)](_0x1db829,_0x1709dd,_0x48116c);}:function(_0x3609d4,_0x379e89,_0x57ee73,_0x1c8a36){if(_0x1c8a36===undefined)_0x1c8a36=_0x57ee73;_0x3609d4[_0x1c8a36]=_0x379e89[_0x57ee73];}),__exportStar=this&&this[a7_0xe57516(0x13f)]||function(_0x39772a,_0x58ac16){var _0x40adad=a7_0xe57516;for(var _0x5c99d1 in _0x39772a)if(_0x5c99d1!==_0x40adad(0x140)&&!Object[_0x40adad(0x143)][_0x40adad(0x146)][_0x40adad(0x159)](_0x58ac16,_0x5c99d1))__createBinding(_0x58ac16,_0x39772a,_0x5c99d1);};Object['defineProperty'](exports,a7_0xe57516(0x138),{'value':!![]}),exports[a7_0xe57516(0x134)]=exports[a7_0xe57516(0x141)]=exports[a7_0xe57516(0x13c)]=exports[a7_0xe57516(0x154)]=exports[a7_0xe57516(0x13e)]=exports[a7_0xe57516(0x139)]=void 0x0,__exportStar(require('./interface'),exports),__exportStar(require(a7_0xe57516(0x14e)),exports),__exportStar(require('./helper/getSchema'),exports);function a7_0x5291(){var _0x584d7c=['34599ZYQxdE','toString','__createBinding','call','getOwnPropertyDescriptor','writable','constructor','Configuration','529616xDZjcZ','299062TFiNKf','4PsDQZs','__esModule','Validator','configurable','./decorator/Rule','ValidatorError','5YbsoCe','Rule','__exportStar','default','ValidatorService','284348AffCdn','prototype','30oMhEHE','./decorator/Validator','hasOwnProperty','2136563SMrgUz','apply','./exception/ValidatorError','./service/ValidatorService','get','518652paBjWa','defineProperty','./helper/dtoHelper','(((.+)+)+)+$','7PJHIKv','160551mryLFb','./configuration','search','RuleType','CustomConfiguration'];a7_0x5291=function(){return _0x584d7c;};return a7_0x5291();}var Validator_1=require(a7_0xe57516(0x145));Object[a7_0xe57516(0x14d)](exports,a7_0xe57516(0x139),{'enumerable':!![],'get':function(){var _0x292dfe=a7_0xe57516;return Validator_1[_0x292dfe(0x139)];}});var Rule_1=require(a7_0xe57516(0x13b));Object[a7_0xe57516(0x14d)](exports,a7_0xe57516(0x13e),{'enumerable':!![],'get':function(){var _0x26d0bb=a7_0xe57516;return Rule_1[_0x26d0bb(0x13e)];}}),Object['defineProperty'](exports,'RuleType',{'enumerable':!![],'get':function(){return Rule_1['RuleType'];}});var ValidatorError_1=require(a7_0xe57516(0x149));Object[a7_0xe57516(0x14d)](exports,'ValidatorError',{'enumerable':!![],'get':function(){return ValidatorError_1['ValidatorError'];}});var ValidatorService_1=require(a7_0xe57516(0x14a));Object[a7_0xe57516(0x14d)](exports,a7_0xe57516(0x141),{'enumerable':!![],'get':function(){var _0x448e77=a7_0xe57516;return ValidatorService_1[_0x448e77(0x141)];}});var configuration_1=require(a7_0xe57516(0x152));Object['defineProperty'](exports,'Configuration',{'enumerable':!![],'get':function(){var _0x352e77=a7_0xe57516;return configuration_1[_0x352e77(0x155)];}});
1
+ var a7_0x2351d7=a7_0x3e69;(function(_0x55d1f1,_0x193ef9){var _0x17555d=a7_0x3e69,_0x283814=_0x55d1f1();while(!![]){try{var _0x1a0b3b=-parseInt(_0x17555d(0xa5))/0x1*(parseInt(_0x17555d(0x99))/0x2)+parseInt(_0x17555d(0x7d))/0x3*(-parseInt(_0x17555d(0x7f))/0x4)+-parseInt(_0x17555d(0xa0))/0x5+parseInt(_0x17555d(0x81))/0x6+-parseInt(_0x17555d(0x93))/0x7+-parseInt(_0x17555d(0x9e))/0x8*(parseInt(_0x17555d(0x85))/0x9)+-parseInt(_0x17555d(0x82))/0xa*(-parseInt(_0x17555d(0x89))/0xb);if(_0x1a0b3b===_0x193ef9)break;else _0x283814['push'](_0x283814['shift']());}catch(_0x2279cf){_0x283814['push'](_0x283814['shift']());}}}(a7_0x4651,0x889b2));var a7_0x5a584a=(function(){var _0x5f438f=!![];return function(_0x99cf20,_0x45a5db){var _0x54ed4a=_0x5f438f?function(){var _0x1e51ad=a7_0x3e69;if(_0x45a5db){var _0x3d5d2f=_0x45a5db[_0x1e51ad(0x8a)](_0x99cf20,arguments);return _0x45a5db=null,_0x3d5d2f;}}:function(){};return _0x5f438f=![],_0x54ed4a;};}()),a7_0x3593a3=a7_0x5a584a(this,function(){var _0x192c78=a7_0x3e69;return a7_0x3593a3[_0x192c78(0xa1)]()[_0x192c78(0xa4)](_0x192c78(0x8c))[_0x192c78(0xa1)]()[_0x192c78(0x83)](a7_0x3593a3)[_0x192c78(0xa4)](_0x192c78(0x8c));});a7_0x3593a3();'use strict';function a7_0x3e69(_0x569129,_0x138f96){var _0x5344a9=a7_0x4651();return a7_0x3e69=function(_0x3593a3,_0x5a584a){_0x3593a3=_0x3593a3-0x7d;var _0x465195=_0x5344a9[_0x3593a3];return _0x465195;},a7_0x3e69(_0x569129,_0x138f96);}function a7_0x4651(){var _0x297784=['ValidatorError','Rule','./helper/getSchema','RuleType','ValidatorService','132074MBVlkc','./helper/dtoHelper','./decorator/Rule','defineProperty','configurable','8fDPBET','get','211015FBehYV','toString','__createBinding','__esModule','search','7ITEkzH','3ImTqLG','./configuration','1797212LplErv','getOwnPropertyDescriptor','4390536YMwkGG','125730CAXUyP','constructor','default','4669983djBnLi','prototype','./interface','call','1639ygTOFg','apply','Configuration','(((.+)+)+)+$','./service/ValidatorService','Validator','./exception/ValidatorError','CustomConfiguration','./decorator/Validator','hasOwnProperty','4010601yJGBMj'];a7_0x4651=function(){return _0x297784;};return a7_0x4651();}var __createBinding=this&&this[a7_0x2351d7(0xa2)]||(Object['create']?function(_0x488910,_0x455103,_0x56e55c,_0x28a034){var _0x3bf711=a7_0x2351d7;if(_0x28a034===undefined)_0x28a034=_0x56e55c;var _0x1ea84c=Object[_0x3bf711(0x80)](_0x455103,_0x56e55c);(!_0x1ea84c||(_0x3bf711(0x9f)in _0x1ea84c?!_0x455103[_0x3bf711(0xa3)]:_0x1ea84c['writable']||_0x1ea84c[_0x3bf711(0x9d)]))&&(_0x1ea84c={'enumerable':!![],'get':function(){return _0x455103[_0x56e55c];}}),Object['defineProperty'](_0x488910,_0x28a034,_0x1ea84c);}:function(_0x49a177,_0x243bfe,_0x576c93,_0xadbf53){if(_0xadbf53===undefined)_0xadbf53=_0x576c93;_0x49a177[_0xadbf53]=_0x243bfe[_0x576c93];}),__exportStar=this&&this['__exportStar']||function(_0x489f72,_0x4c1e53){var _0x1baabc=a7_0x2351d7;for(var _0x244ed4 in _0x489f72)if(_0x244ed4!==_0x1baabc(0x84)&&!Object[_0x1baabc(0x86)][_0x1baabc(0x92)][_0x1baabc(0x88)](_0x4c1e53,_0x244ed4))__createBinding(_0x4c1e53,_0x489f72,_0x244ed4);};Object['defineProperty'](exports,a7_0x2351d7(0xa3),{'value':!![]}),exports[a7_0x2351d7(0x8b)]=exports[a7_0x2351d7(0x98)]=exports['ValidatorError']=exports[a7_0x2351d7(0x97)]=exports[a7_0x2351d7(0x95)]=exports[a7_0x2351d7(0x8e)]=void 0x0,__exportStar(require(a7_0x2351d7(0x87)),exports),__exportStar(require(a7_0x2351d7(0x9a)),exports),__exportStar(require(a7_0x2351d7(0x96)),exports);var Validator_1=require(a7_0x2351d7(0x91));Object['defineProperty'](exports,a7_0x2351d7(0x8e),{'enumerable':!![],'get':function(){return Validator_1['Validator'];}});var Rule_1=require(a7_0x2351d7(0x9b));Object[a7_0x2351d7(0x9c)](exports,a7_0x2351d7(0x95),{'enumerable':!![],'get':function(){var _0x1f186b=a7_0x2351d7;return Rule_1[_0x1f186b(0x95)];}}),Object['defineProperty'](exports,a7_0x2351d7(0x97),{'enumerable':!![],'get':function(){var _0x59e5c8=a7_0x2351d7;return Rule_1[_0x59e5c8(0x97)];}});var ValidatorError_1=require(a7_0x2351d7(0x8f));Object[a7_0x2351d7(0x9c)](exports,a7_0x2351d7(0x94),{'enumerable':!![],'get':function(){var _0x223f65=a7_0x2351d7;return ValidatorError_1[_0x223f65(0x94)];}});var ValidatorService_1=require(a7_0x2351d7(0x8d));Object['defineProperty'](exports,a7_0x2351d7(0x98),{'enumerable':!![],'get':function(){var _0x42f0a3=a7_0x2351d7;return ValidatorService_1[_0x42f0a3(0x98)];}});var configuration_1=require(a7_0x2351d7(0x7e));Object[a7_0x2351d7(0x9c)](exports,a7_0x2351d7(0x8b),{'enumerable':!![],'get':function(){var _0x3aa48b=a7_0x2351d7;return configuration_1[_0x3aa48b(0x90)];}});
package/dist/interface.js CHANGED
@@ -1 +1 @@
1
- var a8_0x2415e7=a8_0x5ca2;function a8_0x2f49(){var _0x49477f=['6498690cgcsSx','1271045QaDTYg','toString','(((.+)+)+)+$','__esModule','RULES_KEY','VALIDATOR_KEY','6jgcspC','329JNZcRN','746548TFnPzS','anncic-api:validator:validator','1459899MgpGsm','1185228FYiYRz','constructor','80176iSqYed','defineProperty','2bjUfYc','2512704nmhxMl','apply'];a8_0x2f49=function(){return _0x49477f;};return a8_0x2f49();}(function(_0xbdf2e2,_0x5973c2){var _0x1f5b1c=a8_0x5ca2,_0x3d93a5=_0xbdf2e2();while(!![]){try{var _0x4a4aee=-parseInt(_0x1f5b1c(0x10a))/0x1*(parseInt(_0x1f5b1c(0x111))/0x2)+-parseInt(_0x1f5b1c(0x10c))/0x3+parseInt(_0x1f5b1c(0x112))/0x4+-parseInt(_0x1f5b1c(0x115))/0x5*(parseInt(_0x1f5b1c(0x108))/0x6)+-parseInt(_0x1f5b1c(0x109))/0x7*(-parseInt(_0x1f5b1c(0x10f))/0x8)+parseInt(_0x1f5b1c(0x10d))/0x9+parseInt(_0x1f5b1c(0x114))/0xa;if(_0x4a4aee===_0x5973c2)break;else _0x3d93a5['push'](_0x3d93a5['shift']());}catch(_0x3d2342){_0x3d93a5['push'](_0x3d93a5['shift']());}}}(a8_0x2f49,0x600a5));var a8_0x47bdc5=(function(){var _0x522872=!![];return function(_0x18aa19,_0x4a32b2){var _0xe505c4=_0x522872?function(){var _0x281a0e=a8_0x5ca2;if(_0x4a32b2){var _0x169dc7=_0x4a32b2[_0x281a0e(0x113)](_0x18aa19,arguments);return _0x4a32b2=null,_0x169dc7;}}:function(){};return _0x522872=![],_0xe505c4;};}()),a8_0x3fec72=a8_0x47bdc5(this,function(){var _0x17f9b2=a8_0x5ca2;return a8_0x3fec72[_0x17f9b2(0x116)]()['search'](_0x17f9b2(0x117))[_0x17f9b2(0x116)]()[_0x17f9b2(0x10e)](a8_0x3fec72)['search']('(((.+)+)+)+$');});a8_0x3fec72();'use strict';function a8_0x5ca2(_0x52f0c2,_0x47780e){var _0x242dc4=a8_0x2f49();return a8_0x5ca2=function(_0x3fec72,_0x47bdc5){_0x3fec72=_0x3fec72-0x106;var _0x2f494f=_0x242dc4[_0x3fec72];return _0x2f494f;},a8_0x5ca2(_0x52f0c2,_0x47780e);}Object[a8_0x2415e7(0x110)](exports,a8_0x2415e7(0x118),{'value':!![]}),exports[a8_0x2415e7(0x107)]=exports[a8_0x2415e7(0x106)]=void 0x0,exports[a8_0x2415e7(0x106)]='anncic-api:validator:rules',exports['VALIDATOR_KEY']=a8_0x2415e7(0x10b);
1
+ function a8_0x14d7(_0x16f3f6,_0x4faeab){var _0x1323c8=a8_0x231f();return a8_0x14d7=function(_0x249691,_0x1f8f0f){_0x249691=_0x249691-0xa3;var _0x231fa1=_0x1323c8[_0x249691];return _0x231fa1;},a8_0x14d7(_0x16f3f6,_0x4faeab);}function a8_0x231f(){var _0x2078b2=['55101vosQIt','__esModule','11wGPAqY','6Pyrakg','6433550DlLiRB','toString','1175681fWHsKu','699352tspIke','14yAgkCx','8qOtWbS','RULES_KEY','anncic-api:validator:validator','336adKjEq','6899094qJgABb','3008TnYYNM','apply','(((.+)+)+)+$','376iTBiso','345430mxTUDZ','VALIDATOR_KEY'];a8_0x231f=function(){return _0x2078b2;};return a8_0x231f();}var a8_0x50f07e=a8_0x14d7;(function(_0x2c3999,_0x6297ed){var _0x34a2a0=a8_0x14d7,_0x498c39=_0x2c3999();while(!![]){try{var _0x5816be=-parseInt(_0x34a2a0(0xb5))/0x1*(parseInt(_0x34a2a0(0xb0))/0x2)+parseInt(_0x34a2a0(0xa7))/0x3*(-parseInt(_0x34a2a0(0xa4))/0x4)+parseInt(_0x34a2a0(0xa5))/0x5*(parseInt(_0x34a2a0(0xaa))/0x6)+-parseInt(_0x34a2a0(0xaf))/0x7*(-parseInt(_0x34a2a0(0xae))/0x8)+-parseInt(_0x34a2a0(0xb4))/0x9+parseInt(_0x34a2a0(0xab))/0xa*(parseInt(_0x34a2a0(0xa9))/0xb)+-parseInt(_0x34a2a0(0xb3))/0xc*(-parseInt(_0x34a2a0(0xad))/0xd);if(_0x5816be===_0x6297ed)break;else _0x498c39['push'](_0x498c39['shift']());}catch(_0x4a3c4b){_0x498c39['push'](_0x498c39['shift']());}}}(a8_0x231f,0xdf3f3));var a8_0x1f8f0f=(function(){var _0x288675=!![];return function(_0x426725,_0x47ca1e){var _0x57d3db=_0x288675?function(){var _0x4be0fc=a8_0x14d7;if(_0x47ca1e){var _0x53da5b=_0x47ca1e[_0x4be0fc(0xb6)](_0x426725,arguments);return _0x47ca1e=null,_0x53da5b;}}:function(){};return _0x288675=![],_0x57d3db;};}()),a8_0x249691=a8_0x1f8f0f(this,function(){var _0x379272=a8_0x14d7;return a8_0x249691[_0x379272(0xac)]()['search']('(((.+)+)+)+$')[_0x379272(0xac)]()['constructor'](a8_0x249691)['search'](_0x379272(0xa3));});a8_0x249691();'use strict';Object['defineProperty'](exports,a8_0x50f07e(0xa8),{'value':!![]}),exports['VALIDATOR_KEY']=exports['RULES_KEY']=void 0x0,exports[a8_0x50f07e(0xb1)]='anncic-api:validator:rules',exports[a8_0x50f07e(0xa6)]=a8_0x50f07e(0xb2);
@@ -1 +1 @@
1
- function a9_0x1f64(){const _0x3d5e90=['3725124ViCvyj','forEach','type','errors','1pkjEjo','validator','function','__decorate','keys','Init','prototype','@midwayjs/core','defaultLocale','object','PARAMS','getOwnPropertyDescriptor','4439148SnwQRe','i18nConfig','messages','Provide','60UzqsHr','Scope','validationOptions','MidwayI18nServiceSingleton','(((.+)+)+)+$','4XZXEdh','key','message','schema','ValidatorService','design:type','metadata','239354RTeFON','i18nService','NOFIND_SCHEMA','value','fromEntries','getSchema','assign','getClassExtendedMetadata','date','language','toString','Config','ValidatorError','__metadata','constructor','905905SNTWna','validate','defineProperty','isSchema','length','init','decorate','locale','search','2806326bbJkdT','error','8593160mcYDJw','localeTable','@midwayjs/i18n','getLocaleMapping','Singleton','formatLocale','参数验证失败','../exception/ValidatorError','1928121aUeiuc','Inject'];a9_0x1f64=function(){return _0x3d5e90;};return a9_0x1f64();}const a9_0x57be00=a9_0x45a0;(function(_0x4d28ec,_0x8e2438){const _0x551822=a9_0x45a0,_0x256378=_0x4d28ec();while(!![]){try{const _0x2abcd6=parseInt(_0x551822(0x15b))/0x1*(-parseInt(_0x551822(0x133))/0x2)+-parseInt(_0x551822(0x155))/0x3+-parseInt(_0x551822(0x12c))/0x4*(parseInt(_0x551822(0x142))/0x5)+-parseInt(_0x551822(0x157))/0x6+-parseInt(_0x551822(0x123))/0x7+parseInt(_0x551822(0x14d))/0x8+parseInt(_0x551822(0x14b))/0x9*(parseInt(_0x551822(0x127))/0xa);if(_0x2abcd6===_0x8e2438)break;else _0x256378['push'](_0x256378['shift']());}catch(_0x3919d5){_0x256378['push'](_0x256378['shift']());}}}(a9_0x1f64,0xb63ce));const a9_0x24bd50=(function(){let _0x4ccacc=!![];return function(_0x338306,_0x2f9437){const _0x1a6cde=_0x4ccacc?function(){if(_0x2f9437){const _0x402e70=_0x2f9437['apply'](_0x338306,arguments);return _0x2f9437=null,_0x402e70;}}:function(){};return _0x4ccacc=![],_0x1a6cde;};}()),a9_0x283e26=a9_0x24bd50(this,function(){const _0x263bfc=a9_0x45a0;return a9_0x283e26[_0x263bfc(0x13d)]()['search'](_0x263bfc(0x12b))[_0x263bfc(0x13d)]()[_0x263bfc(0x141)](a9_0x283e26)[_0x263bfc(0x14a)](_0x263bfc(0x12b));});a9_0x283e26();function a9_0x45a0(_0x1253f7,_0x38ab52){const _0x2f9251=a9_0x1f64();return a9_0x45a0=function(_0x283e26,_0x24bd50){_0x283e26=_0x283e26-0x118;let _0x1f6403=_0x2f9251[_0x283e26];return _0x1f6403;},a9_0x45a0(_0x1253f7,_0x38ab52);}'use strict';var __decorate=this&&this[a9_0x57be00(0x11a)]||function(_0x4a98ee,_0x3d9078,_0x36ec08,_0x27a1fc){const _0x59bd75=a9_0x57be00;var _0x32d795=arguments[_0x59bd75(0x146)],_0x5bb19d=_0x32d795<0x3?_0x3d9078:_0x27a1fc===null?_0x27a1fc=Object[_0x59bd75(0x122)](_0x3d9078,_0x36ec08):_0x27a1fc,_0x26f01c;if(typeof Reflect===_0x59bd75(0x120)&&typeof Reflect[_0x59bd75(0x148)]==='function')_0x5bb19d=Reflect[_0x59bd75(0x148)](_0x4a98ee,_0x3d9078,_0x36ec08,_0x27a1fc);else{for(var _0x31bfef=_0x4a98ee[_0x59bd75(0x146)]-0x1;_0x31bfef>=0x0;_0x31bfef--)if(_0x26f01c=_0x4a98ee[_0x31bfef])_0x5bb19d=(_0x32d795<0x3?_0x26f01c(_0x5bb19d):_0x32d795>0x3?_0x26f01c(_0x3d9078,_0x36ec08,_0x5bb19d):_0x26f01c(_0x3d9078,_0x36ec08))||_0x5bb19d;}return _0x32d795>0x3&&_0x5bb19d&&Object[_0x59bd75(0x144)](_0x3d9078,_0x36ec08,_0x5bb19d),_0x5bb19d;},__metadata=this&&this[a9_0x57be00(0x140)]||function(_0x520cf2,_0x4e1d35){const _0x192ba5=a9_0x57be00;if(typeof Reflect==='object'&&typeof Reflect[_0x192ba5(0x132)]===_0x192ba5(0x119))return Reflect[_0x192ba5(0x132)](_0x520cf2,_0x4e1d35);};Object[a9_0x57be00(0x144)](exports,'__esModule',{'value':!![]}),exports['ValidatorService']=void 0x0;const Joi=require('joi'),i18n_1=require(a9_0x57be00(0x14f)),core_1=require(a9_0x57be00(0x11e)),interface_1=require('../interface'),ValidatorError_1=require(a9_0x57be00(0x154));let ValidatorService=class ValidatorService{constructor(){const _0x69abb4=a9_0x57be00;this[_0x69abb4(0x125)]={};}async[a9_0x57be00(0x147)](){const _0x29886b=a9_0x57be00,_0xb32419=Object[_0x29886b(0x11b)](this[_0x29886b(0x124)][_0x29886b(0x14e)]);_0xb32419[_0x29886b(0x158)](_0x1eed6a=>{const _0x5cfa70=_0x29886b;this[_0x5cfa70(0x125)][(0x0,i18n_1[_0x5cfa70(0x152)])(_0x1eed6a)]=Object[_0x5cfa70(0x137)](this[_0x5cfa70(0x134)][_0x5cfa70(0x150)](_0x1eed6a,_0x5cfa70(0x118)));});}[a9_0x57be00(0x138)](_0x3c1d26){const _0x101250=a9_0x57be00,_0x52003a=(0x0,core_1[_0x101250(0x13a)])(interface_1['RULES_KEY'],_0x3c1d26);return _0x52003a?Joi[_0x101250(0x120)](_0x52003a):undefined;}[a9_0x57be00(0x118)](_0x27e143,_0x7f6c47,_0x3fbb2b={}){const _0x3185c2=a9_0x57be00;var _0x6fa0be,_0x48bd62,_0x451931,_0x5e5c20,_0x1a1cfc,_0x4fd689;const _0x3313e0=Joi[_0x3185c2(0x145)](_0x27e143)?_0x27e143:this['getSchema'](_0x27e143);if(!_0x3313e0)throw new AnnError(ValidatorError_1[_0x3185c2(0x13f)][_0x3185c2(0x135)]);_0x3fbb2b[_0x3185c2(0x129)]=Object[_0x3185c2(0x139)]((_0x6fa0be=this['validatorConfig']['validationOptions'])!==null&&_0x6fa0be!==void 0x0?_0x6fa0be:{},{'messages':this[_0x3185c2(0x125)]},_0x3fbb2b[_0x3185c2(0x129)]||{}),_0x3fbb2b[_0x3185c2(0x129)][_0x3185c2(0x15a)]=_0x3fbb2b['validationOptions'][_0x3185c2(0x15a)]||{},_0x3fbb2b[_0x3185c2(0x129)]['errors'][_0x3185c2(0x13c)]=(0x0,i18n_1['formatLocale'])(this[_0x3185c2(0x134)]['getAvailableLocale'](_0x3fbb2b[_0x3185c2(0x129)]['errors'][_0x3185c2(0x13c)]||_0x3fbb2b[_0x3185c2(0x149)]||this[_0x3185c2(0x124)][_0x3185c2(0x11f)],_0x3185c2(0x118)));const _0x64dab7=_0x3313e0[_0x3185c2(0x143)](_0x7f6c47,_0x3fbb2b[_0x3185c2(0x129)]);if(_0x64dab7===null||_0x64dab7===void 0x0?void 0x0:_0x64dab7['error']){if(_0x64dab7[_0x3185c2(0x14c)]instanceof AnnError)throw _0x64dab7[_0x3185c2(0x14c)];else{if(_0x64dab7['error']instanceof Error)throw new AnnError(ValidatorError_1[_0x3185c2(0x13f)]['PARAMS'],{'message':((_0x48bd62=_0x64dab7['error'])===null||_0x48bd62===void 0x0?void 0x0:_0x48bd62[_0x3185c2(0x12e)])||_0x3185c2(0x153)});else throw new AnnError(ValidatorError_1['ValidatorError'][_0x3185c2(0x121)],{'message':((_0x1a1cfc=(_0x5e5c20=(_0x451931=_0x64dab7[_0x3185c2(0x14c)])===null||_0x451931===void 0x0?void 0x0:_0x451931['details'])===null||_0x5e5c20===void 0x0?void 0x0:_0x5e5c20[0x0])===null||_0x1a1cfc===void 0x0?void 0x0:_0x1a1cfc[_0x3185c2(0x12e)])||_0x3185c2(0x153)});}}if(_0x64dab7===null||_0x64dab7===void 0x0?void 0x0:_0x64dab7[_0x3185c2(0x136)]){const _0x37e347=(_0x4fd689=_0x3313e0===null||_0x3313e0===void 0x0?void 0x0:_0x3313e0['$_terms'])===null||_0x4fd689===void 0x0?void 0x0:_0x4fd689['keys'],_0x5cfe1b=function(_0x366346,_0x5637f2){const _0x1127d4=_0x3185c2;var _0x4b26b7,_0x2629d1,_0x5be2e9,_0x6af4b6,_0x3e6bca,_0x1c02d9,_0x47ea03,_0x4c3d10,_0x4f9ddc,_0x30f4d2,_0x23f86a;for(let _0x41e86b in _0x366346){if(_0x5637f2[(_0x4b26b7=_0x366346[_0x41e86b])===null||_0x4b26b7===void 0x0?void 0x0:_0x4b26b7[_0x1127d4(0x12d)]]&&((_0x5be2e9=(_0x2629d1=_0x366346[_0x41e86b])===null||_0x2629d1===void 0x0?void 0x0:_0x2629d1[_0x1127d4(0x12f)])===null||_0x5be2e9===void 0x0?void 0x0:_0x5be2e9['type'])){if(((_0x3e6bca=(_0x6af4b6=_0x366346[_0x41e86b])===null||_0x6af4b6===void 0x0?void 0x0:_0x6af4b6['schema'])===null||_0x3e6bca===void 0x0?void 0x0:_0x3e6bca[_0x1127d4(0x159)])==_0x1127d4(0x120))_0x5637f2[_0x366346[_0x41e86b]['key']]=_0x5cfe1b((_0x47ea03=(_0x1c02d9=_0x366346[_0x41e86b])===null||_0x1c02d9===void 0x0?void 0x0:_0x1c02d9[_0x1127d4(0x12f)]['$_terms'])===null||_0x47ea03===void 0x0?void 0x0:_0x47ea03[_0x1127d4(0x11b)],_0x5637f2[_0x366346[_0x41e86b][_0x1127d4(0x12d)]]);else{if(_0x366346[_0x41e86b][_0x1127d4(0x12f)]['type']==_0x1127d4(0x13b)&&_0x64dab7[_0x1127d4(0x136)][(_0x4c3d10=_0x366346[_0x41e86b])===null||_0x4c3d10===void 0x0?void 0x0:_0x4c3d10[_0x1127d4(0x12d)]]){const _0x390e0b=((_0x23f86a=(_0x30f4d2=(_0x4f9ddc=_0x366346[_0x41e86b])===null||_0x4f9ddc===void 0x0?void 0x0:_0x4f9ddc[_0x1127d4(0x12f)])===null||_0x30f4d2===void 0x0?void 0x0:_0x30f4d2['_flags'])===null||_0x23f86a===void 0x0?void 0x0:_0x23f86a['format'])||'YYYY-MM-DD\x20HH:mm:ss';_0x5637f2[_0x366346[_0x41e86b][_0x1127d4(0x12d)]]=dayjs(_0x64dab7[_0x1127d4(0x136)][_0x366346[_0x41e86b][_0x1127d4(0x12d)]])['format'](_0x390e0b);}}}}return _0x5637f2;};return _0x5cfe1b(_0x37e347,_0x64dab7['value']);}throw new AnnError(ValidatorError_1[_0x3185c2(0x13f)][_0x3185c2(0x121)]);}};exports[a9_0x57be00(0x130)]=ValidatorService,__decorate([(0x0,core_1['Config'])('i18n'),__metadata('design:type',Object)],ValidatorService[a9_0x57be00(0x11d)],a9_0x57be00(0x124),void 0x0),__decorate([(0x0,core_1[a9_0x57be00(0x13e)])('validator'),__metadata(a9_0x57be00(0x131),Object)],ValidatorService[a9_0x57be00(0x11d)],'validatorConfig',void 0x0),__decorate([(0x0,core_1[a9_0x57be00(0x156)])(),__metadata(a9_0x57be00(0x131),i18n_1[a9_0x57be00(0x12a)])],ValidatorService[a9_0x57be00(0x11d)],'i18nService',void 0x0),__decorate([(0x0,core_1[a9_0x57be00(0x11c)])(),__metadata(a9_0x57be00(0x131),Function),__metadata('design:paramtypes',[]),__metadata('design:returntype',Promise)],ValidatorService[a9_0x57be00(0x11d)],'init',null),exports[a9_0x57be00(0x130)]=ValidatorService=__decorate([(0x0,core_1[a9_0x57be00(0x126)])(a9_0x57be00(0x118)),(0x0,core_1[a9_0x57be00(0x128)])(core_1['ScopeEnum'][a9_0x57be00(0x151)])],ValidatorService);
1
+ const a9_0x5117e5=a9_0x1bf0;(function(_0x278df0,_0x5ad298){const _0x195cb0=a9_0x1bf0,_0x4b0ca5=_0x278df0();while(!![]){try{const _0x120a20=-parseInt(_0x195cb0(0x179))/0x1*(-parseInt(_0x195cb0(0x14c))/0x2)+parseInt(_0x195cb0(0x12f))/0x3*(-parseInt(_0x195cb0(0x14a))/0x4)+parseInt(_0x195cb0(0x173))/0x5*(-parseInt(_0x195cb0(0x174))/0x6)+-parseInt(_0x195cb0(0x162))/0x7*(-parseInt(_0x195cb0(0x167))/0x8)+parseInt(_0x195cb0(0x131))/0x9*(parseInt(_0x195cb0(0x158))/0xa)+parseInt(_0x195cb0(0x171))/0xb*(parseInt(_0x195cb0(0x161))/0xc)+parseInt(_0x195cb0(0x165))/0xd;if(_0x120a20===_0x5ad298)break;else _0x4b0ca5['push'](_0x4b0ca5['shift']());}catch(_0x3d4872){_0x4b0ca5['push'](_0x4b0ca5['shift']());}}}(a9_0x4f7f,0xe1dac));const a9_0x11be72=(function(){let _0x50fb3d=!![];return function(_0x3c4566,_0x8790d9){const _0xc4fee5=_0x50fb3d?function(){const _0x154a79=a9_0x1bf0;if(_0x8790d9){const _0x5e195a=_0x8790d9[_0x154a79(0x13c)](_0x3c4566,arguments);return _0x8790d9=null,_0x5e195a;}}:function(){};return _0x50fb3d=![],_0xc4fee5;};}()),a9_0x3c9494=a9_0x11be72(this,function(){const _0x5739ec=a9_0x1bf0;return a9_0x3c9494[_0x5739ec(0x12c)]()[_0x5739ec(0x15f)](_0x5739ec(0x17c))[_0x5739ec(0x12c)]()[_0x5739ec(0x146)](a9_0x3c9494)[_0x5739ec(0x15f)](_0x5739ec(0x17c));});a9_0x3c9494();function a9_0x4f7f(){const _0x2780de=['validator','36WUnFYN','45206cZiIYl','PARAMS','validatorConfig','2791685CRbvFJ','defaultLocale','1264vAhfdB','i18nConfig','defineProperty','schema','getLocaleMapping','NOFIND_SCHEMA','details','validationOptions','ScopeEnum','joi','3289066hVSXUt','init','336765dbxOns','114usPFAW','_flags','@midwayjs/core','function','formatLocale','41579olcDvf','ValidatorError','Provide','(((.+)+)+)+$','toString','language','value','3GpDibw','getOwnPropertyDescriptor','11277JrpAgy','validate','localeTable','Inject','type','key','$_terms','date','errors','参数验证失败','YYYY-MM-DD\x20HH:mm:ss','apply','metadata','format','@midwayjs/i18n','locale','prototype','message','design:returntype','i18nService','RULES_KEY','constructor','__metadata','MidwayI18nServiceSingleton','error','3484744lYWDcz','design:type','14zsYwCU','getAvailableLocale','../exception/ValidatorError','messages','decorate','length','Singleton','../interface','object','Config','forEach','i18n','5210xdVMIP','Scope','Init','ValidatorService','keys','design:paramtypes','assign','search'];a9_0x4f7f=function(){return _0x2780de;};return a9_0x4f7f();}'use strict';var __decorate=this&&this['__decorate']||function(_0x12957c,_0x233a8d,_0x29b6f7,_0x30f6ef){const _0x4efc14=a9_0x1bf0;var _0x1c04bd=arguments[_0x4efc14(0x151)],_0x102f4e=_0x1c04bd<0x3?_0x233a8d:_0x30f6ef===null?_0x30f6ef=Object[_0x4efc14(0x130)](_0x233a8d,_0x29b6f7):_0x30f6ef,_0x584cd4;if(typeof Reflect==='object'&&typeof Reflect[_0x4efc14(0x150)]===_0x4efc14(0x177))_0x102f4e=Reflect[_0x4efc14(0x150)](_0x12957c,_0x233a8d,_0x29b6f7,_0x30f6ef);else{for(var _0x5056ec=_0x12957c[_0x4efc14(0x151)]-0x1;_0x5056ec>=0x0;_0x5056ec--)if(_0x584cd4=_0x12957c[_0x5056ec])_0x102f4e=(_0x1c04bd<0x3?_0x584cd4(_0x102f4e):_0x1c04bd>0x3?_0x584cd4(_0x233a8d,_0x29b6f7,_0x102f4e):_0x584cd4(_0x233a8d,_0x29b6f7))||_0x102f4e;}return _0x1c04bd>0x3&&_0x102f4e&&Object[_0x4efc14(0x169)](_0x233a8d,_0x29b6f7,_0x102f4e),_0x102f4e;},__metadata=this&&this[a9_0x5117e5(0x147)]||function(_0x30f8ec,_0x54de25){const _0x3f595e=a9_0x5117e5;if(typeof Reflect===_0x3f595e(0x154)&&typeof Reflect[_0x3f595e(0x13d)]==='function')return Reflect[_0x3f595e(0x13d)](_0x30f8ec,_0x54de25);};Object[a9_0x5117e5(0x169)](exports,'__esModule',{'value':!![]}),exports[a9_0x5117e5(0x15b)]=void 0x0;const Joi=require(a9_0x5117e5(0x170)),i18n_1=require(a9_0x5117e5(0x13f)),core_1=require(a9_0x5117e5(0x176)),interface_1=require(a9_0x5117e5(0x153)),ValidatorError_1=require(a9_0x5117e5(0x14e));let ValidatorService=class ValidatorService{constructor(){this['messages']={};}async[a9_0x5117e5(0x172)](){const _0x27b684=a9_0x5117e5,_0x54f09d=Object['keys'](this['i18nConfig'][_0x27b684(0x133)]);_0x54f09d[_0x27b684(0x156)](_0x5a3d64=>{const _0x4fdcae=_0x27b684;this[_0x4fdcae(0x14f)][(0x0,i18n_1['formatLocale'])(_0x5a3d64)]=Object['fromEntries'](this['i18nService'][_0x4fdcae(0x16b)](_0x5a3d64,_0x4fdcae(0x160)));});}['getSchema'](_0x550fa1){const _0x195717=a9_0x5117e5,_0xfb5bf3=(0x0,core_1['getClassExtendedMetadata'])(interface_1[_0x195717(0x145)],_0x550fa1);return _0xfb5bf3?Joi['object'](_0xfb5bf3):undefined;}[a9_0x5117e5(0x160)](_0x1986fb,_0x249146,_0x194ceb={}){const _0x397d34=a9_0x5117e5;var _0x282262,_0x19f353,_0x5859f1,_0x26a338,_0x28ea86,_0x34fdec;const _0xc27794=Joi['isSchema'](_0x1986fb)?_0x1986fb:this['getSchema'](_0x1986fb);if(!_0xc27794)throw new AnnError(ValidatorError_1[_0x397d34(0x17a)][_0x397d34(0x16c)]);_0x194ceb[_0x397d34(0x16e)]=Object[_0x397d34(0x15e)]((_0x282262=this[_0x397d34(0x164)][_0x397d34(0x16e)])!==null&&_0x282262!==void 0x0?_0x282262:{},{'messages':this[_0x397d34(0x14f)]},_0x194ceb[_0x397d34(0x16e)]||{}),_0x194ceb[_0x397d34(0x16e)][_0x397d34(0x139)]=_0x194ceb['validationOptions'][_0x397d34(0x139)]||{},_0x194ceb[_0x397d34(0x16e)][_0x397d34(0x139)][_0x397d34(0x12d)]=(0x0,i18n_1[_0x397d34(0x178)])(this[_0x397d34(0x144)][_0x397d34(0x14d)](_0x194ceb[_0x397d34(0x16e)]['errors'][_0x397d34(0x12d)]||_0x194ceb[_0x397d34(0x140)]||this[_0x397d34(0x168)][_0x397d34(0x166)],_0x397d34(0x160)));const _0x5baf21=_0xc27794[_0x397d34(0x132)](_0x249146,_0x194ceb['validationOptions']);if(_0x5baf21===null||_0x5baf21===void 0x0?void 0x0:_0x5baf21[_0x397d34(0x149)]){if(_0x5baf21[_0x397d34(0x149)]instanceof AnnError)throw _0x5baf21[_0x397d34(0x149)];else{if(_0x5baf21[_0x397d34(0x149)]instanceof Error)throw new AnnError(ValidatorError_1[_0x397d34(0x17a)][_0x397d34(0x163)],{'message':((_0x19f353=_0x5baf21['error'])===null||_0x19f353===void 0x0?void 0x0:_0x19f353[_0x397d34(0x142)])||'参数验证失败'});else throw new AnnError(ValidatorError_1['ValidatorError'][_0x397d34(0x163)],{'message':((_0x28ea86=(_0x26a338=(_0x5859f1=_0x5baf21[_0x397d34(0x149)])===null||_0x5859f1===void 0x0?void 0x0:_0x5859f1[_0x397d34(0x16d)])===null||_0x26a338===void 0x0?void 0x0:_0x26a338[0x0])===null||_0x28ea86===void 0x0?void 0x0:_0x28ea86[_0x397d34(0x142)])||_0x397d34(0x13a)});}}if(_0x5baf21===null||_0x5baf21===void 0x0?void 0x0:_0x5baf21['value']){const _0x223a52=(_0x34fdec=_0xc27794===null||_0xc27794===void 0x0?void 0x0:_0xc27794['$_terms'])===null||_0x34fdec===void 0x0?void 0x0:_0x34fdec['keys'],_0x454951=function(_0x4af91d,_0x30e6b5){const _0x607da3=_0x397d34;var _0x3680ff,_0x46af87,_0x517c37,_0x850fce,_0x48fed1,_0x45d798,_0x33bd44,_0x39a19f,_0x5c9a36,_0x3d26d7,_0x2ed867;for(let _0x5a9b10 in _0x4af91d){if(_0x30e6b5[(_0x3680ff=_0x4af91d[_0x5a9b10])===null||_0x3680ff===void 0x0?void 0x0:_0x3680ff['key']]&&((_0x517c37=(_0x46af87=_0x4af91d[_0x5a9b10])===null||_0x46af87===void 0x0?void 0x0:_0x46af87['schema'])===null||_0x517c37===void 0x0?void 0x0:_0x517c37[_0x607da3(0x135)])){if(((_0x48fed1=(_0x850fce=_0x4af91d[_0x5a9b10])===null||_0x850fce===void 0x0?void 0x0:_0x850fce['schema'])===null||_0x48fed1===void 0x0?void 0x0:_0x48fed1[_0x607da3(0x135)])==_0x607da3(0x154))_0x30e6b5[_0x4af91d[_0x5a9b10][_0x607da3(0x136)]]=_0x454951((_0x33bd44=(_0x45d798=_0x4af91d[_0x5a9b10])===null||_0x45d798===void 0x0?void 0x0:_0x45d798[_0x607da3(0x16a)][_0x607da3(0x137)])===null||_0x33bd44===void 0x0?void 0x0:_0x33bd44[_0x607da3(0x15c)],_0x30e6b5[_0x4af91d[_0x5a9b10][_0x607da3(0x136)]]);else{if(_0x4af91d[_0x5a9b10]['schema'][_0x607da3(0x135)]==_0x607da3(0x138)&&_0x5baf21[_0x607da3(0x12e)][(_0x39a19f=_0x4af91d[_0x5a9b10])===null||_0x39a19f===void 0x0?void 0x0:_0x39a19f[_0x607da3(0x136)]]){const _0x40e62e=((_0x2ed867=(_0x3d26d7=(_0x5c9a36=_0x4af91d[_0x5a9b10])===null||_0x5c9a36===void 0x0?void 0x0:_0x5c9a36[_0x607da3(0x16a)])===null||_0x3d26d7===void 0x0?void 0x0:_0x3d26d7[_0x607da3(0x175)])===null||_0x2ed867===void 0x0?void 0x0:_0x2ed867[_0x607da3(0x13e)])||_0x607da3(0x13b);_0x30e6b5[_0x4af91d[_0x5a9b10][_0x607da3(0x136)]]=dayjs(_0x5baf21['value'][_0x4af91d[_0x5a9b10][_0x607da3(0x136)]])['format'](_0x40e62e);}}}}return _0x30e6b5;};return _0x454951(_0x223a52,_0x5baf21['value']);}throw new AnnError(ValidatorError_1['ValidatorError'][_0x397d34(0x163)]);}};function a9_0x1bf0(_0x257d9c,_0x441ccd){const _0x10b7b8=a9_0x4f7f();return a9_0x1bf0=function(_0x3c9494,_0x11be72){_0x3c9494=_0x3c9494-0x12c;let _0x4f7fe9=_0x10b7b8[_0x3c9494];return _0x4f7fe9;},a9_0x1bf0(_0x257d9c,_0x441ccd);}exports[a9_0x5117e5(0x15b)]=ValidatorService,__decorate([(0x0,core_1['Config'])(a9_0x5117e5(0x157)),__metadata(a9_0x5117e5(0x14b),Object)],ValidatorService['prototype'],'i18nConfig',void 0x0),__decorate([(0x0,core_1[a9_0x5117e5(0x155)])(a9_0x5117e5(0x160)),__metadata(a9_0x5117e5(0x14b),Object)],ValidatorService[a9_0x5117e5(0x141)],a9_0x5117e5(0x164),void 0x0),__decorate([(0x0,core_1[a9_0x5117e5(0x134)])(),__metadata(a9_0x5117e5(0x14b),i18n_1[a9_0x5117e5(0x148)])],ValidatorService[a9_0x5117e5(0x141)],'i18nService',void 0x0),__decorate([(0x0,core_1[a9_0x5117e5(0x15a)])(),__metadata(a9_0x5117e5(0x14b),Function),__metadata(a9_0x5117e5(0x15d),[]),__metadata(a9_0x5117e5(0x143),Promise)],ValidatorService[a9_0x5117e5(0x141)],a9_0x5117e5(0x172),null),exports['ValidatorService']=ValidatorService=__decorate([(0x0,core_1[a9_0x5117e5(0x17b)])('validator'),(0x0,core_1[a9_0x5117e5(0x159)])(core_1[a9_0x5117e5(0x16f)][a9_0x5117e5(0x152)])],ValidatorService);
package/index.d.ts CHANGED
@@ -1,10 +1,10 @@
1
-
2
- export * from './dist/index';
3
-
4
- declare module 'joi' {
5
-
6
- interface DateSchema {
7
- format(format: string | string[]): this;
8
- utc(): this;
9
- }
1
+
2
+ export * from './dist/index';
3
+
4
+ declare module 'joi' {
5
+
6
+ interface DateSchema {
7
+ format(format: string | string[]): this;
8
+ utc(): this;
9
+ }
10
10
  }
@@ -1,116 +1,116 @@
1
- {
2
- "alternatives.all": "{{#label}} does not match all of the required types",
3
- "alternatives.any": "{{#label}} does not match any of the allowed types",
4
- "alternatives.match": "{{#label}} does not match any of the allowed types",
5
- "alternatives.one": "{{#label}} matches more than one allowed type",
6
- "alternatives.types": "{{#label}} must be one of {{#types}}",
7
- "any.custom": "{{#label}} failed custom validation because {{#error.message}}",
8
- "any.default": "{{#label}} threw an error when running default method",
9
- "any.failover": "{{#label}} threw an error when running failover method",
10
- "any.invalid": "{{#label}} contains an invalid value",
11
- "any.only": "{{#label}} must be {if(#valids.length == 1, \"\", \"one of \")}{{#valids}}",
12
- "any.ref": "{{#label}} {{#arg}} references {{:#ref}} which {{#reason}}",
13
- "any.required": "{{#label}} is required",
14
- "any.unknown": "{{#label}} is not allowed",
15
- "array.base": "{{#label}} must be an array",
16
- "array.excludes": "{{#label}} contains an excluded value",
17
- "array.hasKnown": "{{#label}} does not contain at least one required match for type {:#patternLabel}",
18
- "array.hasUnknown": "{{#label}} does not contain at least one required match",
19
- "array.includes": "{{#label}} does not match any of the allowed types",
20
- "array.includesRequiredBoth": "{{#label}} does not contain {{#knownMisses}} and {{#unknownMisses}} other required value(s)",
21
- "array.includesRequiredKnowns": "{{#label}} does not contain {{#knownMisses}}",
22
- "array.includesRequiredUnknowns": "{{#label}} does not contain {{#unknownMisses}} required value(s)",
23
- "array.length": "{{#label}} must contain {{#limit}} items",
24
- "array.max": "{{#label}} must contain less than or equal to {{#limit}} items",
25
- "array.min": "{{#label}} must contain at least {{#limit}} items",
26
- "array.orderedLength": "{{#label}} must contain at most {{#limit}} items",
27
- "array.sort": "{{#label}} must be sorted in {#order} order by {{#by}}",
28
- "array.sort.mismatching": "{{#label}} cannot be sorted due to mismatching types",
29
- "array.sort.unsupported": "{{#label}} cannot be sorted due to unsupported type {#type}",
30
- "array.sparse": "{{#label}} must not be a sparse array item",
31
- "array.unique": "{{#label}} contains a duplicate value",
32
- "binary.base": "{{#label}} must be a buffer or a string",
33
- "binary.length": "{{#label}} must be {{#limit}} bytes",
34
- "binary.max": "{{#label}} must be less than or equal to {{#limit}} bytes",
35
- "binary.min": "{{#label}} must be at least {{#limit}} bytes",
36
- "boolean.base": "{{#label}} must be a boolean",
37
- "date.base": "{{#label}} must be a valid date",
38
- "date.format": "{{#label}} must be in {msg(\"date.format.\" + #format) || #format} format",
39
- "date.greater": "{{#label}} must be greater than {{:#limit}}",
40
- "date.less": "{{#label}} must be less than {{:#limit}}",
41
- "date.max": "{{#label}} must be less than or equal to {{:#limit}}",
42
- "date.min": "{{#label}} must be greater than or equal to {{:#limit}}",
43
- "date.format.iso": "ISO 8601 date",
44
- "date.format.javascript": "timestamp or number of milliseconds",
45
- "date.format.unix": "timestamp or number of seconds",
46
- "function.arity": "{{#label}} must have an arity of {{#n}}",
47
- "function.class": "{{#label}} must be a class",
48
- "function.maxArity": "{{#label}} must have an arity lesser or equal to {{#n}}",
49
- "function.minArity": "{{#label}} must have an arity greater or equal to {{#n}}",
50
- "object.and": "{{#label}} contains {{#presentWithLabels}} without its required peers {{#missingWithLabels}}",
51
- "object.assert": "{{#label}} is invalid because {if(#subject.key, `\"` + #subject.key + `\" failed to ` + (#message || \"pass the assertion test\"), #message || \"the assertion failed\")}",
52
- "object.base": "{{#label}} must be of type {{#type}}",
53
- "object.instance": "{{#label}} must be an instance of {{:#type}}",
54
- "object.length": "{{#label}} must have {{#limit}} key{if(#limit == 1, \"\", \"s\")}",
55
- "object.max": "{{#label}} must have less than or equal to {{#limit}} key{if(#limit == 1, \"\", \"s\")}",
56
- "object.min": "{{#label}} must have at least {{#limit}} key{if(#limit == 1, \"\", \"s\")}",
57
- "object.missing": "{{#label}} must contain at least one of {{#peersWithLabels}}",
58
- "object.nand": "{{:#mainWithLabel}} must not exist simultaneously with {{#peersWithLabels}}",
59
- "object.oxor": "{{#label}} contains a conflict between optional exclusive peers {{#peersWithLabels}}",
60
- "object.pattern.match": "{{#label}} keys failed to match pattern requirements",
61
- "object.refType": "{{#label}} must be a Joi reference",
62
- "object.regex": "{{#label}} must be a RegExp object",
63
- "object.rename.multiple": "{{#label}} cannot rename {{:#from}} because multiple renames are disabled and another key was already renamed to {{:#to}}",
64
- "object.rename.override": "{{#label}} cannot rename {{:#from}} because override is disabled and target {{:#to}} exists",
65
- "object.schema": "{{#label}} must be a Joi schema of {{#type}} type",
66
- "object.unknown": "{{#label}} is not allowed",
67
- "object.with": "{{:#mainWithLabel}} missing required peer {{:#peerWithLabel}}",
68
- "object.without": "{{:#mainWithLabel}} conflict with forbidden peer {{:#peerWithLabel}}",
69
- "object.xor": "{{#label}} contains a conflict between exclusive peers {{#peersWithLabels}}",
70
- "number.base": "{{#label}} must be a number",
71
- "number.greater": "{{#label}} must be greater than {{#limit}}",
72
- "number.infinity": "{{#label}} cannot be infinity",
73
- "number.integer": "{{#label}} must be an integer",
74
- "number.less": "{{#label}} must be less than {{#limit}}",
75
- "number.max": "{{#label}} must be less than or equal to {{#limit}}",
76
- "number.min": "{{#label}} must be greater than or equal to {{#limit}}",
77
- "number.multiple": "{{#label}} must be a multiple of {{#multiple}}",
78
- "number.negative": "{{#label}} must be a negative number",
79
- "number.port": "{{#label}} must be a valid port",
80
- "number.positive": "{{#label}} must be a positive number",
81
- "number.precision": "{{#label}} must have no more than {{#limit}} decimal places",
82
- "number.unsafe": "{{#label}} must be a safe number",
83
- "string.alphanum": "{{#label}} must only contain alpha-numeric characters",
84
- "string.base": "{{#label}} must be a string",
85
- "string.base64": "{{#label}} must be a valid base64 string",
86
- "string.creditCard": "{{#label}} must be a credit card",
87
- "string.dataUri": "{{#label}} must be a valid dataUri string",
88
- "string.domain": "{{#label}} must contain a valid domain name",
89
- "string.email": "{{#label}} must be a valid email",
90
- "string.empty": "{{#label}} is not allowed to be empty",
91
- "string.guid": "{{#label}} must be a valid GUID",
92
- "string.hex": "{{#label}} must only contain hexadecimal characters",
93
- "string.hexAlign": "{{#label}} hex decoded representation must be byte aligned",
94
- "string.hostname": "{{#label}} must be a valid hostname",
95
- "string.ip": "{{#label}} must be a valid ip address with a {{#cidr}} CIDR",
96
- "string.ipVersion": "{{#label}} must be a valid ip address of one of the following versions {{#version}} with a {{#cidr}} CIDR",
97
- "string.isoDate": "{{#label}} must be in iso format",
98
- "string.isoDuration": "{{#label}} must be a valid ISO 8601 duration",
99
- "string.length": "{{#label}} length must be {{#limit}} characters long",
100
- "string.lowercase": "{{#label}} must only contain lowercase characters",
101
- "string.max": "{{#label}} length must be less than or equal to {{#limit}} characters long",
102
- "string.min": "{{#label}} length must be at least {{#limit}} characters long",
103
- "string.normalize": "{{#label}} must be unicode normalized in the {{#form}} form",
104
- "string.token": "{{#label}} must only contain alpha-numeric and underscore characters",
105
- "string.pattern.base": "{{#label}} with value {:[.]} fails to match the required pattern: {{#regex}}",
106
- "string.pattern.name": "{{#label}} with value {:[.]} fails to match the {{#name}} pattern",
107
- "string.pattern.invert.base": "{{#label}} with value {:[.]} matches the inverted pattern: {{#regex}}",
108
- "string.pattern.invert.name": "{{#label}} with value {:[.]} matches the inverted {{#name}} pattern",
109
- "string.trim": "{{#label}} must not have leading or trailing whitespace",
110
- "string.uri": "{{#label}} must be a valid uri",
111
- "string.uriCustomScheme": "{{#label}} must be a valid uri with a scheme matching the {{#scheme}} pattern",
112
- "string.uriRelativeOnly": "{{#label}} must be a valid relative uri",
113
- "string.uppercase": "{{#label}} must only contain uppercase characters",
114
- "symbol.base": "{{#label}} must be a symbol",
115
- "symbol.map": "{{#label}} must be one of {{#map}}"
116
- }
1
+ {
2
+ "alternatives.all": "{{#label}} does not match all of the required types",
3
+ "alternatives.any": "{{#label}} does not match any of the allowed types",
4
+ "alternatives.match": "{{#label}} does not match any of the allowed types",
5
+ "alternatives.one": "{{#label}} matches more than one allowed type",
6
+ "alternatives.types": "{{#label}} must be one of {{#types}}",
7
+ "any.custom": "{{#label}} failed custom validation because {{#error.message}}",
8
+ "any.default": "{{#label}} threw an error when running default method",
9
+ "any.failover": "{{#label}} threw an error when running failover method",
10
+ "any.invalid": "{{#label}} contains an invalid value",
11
+ "any.only": "{{#label}} must be {if(#valids.length == 1, \"\", \"one of \")}{{#valids}}",
12
+ "any.ref": "{{#label}} {{#arg}} references {{:#ref}} which {{#reason}}",
13
+ "any.required": "{{#label}} is required",
14
+ "any.unknown": "{{#label}} is not allowed",
15
+ "array.base": "{{#label}} must be an array",
16
+ "array.excludes": "{{#label}} contains an excluded value",
17
+ "array.hasKnown": "{{#label}} does not contain at least one required match for type {:#patternLabel}",
18
+ "array.hasUnknown": "{{#label}} does not contain at least one required match",
19
+ "array.includes": "{{#label}} does not match any of the allowed types",
20
+ "array.includesRequiredBoth": "{{#label}} does not contain {{#knownMisses}} and {{#unknownMisses}} other required value(s)",
21
+ "array.includesRequiredKnowns": "{{#label}} does not contain {{#knownMisses}}",
22
+ "array.includesRequiredUnknowns": "{{#label}} does not contain {{#unknownMisses}} required value(s)",
23
+ "array.length": "{{#label}} must contain {{#limit}} items",
24
+ "array.max": "{{#label}} must contain less than or equal to {{#limit}} items",
25
+ "array.min": "{{#label}} must contain at least {{#limit}} items",
26
+ "array.orderedLength": "{{#label}} must contain at most {{#limit}} items",
27
+ "array.sort": "{{#label}} must be sorted in {#order} order by {{#by}}",
28
+ "array.sort.mismatching": "{{#label}} cannot be sorted due to mismatching types",
29
+ "array.sort.unsupported": "{{#label}} cannot be sorted due to unsupported type {#type}",
30
+ "array.sparse": "{{#label}} must not be a sparse array item",
31
+ "array.unique": "{{#label}} contains a duplicate value",
32
+ "binary.base": "{{#label}} must be a buffer or a string",
33
+ "binary.length": "{{#label}} must be {{#limit}} bytes",
34
+ "binary.max": "{{#label}} must be less than or equal to {{#limit}} bytes",
35
+ "binary.min": "{{#label}} must be at least {{#limit}} bytes",
36
+ "boolean.base": "{{#label}} must be a boolean",
37
+ "date.base": "{{#label}} must be a valid date",
38
+ "date.format": "{{#label}} must be in {msg(\"date.format.\" + #format) || #format} format",
39
+ "date.greater": "{{#label}} must be greater than {{:#limit}}",
40
+ "date.less": "{{#label}} must be less than {{:#limit}}",
41
+ "date.max": "{{#label}} must be less than or equal to {{:#limit}}",
42
+ "date.min": "{{#label}} must be greater than or equal to {{:#limit}}",
43
+ "date.format.iso": "ISO 8601 date",
44
+ "date.format.javascript": "timestamp or number of milliseconds",
45
+ "date.format.unix": "timestamp or number of seconds",
46
+ "function.arity": "{{#label}} must have an arity of {{#n}}",
47
+ "function.class": "{{#label}} must be a class",
48
+ "function.maxArity": "{{#label}} must have an arity lesser or equal to {{#n}}",
49
+ "function.minArity": "{{#label}} must have an arity greater or equal to {{#n}}",
50
+ "object.and": "{{#label}} contains {{#presentWithLabels}} without its required peers {{#missingWithLabels}}",
51
+ "object.assert": "{{#label}} is invalid because {if(#subject.key, `\"` + #subject.key + `\" failed to ` + (#message || \"pass the assertion test\"), #message || \"the assertion failed\")}",
52
+ "object.base": "{{#label}} must be of type {{#type}}",
53
+ "object.instance": "{{#label}} must be an instance of {{:#type}}",
54
+ "object.length": "{{#label}} must have {{#limit}} key{if(#limit == 1, \"\", \"s\")}",
55
+ "object.max": "{{#label}} must have less than or equal to {{#limit}} key{if(#limit == 1, \"\", \"s\")}",
56
+ "object.min": "{{#label}} must have at least {{#limit}} key{if(#limit == 1, \"\", \"s\")}",
57
+ "object.missing": "{{#label}} must contain at least one of {{#peersWithLabels}}",
58
+ "object.nand": "{{:#mainWithLabel}} must not exist simultaneously with {{#peersWithLabels}}",
59
+ "object.oxor": "{{#label}} contains a conflict between optional exclusive peers {{#peersWithLabels}}",
60
+ "object.pattern.match": "{{#label}} keys failed to match pattern requirements",
61
+ "object.refType": "{{#label}} must be a Joi reference",
62
+ "object.regex": "{{#label}} must be a RegExp object",
63
+ "object.rename.multiple": "{{#label}} cannot rename {{:#from}} because multiple renames are disabled and another key was already renamed to {{:#to}}",
64
+ "object.rename.override": "{{#label}} cannot rename {{:#from}} because override is disabled and target {{:#to}} exists",
65
+ "object.schema": "{{#label}} must be a Joi schema of {{#type}} type",
66
+ "object.unknown": "{{#label}} is not allowed",
67
+ "object.with": "{{:#mainWithLabel}} missing required peer {{:#peerWithLabel}}",
68
+ "object.without": "{{:#mainWithLabel}} conflict with forbidden peer {{:#peerWithLabel}}",
69
+ "object.xor": "{{#label}} contains a conflict between exclusive peers {{#peersWithLabels}}",
70
+ "number.base": "{{#label}} must be a number",
71
+ "number.greater": "{{#label}} must be greater than {{#limit}}",
72
+ "number.infinity": "{{#label}} cannot be infinity",
73
+ "number.integer": "{{#label}} must be an integer",
74
+ "number.less": "{{#label}} must be less than {{#limit}}",
75
+ "number.max": "{{#label}} must be less than or equal to {{#limit}}",
76
+ "number.min": "{{#label}} must be greater than or equal to {{#limit}}",
77
+ "number.multiple": "{{#label}} must be a multiple of {{#multiple}}",
78
+ "number.negative": "{{#label}} must be a negative number",
79
+ "number.port": "{{#label}} must be a valid port",
80
+ "number.positive": "{{#label}} must be a positive number",
81
+ "number.precision": "{{#label}} must have no more than {{#limit}} decimal places",
82
+ "number.unsafe": "{{#label}} must be a safe number",
83
+ "string.alphanum": "{{#label}} must only contain alpha-numeric characters",
84
+ "string.base": "{{#label}} must be a string",
85
+ "string.base64": "{{#label}} must be a valid base64 string",
86
+ "string.creditCard": "{{#label}} must be a credit card",
87
+ "string.dataUri": "{{#label}} must be a valid dataUri string",
88
+ "string.domain": "{{#label}} must contain a valid domain name",
89
+ "string.email": "{{#label}} must be a valid email",
90
+ "string.empty": "{{#label}} is not allowed to be empty",
91
+ "string.guid": "{{#label}} must be a valid GUID",
92
+ "string.hex": "{{#label}} must only contain hexadecimal characters",
93
+ "string.hexAlign": "{{#label}} hex decoded representation must be byte aligned",
94
+ "string.hostname": "{{#label}} must be a valid hostname",
95
+ "string.ip": "{{#label}} must be a valid ip address with a {{#cidr}} CIDR",
96
+ "string.ipVersion": "{{#label}} must be a valid ip address of one of the following versions {{#version}} with a {{#cidr}} CIDR",
97
+ "string.isoDate": "{{#label}} must be in iso format",
98
+ "string.isoDuration": "{{#label}} must be a valid ISO 8601 duration",
99
+ "string.length": "{{#label}} length must be {{#limit}} characters long",
100
+ "string.lowercase": "{{#label}} must only contain lowercase characters",
101
+ "string.max": "{{#label}} length must be less than or equal to {{#limit}} characters long",
102
+ "string.min": "{{#label}} length must be at least {{#limit}} characters long",
103
+ "string.normalize": "{{#label}} must be unicode normalized in the {{#form}} form",
104
+ "string.token": "{{#label}} must only contain alpha-numeric and underscore characters",
105
+ "string.pattern.base": "{{#label}} with value {:[.]} fails to match the required pattern: {{#regex}}",
106
+ "string.pattern.name": "{{#label}} with value {:[.]} fails to match the {{#name}} pattern",
107
+ "string.pattern.invert.base": "{{#label}} with value {:[.]} matches the inverted pattern: {{#regex}}",
108
+ "string.pattern.invert.name": "{{#label}} with value {:[.]} matches the inverted {{#name}} pattern",
109
+ "string.trim": "{{#label}} must not have leading or trailing whitespace",
110
+ "string.uri": "{{#label}} must be a valid uri",
111
+ "string.uriCustomScheme": "{{#label}} must be a valid uri with a scheme matching the {{#scheme}} pattern",
112
+ "string.uriRelativeOnly": "{{#label}} must be a valid relative uri",
113
+ "string.uppercase": "{{#label}} must only contain uppercase characters",
114
+ "symbol.base": "{{#label}} must be a symbol",
115
+ "symbol.map": "{{#label}} must be one of {{#map}}"
116
+ }
@@ -1,116 +1,116 @@
1
- {
2
- "alternatives.all": "{{#label}} 不能匹配上所以可选项",
3
- "alternatives.any": "{{#label}} 不能匹配上任何可选项",
4
- "alternatives.match": "{{#label}} 不能匹配上任何可选项",
5
- "alternatives.one": "{{#label}} 匹配超过一个可选项",
6
- "alternatives.types": "{{#label}} 必须是 {{#types}}",
7
- "any.custom": "{{#label}} 自定义校验失败,原因为 {{#error.message}}",
8
- "any.default": "{{#label}} 运行默认函数时出错",
9
- "any.failover": "{{#label}} 运行 failover 函数时出错",
10
- "any.invalid": "{{#label}} 不是可选值",
11
- "any.only": "{{#label}} 必须是 {{#valids}} {if(#valids.length == 1, \"\", \"中的一个\")}",
12
- "any.ref": "{{#label}} {{#arg}} 引用 {{:#ref}} 其中 {{#reason}}",
13
- "any.required": "{{#label}} 不能为空",
14
- "any.unknown": "{{#label}} 参数错误",
15
- "array.base": "{{#label}} 必须是数组",
16
- "array.excludes": "{{#label}} 包含非法的值",
17
- "array.hasKnown": "{{#label}} 中至少一个类型为 {:#patternLabel} 的选项",
18
- "array.hasUnknown": "{{#label}} 中至少有一个选项",
19
- "array.includes": "{{#label}} 不能匹配任何可选项",
20
- "array.includesRequiredBoth": "{{#label}} 不包含 {{#knownMisses}} 及 {{#unknownMisses}} 个必选项",
21
- "array.includesRequiredKnowns": "{{#label}} 不包含 {{#knownMisses}} 等必选项",
22
- "array.includesRequiredUnknowns": "{{#label}} 不包含 {{#unknownMisses}} 个必选项",
23
- "array.length": "{{#label}} 必须正好包含 {{#limit}} 个成员",
24
- "array.max": "{{#label}} 最多包含 {{#limit}} 个成员",
25
- "array.min": "{{#label}} 至少包含 {{#limit}} 个成员",
26
- "array.orderedLength": "{{#label}} 必须至少包含 {{#limit}} 个成员",
27
- "array.sort": "{{#label}} 必须按 {#order} 顺序按 {{#by}} 排序",
28
- "array.sort.mismatching": "{{#label}} 由于类型不匹配而无法排序",
29
- "array.sort.unsupported": "{{#label}} 类型 {#type} 不支持排序",
30
- "array.sparse": "{{#label}} 不能包含未定义成员",
31
- "array.unique": "{{#label}} 是重复的成员",
32
- "binary.base": "{{#label}} 必须是一段内容",
33
- "binary.length": "{{#label}} 至少包含 {{#limit}} 个字节",
34
- "binary.max": "{{#label}} 最多包含 {{#limit}} 个字节",
35
- "binary.min": "{{#label}} 至少包含 {{#limit}} 个字节",
36
- "boolean.base": "{{#label}} 必须是 bool 值",
37
- "date.base": "{{#label}} 必须是毫秒数或者有效的时间字符串",
38
- "date.format": "{{#label}} 必须是以下格式的字符串 {msg(\"date.format.\" + #format) || #format}",
39
- "date.greater": "{{#label}} 必须晚于 {{:#limit}}",
40
- "date.less": "{{#label}} 必须早于 {{:#limit}}",
41
- "date.max": "{{#label}} 必须早于 {{:#limit}}",
42
- "date.min": "{{#label}} 必须晚于 {{:#limit}}",
43
- "date.format.iso": "必须是有效的\"ISO 8601\"格式的时间",
44
- "date.format.javascript": "必须是有效的时间戳或者毫秒数",
45
- "date.format.unix": "必须是有效的时间戳或者秒数",
46
- "function.arity": "{{#label}} 必须正好拥有 {{#n}} 个参数",
47
- "function.class": "{{#label}} 必须是对象类",
48
- "function.maxArity": "{{#label}} 必须最多拥有 {{#n}} 个参数",
49
- "function.minArity": "{{#label}} 必须至少拥有 {{#n}} 个参数",
50
- "object.and": "{{#label}} 当前 {{#presentWithLabels}} 需要有对应的 {{#missingWithLabels}}",
51
- "object.assert": "{{#label}} 无效,原因为 {if(#subject.key, `\"` + #subject.key + `\" failed to ` + (#message || \"pass the assertion test\"), #message || \"the assertion failed\")}",
52
- "object.base": "{{#label}} 必须是一个对象 {{#type}}",
53
- "object.instance": "{{#label}} 必须是一个 {{:#type}} 的实例",
54
- "object.length": "{{#label}} 必须正好包含 {{#limit}} 个子对象",
55
- "object.max": "{{#label}} 最多包含 {{#limit}} 个子对象",
56
- "object.min": "{{#label}} 至少包含 {{#limit}} 个子对象",
57
- "object.missing": "{{#label}} 没有对应的 {{#peersWithLabels}}",
58
- "object.nand": "{{:#mainWithLabel}} 不得与 {{#peersWithLabels}} 同时存在",
59
- "object.oxor": "{{#label}} 和 {{#peerWithLabels}} 有冲突",
60
- "object.pattern.match": "{{#label}} 键匹配失败",
61
- "object.refType": "{{#label}} 必须是 Joi 引用",
62
- "object.regex": "{{#label}} 必须是正则对象",
63
- "object.rename.multiple": "{{#label}} 无法重命名 {{:#from}} 因为多次重命名被禁用并且另一个键已经重命名为 {{:#to}}",
64
- "object.rename.override": "{{#label}} 无法重命名 {{:#from}} 因为覆盖被禁用并且目标 {{:#to}} 存在",
65
- "object.schema": "{{#label}} 必须是 {{#type}} 类型的 Joi Schema",
66
- "object.unknown": "{{#label}} 不被允许",
67
- "object.with": "{{:#mainWithLabel}} 缺少必需的对等方 {{:#peerWithLabel}}",
68
- "object.without": "{{:#mainWithLabel}} 与禁止的节点冲突 {{:#peerWithLabel}}",
69
- "object.xor": "{{#label}} 包含独占对等体之间的冲突 {{#peersWithLabels}}",
70
- "number.base": "{{#label}} 必须是数值",
71
- "number.greater": "{{#label}} 必须大于 {{#limit}}",
72
- "number.infinity": "{{#label}} 不能是无穷大",
73
- "number.integer": "{{#label}} 必须是整数",
74
- "number.less": "{{#label}} 必须小于 {{#limit}}",
75
- "number.max": "{{#label}} 必须小于或等于 {{#limit}}",
76
- "number.min": "{{#label}} 必须大于或等于 {{#limit}}",
77
- "number.multiple": "{{#label}} 必须是 {{#multiple}} 的倍数",
78
- "number.negative": "{{#label}} 必须是负数",
79
- "number.port": "{{#label}} 必须是有效的端口号",
80
- "number.positive": "{{#label}} 必须是正数",
81
- "number.precision": "{{#label}} 必须有 {{#limit}} 位小数",
82
- "number.unsafe": "{{#label}} 必须是安全号码",
83
- "string.alphanum": "{{#label}} must only contain alpha-numeric characters",
84
- "string.base": "{{#label}} 必须是字符串",
85
- "string.base64": "{{#label}} 必须是有效的 base64 字符串",
86
- "string.creditCard": "{{#label}} 必须是有效的信用卡号",
87
- "string.dataUri": "{{#label}} 必须是有效的 dataUri 字符串",
88
- "string.domain": "{{#label}} 必须包含有效的域名",
89
- "string.email": "{{#label}} 必须是有效的电子邮件",
90
- "string.empty": "{{#label}} 不能为空",
91
- "string.guid": "{{#label}} 必须是有效的 GUID",
92
- "string.hex": "{{#label}} 只能包含十六进制字符",
93
- "string.hexAlign": "{{#label}} 十六进制解码表示必须字节对齐",
94
- "string.hostname": "{{#label}} 必须是有效的主机名",
95
- "string.ip": "{{#label}} 必须是具有 {{#cidr}} CIDR 的有效 IP 地址",
96
- "string.ipVersion": "{{#label}} 必须是以下版本之一的有效 IP 地址 {{#version}} 和 {{#cidr}} CIDR",
97
- "string.isoDate": "{{#label}} 必须是 iso 格式",
98
- "string.isoDuration": "{{#label}} 必须是有效的 ISO 8601 持续时间",
99
- "string.length": "{{#label}} 长度必须为 {{#limit}} 个字符长",
100
- "string.lowercase": "{{#label}} 只能包含小写字符",
101
- "string.max": "{{#label}} 长度必须小于或等于 {{#limit}} 个字符长",
102
- "string.min": "{{#label}} 长度必须至少为 {{#limit}} 个字符长",
103
- "string.normalize": "{{#label}} 必须以 {{#form}} 形式进行 unicode 规范化",
104
- "string.token": "{{#label}} 只能包含字母数字和下划线字符",
105
- "string.pattern.base": "{{#label}} 的值为 {:[.]} 未能匹配所需的模式:{{#regex}}",
106
- "string.pattern.name": "{{#label}} 值为 {:[.]} 未能匹配 {{#name}} 模式",
107
- "string.pattern.invert.base": "{{#label}} 与值 {:[.]} 匹配反转模式:{{#regex}}",
108
- "string.pattern.invert.name": "{{#label}} 与值 {:[.]} 匹配倒置的 {{#name}} 模式",
109
- "string.trim": "{{#label}} 不得前后空格",
110
- "string.uri": "{{#label}} 必须是有效的 uri",
111
- "string.uriCustomScheme": "{{#label}} 必须是有效的 uri,其方案与 {{#scheme}} 模式匹配",
112
- "string.uriRelativeOnly": "{{#label}} 必须是有效的相对 uri",
113
- "string.uppercase": "{{#label}} 只能包含大写字符",
114
- "symbol.base": "{{#label}} 必须是符号",
115
- "symbol.map": "{{#label}} 必须是 {{#map}} 之一"
116
- }
1
+ {
2
+ "alternatives.all": "{{#label}} 不能匹配上所以可选项",
3
+ "alternatives.any": "{{#label}} 不能匹配上任何可选项",
4
+ "alternatives.match": "{{#label}} 不能匹配上任何可选项",
5
+ "alternatives.one": "{{#label}} 匹配超过一个可选项",
6
+ "alternatives.types": "{{#label}} 必须是 {{#types}}",
7
+ "any.custom": "{{#label}} 自定义校验失败,原因为 {{#error.message}}",
8
+ "any.default": "{{#label}} 运行默认函数时出错",
9
+ "any.failover": "{{#label}} 运行 failover 函数时出错",
10
+ "any.invalid": "{{#label}} 不是可选值",
11
+ "any.only": "{{#label}} 必须是 {{#valids}} {if(#valids.length == 1, \"\", \"中的一个\")}",
12
+ "any.ref": "{{#label}} {{#arg}} 引用 {{:#ref}} 其中 {{#reason}}",
13
+ "any.required": "{{#label}} 不能为空",
14
+ "any.unknown": "{{#label}} 参数错误",
15
+ "array.base": "{{#label}} 必须是数组",
16
+ "array.excludes": "{{#label}} 包含非法的值",
17
+ "array.hasKnown": "{{#label}} 中至少一个类型为 {:#patternLabel} 的选项",
18
+ "array.hasUnknown": "{{#label}} 中至少有一个选项",
19
+ "array.includes": "{{#label}} 不能匹配任何可选项",
20
+ "array.includesRequiredBoth": "{{#label}} 不包含 {{#knownMisses}} 及 {{#unknownMisses}} 个必选项",
21
+ "array.includesRequiredKnowns": "{{#label}} 不包含 {{#knownMisses}} 等必选项",
22
+ "array.includesRequiredUnknowns": "{{#label}} 不包含 {{#unknownMisses}} 个必选项",
23
+ "array.length": "{{#label}} 必须正好包含 {{#limit}} 个成员",
24
+ "array.max": "{{#label}} 最多包含 {{#limit}} 个成员",
25
+ "array.min": "{{#label}} 至少包含 {{#limit}} 个成员",
26
+ "array.orderedLength": "{{#label}} 必须至少包含 {{#limit}} 个成员",
27
+ "array.sort": "{{#label}} 必须按 {#order} 顺序按 {{#by}} 排序",
28
+ "array.sort.mismatching": "{{#label}} 由于类型不匹配而无法排序",
29
+ "array.sort.unsupported": "{{#label}} 类型 {#type} 不支持排序",
30
+ "array.sparse": "{{#label}} 不能包含未定义成员",
31
+ "array.unique": "{{#label}} 是重复的成员",
32
+ "binary.base": "{{#label}} 必须是一段内容",
33
+ "binary.length": "{{#label}} 至少包含 {{#limit}} 个字节",
34
+ "binary.max": "{{#label}} 最多包含 {{#limit}} 个字节",
35
+ "binary.min": "{{#label}} 至少包含 {{#limit}} 个字节",
36
+ "boolean.base": "{{#label}} 必须是 bool 值",
37
+ "date.base": "{{#label}} 必须是毫秒数或者有效的时间字符串",
38
+ "date.format": "{{#label}} 必须是以下格式的字符串 {msg(\"date.format.\" + #format) || #format}",
39
+ "date.greater": "{{#label}} 必须晚于 {{:#limit}}",
40
+ "date.less": "{{#label}} 必须早于 {{:#limit}}",
41
+ "date.max": "{{#label}} 必须早于 {{:#limit}}",
42
+ "date.min": "{{#label}} 必须晚于 {{:#limit}}",
43
+ "date.format.iso": "必须是有效的\"ISO 8601\"格式的时间",
44
+ "date.format.javascript": "必须是有效的时间戳或者毫秒数",
45
+ "date.format.unix": "必须是有效的时间戳或者秒数",
46
+ "function.arity": "{{#label}} 必须正好拥有 {{#n}} 个参数",
47
+ "function.class": "{{#label}} 必须是对象类",
48
+ "function.maxArity": "{{#label}} 必须最多拥有 {{#n}} 个参数",
49
+ "function.minArity": "{{#label}} 必须至少拥有 {{#n}} 个参数",
50
+ "object.and": "{{#label}} 当前 {{#presentWithLabels}} 需要有对应的 {{#missingWithLabels}}",
51
+ "object.assert": "{{#label}} 无效,原因为 {if(#subject.key, `\"` + #subject.key + `\" failed to ` + (#message || \"pass the assertion test\"), #message || \"the assertion failed\")}",
52
+ "object.base": "{{#label}} 必须是一个对象 {{#type}}",
53
+ "object.instance": "{{#label}} 必须是一个 {{:#type}} 的实例",
54
+ "object.length": "{{#label}} 必须正好包含 {{#limit}} 个子对象",
55
+ "object.max": "{{#label}} 最多包含 {{#limit}} 个子对象",
56
+ "object.min": "{{#label}} 至少包含 {{#limit}} 个子对象",
57
+ "object.missing": "{{#label}} 没有对应的 {{#peersWithLabels}}",
58
+ "object.nand": "{{:#mainWithLabel}} 不得与 {{#peersWithLabels}} 同时存在",
59
+ "object.oxor": "{{#label}} 和 {{#peerWithLabels}} 有冲突",
60
+ "object.pattern.match": "{{#label}} 键匹配失败",
61
+ "object.refType": "{{#label}} 必须是 Joi 引用",
62
+ "object.regex": "{{#label}} 必须是正则对象",
63
+ "object.rename.multiple": "{{#label}} 无法重命名 {{:#from}} 因为多次重命名被禁用并且另一个键已经重命名为 {{:#to}}",
64
+ "object.rename.override": "{{#label}} 无法重命名 {{:#from}} 因为覆盖被禁用并且目标 {{:#to}} 存在",
65
+ "object.schema": "{{#label}} 必须是 {{#type}} 类型的 Joi Schema",
66
+ "object.unknown": "{{#label}} 不被允许",
67
+ "object.with": "{{:#mainWithLabel}} 缺少必需的对等方 {{:#peerWithLabel}}",
68
+ "object.without": "{{:#mainWithLabel}} 与禁止的节点冲突 {{:#peerWithLabel}}",
69
+ "object.xor": "{{#label}} 包含独占对等体之间的冲突 {{#peersWithLabels}}",
70
+ "number.base": "{{#label}} 必须是数值",
71
+ "number.greater": "{{#label}} 必须大于 {{#limit}}",
72
+ "number.infinity": "{{#label}} 不能是无穷大",
73
+ "number.integer": "{{#label}} 必须是整数",
74
+ "number.less": "{{#label}} 必须小于 {{#limit}}",
75
+ "number.max": "{{#label}} 必须小于或等于 {{#limit}}",
76
+ "number.min": "{{#label}} 必须大于或等于 {{#limit}}",
77
+ "number.multiple": "{{#label}} 必须是 {{#multiple}} 的倍数",
78
+ "number.negative": "{{#label}} 必须是负数",
79
+ "number.port": "{{#label}} 必须是有效的端口号",
80
+ "number.positive": "{{#label}} 必须是正数",
81
+ "number.precision": "{{#label}} 必须有 {{#limit}} 位小数",
82
+ "number.unsafe": "{{#label}} 必须是安全号码",
83
+ "string.alphanum": "{{#label}} must only contain alpha-numeric characters",
84
+ "string.base": "{{#label}} 必须是字符串",
85
+ "string.base64": "{{#label}} 必须是有效的 base64 字符串",
86
+ "string.creditCard": "{{#label}} 必须是有效的信用卡号",
87
+ "string.dataUri": "{{#label}} 必须是有效的 dataUri 字符串",
88
+ "string.domain": "{{#label}} 必须包含有效的域名",
89
+ "string.email": "{{#label}} 必须是有效的电子邮件",
90
+ "string.empty": "{{#label}} 不能为空",
91
+ "string.guid": "{{#label}} 必须是有效的 GUID",
92
+ "string.hex": "{{#label}} 只能包含十六进制字符",
93
+ "string.hexAlign": "{{#label}} 十六进制解码表示必须字节对齐",
94
+ "string.hostname": "{{#label}} 必须是有效的主机名",
95
+ "string.ip": "{{#label}} 必须是具有 {{#cidr}} CIDR 的有效 IP 地址",
96
+ "string.ipVersion": "{{#label}} 必须是以下版本之一的有效 IP 地址 {{#version}} 和 {{#cidr}} CIDR",
97
+ "string.isoDate": "{{#label}} 必须是 iso 格式",
98
+ "string.isoDuration": "{{#label}} 必须是有效的 ISO 8601 持续时间",
99
+ "string.length": "{{#label}} 长度必须为 {{#limit}} 个字符长",
100
+ "string.lowercase": "{{#label}} 只能包含小写字符",
101
+ "string.max": "{{#label}} 长度必须小于或等于 {{#limit}} 个字符长",
102
+ "string.min": "{{#label}} 长度必须至少为 {{#limit}} 个字符长",
103
+ "string.normalize": "{{#label}} 必须以 {{#form}} 形式进行 unicode 规范化",
104
+ "string.token": "{{#label}} 只能包含字母数字和下划线字符",
105
+ "string.pattern.base": "{{#label}} 的值为 {:[.]} 未能匹配所需的模式:{{#regex}}",
106
+ "string.pattern.name": "{{#label}} 值为 {:[.]} 未能匹配 {{#name}} 模式",
107
+ "string.pattern.invert.base": "{{#label}} 与值 {:[.]} 匹配反转模式:{{#regex}}",
108
+ "string.pattern.invert.name": "{{#label}} 与值 {:[.]} 匹配倒置的 {{#name}} 模式",
109
+ "string.trim": "{{#label}} 不得前后空格",
110
+ "string.uri": "{{#label}} 必须是有效的 uri",
111
+ "string.uriCustomScheme": "{{#label}} 必须是有效的 uri,其方案与 {{#scheme}} 模式匹配",
112
+ "string.uriRelativeOnly": "{{#label}} 必须是有效的相对 uri",
113
+ "string.uppercase": "{{#label}} 只能包含大写字符",
114
+ "symbol.base": "{{#label}} 必须是符号",
115
+ "symbol.map": "{{#label}} 必须是 {{#map}} 之一"
116
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@anncic-api/validator",
3
- "version": "3.4.9",
3
+ "version": "3.4.11",
4
4
  "main": "./dist/index.js",
5
5
  "typings": "index.d.ts",
6
6
  "license": "MIT",
@@ -17,7 +17,7 @@
17
17
  "build": "tsc && javascript-obfuscator ./dist --output ./dist --config obfuscator.json"
18
18
  },
19
19
  "dependencies": {
20
- "@anncic-api/core": "^3.4.9",
20
+ "@anncic-api/core": "^3.4.11",
21
21
  "@joi/date": "^2.1.0",
22
22
  "joi": "^17.11.0"
23
23
  },
@@ -26,5 +26,5 @@
26
26
  "javascript-obfuscator": "^4.0.2",
27
27
  "typescript": "^5.1.3"
28
28
  },
29
- "gitHead": "6d493e304dc1e1bed59f5e66f49fdb01e46c616d"
29
+ "gitHead": "369834bf30838528573209b34e6b3d83bb18d3ce"
30
30
  }