@anncic-api/validator 3.4.3 → 3.4.4

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
- function a0_0x4106(_0x50458c,_0xb775d2){const _0x2f667d=a0_0x4fd9();return a0_0x4106=function(_0x4618f4,_0x3bdf64){_0x4618f4=_0x4618f4-0x73;let _0x4fd91a=_0x2f667d[_0x4618f4];return _0x4fd91a;},a0_0x4106(_0x50458c,_0xb775d2);}const a0_0xfae059=a0_0x4106;(function(_0x5c5f8d,_0x1833f9){const _0x35d25c=a0_0x4106,_0x325305=_0x5c5f8d();while(!![]){try{const _0x68eb14=-parseInt(_0x35d25c(0x74))/0x1+parseInt(_0x35d25c(0x85))/0x2+-parseInt(_0x35d25c(0x82))/0x3*(parseInt(_0x35d25c(0x76))/0x4)+parseInt(_0x35d25c(0x7b))/0x5*(-parseInt(_0x35d25c(0x86))/0x6)+parseInt(_0x35d25c(0x81))/0x7+-parseInt(_0x35d25c(0x73))/0x8*(parseInt(_0x35d25c(0x77))/0x9)+parseInt(_0x35d25c(0x7c))/0xa;if(_0x68eb14===_0x1833f9)break;else _0x325305['push'](_0x325305['shift']());}catch(_0x55027c){_0x325305['push'](_0x325305['shift']());}}}(a0_0x4fd9,0x4271c));const a0_0x3bdf64=(function(){let _0x59c1a0=!![];return function(_0x2edb0f,_0x559f1a){const _0x211706=_0x59c1a0?function(){if(_0x559f1a){const _0x4ca154=_0x559f1a['apply'](_0x2edb0f,arguments);return _0x559f1a=null,_0x4ca154;}}:function(){};return _0x59c1a0=![],_0x211706;};}()),a0_0x4618f4=a0_0x3bdf64(this,function(){const _0x4e413f=a0_0x4106;return a0_0x4618f4[_0x4e413f(0x7f)]()[_0x4e413f(0x7a)](_0x4e413f(0x78))[_0x4e413f(0x7f)]()[_0x4e413f(0x7e)](a0_0x4618f4)['search'](_0x4e413f(0x78));});a0_0x4618f4();'use strict';function a0_0x4fd9(){const _0x31d5c7=['448312CmpfWS','478914LNbEGj','default','1237592bQfOva','81otGQrA','(((.+)+)+)+$','ValidatorError','search','4585GwyXBi','12490410QZvIin','../exception/ValidatorError','constructor','toString','__esModule','1218637muMKEH','3PdyIAW','string','../../locales/zh_CN.json','567644nHSUjT','930UjvWPP'];a0_0x4fd9=function(){return _0x31d5c7;};return a0_0x4fd9();}Object['defineProperty'](exports,a0_0xfae059(0x80),{'value':!![]});const ValidatorError_1=require(a0_0xfae059(0x7d));exports[a0_0xfae059(0x75)]={'validator':{'errorStatus':ValidatorError_1[a0_0xfae059(0x79)]['PARAMS'],'validationOptions':{'allowUnknown':!![],'stripUnknown':!![],'dateFormat':a0_0xfae059(0x83)}},'i18n':{'localeTable':{'en_US':{'validator':require('../../locales/en_US.json')},'zh_CN':{'validator':require(a0_0xfae059(0x84))}}}};
1
+ const a0_0x4b85f0=a0_0x65aa;(function(_0x477651,_0x4e1637){const _0x18ab1a=a0_0x65aa,_0xada0f6=_0x477651();while(!![]){try{const _0xc90e10=parseInt(_0x18ab1a(0x139))/0x1*(parseInt(_0x18ab1a(0x140))/0x2)+-parseInt(_0x18ab1a(0x130))/0x3*(-parseInt(_0x18ab1a(0x13e))/0x4)+parseInt(_0x18ab1a(0x144))/0x5+parseInt(_0x18ab1a(0x13a))/0x6*(parseInt(_0x18ab1a(0x12f))/0x7)+parseInt(_0x18ab1a(0x133))/0x8*(parseInt(_0x18ab1a(0x136))/0x9)+parseInt(_0x18ab1a(0x12e))/0xa*(parseInt(_0x18ab1a(0x132))/0xb)+-parseInt(_0x18ab1a(0x13d))/0xc;if(_0xc90e10===_0x4e1637)break;else _0xada0f6['push'](_0xada0f6['shift']());}catch(_0xa1f30c){_0xada0f6['push'](_0xada0f6['shift']());}}}(a0_0x33fe,0x40e8f));const a0_0x17dd0a=(function(){let _0xb771cd=!![];return function(_0x3d5d41,_0x24bfd1){const _0xc7475c=_0xb771cd?function(){const _0xeb3c95=a0_0x65aa;if(_0x24bfd1){const _0x1b257a=_0x24bfd1[_0xeb3c95(0x13c)](_0x3d5d41,arguments);return _0x24bfd1=null,_0x1b257a;}}:function(){};return _0xb771cd=![],_0xc7475c;};}()),a0_0xbe39fd=a0_0x17dd0a(this,function(){const _0x2e4b3a=a0_0x65aa;return a0_0xbe39fd[_0x2e4b3a(0x137)]()['search'](_0x2e4b3a(0x142))['toString']()['constructor'](a0_0xbe39fd)[_0x2e4b3a(0x143)](_0x2e4b3a(0x142));});a0_0xbe39fd();'use strict';Object[a0_0x4b85f0(0x134)](exports,a0_0x4b85f0(0x13b),{'value':!![]});const ValidatorError_1=require(a0_0x4b85f0(0x138));function a0_0x65aa(_0x3b4745,_0x1e0bcc){const _0x2ee6d7=a0_0x33fe();return a0_0x65aa=function(_0xbe39fd,_0x17dd0a){_0xbe39fd=_0xbe39fd-0x12d;let _0x33febd=_0x2ee6d7[_0xbe39fd];return _0x33febd;},a0_0x65aa(_0x3b4745,_0x1e0bcc);}exports['default']={'validator':{'errorStatus':ValidatorError_1[a0_0x4b85f0(0x141)][a0_0x4b85f0(0x131)],'validationOptions':{'allowUnknown':!![],'stripUnknown':!![],'dateFormat':a0_0x4b85f0(0x12d)}},'i18n':{'localeTable':{'en_US':{'validator':require(a0_0x4b85f0(0x135))},'zh_CN':{'validator':require(a0_0x4b85f0(0x13f))}}}};function a0_0x33fe(){const _0xf03d12=['../../locales/en_US.json','261YSFQEO','toString','../exception/ValidatorError','1azIvEh','414TDZWjF','__esModule','apply','23197872HHPLAQ','1862920QfHBGC','../../locales/zh_CN.json','374062OoIAgq','ValidatorError','(((.+)+)+)+$','search','1658430RwQwfU','string','38550lasGZl','44653TgEMiT','3NcRuiK','PARAMS','1364utajfA','81768ellhBT','defineProperty'];a0_0x33fe=function(){return _0xf03d12;};return a0_0x33fe();}
@@ -1 +1 @@
1
- const a1_0x96eea9=a1_0x4b6d;(function(_0x24564a,_0x2a3643){const _0x36b3aa=a1_0x4b6d,_0x4c0cd6=_0x24564a();while(!![]){try{const _0x587ef2=parseInt(_0x36b3aa(0xa0))/0x1+parseInt(_0x36b3aa(0x8e))/0x2+-parseInt(_0x36b3aa(0x9a))/0x3*(parseInt(_0x36b3aa(0x87))/0x4)+-parseInt(_0x36b3aa(0x79))/0x5+-parseInt(_0x36b3aa(0xad))/0x6*(-parseInt(_0x36b3aa(0x98))/0x7)+-parseInt(_0x36b3aa(0xa9))/0x8+-parseInt(_0x36b3aa(0xaf))/0x9;if(_0x587ef2===_0x2a3643)break;else _0x4c0cd6['push'](_0x4c0cd6['shift']());}catch(_0x1c78ae){_0x4c0cd6['push'](_0x4c0cd6['shift']());}}}(a1_0x2f6e,0x6dd60));const a1_0x480ab2=(function(){let _0x564c64=!![];return function(_0x20d728,_0x5a2110){const _0x1632b2=_0x564c64?function(){const _0x333bf6=a1_0x4b6d;if(_0x5a2110){const _0x28537b=_0x5a2110[_0x333bf6(0x7b)](_0x20d728,arguments);return _0x5a2110=null,_0x28537b;}}:function(){};return _0x564c64=![],_0x1632b2;};}()),a1_0x24b471=a1_0x480ab2(this,function(){const _0x390274=a1_0x4b6d;return a1_0x24b471['toString']()[_0x390274(0x93)](_0x390274(0x95))[_0x390274(0x91)]()['constructor'](a1_0x24b471)['search'](_0x390274(0x95));});function a1_0x4b6d(_0xdfaf65,_0xf46dab){const _0x513e6a=a1_0x2f6e();return a1_0x4b6d=function(_0x24b471,_0x480ab2){_0x24b471=_0x24b471-0x79;let _0x2f6e24=_0x513e6a[_0x24b471];return _0x2f6e24;},a1_0x4b6d(_0xdfaf65,_0xf46dab);}a1_0x24b471();'use strict';var __decorate=this&&this[a1_0x96eea9(0x85)]||function(_0x57adf5,_0x22b054,_0x758f98,_0x103392){const _0x322d2c=a1_0x96eea9;var _0x1a25c7=arguments[_0x322d2c(0xb0)],_0x5e53e3=_0x1a25c7<0x3?_0x22b054:_0x103392===null?_0x103392=Object['getOwnPropertyDescriptor'](_0x22b054,_0x758f98):_0x103392,_0x8d9721;if(typeof Reflect===_0x322d2c(0x92)&&typeof Reflect['decorate']===_0x322d2c(0x84))_0x5e53e3=Reflect[_0x322d2c(0xa8)](_0x57adf5,_0x22b054,_0x758f98,_0x103392);else{for(var _0x4e5b30=_0x57adf5['length']-0x1;_0x4e5b30>=0x0;_0x4e5b30--)if(_0x8d9721=_0x57adf5[_0x4e5b30])_0x5e53e3=(_0x1a25c7<0x3?_0x8d9721(_0x5e53e3):_0x1a25c7>0x3?_0x8d9721(_0x22b054,_0x758f98,_0x5e53e3):_0x8d9721(_0x22b054,_0x758f98))||_0x5e53e3;}return _0x1a25c7>0x3&&_0x5e53e3&&Object[_0x322d2c(0xb6)](_0x22b054,_0x758f98,_0x5e53e3),_0x5e53e3;},__metadata=this&&this[a1_0x96eea9(0x81)]||function(_0x3b3f83,_0x4fabd1){const _0x113073=a1_0x96eea9;if(typeof Reflect==='object'&&typeof Reflect[_0x113073(0xa3)]===_0x113073(0x84))return Reflect[_0x113073(0xa3)](_0x3b3f83,_0x4fabd1);};Object[a1_0x96eea9(0xb6)](exports,a1_0x96eea9(0xac),{'value':!![]}),exports[a1_0x96eea9(0x86)]=void 0x0;const i18n_1=require(a1_0x96eea9(0x9b)),core_1=require(a1_0x96eea9(0xb7)),core_2=require('@midwayjs/core'),interface_1=require(a1_0x96eea9(0xa2)),ValidatorService_1=require(a1_0x96eea9(0x7a)),i18n=require(a1_0x96eea9(0x9b)),anncic=require('@anncic-api/core'),ConfigDefault=require(a1_0x96eea9(0x99));let CustomConfiguration=class CustomConfiguration{async[a1_0x96eea9(0x8b)](){const _0x3a656c=a1_0x96eea9;this[_0x3a656c(0x8c)]['registerMethodHandler'](interface_1[_0x3a656c(0x94)],_0x378a27=>{const _0x4d5dc7=_0x3a656c,_0x399669=_0x378a27[_0x4d5dc7(0xa3)],_0x5a1990=(0x0,core_2[_0x4d5dc7(0xa6)])(_0x378a27['target'],_0x378a27[_0x4d5dc7(0xb3)]);return{'before':_0x257cd8=>{const _0x37d7dd=_0x4d5dc7;var _0x524edf,_0x15bb8a,_0x9e3bb3,_0x314b9e,_0x248f48,_0x34c7a1,_0x26cd7f,_0x5795fd,_0x509673,_0x8b886d,_0x59b322,_0x4e05d0,_0x20081b;const _0x5690f3=_0x257cd8[_0x37d7dd(0xab)][core_1[_0x37d7dd(0xaa)]],_0x47e8bf=Object[_0x37d7dd(0x9f)]({},((_0x524edf=_0x5690f3===null||_0x5690f3===void 0x0?void 0x0:_0x5690f3[_0x37d7dd(0xa1)])===null||_0x524edf===void 0x0?void 0x0:_0x524edf[_0x37d7dd(0xb1)])||{},((_0x15bb8a=_0x5690f3===null||_0x5690f3===void 0x0?void 0x0:_0x5690f3[_0x37d7dd(0xa1)])===null||_0x15bb8a===void 0x0?void 0x0:_0x15bb8a['body'])||{}),_0x5b65d8=((0x0,core_2[_0x37d7dd(0x7f)])(interface_1[_0x37d7dd(0x94)],_0x257cd8[_0x37d7dd(0xab)])||[])[_0x37d7dd(0xa4)](_0x1d0b7f=>_0x1d0b7f['method']==_0x257cd8[_0x37d7dd(0xa5)]);!(_0x399669===null||_0x399669===void 0x0?void 0x0:_0x399669[_0x37d7dd(0x8d)])&&_0x5690f3&&_0x5690f3[_0x37d7dd(0x7e)]&&(_0x399669['locale']=_0x5690f3[_0x37d7dd(0x7e)](i18n_1[_0x37d7dd(0x9c)]));for(let _0x3b23f7=0x0;_0x3b23f7<_0x5a1990['length'];_0x3b23f7++){const _0x301e1c=_0x5a1990[_0x3b23f7],_0x3c9577=this[_0x37d7dd(0x8a)][_0x37d7dd(0x80)](_0x301e1c);if(_0x3c9577){if(typeof _0x257cd8[_0x37d7dd(0x9d)][_0x3b23f7]==_0x37d7dd(0xb2)||((_0x9e3bb3=_0x257cd8[_0x37d7dd(0x9d)][_0x3b23f7])===null||_0x9e3bb3===void 0x0?void 0x0:_0x9e3bb3[_0x37d7dd(0xa1)])&&((_0x314b9e=_0x257cd8[_0x37d7dd(0x9d)][_0x3b23f7])===null||_0x314b9e===void 0x0?void 0x0:_0x314b9e[_0x37d7dd(0x88)])&&((_0x248f48=_0x257cd8['args'][_0x3b23f7])===null||_0x248f48===void 0x0?void 0x0:_0x248f48[_0x37d7dd(0x7d)]))_0x257cd8[_0x37d7dd(0x9d)][_0x3b23f7]=_0x47e8bf;else((_0x34c7a1=_0x257cd8[_0x37d7dd(0x9d)][_0x3b23f7])===null||_0x34c7a1===void 0x0?void 0x0:_0x34c7a1[_0x37d7dd(0x89)])==_0x37d7dd(0x9e)&&_0x257cd8[_0x37d7dd(0x9d)][_0x37d7dd(0x90)](_0x3b23f7,0x0,_0x47e8bf);const _0x22c397=this['ValidatorService'][_0x37d7dd(0x82)](_0x3c9577,_0x257cd8[_0x37d7dd(0x9d)][_0x3b23f7],_0x399669);_0x22c397&&(_0x257cd8[_0x37d7dd(0x9d)][_0x3b23f7]=_0x22c397);}else{if((_0x5b65d8===null||_0x5b65d8===void 0x0?void 0x0:_0x5b65d8[_0x37d7dd(0x8f)][_0x3b23f7])&&((_0x26cd7f=_0x257cd8[_0x37d7dd(0x9d)][_0x3b23f7])===null||_0x26cd7f===void 0x0?void 0x0:_0x26cd7f['params'])&&typeof _0x257cd8[_0x37d7dd(0x9d)][_0x3b23f7][_0x37d7dd(0xb4)]==_0x37d7dd(0x84)&&((_0x5795fd=_0x5690f3===null||_0x5690f3===void 0x0?void 0x0:_0x5690f3[_0x37d7dd(0xae)])===null||_0x5795fd===void 0x0?void 0x0:_0x5795fd[_0x5b65d8['methodArgs'][_0x3b23f7]]))_0x257cd8[_0x37d7dd(0x9d)][_0x3b23f7]=_0x301e1c((_0x509673=_0x5690f3===null||_0x5690f3===void 0x0?void 0x0:_0x5690f3[_0x37d7dd(0xae)])===null||_0x509673===void 0x0?void 0x0:_0x509673[_0x5b65d8[_0x37d7dd(0x8f)][_0x3b23f7]]);else(_0x5b65d8===null||_0x5b65d8===void 0x0?void 0x0:_0x5b65d8[_0x37d7dd(0x8f)][_0x3b23f7])&&((_0x59b322=(_0x8b886d=_0x257cd8[_0x37d7dd(0x9d)][_0x3b23f7])===null||_0x8b886d===void 0x0?void 0x0:_0x8b886d[_0x37d7dd(0xae)])===null||_0x59b322===void 0x0?void 0x0:_0x59b322[_0x5b65d8[_0x37d7dd(0x8f)][_0x3b23f7]])&&(_0x257cd8[_0x37d7dd(0x9d)][_0x3b23f7]=(_0x20081b=(_0x4e05d0=_0x257cd8['args'][_0x3b23f7])===null||_0x4e05d0===void 0x0?void 0x0:_0x4e05d0[_0x37d7dd(0xae)])===null||_0x20081b===void 0x0?void 0x0:_0x20081b[_0x5b65d8[_0x37d7dd(0x8f)][_0x3b23f7]]);}}},'afterThrow':(_0x345b97,_0xadf869)=>{throw _0xadf869;}};});}};function a1_0x2f6e(){const _0x1478c2=['4SMApCu','res','name','ValidatorService','onReady','decorator','locale','410682RAOuaX','methodArgs','splice','toString','object','search','VALIDATOR_KEY','(((.+)+)+)+$','prototype','design:type','7LpmcaY','./config/config.default','745089BmqVoO','@midwayjs/i18n','I18N_ATTR_KEY','args','bound\x20dispatch','assign','728841VWavJj','request','./interface','metadata','find','methodName','getMethodParamTypes','anncic-api:validator','decorate','5906336pCpUoP','REQUEST_OBJ_CTX_KEY','target','__esModule','5092944TwDTmW','params','2501298KidFpl','length','query','undefined','propertyName','param','Configuration','defineProperty','@midwayjs/core','342705TTbzja','./service/ValidatorService','apply','MidwayDecoratorService','req','getAttr','getClassMetadata','getSchema','__metadata','validator','Inject','function','__decorate','CustomConfiguration'];a1_0x2f6e=function(){return _0x1478c2;};return a1_0x2f6e();}exports[a1_0x96eea9(0x86)]=CustomConfiguration,__decorate([(0x0,core_2[a1_0x96eea9(0x83)])(),__metadata('design:type',core_1[a1_0x96eea9(0x7c)])],CustomConfiguration[a1_0x96eea9(0x96)],a1_0x96eea9(0x8c),void 0x0),__decorate([(0x0,core_2[a1_0x96eea9(0x83)])(),__metadata(a1_0x96eea9(0x97),ValidatorService_1[a1_0x96eea9(0x8a)])],CustomConfiguration[a1_0x96eea9(0x96)],a1_0x96eea9(0x8a),void 0x0),exports[a1_0x96eea9(0x86)]=CustomConfiguration=__decorate([(0x0,core_2[a1_0x96eea9(0xb5)])({'conflictCheck':![],'imports':[i18n,anncic],'namespace':a1_0x96eea9(0xa7),'importConfigs':[{'default':ConfigDefault}]})],CustomConfiguration);
1
+ const a1_0x29f0ea=a1_0x4a21;(function(_0x562a10,_0x4fc5ad){const _0x42c405=a1_0x4a21,_0x1d49f6=_0x562a10();while(!![]){try{const _0x52d70f=-parseInt(_0x42c405(0x162))/0x1+-parseInt(_0x42c405(0x150))/0x2*(-parseInt(_0x42c405(0x151))/0x3)+-parseInt(_0x42c405(0x165))/0x4*(parseInt(_0x42c405(0x145))/0x5)+-parseInt(_0x42c405(0x13f))/0x6*(parseInt(_0x42c405(0x137))/0x7)+parseInt(_0x42c405(0x139))/0x8*(parseInt(_0x42c405(0x160))/0x9)+parseInt(_0x42c405(0x167))/0xa*(-parseInt(_0x42c405(0x16d))/0xb)+parseInt(_0x42c405(0x14c))/0xc*(parseInt(_0x42c405(0x16a))/0xd);if(_0x52d70f===_0x4fc5ad)break;else _0x1d49f6['push'](_0x1d49f6['shift']());}catch(_0x309c2d){_0x1d49f6['push'](_0x1d49f6['shift']());}}}(a1_0x4110,0x3e512));const a1_0x3e3ef0=(function(){let _0x1528d6=!![];return function(_0x3124ab,_0x486350){const _0x3d484f=_0x1528d6?function(){if(_0x486350){const _0x1f53a1=_0x486350['apply'](_0x3124ab,arguments);return _0x486350=null,_0x1f53a1;}}:function(){};return _0x1528d6=![],_0x3d484f;};}()),a1_0x5781d7=a1_0x3e3ef0(this,function(){const _0x179d9e=a1_0x4a21;return a1_0x5781d7['toString']()[_0x179d9e(0x147)](_0x179d9e(0x14d))[_0x179d9e(0x149)]()[_0x179d9e(0x143)](a1_0x5781d7)['search']('(((.+)+)+)+$');});a1_0x5781d7();'use strict';var __decorate=this&&this[a1_0x29f0ea(0x13b)]||function(_0x52f666,_0x203152,_0x367238,_0x2da66f){const _0x20d429=a1_0x29f0ea;var _0x2a440e=arguments[_0x20d429(0x153)],_0x2877f0=_0x2a440e<0x3?_0x203152:_0x2da66f===null?_0x2da66f=Object[_0x20d429(0x168)](_0x203152,_0x367238):_0x2da66f,_0x1c33b1;if(typeof Reflect===_0x20d429(0x164)&&typeof Reflect[_0x20d429(0x138)]==='function')_0x2877f0=Reflect[_0x20d429(0x138)](_0x52f666,_0x203152,_0x367238,_0x2da66f);else{for(var _0x3e20a2=_0x52f666[_0x20d429(0x153)]-0x1;_0x3e20a2>=0x0;_0x3e20a2--)if(_0x1c33b1=_0x52f666[_0x3e20a2])_0x2877f0=(_0x2a440e<0x3?_0x1c33b1(_0x2877f0):_0x2a440e>0x3?_0x1c33b1(_0x203152,_0x367238,_0x2877f0):_0x1c33b1(_0x203152,_0x367238))||_0x2877f0;}return _0x2a440e>0x3&&_0x2877f0&&Object[_0x20d429(0x16c)](_0x203152,_0x367238,_0x2877f0),_0x2877f0;},__metadata=this&&this['__metadata']||function(_0x500c38,_0x5e8fd7){const _0x4a5299=a1_0x29f0ea;if(typeof Reflect==='object'&&typeof Reflect[_0x4a5299(0x135)]===_0x4a5299(0x13c))return Reflect[_0x4a5299(0x135)](_0x500c38,_0x5e8fd7);};Object['defineProperty'](exports,'__esModule',{'value':!![]}),exports[a1_0x29f0ea(0x156)]=void 0x0;const i18n_1=require(a1_0x29f0ea(0x171)),core_1=require(a1_0x29f0ea(0x157)),core_2=require(a1_0x29f0ea(0x157)),interface_1=require(a1_0x29f0ea(0x141)),ValidatorService_1=require(a1_0x29f0ea(0x173)),i18n=require(a1_0x29f0ea(0x171)),anncic=require('@anncic-api/core'),ConfigDefault=require(a1_0x29f0ea(0x142));function a1_0x4110(){const _0x648981=['methodName','decorator','design:type','anncic-api:validator','onReady','9lDSxfu','splice','241507iEhLjU','args','object','724sBIRFT','req','20ZLMYTZ','getOwnPropertyDescriptor','locale','208KAsIXF','method','defineProperty','319462mcMTLj','getClassMetadata','Configuration','param','@midwayjs/i18n','request','./service/ValidatorService','metadata','VALIDATOR_KEY','1594579yPEJRe','decorate','711792uADsDG','params','__decorate','function','target','undefined','6caONyM','Inject','./interface','./config/config.default','constructor','query','12490RQrLWo','assign','search','bound\x20dispatch','toString','res','validator','751188apGfQL','(((.+)+)+)+$','REQUEST_OBJ_CTX_KEY','ValidatorService','288436szbNTa','3MxtSzL','find','length','methodArgs','getMethodParamTypes','CustomConfiguration','@midwayjs/core','propertyName','getAttr','name'];a1_0x4110=function(){return _0x648981;};return a1_0x4110();}let CustomConfiguration=exports[a1_0x29f0ea(0x156)]=class CustomConfiguration{async[a1_0x29f0ea(0x15f)](){const _0x157b30=a1_0x29f0ea;this[_0x157b30(0x15c)]['registerMethodHandler'](interface_1['VALIDATOR_KEY'],_0xb969f2=>{const _0x421e34=_0x157b30,_0xe72006=_0xb969f2['metadata'],_0x30901b=(0x0,core_2[_0x421e34(0x155)])(_0xb969f2[_0x421e34(0x13d)],_0xb969f2[_0x421e34(0x158)]);return{'before':_0x151242=>{const _0x244bb6=_0x421e34;var _0x6df937,_0x153b26,_0x5625e9,_0x5ef4c3,_0x642e5d,_0x4c328c,_0x548f47,_0x1777de,_0x557f1a,_0x4cdc56,_0xde69aa,_0x5bed84,_0x1322ae;const _0x2e021b=_0x151242[_0x244bb6(0x13d)][core_1[_0x244bb6(0x14e)]],_0x229d9f=Object[_0x244bb6(0x146)]({},((_0x6df937=_0x2e021b===null||_0x2e021b===void 0x0?void 0x0:_0x2e021b[_0x244bb6(0x172)])===null||_0x6df937===void 0x0?void 0x0:_0x6df937[_0x244bb6(0x144)])||{},((_0x153b26=_0x2e021b===null||_0x2e021b===void 0x0?void 0x0:_0x2e021b[_0x244bb6(0x172)])===null||_0x153b26===void 0x0?void 0x0:_0x153b26['body'])||{}),_0x21f250=((0x0,core_2[_0x244bb6(0x16e)])(interface_1[_0x244bb6(0x136)],_0x151242['target'])||[])[_0x244bb6(0x152)](_0xdfb7b2=>_0xdfb7b2[_0x244bb6(0x16b)]==_0x151242[_0x244bb6(0x15b)]);!(_0xe72006===null||_0xe72006===void 0x0?void 0x0:_0xe72006[_0x244bb6(0x169)])&&_0x2e021b&&_0x2e021b[_0x244bb6(0x159)]&&(_0xe72006[_0x244bb6(0x169)]=_0x2e021b['getAttr'](i18n_1['I18N_ATTR_KEY']));for(let _0x514970=0x0;_0x514970<_0x30901b[_0x244bb6(0x153)];_0x514970++){const _0x5118a6=_0x30901b[_0x514970],_0x11b499=this[_0x244bb6(0x14f)]['getSchema'](_0x5118a6);if(_0x11b499){if(typeof _0x151242[_0x244bb6(0x163)][_0x514970]==_0x244bb6(0x13e)||((_0x5625e9=_0x151242[_0x244bb6(0x163)][_0x514970])===null||_0x5625e9===void 0x0?void 0x0:_0x5625e9[_0x244bb6(0x172)])&&((_0x5ef4c3=_0x151242[_0x244bb6(0x163)][_0x514970])===null||_0x5ef4c3===void 0x0?void 0x0:_0x5ef4c3[_0x244bb6(0x14a)])&&((_0x642e5d=_0x151242['args'][_0x514970])===null||_0x642e5d===void 0x0?void 0x0:_0x642e5d[_0x244bb6(0x166)]))_0x151242[_0x244bb6(0x163)][_0x514970]=_0x229d9f;else((_0x4c328c=_0x151242[_0x244bb6(0x163)][_0x514970])===null||_0x4c328c===void 0x0?void 0x0:_0x4c328c[_0x244bb6(0x15a)])==_0x244bb6(0x148)&&_0x151242[_0x244bb6(0x163)][_0x244bb6(0x161)](_0x514970,0x0,_0x229d9f);const _0x50c36a=this[_0x244bb6(0x14f)][_0x244bb6(0x14b)](_0x11b499,_0x151242[_0x244bb6(0x163)][_0x514970],_0xe72006);_0x50c36a&&(_0x151242[_0x244bb6(0x163)][_0x514970]=_0x50c36a);}else{if((_0x21f250===null||_0x21f250===void 0x0?void 0x0:_0x21f250[_0x244bb6(0x154)][_0x514970])&&((_0x548f47=_0x151242[_0x244bb6(0x163)][_0x514970])===null||_0x548f47===void 0x0?void 0x0:_0x548f47[_0x244bb6(0x13a)])&&typeof _0x151242[_0x244bb6(0x163)][_0x514970][_0x244bb6(0x170)]==_0x244bb6(0x13c)&&((_0x1777de=_0x2e021b===null||_0x2e021b===void 0x0?void 0x0:_0x2e021b['params'])===null||_0x1777de===void 0x0?void 0x0:_0x1777de[_0x21f250[_0x244bb6(0x154)][_0x514970]]))_0x151242[_0x244bb6(0x163)][_0x514970]=_0x5118a6((_0x557f1a=_0x2e021b===null||_0x2e021b===void 0x0?void 0x0:_0x2e021b[_0x244bb6(0x13a)])===null||_0x557f1a===void 0x0?void 0x0:_0x557f1a[_0x21f250[_0x244bb6(0x154)][_0x514970]]);else(_0x21f250===null||_0x21f250===void 0x0?void 0x0:_0x21f250[_0x244bb6(0x154)][_0x514970])&&((_0xde69aa=(_0x4cdc56=_0x151242['args'][_0x514970])===null||_0x4cdc56===void 0x0?void 0x0:_0x4cdc56[_0x244bb6(0x13a)])===null||_0xde69aa===void 0x0?void 0x0:_0xde69aa[_0x21f250['methodArgs'][_0x514970]])&&(_0x151242[_0x244bb6(0x163)][_0x514970]=(_0x1322ae=(_0x5bed84=_0x151242['args'][_0x514970])===null||_0x5bed84===void 0x0?void 0x0:_0x5bed84['params'])===null||_0x1322ae===void 0x0?void 0x0:_0x1322ae[_0x21f250['methodArgs'][_0x514970]]);}}},'afterThrow':(_0x2ffe7a,_0x25e6e8)=>{throw _0x25e6e8;}};});}};function a1_0x4a21(_0x24ad03,_0x3ecf4a){const _0x3fa688=a1_0x4110();return a1_0x4a21=function(_0x5781d7,_0x3e3ef0){_0x5781d7=_0x5781d7-0x135;let _0x411046=_0x3fa688[_0x5781d7];return _0x411046;},a1_0x4a21(_0x24ad03,_0x3ecf4a);}__decorate([(0x0,core_2['Inject'])(),__metadata(a1_0x29f0ea(0x15d),core_1['MidwayDecoratorService'])],CustomConfiguration['prototype'],a1_0x29f0ea(0x15c),void 0x0),__decorate([(0x0,core_2[a1_0x29f0ea(0x140)])(),__metadata('design:type',ValidatorService_1[a1_0x29f0ea(0x14f)])],CustomConfiguration['prototype'],a1_0x29f0ea(0x14f),void 0x0),exports[a1_0x29f0ea(0x156)]=CustomConfiguration=__decorate([(0x0,core_2[a1_0x29f0ea(0x16f)])({'conflictCheck':![],'imports':[i18n,anncic],'namespace':a1_0x29f0ea(0x15e),'importConfigs':[{'default':ConfigDefault}]})],CustomConfiguration);
@@ -1 +1 @@
1
- const a2_0x141b45=a2_0x5193;(function(_0x1c04cd,_0x3d1b14){const _0x570cc1=a2_0x5193,_0x59048d=_0x1c04cd();while(!![]){try{const _0x5af619=parseInt(_0x570cc1(0x144))/0x1+-parseInt(_0x570cc1(0x154))/0x2*(-parseInt(_0x570cc1(0x145))/0x3)+parseInt(_0x570cc1(0x143))/0x4+-parseInt(_0x570cc1(0x156))/0x5*(parseInt(_0x570cc1(0x13f))/0x6)+-parseInt(_0x570cc1(0x153))/0x7+parseInt(_0x570cc1(0x149))/0x8*(-parseInt(_0x570cc1(0x14a))/0x9)+-parseInt(_0x570cc1(0x138))/0xa;if(_0x5af619===_0x3d1b14)break;else _0x59048d['push'](_0x59048d['shift']());}catch(_0x2e01ba){_0x59048d['push'](_0x59048d['shift']());}}}(a2_0x51e8,0x2fbc4));const a2_0x5bfb16=(function(){let _0x26e6ed=!![];return function(_0x5b45e1,_0x5a89d1){const _0x57ff1c=_0x26e6ed?function(){const _0x3401c4=a2_0x5193;if(_0x5a89d1){const _0xa54515=_0x5a89d1[_0x3401c4(0x14c)](_0x5b45e1,arguments);return _0x5a89d1=null,_0xa54515;}}:function(){};return _0x26e6ed=![],_0x57ff1c;};}()),a2_0x571789=a2_0x5bfb16(this,function(){const _0x2f227a=a2_0x5193;return a2_0x571789['toString']()[_0x2f227a(0x147)](_0x2f227a(0x14e))[_0x2f227a(0x13d)]()['constructor'](a2_0x571789)[_0x2f227a(0x147)]('(((.+)+)+)+$');});a2_0x571789();'use strict';function a2_0x51e8(){const _0x14ec58=['@joi/date','933373qmgeWP','252374zMXNaZ','getClassMetadata','202565kvqXxb','label','Rule','attachClassMetadata','1165820wSCLfn','Array','isSchema','defineProperty','name','toString','keys','6NYEnFl','@midwayjs/core','function','RuleType','1144580hXjsbS','234036YCXBRS','3LGvyLE','object','search','getPropertyType','42776RVAmLa','270gwTeXl','RULES_KEY','apply','description','(((.+)+)+)+$','../interface','default','saveClassMetadata'];a2_0x51e8=function(){return _0x14ec58;};return a2_0x51e8();}Object[a2_0x141b45(0x13b)](exports,'__esModule',{'value':!![]}),exports[a2_0x141b45(0x158)]=exports[a2_0x141b45(0x142)]=void 0x0;function a2_0x5193(_0x29da0e,_0x2fea86){const _0xdba1b8=a2_0x51e8();return a2_0x5193=function(_0x571789,_0x5bfb16){_0x571789=_0x571789-0x137;let _0x51e83a=_0xdba1b8[_0x571789];return _0x51e83a;},a2_0x5193(_0x29da0e,_0x2fea86);}const joi=require('joi'),date_1=require(a2_0x141b45(0x152)),core_1=require(a2_0x141b45(0x140)),interface_1=require(a2_0x141b45(0x14f));exports[a2_0x141b45(0x142)]=joi['extend'](date_1[a2_0x141b45(0x150)]);function Rule(_0x5b2059,_0x2e67ad,_0x265e34=''){return(_0x1c40e8,_0x510c14)=>{const _0x3dd735=a2_0x5193;var _0x52f972;if(_0x510c14)!joi['isSchema'](_0x2e67ad)&&(_0x2e67ad===null||_0x2e67ad===void 0x0?void 0x0:_0x2e67ad['name'])&&(_0x2e67ad=joi[_0x3dd735(0x146)]((0x0,core_1[_0x3dd735(0x155)])(interface_1[_0x3dd735(0x14b)],_0x2e67ad))['meta']({'id':_0x2e67ad[_0x3dd735(0x13c)]}),(0x0,core_1[_0x3dd735(0x148)])(_0x1c40e8,_0x510c14)[_0x3dd735(0x13c)]===_0x3dd735(0x139)&&(_0x2e67ad=joi['array']()['items'](_0x2e67ad))),joi[_0x3dd735(0x13a)](_0x2e67ad)&&(_0x5b2059&&typeof(_0x2e67ad===null||_0x2e67ad===void 0x0?void 0x0:_0x2e67ad[_0x3dd735(0x157)])==_0x3dd735(0x141)&&(_0x2e67ad=_0x2e67ad[_0x3dd735(0x157)](_0x5b2059)),_0x265e34&&typeof(_0x2e67ad===null||_0x2e67ad===void 0x0?void 0x0:_0x2e67ad[_0x3dd735(0x14d)])==_0x3dd735(0x141)&&(_0x2e67ad=_0x2e67ad['description'](_0x265e34)),(0x0,core_1[_0x3dd735(0x137)])(interface_1['RULES_KEY'],_0x2e67ad,_0x1c40e8,_0x510c14));else{const _0x378f1c=(0x0,core_1[_0x3dd735(0x155)])(interface_1[_0x3dd735(0x14b)],_0x2e67ad);if(_0x378f1c){let _0x15058c=(_0x52f972=(0x0,core_1['getClassMetadata'])(interface_1[_0x3dd735(0x14b)],_0x1c40e8))!==null&&_0x52f972!==void 0x0?_0x52f972:{};Object[_0x3dd735(0x13e)](_0x378f1c)['map'](_0x31ecc7=>{!_0x15058c[_0x31ecc7]&&(_0x15058c[_0x31ecc7]=_0x378f1c[_0x31ecc7]);}),(0x0,core_1[_0x3dd735(0x151)])(interface_1[_0x3dd735(0x14b)],_0x15058c,_0x1c40e8);}}};}exports[a2_0x141b45(0x158)]=Rule;
1
+ const a2_0x877200=a2_0x31ee;(function(_0x40912f,_0x4eb45d){const _0x3fe79b=a2_0x31ee,_0x522b7b=_0x40912f();while(!![]){try{const _0x415730=-parseInt(_0x3fe79b(0x9d))/0x1+-parseInt(_0x3fe79b(0x9c))/0x2*(parseInt(_0x3fe79b(0x96))/0x3)+parseInt(_0x3fe79b(0xb5))/0x4*(parseInt(_0x3fe79b(0x91))/0x5)+-parseInt(_0x3fe79b(0xa5))/0x6*(parseInt(_0x3fe79b(0xab))/0x7)+parseInt(_0x3fe79b(0xa2))/0x8*(parseInt(_0x3fe79b(0xa1))/0x9)+parseInt(_0x3fe79b(0x95))/0xa+-parseInt(_0x3fe79b(0x98))/0xb*(-parseInt(_0x3fe79b(0x93))/0xc);if(_0x415730===_0x4eb45d)break;else _0x522b7b['push'](_0x522b7b['shift']());}catch(_0x2324f6){_0x522b7b['push'](_0x522b7b['shift']());}}}(a2_0x460b,0xf1745));const a2_0x318f8c=(function(){let _0x36c451=!![];return function(_0x235591,_0x57e35a){const _0x17f725=_0x36c451?function(){if(_0x57e35a){const _0x3469f=_0x57e35a['apply'](_0x235591,arguments);return _0x57e35a=null,_0x3469f;}}:function(){};return _0x36c451=![],_0x17f725;};}()),a2_0x4b90a1=a2_0x318f8c(this,function(){const _0x16756a=a2_0x31ee;return a2_0x4b90a1['toString']()[_0x16756a(0xa9)](_0x16756a(0x90))[_0x16756a(0xa0)]()[_0x16756a(0xad)](a2_0x4b90a1)[_0x16756a(0xa9)](_0x16756a(0x90));});a2_0x4b90a1();'use strict';Object[a2_0x877200(0xaa)](exports,a2_0x877200(0x9f),{'value':!![]}),exports[a2_0x877200(0xb2)]=exports['RuleType']=void 0x0;const joi=require(a2_0x877200(0xb1)),date_1=require('@joi/date'),core_1=require(a2_0x877200(0x92)),interface_1=require(a2_0x877200(0xa4));exports[a2_0x877200(0xb0)]=joi[a2_0x877200(0x9a)](date_1[a2_0x877200(0xaf)]);function a2_0x460b(){const _0x21e204=['extend','map','2bfeqIM','1964824liFCXd','meta','__esModule','toString','8240166vlUuqV','8TsYvLU','Array','../interface','162tMASxM','name','isSchema','getClassMetadata','search','defineProperty','306355ucPrvC','description','constructor','RULES_KEY','default','RuleType','joi','Rule','attachClassMetadata','array','3394924bVnoDm','function','(((.+)+)+)+$','5zPIypc','@midwayjs/core','5519112ORCXFr','label','9463370LHpsJE','5383944bRMUpv','saveClassMetadata','77nBMbov','items'];a2_0x460b=function(){return _0x21e204;};return a2_0x460b();}function a2_0x31ee(_0x7bb67f,_0x33feb6){const _0x5f01c2=a2_0x460b();return a2_0x31ee=function(_0x4b90a1,_0x318f8c){_0x4b90a1=_0x4b90a1-0x90;let _0x460b0f=_0x5f01c2[_0x4b90a1];return _0x460b0f;},a2_0x31ee(_0x7bb67f,_0x33feb6);}function Rule(_0x59583b,_0x28373a,_0x55a006=''){return(_0x3e84f7,_0x26f92f)=>{const _0x19d1e3=a2_0x31ee;var _0xee9238;if(_0x26f92f)!joi[_0x19d1e3(0xa7)](_0x28373a)&&(_0x28373a===null||_0x28373a===void 0x0?void 0x0:_0x28373a[_0x19d1e3(0xa6)])&&(_0x28373a=joi['object']((0x0,core_1['getClassMetadata'])(interface_1['RULES_KEY'],_0x28373a))[_0x19d1e3(0x9e)]({'id':_0x28373a[_0x19d1e3(0xa6)]}),(0x0,core_1['getPropertyType'])(_0x3e84f7,_0x26f92f)['name']===_0x19d1e3(0xa3)&&(_0x28373a=joi[_0x19d1e3(0xb4)]()[_0x19d1e3(0x99)](_0x28373a))),joi[_0x19d1e3(0xa7)](_0x28373a)&&(_0x59583b&&typeof(_0x28373a===null||_0x28373a===void 0x0?void 0x0:_0x28373a[_0x19d1e3(0x94)])==_0x19d1e3(0xb6)&&(_0x28373a=_0x28373a[_0x19d1e3(0x94)](_0x59583b)),_0x55a006&&typeof(_0x28373a===null||_0x28373a===void 0x0?void 0x0:_0x28373a['description'])==_0x19d1e3(0xb6)&&(_0x28373a=_0x28373a[_0x19d1e3(0xac)](_0x55a006)),(0x0,core_1[_0x19d1e3(0xb3)])(interface_1[_0x19d1e3(0xae)],_0x28373a,_0x3e84f7,_0x26f92f));else{const _0x5d825d=(0x0,core_1[_0x19d1e3(0xa8)])(interface_1['RULES_KEY'],_0x28373a);if(_0x5d825d){let _0xb0721f=(_0xee9238=(0x0,core_1[_0x19d1e3(0xa8)])(interface_1['RULES_KEY'],_0x3e84f7))!==null&&_0xee9238!==void 0x0?_0xee9238:{};Object['keys'](_0x5d825d)[_0x19d1e3(0x9b)](_0x13a867=>{!_0xb0721f[_0x13a867]&&(_0xb0721f[_0x13a867]=_0x5d825d[_0x13a867]);}),(0x0,core_1[_0x19d1e3(0x97)])(interface_1[_0x19d1e3(0xae)],_0xb0721f,_0x3e84f7);}}};}exports[a2_0x877200(0xb2)]=Rule;
@@ -1 +1 @@
1
- const a3_0x11b6a8=a3_0x5d49;(function(_0x16abe4,_0x1524bf){const _0x184cab=a3_0x5d49,_0x29322b=_0x16abe4();while(!![]){try{const _0xe294b5=-parseInt(_0x184cab(0x7f))/0x1+parseInt(_0x184cab(0x79))/0x2*(-parseInt(_0x184cab(0x91))/0x3)+parseInt(_0x184cab(0x89))/0x4*(parseInt(_0x184cab(0x7b))/0x5)+-parseInt(_0x184cab(0x92))/0x6*(parseInt(_0x184cab(0x8d))/0x7)+-parseInt(_0x184cab(0x82))/0x8+parseInt(_0x184cab(0x86))/0x9+-parseInt(_0x184cab(0x93))/0xa*(-parseInt(_0x184cab(0x8b))/0xb);if(_0xe294b5===_0x1524bf)break;else _0x29322b['push'](_0x29322b['shift']());}catch(_0x5d2879){_0x29322b['push'](_0x29322b['shift']());}}}(a3_0x5227,0xd5e5e));function a3_0x5d49(_0x264fff,_0xff5feb){const _0x578739=a3_0x5227();return a3_0x5d49=function(_0x9f2406,_0x19a854){_0x9f2406=_0x9f2406-0x78;let _0x522795=_0x578739[_0x9f2406];return _0x522795;},a3_0x5d49(_0x264fff,_0xff5feb);}const a3_0x19a854=(function(){let _0x56914b=!![];return function(_0x522226,_0x384725){const _0x9fa3a7=_0x56914b?function(){if(_0x384725){const _0x23bfc5=_0x384725['apply'](_0x522226,arguments);return _0x384725=null,_0x23bfc5;}}:function(){};return _0x56914b=![],_0x9fa3a7;};}()),a3_0x9f2406=a3_0x19a854(this,function(){const _0x5bca86=a3_0x5d49;return a3_0x9f2406[_0x5bca86(0x7e)]()[_0x5bca86(0x7a)]('(((.+)+)+)+$')['toString']()[_0x5bca86(0x8e)](a3_0x9f2406)[_0x5bca86(0x7a)](_0x5bca86(0x90));});a3_0x9f2406();'use strict';Object['defineProperty'](exports,a3_0x11b6a8(0x8f),{'value':!![]}),exports['getFuncArgs']=exports['Validator']=void 0x0;const core_1=require('@midwayjs/core'),interface_1=require(a3_0x11b6a8(0x88));function Validator(_0x1be930={}){return(_0x47ef05,_0x4bdc94,_0x223971)=>{const _0x2d3893=a3_0x5d49,_0x1fb02d=getFuncArgs(_0x47ef05[_0x4bdc94]);(0x0,core_1[_0x2d3893(0x81)])(interface_1['VALIDATOR_KEY'],{'method':_0x4bdc94,'methodArgs':_0x1fb02d},_0x47ef05),(0x0,core_1[_0x2d3893(0x83)])(interface_1[_0x2d3893(0x80)],_0x1be930)(_0x47ef05,_0x4bdc94,_0x223971);};}exports[a3_0x11b6a8(0x8a)]=Validator;function getFuncArgs(_0x49c33a){const _0x3d0a72=a3_0x11b6a8;if(typeof _0x49c33a==_0x3d0a72(0x7c)){const _0x2b5b3a=/=>.*$/mg,_0x5233bc=/=[^,)]+/mg,_0x4fac00=/((\/\/.*$)|(\/\*[\s\S]*?\*\/))/mg,_0x46eaa9=(_0x49c33a[_0x3d0a72(0x87)]?_0x49c33a[_0x3d0a72(0x87)][_0x3d0a72(0x8e)][_0x3d0a72(0x7e)]():_0x49c33a[_0x3d0a72(0x7e)]())[_0x3d0a72(0x78)](_0x4fac00,'')[_0x3d0a72(0x78)](_0x2b5b3a,'')['replace'](_0x5233bc,''),_0x26fdd7=_0x46eaa9[_0x3d0a72(0x8c)](_0x46eaa9[_0x3d0a72(0x85)]('(')+0x1,_0x46eaa9[_0x3d0a72(0x85)](')'))[_0x3d0a72(0x7d)](/([^\s,]+)/g)||[];return _0x26fdd7;}}exports[a3_0x11b6a8(0x84)]=getFuncArgs;function a3_0x5227(){const _0x1ac4ec=['search','2271345JKEFiz','function','match','toString','1257296vZodnA','VALIDATOR_KEY','attachClassMetadata','4027184bTarEj','createCustomMethodDecorator','getFuncArgs','indexOf','7854912obyKjq','prototype','../interface','4PpgUSq','Validator','121hGjHRu','slice','3438393MzMeOm','constructor','__esModule','(((.+)+)+)+$','507eanjHF','6dJfwkq','2681830Rysakn','replace','13598YKgZQw'];a3_0x5227=function(){return _0x1ac4ec;};return a3_0x5227();}
1
+ const a3_0x5d46ac=a3_0x4843;(function(_0x14f39c,_0x52e0bc){const _0x129475=a3_0x4843,_0x5475cd=_0x14f39c();while(!![]){try{const _0x38924a=-parseInt(_0x129475(0x1c6))/0x1*(-parseInt(_0x129475(0x1bc))/0x2)+parseInt(_0x129475(0x1cc))/0x3*(-parseInt(_0x129475(0x1c1))/0x4)+-parseInt(_0x129475(0x1b8))/0x5+parseInt(_0x129475(0x1b7))/0x6+-parseInt(_0x129475(0x1c7))/0x7*(parseInt(_0x129475(0x1ca))/0x8)+parseInt(_0x129475(0x1bb))/0x9+parseInt(_0x129475(0x1b9))/0xa;if(_0x38924a===_0x52e0bc)break;else _0x5475cd['push'](_0x5475cd['shift']());}catch(_0x1f7539){_0x5475cd['push'](_0x5475cd['shift']());}}}(a3_0x47a4,0x9f61d));function a3_0x47a4(){const _0x215ab4=['defineProperty','__esModule','Validator','constructor','303152egKDDp','replace','toString','prototype','search','1hDJzmN','7ZNJjvF','VALIDATOR_KEY','(((.+)+)+)+$','7424792GkmTdZ','@midwayjs/core','45Pzkytm','function','getFuncArgs','1744350asbjpC','2486375sDEpLx','10265890RAMdMP','../interface','8055513hVKscr','2005304WmVBEJ'];a3_0x47a4=function(){return _0x215ab4;};return a3_0x47a4();}const a3_0x3c1ca3=(function(){let _0x225a47=!![];return function(_0x1763e2,_0x261b13){const _0x20ee79=_0x225a47?function(){if(_0x261b13){const _0x47c3ee=_0x261b13['apply'](_0x1763e2,arguments);return _0x261b13=null,_0x47c3ee;}}:function(){};return _0x225a47=![],_0x20ee79;};}()),a3_0x31f5d9=a3_0x3c1ca3(this,function(){const _0x23f779=a3_0x4843;return a3_0x31f5d9[_0x23f779(0x1c3)]()[_0x23f779(0x1c5)](_0x23f779(0x1c9))['toString']()[_0x23f779(0x1c0)](a3_0x31f5d9)[_0x23f779(0x1c5)]('(((.+)+)+)+$');});function a3_0x4843(_0x2c74be,_0x4dba34){const _0x32f6df=a3_0x47a4();return a3_0x4843=function(_0x31f5d9,_0x3c1ca3){_0x31f5d9=_0x31f5d9-0x1b6;let _0x47a4c7=_0x32f6df[_0x31f5d9];return _0x47a4c7;},a3_0x4843(_0x2c74be,_0x4dba34);}a3_0x31f5d9();'use strict';Object[a3_0x5d46ac(0x1bd)](exports,a3_0x5d46ac(0x1be),{'value':!![]}),exports[a3_0x5d46ac(0x1b6)]=exports[a3_0x5d46ac(0x1bf)]=void 0x0;const core_1=require(a3_0x5d46ac(0x1cb)),interface_1=require(a3_0x5d46ac(0x1ba));function Validator(_0x14db45={}){return(_0x210f6d,_0x41d24,_0x37f1fc)=>{const _0x44a950=a3_0x4843,_0x4e8df8=getFuncArgs(_0x210f6d[_0x41d24]);(0x0,core_1['attachClassMetadata'])(interface_1[_0x44a950(0x1c8)],{'method':_0x41d24,'methodArgs':_0x4e8df8},_0x210f6d),(0x0,core_1['createCustomMethodDecorator'])(interface_1[_0x44a950(0x1c8)],_0x14db45)(_0x210f6d,_0x41d24,_0x37f1fc);};}exports[a3_0x5d46ac(0x1bf)]=Validator;function getFuncArgs(_0x1253cf){const _0x38c01d=a3_0x5d46ac;if(typeof _0x1253cf==_0x38c01d(0x1cd)){const _0x2ed38f=/=>.*$/mg,_0x1dbf32=/=[^,)]+/mg,_0x1d42aa=/((\/\/.*$)|(\/\*[\s\S]*?\*\/))/mg,_0x3f7ee4=(_0x1253cf[_0x38c01d(0x1c4)]?_0x1253cf[_0x38c01d(0x1c4)][_0x38c01d(0x1c0)][_0x38c01d(0x1c3)]():_0x1253cf['toString']())['replace'](_0x1d42aa,'')['replace'](_0x2ed38f,'')[_0x38c01d(0x1c2)](_0x1dbf32,''),_0x112fa2=_0x3f7ee4['slice'](_0x3f7ee4['indexOf']('(')+0x1,_0x3f7ee4['indexOf'](')'))['match'](/([^\s,]+)/g)||[];return _0x112fa2;}}exports[a3_0x5d46ac(0x1b6)]=getFuncArgs;
@@ -1 +1 @@
1
- var a4_0x47607b=a4_0x49e5;function a4_0x49e5(_0x1c55f0,_0x2a6907){var _0x53716f=a4_0x3c10();return a4_0x49e5=function(_0x62e42,_0x1b0a94){_0x62e42=_0x62e42-0x85;var _0x3c106d=_0x53716f[_0x62e42];return _0x3c106d;},a4_0x49e5(_0x1c55f0,_0x2a6907);}(function(_0x1b7233,_0x10957a){var _0x307319=a4_0x49e5,_0x52b441=_0x1b7233();while(!![]){try{var _0x32ec97=parseInt(_0x307319(0x95))/0x1*(parseInt(_0x307319(0x9f))/0x2)+-parseInt(_0x307319(0xa2))/0x3*(parseInt(_0x307319(0xa0))/0x4)+parseInt(_0x307319(0x87))/0x5+parseInt(_0x307319(0x97))/0x6+-parseInt(_0x307319(0x9d))/0x7*(-parseInt(_0x307319(0x8e))/0x8)+-parseInt(_0x307319(0x93))/0x9+parseInt(_0x307319(0x90))/0xa;if(_0x32ec97===_0x10957a)break;else _0x52b441['push'](_0x52b441['shift']());}catch(_0x58c04f){_0x52b441['push'](_0x52b441['shift']());}}}(a4_0x3c10,0x47444));var a4_0x1b0a94=(function(){var _0x568a68=!![];return function(_0x1eb67f,_0x167267){var _0x56cf7e=_0x568a68?function(){var _0x5a0c72=a4_0x49e5;if(_0x167267){var _0x32fa9f=_0x167267[_0x5a0c72(0x86)](_0x1eb67f,arguments);return _0x167267=null,_0x32fa9f;}}:function(){};return _0x568a68=![],_0x56cf7e;};}()),a4_0x62e42=a4_0x1b0a94(this,function(){var _0x406f83=a4_0x49e5;return a4_0x62e42[_0x406f83(0x8d)]()[_0x406f83(0x91)]('(((.+)+)+)+$')[_0x406f83(0x8d)]()['constructor'](a4_0x62e42)['search'](_0x406f83(0x9c));});function a4_0x3c10(){var _0x56e3be=['158349vDTYBm','metadata','119850gKlVHH','length','decorate','function','PARAMS','(((.+)+)+)+$','7VlRnFy','defineProperty','2aQDoQf','148NKiiHT','design:type','34005fhiMKB','__esModule','apply','1554455CmwliE','AnnErrorMsg','getOwnPropertyDescriptor','object','ValidatorError','__decorate','toString','1882384SFiFgj','NOFIND_SCHEMA','361990QOPCoB','search','参数验证失败','444681AXbfGe','__metadata'];a4_0x3c10=function(){return _0x56e3be;};return a4_0x3c10();}a4_0x62e42();'use strict';var __decorate=this&&this[a4_0x47607b(0x8c)]||function(_0x8b2006,_0x251f4e,_0x550b66,_0x409603){var _0x11fdd2=a4_0x47607b,_0x284cb0=arguments[_0x11fdd2(0x98)],_0x20fa2a=_0x284cb0<0x3?_0x251f4e:_0x409603===null?_0x409603=Object[_0x11fdd2(0x89)](_0x251f4e,_0x550b66):_0x409603,_0x3158f3;if(typeof Reflect===_0x11fdd2(0x8a)&&typeof Reflect[_0x11fdd2(0x99)]===_0x11fdd2(0x9a))_0x20fa2a=Reflect[_0x11fdd2(0x99)](_0x8b2006,_0x251f4e,_0x550b66,_0x409603);else{for(var _0x1de6f7=_0x8b2006[_0x11fdd2(0x98)]-0x1;_0x1de6f7>=0x0;_0x1de6f7--)if(_0x3158f3=_0x8b2006[_0x1de6f7])_0x20fa2a=(_0x284cb0<0x3?_0x3158f3(_0x20fa2a):_0x284cb0>0x3?_0x3158f3(_0x251f4e,_0x550b66,_0x20fa2a):_0x3158f3(_0x251f4e,_0x550b66))||_0x20fa2a;}return _0x284cb0>0x3&&_0x20fa2a&&Object['defineProperty'](_0x251f4e,_0x550b66,_0x20fa2a),_0x20fa2a;},__metadata=this&&this[a4_0x47607b(0x94)]||function(_0x512f2d,_0x2f8f67){var _0x500a62=a4_0x47607b;if(typeof Reflect==='object'&&typeof Reflect[_0x500a62(0x96)]==='function')return Reflect['metadata'](_0x512f2d,_0x2f8f67);};Object[a4_0x47607b(0x9e)](exports,a4_0x47607b(0x85),{'value':!![]}),exports[a4_0x47607b(0x8b)]=void 0x0;const core_1=require('@anncic-api/core');class ValidatorError extends AnnError{}exports['ValidatorError']=ValidatorError,ValidatorError[a4_0x47607b(0x9b)]=0x18c1e,ValidatorError[a4_0x47607b(0x8f)]=0x18c1c,__decorate([(0x0,core_1[a4_0x47607b(0x88)])(a4_0x47607b(0x92)),__metadata(a4_0x47607b(0xa1),Object)],ValidatorError,a4_0x47607b(0x9b),void 0x0),__decorate([(0x0,core_1[a4_0x47607b(0x88)])(a4_0x47607b(0x92)),__metadata(a4_0x47607b(0xa1),Object)],ValidatorError,a4_0x47607b(0x8f),void 0x0);
1
+ var a4_0x5297e2=a4_0x8f72;(function(_0x3c2c27,_0x3aa89a){var _0x52e931=a4_0x8f72,_0x417c6=_0x3c2c27();while(!![]){try{var _0x5ae183=-parseInt(_0x52e931(0x71))/0x1+-parseInt(_0x52e931(0x6f))/0x2+parseInt(_0x52e931(0x7e))/0x3*(parseInt(_0x52e931(0x69))/0x4)+parseInt(_0x52e931(0x82))/0x5+parseInt(_0x52e931(0x70))/0x6*(-parseInt(_0x52e931(0x6e))/0x7)+parseInt(_0x52e931(0x6b))/0x8*(parseInt(_0x52e931(0x80))/0x9)+-parseInt(_0x52e931(0x72))/0xa*(-parseInt(_0x52e931(0x68))/0xb);if(_0x5ae183===_0x3aa89a)break;else _0x417c6['push'](_0x417c6['shift']());}catch(_0x284961){_0x417c6['push'](_0x417c6['shift']());}}}(a4_0x5748,0x9bfcc));function a4_0x8f72(_0x2b81b0,_0xcbf4a1){var _0x3d53d1=a4_0x5748();return a4_0x8f72=function(_0x4e2ef8,_0x277f4b){_0x4e2ef8=_0x4e2ef8-0x68;var _0x5748c8=_0x3d53d1[_0x4e2ef8];return _0x5748c8;},a4_0x8f72(_0x2b81b0,_0xcbf4a1);}var a4_0x277f4b=(function(){var _0x537088=!![];return function(_0x21249f,_0x4403fa){var _0x718c=_0x537088?function(){var _0x541eb9=a4_0x8f72;if(_0x4403fa){var _0x1635a4=_0x4403fa[_0x541eb9(0x7c)](_0x21249f,arguments);return _0x4403fa=null,_0x1635a4;}}:function(){};return _0x537088=![],_0x718c;};}()),a4_0x4e2ef8=a4_0x277f4b(this,function(){var _0x27ab9a=a4_0x8f72;return a4_0x4e2ef8[_0x27ab9a(0x7f)]()[_0x27ab9a(0x75)]('(((.+)+)+)+$')[_0x27ab9a(0x7f)]()['constructor'](a4_0x4e2ef8)[_0x27ab9a(0x75)](_0x27ab9a(0x7d));});a4_0x4e2ef8();'use strict';var __decorate=this&&this['__decorate']||function(_0x5026ac,_0x3d7830,_0x4b2c1f,_0xdc3672){var _0x1715cc=a4_0x8f72,_0x13f227=arguments[_0x1715cc(0x7a)],_0x5ce0a1=_0x13f227<0x3?_0x3d7830:_0xdc3672===null?_0xdc3672=Object['getOwnPropertyDescriptor'](_0x3d7830,_0x4b2c1f):_0xdc3672,_0x568b8b;if(typeof Reflect===_0x1715cc(0x6c)&&typeof Reflect[_0x1715cc(0x73)]===_0x1715cc(0x79))_0x5ce0a1=Reflect[_0x1715cc(0x73)](_0x5026ac,_0x3d7830,_0x4b2c1f,_0xdc3672);else{for(var _0x5afa26=_0x5026ac[_0x1715cc(0x7a)]-0x1;_0x5afa26>=0x0;_0x5afa26--)if(_0x568b8b=_0x5026ac[_0x5afa26])_0x5ce0a1=(_0x13f227<0x3?_0x568b8b(_0x5ce0a1):_0x13f227>0x3?_0x568b8b(_0x3d7830,_0x4b2c1f,_0x5ce0a1):_0x568b8b(_0x3d7830,_0x4b2c1f))||_0x5ce0a1;}return _0x13f227>0x3&&_0x5ce0a1&&Object['defineProperty'](_0x3d7830,_0x4b2c1f,_0x5ce0a1),_0x5ce0a1;},__metadata=this&&this['__metadata']||function(_0x21788a,_0x4df291){var _0x17ec00=a4_0x8f72;if(typeof Reflect===_0x17ec00(0x6c)&&typeof Reflect[_0x17ec00(0x76)]==='function')return Reflect['metadata'](_0x21788a,_0x4df291);};Object['defineProperty'](exports,a4_0x5297e2(0x81),{'value':!![]}),exports[a4_0x5297e2(0x6d)]=void 0x0;function a4_0x5748(){var _0x33d3a5=['decorate','design:type','search','metadata','PARAMS','NOFIND_SCHEMA','function','length','参数验证失败','apply','(((.+)+)+)+$','3nquORJ','toString','2824047ZBZvFA','__esModule','2335150Syihkg','3641JCanNE','2880392WyjPxZ','AnnErrorMsg','8aehVdq','object','ValidatorError','13391Ljmckt','711174uXOQvy','978YkyqAj','1236238sYXJlZ','31470HPAfBU'];a4_0x5748=function(){return _0x33d3a5;};return a4_0x5748();}const core_1=require('@anncic-api/core');class ValidatorError extends AnnError{}exports[a4_0x5297e2(0x6d)]=ValidatorError,ValidatorError['PARAMS']=0x18c1e,ValidatorError[a4_0x5297e2(0x78)]=0x18c1c,__decorate([(0x0,core_1[a4_0x5297e2(0x6a)])(a4_0x5297e2(0x7b)),__metadata(a4_0x5297e2(0x74),Object)],ValidatorError,a4_0x5297e2(0x77),void 0x0),__decorate([(0x0,core_1['AnnErrorMsg'])('参数验证失败'),__metadata(a4_0x5297e2(0x74),Object)],ValidatorError,a4_0x5297e2(0x78),void 0x0);
@@ -1 +1 @@
1
- const a5_0x294c49=a5_0x363e;(function(_0x55d860,_0x202b6b){const _0x84c5c1=a5_0x363e,_0x1db635=_0x55d860();while(!![]){try{const _0xa0228b=-parseInt(_0x84c5c1(0x9b))/0x1+parseInt(_0x84c5c1(0x9e))/0x2*(parseInt(_0x84c5c1(0x9a))/0x3)+parseInt(_0x84c5c1(0x8c))/0x4+-parseInt(_0x84c5c1(0x9d))/0x5+parseInt(_0x84c5c1(0x94))/0x6+-parseInt(_0x84c5c1(0x90))/0x7+parseInt(_0x84c5c1(0x96))/0x8;if(_0xa0228b===_0x202b6b)break;else _0x1db635['push'](_0x1db635['shift']());}catch(_0x39e509){_0x1db635['push'](_0x1db635['shift']());}}}(a5_0xcc4e,0x62b76));function a5_0x363e(_0x3cc1aa,_0x5e922c){const _0x441042=a5_0xcc4e();return a5_0x363e=function(_0x49ad70,_0x429d06){_0x49ad70=_0x49ad70-0x8a;let _0xcc4e79=_0x441042[_0x49ad70];return _0xcc4e79;},a5_0x363e(_0x3cc1aa,_0x5e922c);}const a5_0x429d06=(function(){let _0x2af387=!![];return function(_0x1bf05e,_0x3a756c){const _0x3ec4fc=_0x2af387?function(){if(_0x3a756c){const _0x3cadb0=_0x3a756c['apply'](_0x1bf05e,arguments);return _0x3a756c=null,_0x3cadb0;}}:function(){};return _0x2af387=![],_0x3ec4fc;};}()),a5_0x49ad70=a5_0x429d06(this,function(){const _0x1ffb27=a5_0x363e;return a5_0x49ad70[_0x1ffb27(0x99)]()[_0x1ffb27(0x8a)](_0x1ffb27(0x98))[_0x1ffb27(0x99)]()[_0x1ffb27(0x95)](a5_0x49ad70)[_0x1ffb27(0x8a)](_0x1ffb27(0x98));});a5_0x49ad70();'use strict';Object[a5_0x294c49(0x8f)](exports,'__esModule',{'value':!![]}),exports[a5_0x294c49(0x8b)]=exports[a5_0x294c49(0x93)]=void 0x0;const core_1=require(a5_0x294c49(0x92)),interface_1=require('../interface');function a5_0xcc4e(){const _0x39e75a=['assign','@midwayjs/core','PickDto','1090104eibDxX','constructor','13835832PNmnIi','prototype','(((.+)+)+)+$','toString','7359ilJFzp','768694vjjIdI','getClassExtendedMetadata','3732895KriMAg','486EZRddh','search','OmitDto','377332eNCERD','RULES_KEY','saveClassMetadata','defineProperty','4773720cOFlBX'];a5_0xcc4e=function(){return _0x39e75a;};return a5_0xcc4e();}function PickDto(_0x30595c,_0x452fe7){const _0x3a4451=a5_0x294c49,_0x448de3=function(){};_0x448de3[_0x3a4451(0x97)]=_0x30595c[_0x3a4451(0x97)];const _0x5b91e3=(0x0,core_1[_0x3a4451(0x9c)])(interface_1['RULES_KEY'],_0x30595c),_0x9a886b={};for(const _0x21272a of _0x452fe7){_0x5b91e3[_0x21272a]&&(_0x9a886b[_0x21272a]=_0x5b91e3[_0x21272a]);}return(0x0,core_1[_0x3a4451(0x8e)])(interface_1[_0x3a4451(0x8d)],_0x9a886b,_0x448de3),_0x448de3;}exports['PickDto']=PickDto;function OmitDto(_0x2878f4,_0xfd6e4d){const _0x38b6af=a5_0x294c49,_0x202696=function(){};_0x202696[_0x38b6af(0x97)]=_0x2878f4[_0x38b6af(0x97)];const _0x40e237=(0x0,core_1[_0x38b6af(0x9c)])(interface_1['RULES_KEY'],_0x2878f4),_0x23b917=Object[_0x38b6af(0x91)]({},_0x40e237);for(const _0x33888b of _0xfd6e4d){delete _0x23b917[_0x33888b];}return(0x0,core_1[_0x38b6af(0x8e)])(interface_1['RULES_KEY'],_0x23b917,_0x202696),_0x202696;}exports[a5_0x294c49(0x8b)]=OmitDto;
1
+ const a5_0x30d3cf=a5_0x2258;(function(_0x49dff0,_0x49b697){const _0x5ba57f=a5_0x2258,_0x191d76=_0x49dff0();while(!![]){try{const _0x12f7fe=-parseInt(_0x5ba57f(0x199))/0x1+parseInt(_0x5ba57f(0x183))/0x2+parseInt(_0x5ba57f(0x18c))/0x3+-parseInt(_0x5ba57f(0x18f))/0x4*(-parseInt(_0x5ba57f(0x18e))/0x5)+parseInt(_0x5ba57f(0x192))/0x6+-parseInt(_0x5ba57f(0x190))/0x7+parseInt(_0x5ba57f(0x18a))/0x8*(-parseInt(_0x5ba57f(0x18d))/0x9);if(_0x12f7fe===_0x49b697)break;else _0x191d76['push'](_0x191d76['shift']());}catch(_0x2052fc){_0x191d76['push'](_0x191d76['shift']());}}}(a5_0x13d2,0xb5269));const a5_0x216341=(function(){let _0x248ea5=!![];return function(_0x3b5f85,_0x1826d9){const _0x5e6e8b=_0x248ea5?function(){const _0x5a30c8=a5_0x2258;if(_0x1826d9){const _0xa87e0e=_0x1826d9[_0x5a30c8(0x182)](_0x3b5f85,arguments);return _0x1826d9=null,_0xa87e0e;}}:function(){};return _0x248ea5=![],_0x5e6e8b;};}()),a5_0x5c92c4=a5_0x216341(this,function(){const _0x8391a2=a5_0x2258;return a5_0x5c92c4[_0x8391a2(0x187)]()[_0x8391a2(0x198)](_0x8391a2(0x18b))[_0x8391a2(0x187)]()['constructor'](a5_0x5c92c4)[_0x8391a2(0x198)](_0x8391a2(0x18b));});a5_0x5c92c4();'use strict';Object[a5_0x30d3cf(0x196)](exports,a5_0x30d3cf(0x191),{'value':!![]}),exports[a5_0x30d3cf(0x186)]=exports['PickDto']=void 0x0;const core_1=require(a5_0x30d3cf(0x193)),interface_1=require(a5_0x30d3cf(0x185));function PickDto(_0x2312d5,_0x59bae9){const _0x13038d=a5_0x30d3cf,_0xfbdc18=function(){};_0xfbdc18[_0x13038d(0x195)]=_0x2312d5[_0x13038d(0x195)];const _0x382098=(0x0,core_1[_0x13038d(0x184)])(interface_1[_0x13038d(0x197)],_0x2312d5),_0x569435={};for(const _0x64691c of _0x59bae9){_0x382098[_0x64691c]&&(_0x569435[_0x64691c]=_0x382098[_0x64691c]);}return(0x0,core_1[_0x13038d(0x188)])(interface_1[_0x13038d(0x197)],_0x569435,_0xfbdc18),_0xfbdc18;}exports[a5_0x30d3cf(0x189)]=PickDto;function OmitDto(_0x31599c,_0x2053c8){const _0x545cb1=a5_0x30d3cf,_0x37afd8=function(){};_0x37afd8['prototype']=_0x31599c[_0x545cb1(0x195)];const _0x3380e5=(0x0,core_1[_0x545cb1(0x184)])(interface_1['RULES_KEY'],_0x31599c),_0x31f5a4=Object[_0x545cb1(0x194)]({},_0x3380e5);for(const _0x26b5e0 of _0x2053c8){delete _0x31f5a4[_0x26b5e0];}return(0x0,core_1[_0x545cb1(0x188)])(interface_1['RULES_KEY'],_0x31f5a4,_0x37afd8),_0x37afd8;}exports[a5_0x30d3cf(0x186)]=OmitDto;function a5_0x2258(_0x11c4b6,_0x4d72cc){const _0x2e3dc7=a5_0x13d2();return a5_0x2258=function(_0x5c92c4,_0x216341){_0x5c92c4=_0x5c92c4-0x182;let _0x13d29a=_0x2e3dc7[_0x5c92c4];return _0x13d29a;},a5_0x2258(_0x11c4b6,_0x4d72cc);}function a5_0x13d2(){const _0x2317ad=['search','15629cWlYKa','apply','2467618cspapu','getClassExtendedMetadata','../interface','OmitDto','toString','saveClassMetadata','PickDto','8qhjgKE','(((.+)+)+)+$','4210119grHEmv','20556162atDbPW','6863405nxUqvs','4dXrhwV','6791596MyzsSK','__esModule','12030bmxxjj','@midwayjs/core','assign','prototype','defineProperty','RULES_KEY'];a5_0x13d2=function(){return _0x2317ad;};return a5_0x13d2();}
@@ -1 +1 @@
1
- const a6_0x52b7eb=a6_0x5d1e;(function(_0x443e0e,_0x3fbd53){const _0x3519bb=a6_0x5d1e,_0x18e4ee=_0x443e0e();while(!![]){try{const _0x44ae1f=-parseInt(_0x3519bb(0x7c))/0x1+-parseInt(_0x3519bb(0x7e))/0x2*(-parseInt(_0x3519bb(0x7b))/0x3)+parseInt(_0x3519bb(0x7f))/0x4*(-parseInt(_0x3519bb(0x79))/0x5)+-parseInt(_0x3519bb(0x80))/0x6*(parseInt(_0x3519bb(0x7d))/0x7)+-parseInt(_0x3519bb(0x76))/0x8+-parseInt(_0x3519bb(0x83))/0x9+parseInt(_0x3519bb(0x85))/0xa;if(_0x44ae1f===_0x3fbd53)break;else _0x18e4ee['push'](_0x18e4ee['shift']());}catch(_0x307539){_0x18e4ee['push'](_0x18e4ee['shift']());}}}(a6_0x56d6,0x84f97));const a6_0x40e561=(function(){let _0x1e6269=!![];return function(_0x15352b,_0x491399){const _0x29b1c2=_0x1e6269?function(){if(_0x491399){const _0x4b6924=_0x491399['apply'](_0x15352b,arguments);return _0x491399=null,_0x4b6924;}}:function(){};return _0x1e6269=![],_0x29b1c2;};}()),a6_0x32822a=a6_0x40e561(this,function(){const _0x28360e=a6_0x5d1e;return a6_0x32822a['toString']()[_0x28360e(0x77)](_0x28360e(0x84))['toString']()['constructor'](a6_0x32822a)[_0x28360e(0x77)](_0x28360e(0x84));});a6_0x32822a();'use strict';Object[a6_0x52b7eb(0x7a)](exports,'__esModule',{'value':!![]}),exports[a6_0x52b7eb(0x86)]=void 0x0;function a6_0x5d1e(_0x143a2e,_0xfe89e8){const _0x1c84ff=a6_0x56d6();return a6_0x5d1e=function(_0x32822a,_0x40e561){_0x32822a=_0x32822a-0x76;let _0x56d633=_0x1c84ff[_0x32822a];return _0x56d633;},a6_0x5d1e(_0x143a2e,_0xfe89e8);}const Joi=require(a6_0x52b7eb(0x82)),core_1=require(a6_0x52b7eb(0x87)),interface_1=require('../interface');function getSchema(_0x1491ff){const _0x468d91=a6_0x52b7eb,_0x47ecb6=(0x0,core_1[_0x468d91(0x78)])(interface_1[_0x468d91(0x81)],_0x1491ff);if(_0x47ecb6)return Joi['object'](_0x47ecb6);}exports['getSchema']=getSchema;function a6_0x56d6(){const _0x1c2814=['6626079FqzEQZ','(((.+)+)+)+$','30699780KWHoko','getSchema','@midwayjs/core','6530288jyQjSY','search','getClassExtendedMetadata','5tkOqqk','defineProperty','4107QivvrI','1005548TmEZty','1351uuDYhQ','1286DEVeCI','2425840iMwxKw','7494KZMnjx','RULES_KEY','joi'];a6_0x56d6=function(){return _0x1c2814;};return a6_0x56d6();}
1
+ const a6_0x25fb93=a6_0x4d34;(function(_0x1ecd75,_0x5a34e6){const _0x5e9eca=a6_0x4d34,_0x314367=_0x1ecd75();while(!![]){try{const _0x22480a=-parseInt(_0x5e9eca(0xc6))/0x1+parseInt(_0x5e9eca(0xcb))/0x2+-parseInt(_0x5e9eca(0xd1))/0x3+parseInt(_0x5e9eca(0xc5))/0x4+-parseInt(_0x5e9eca(0xcf))/0x5*(parseInt(_0x5e9eca(0xcd))/0x6)+-parseInt(_0x5e9eca(0xd5))/0x7*(-parseInt(_0x5e9eca(0xda))/0x8)+parseInt(_0x5e9eca(0xd2))/0x9*(parseInt(_0x5e9eca(0xd8))/0xa);if(_0x22480a===_0x5a34e6)break;else _0x314367['push'](_0x314367['shift']());}catch(_0xaf267b){_0x314367['push'](_0x314367['shift']());}}}(a6_0x2c62,0x4b6e1));function a6_0x4d34(_0x1f7ae6,_0x273121){const _0x4c5d82=a6_0x2c62();return a6_0x4d34=function(_0x547027,_0x5d5fa5){_0x547027=_0x547027-0xc5;let _0x2c6207=_0x4c5d82[_0x547027];return _0x2c6207;},a6_0x4d34(_0x1f7ae6,_0x273121);}const a6_0x5d5fa5=(function(){let _0x45f53d=!![];return function(_0x125920,_0x37d05b){const _0x355076=_0x45f53d?function(){const _0x3ee785=a6_0x4d34;if(_0x37d05b){const _0x19c3aa=_0x37d05b[_0x3ee785(0xc7)](_0x125920,arguments);return _0x37d05b=null,_0x19c3aa;}}:function(){};return _0x45f53d=![],_0x355076;};}()),a6_0x547027=a6_0x5d5fa5(this,function(){const _0x26b2d2=a6_0x4d34;return a6_0x547027[_0x26b2d2(0xd9)]()[_0x26b2d2(0xcc)](_0x26b2d2(0xc8))[_0x26b2d2(0xd9)]()[_0x26b2d2(0xca)](a6_0x547027)[_0x26b2d2(0xcc)]('(((.+)+)+)+$');});function a6_0x2c62(){const _0x4df58e=['constructor','1233772LcHMOf','search','1331916vQiJKE','../interface','10sTHVxk','RULES_KEY','87681IeNpWj','1518390zKXNQY','object','getSchema','7pyUIce','getClassExtendedMetadata','joi','10YfEGmv','toString','147032gfLVEx','1807076MvbjHm','473584qKugcq','apply','(((.+)+)+)+$','__esModule'];a6_0x2c62=function(){return _0x4df58e;};return a6_0x2c62();}a6_0x547027();'use strict';Object['defineProperty'](exports,a6_0x25fb93(0xc9),{'value':!![]}),exports[a6_0x25fb93(0xd4)]=void 0x0;const Joi=require(a6_0x25fb93(0xd7)),core_1=require('@midwayjs/core'),interface_1=require(a6_0x25fb93(0xce));function getSchema(_0x2de40b){const _0x470c17=a6_0x25fb93,_0x3777ff=(0x0,core_1[_0x470c17(0xd6)])(interface_1[_0x470c17(0xd0)],_0x2de40b);if(_0x3777ff)return Joi[_0x470c17(0xd3)](_0x3777ff);}exports[a6_0x25fb93(0xd4)]=getSchema;
package/dist/index.js CHANGED
@@ -1 +1 @@
1
- var a7_0x5582f9=a7_0x4ee8;(function(_0x11270b,_0x30dda4){var _0x5db691=a7_0x4ee8,_0x569724=_0x11270b();while(!![]){try{var _0x1e4b38=-parseInt(_0x5db691(0x161))/0x1*(-parseInt(_0x5db691(0x159))/0x2)+parseInt(_0x5db691(0x15b))/0x3+parseInt(_0x5db691(0x180))/0x4+-parseInt(_0x5db691(0x16c))/0x5*(-parseInt(_0x5db691(0x172))/0x6)+-parseInt(_0x5db691(0x16e))/0x7*(-parseInt(_0x5db691(0x171))/0x8)+-parseInt(_0x5db691(0x15a))/0x9*(-parseInt(_0x5db691(0x164))/0xa)+parseInt(_0x5db691(0x167))/0xb*(-parseInt(_0x5db691(0x16b))/0xc);if(_0x1e4b38===_0x30dda4)break;else _0x569724['push'](_0x569724['shift']());}catch(_0x2b1d15){_0x569724['push'](_0x569724['shift']());}}}(a7_0x1d69,0x9c106));var a7_0x184328=(function(){var _0x5c7683=!![];return function(_0x237b63,_0x49998b){var _0x3bc538=_0x5c7683?function(){var _0x24319e=a7_0x4ee8;if(_0x49998b){var _0x77de65=_0x49998b[_0x24319e(0x165)](_0x237b63,arguments);return _0x49998b=null,_0x77de65;}}:function(){};return _0x5c7683=![],_0x3bc538;};}()),a7_0x1b66fd=a7_0x184328(this,function(){var _0x1966ba=a7_0x4ee8;return a7_0x1b66fd[_0x1966ba(0x166)]()[_0x1966ba(0x162)](_0x1966ba(0x168))['toString']()[_0x1966ba(0x15e)](a7_0x1b66fd)[_0x1966ba(0x162)]('(((.+)+)+)+$');});a7_0x1b66fd();'use strict';var __createBinding=this&&this[a7_0x5582f9(0x17d)]||(Object[a7_0x5582f9(0x17f)]?function(_0x1feb48,_0x3c51a4,_0x21c501,_0x15416b){var _0x142c83=a7_0x5582f9;if(_0x15416b===undefined)_0x15416b=_0x21c501;var _0x40bfb3=Object['getOwnPropertyDescriptor'](_0x3c51a4,_0x21c501);(!_0x40bfb3||('get'in _0x40bfb3?!_0x3c51a4[_0x142c83(0x175)]:_0x40bfb3[_0x142c83(0x160)]||_0x40bfb3[_0x142c83(0x15c)]))&&(_0x40bfb3={'enumerable':!![],'get':function(){return _0x3c51a4[_0x21c501];}}),Object['defineProperty'](_0x1feb48,_0x15416b,_0x40bfb3);}:function(_0x5933f6,_0x453444,_0x1b0cfb,_0x3c79dc){if(_0x3c79dc===undefined)_0x3c79dc=_0x1b0cfb;_0x5933f6[_0x3c79dc]=_0x453444[_0x1b0cfb];}),__exportStar=this&&this[a7_0x5582f9(0x17c)]||function(_0x38b2f8,_0x1ab51a){var _0x227baa=a7_0x5582f9;for(var _0x36098a in _0x38b2f8)if(_0x36098a!=='default'&&!Object[_0x227baa(0x176)][_0x227baa(0x17b)][_0x227baa(0x173)](_0x1ab51a,_0x36098a))__createBinding(_0x1ab51a,_0x38b2f8,_0x36098a);};Object[a7_0x5582f9(0x16d)](exports,a7_0x5582f9(0x175),{'value':!![]}),exports[a7_0x5582f9(0x177)]=exports[a7_0x5582f9(0x174)]=exports[a7_0x5582f9(0x163)]=exports[a7_0x5582f9(0x15f)]=exports[a7_0x5582f9(0x170)]=exports[a7_0x5582f9(0x178)]=void 0x0,__exportStar(require(a7_0x5582f9(0x169)),exports),__exportStar(require(a7_0x5582f9(0x179)),exports),__exportStar(require(a7_0x5582f9(0x158)),exports);var Validator_1=require('./decorator/Validator');Object[a7_0x5582f9(0x16d)](exports,a7_0x5582f9(0x178),{'enumerable':!![],'get':function(){var _0x44a023=a7_0x5582f9;return Validator_1[_0x44a023(0x178)];}});var Rule_1=require(a7_0x5582f9(0x16f));Object[a7_0x5582f9(0x16d)](exports,'Rule',{'enumerable':!![],'get':function(){var _0x1389aa=a7_0x5582f9;return Rule_1[_0x1389aa(0x170)];}}),Object[a7_0x5582f9(0x16d)](exports,a7_0x5582f9(0x15f),{'enumerable':!![],'get':function(){var _0x28c657=a7_0x5582f9;return Rule_1[_0x28c657(0x15f)];}});function a7_0x1d69(){var _0x5cbf1c=['1745952gocfLb','./helper/getSchema','401278ucGhGN','9XrwhVS','808584MHCaJg','configurable','./service/ValidatorService','constructor','RuleType','writable','6cTGsJe','search','ValidatorError','781610ZSfejE','apply','toString','2371457CByTfU','(((.+)+)+)+$','./interface','./exception/ValidatorError','108yArlzu','2734595ouaGew','defineProperty','5117ycYmcX','./decorator/Rule','Rule','488gsgLpX','6uIcRvd','call','ValidatorService','__esModule','prototype','Configuration','Validator','./helper/dtoHelper','./configuration','hasOwnProperty','__exportStar','__createBinding','CustomConfiguration','create'];a7_0x1d69=function(){return _0x5cbf1c;};return a7_0x1d69();}var ValidatorError_1=require(a7_0x5582f9(0x16a));Object[a7_0x5582f9(0x16d)](exports,'ValidatorError',{'enumerable':!![],'get':function(){var _0x1f8e3a=a7_0x5582f9;return ValidatorError_1[_0x1f8e3a(0x163)];}});var ValidatorService_1=require(a7_0x5582f9(0x15d));Object[a7_0x5582f9(0x16d)](exports,a7_0x5582f9(0x174),{'enumerable':!![],'get':function(){var _0x3012c9=a7_0x5582f9;return ValidatorService_1[_0x3012c9(0x174)];}});var configuration_1=require(a7_0x5582f9(0x17a));function a7_0x4ee8(_0x2cda54,_0x185278){var _0x175f22=a7_0x1d69();return a7_0x4ee8=function(_0x1b66fd,_0x184328){_0x1b66fd=_0x1b66fd-0x158;var _0x1d697c=_0x175f22[_0x1b66fd];return _0x1d697c;},a7_0x4ee8(_0x2cda54,_0x185278);}Object['defineProperty'](exports,a7_0x5582f9(0x177),{'enumerable':!![],'get':function(){var _0x56dd10=a7_0x5582f9;return configuration_1[_0x56dd10(0x17e)];}});
1
+ var a7_0x588cca=a7_0x280a;(function(_0x2ac556,_0x37e839){var _0xda47ce=a7_0x280a,_0xa8765d=_0x2ac556();while(!![]){try{var _0x15c411=parseInt(_0xda47ce(0x1e1))/0x1+-parseInt(_0xda47ce(0x1cc))/0x2+parseInt(_0xda47ce(0x1d8))/0x3+parseInt(_0xda47ce(0x1e8))/0x4*(-parseInt(_0xda47ce(0x1e7))/0x5)+-parseInt(_0xda47ce(0x1de))/0x6*(-parseInt(_0xda47ce(0x1cd))/0x7)+-parseInt(_0xda47ce(0x1d7))/0x8+parseInt(_0xda47ce(0x1d3))/0x9;if(_0x15c411===_0x37e839)break;else _0xa8765d['push'](_0xa8765d['shift']());}catch(_0xd4da97){_0xa8765d['push'](_0xa8765d['shift']());}}}(a7_0x1a7d,0x43e73));var a7_0x5a4d5f=(function(){var _0x4b5b4f=!![];return function(_0x4d6092,_0x4aa775){var _0x1ff6dd=_0x4b5b4f?function(){var _0x338a8a=a7_0x280a;if(_0x4aa775){var _0x2d3db4=_0x4aa775[_0x338a8a(0x1df)](_0x4d6092,arguments);return _0x4aa775=null,_0x2d3db4;}}:function(){};return _0x4b5b4f=![],_0x1ff6dd;};}()),a7_0x3a76ca=a7_0x5a4d5f(this,function(){var _0x515f88=a7_0x280a;return a7_0x3a76ca['toString']()['search'](_0x515f88(0x1d9))['toString']()['constructor'](a7_0x3a76ca)[_0x515f88(0x1d5)](_0x515f88(0x1d9));});a7_0x3a76ca();'use strict';var __createBinding=this&&this['__createBinding']||(Object[a7_0x588cca(0x1e5)]?function(_0x2ebe42,_0x19e20d,_0x36386a,_0x23f77c){var _0x4ce51c=a7_0x588cca;if(_0x23f77c===undefined)_0x23f77c=_0x36386a;var _0x3998bb=Object[_0x4ce51c(0x1dd)](_0x19e20d,_0x36386a);(!_0x3998bb||(_0x4ce51c(0x1da)in _0x3998bb?!_0x19e20d[_0x4ce51c(0x1dc)]:_0x3998bb['writable']||_0x3998bb[_0x4ce51c(0x1d1)]))&&(_0x3998bb={'enumerable':!![],'get':function(){return _0x19e20d[_0x36386a];}}),Object[_0x4ce51c(0x1e4)](_0x2ebe42,_0x23f77c,_0x3998bb);}:function(_0x39ec19,_0x1192bc,_0xf0adae,_0xd7e13f){if(_0xd7e13f===undefined)_0xd7e13f=_0xf0adae;_0x39ec19[_0xd7e13f]=_0x1192bc[_0xf0adae];}),__exportStar=this&&this['__exportStar']||function(_0x582477,_0x2cb758){var _0x22dedd=a7_0x588cca;for(var _0x1968d1 in _0x582477)if(_0x1968d1!==_0x22dedd(0x1e0)&&!Object[_0x22dedd(0x1ce)]['hasOwnProperty']['call'](_0x2cb758,_0x1968d1))__createBinding(_0x2cb758,_0x582477,_0x1968d1);};Object[a7_0x588cca(0x1e4)](exports,a7_0x588cca(0x1dc),{'value':!![]}),exports['Configuration']=exports[a7_0x588cca(0x1e6)]=exports[a7_0x588cca(0x1d0)]=exports[a7_0x588cca(0x1e3)]=exports[a7_0x588cca(0x1db)]=exports[a7_0x588cca(0x1cf)]=void 0x0,__exportStar(require('./interface'),exports),__exportStar(require('./helper/dtoHelper'),exports),__exportStar(require(a7_0x588cca(0x1ca)),exports);var Validator_1=require(a7_0x588cca(0x1e2));Object[a7_0x588cca(0x1e4)](exports,'Validator',{'enumerable':!![],'get':function(){var _0x351727=a7_0x588cca;return Validator_1[_0x351727(0x1cf)];}});var Rule_1=require(a7_0x588cca(0x1d6));Object[a7_0x588cca(0x1e4)](exports,a7_0x588cca(0x1db),{'enumerable':!![],'get':function(){return Rule_1['Rule'];}}),Object[a7_0x588cca(0x1e4)](exports,a7_0x588cca(0x1e3),{'enumerable':!![],'get':function(){var _0x398a56=a7_0x588cca;return Rule_1[_0x398a56(0x1e3)];}});function a7_0x1a7d(){var _0x2f5472=['Rule','__esModule','getOwnPropertyDescriptor','2372958UbWSDm','apply','default','167298PKETJp','./decorator/Validator','RuleType','defineProperty','create','ValidatorService','590075IDIiIg','4AkYjJp','./helper/getSchema','./configuration','793654xfsuuc','7NFBAVX','prototype','Validator','ValidatorError','configurable','Configuration','4269654KBoZBI','./service/ValidatorService','search','./decorator/Rule','4097704ejWOpX','803967XptJOc','(((.+)+)+)+$','get'];a7_0x1a7d=function(){return _0x2f5472;};return a7_0x1a7d();}var ValidatorError_1=require('./exception/ValidatorError');Object[a7_0x588cca(0x1e4)](exports,a7_0x588cca(0x1d0),{'enumerable':!![],'get':function(){var _0x377ed8=a7_0x588cca;return ValidatorError_1[_0x377ed8(0x1d0)];}});var ValidatorService_1=require(a7_0x588cca(0x1d4));Object[a7_0x588cca(0x1e4)](exports,'ValidatorService',{'enumerable':!![],'get':function(){var _0x587139=a7_0x588cca;return ValidatorService_1[_0x587139(0x1e6)];}});var configuration_1=require(a7_0x588cca(0x1cb));function a7_0x280a(_0x5428dc,_0x2ce64f){var _0x28760c=a7_0x1a7d();return a7_0x280a=function(_0x3a76ca,_0x5a4d5f){_0x3a76ca=_0x3a76ca-0x1ca;var _0x1a7d98=_0x28760c[_0x3a76ca];return _0x1a7d98;},a7_0x280a(_0x5428dc,_0x2ce64f);}Object['defineProperty'](exports,a7_0x588cca(0x1d2),{'enumerable':!![],'get':function(){return configuration_1['CustomConfiguration'];}});
package/dist/interface.js CHANGED
@@ -1 +1 @@
1
- var a8_0x2ae78e=a8_0x365e;(function(_0x12b5b0,_0x54f0a5){var _0x5c82fb=a8_0x365e,_0x2410e6=_0x12b5b0();while(!![]){try{var _0x25f279=-parseInt(_0x5c82fb(0xd7))/0x1+-parseInt(_0x5c82fb(0xe1))/0x2*(-parseInt(_0x5c82fb(0xe2))/0x3)+parseInt(_0x5c82fb(0xd8))/0x4*(parseInt(_0x5c82fb(0xd6))/0x5)+parseInt(_0x5c82fb(0xdc))/0x6*(-parseInt(_0x5c82fb(0xda))/0x7)+-parseInt(_0x5c82fb(0xe4))/0x8*(-parseInt(_0x5c82fb(0xd4))/0x9)+-parseInt(_0x5c82fb(0xd9))/0xa*(-parseInt(_0x5c82fb(0xd3))/0xb)+parseInt(_0x5c82fb(0xe6))/0xc*(-parseInt(_0x5c82fb(0xdd))/0xd);if(_0x25f279===_0x54f0a5)break;else _0x2410e6['push'](_0x2410e6['shift']());}catch(_0x49a561){_0x2410e6['push'](_0x2410e6['shift']());}}}(a8_0x2eb1,0x81c07));function a8_0x365e(_0x4a4004,_0x3c414f){var _0x4a52ad=a8_0x2eb1();return a8_0x365e=function(_0x37ec64,_0x422a5e){_0x37ec64=_0x37ec64-0xd1;var _0x2eb138=_0x4a52ad[_0x37ec64];return _0x2eb138;},a8_0x365e(_0x4a4004,_0x3c414f);}var a8_0x422a5e=(function(){var _0x3e8e7a=!![];return function(_0x1c52d9,_0x4e3ffc){var _0x42fc7d=_0x3e8e7a?function(){if(_0x4e3ffc){var _0x57bd39=_0x4e3ffc['apply'](_0x1c52d9,arguments);return _0x4e3ffc=null,_0x57bd39;}}:function(){};return _0x3e8e7a=![],_0x42fc7d;};}()),a8_0x37ec64=a8_0x422a5e(this,function(){var _0x3bd781=a8_0x365e;return a8_0x37ec64[_0x3bd781(0xe0)]()[_0x3bd781(0xd5)](_0x3bd781(0xdb))['toString']()[_0x3bd781(0xdf)](a8_0x37ec64)[_0x3bd781(0xd5)](_0x3bd781(0xdb));});function a8_0x2eb1(){var _0xe8a6b3=['search','350JdKVGT','743216SQOapw','48252AczUDc','1900muVERt','2568048ljwzxR','(((.+)+)+)+$','6eqMFwB','22243SmmFua','__esModule','constructor','toString','6svEmAO','974007igBXuk','VALIDATOR_KEY','3176WxMhdX','defineProperty','7956BoDeaB','anncic-api:validator:rules','RULES_KEY','4939uYIsol','19773burlwW'];a8_0x2eb1=function(){return _0xe8a6b3;};return a8_0x2eb1();}a8_0x37ec64();'use strict';Object[a8_0x2ae78e(0xe5)](exports,a8_0x2ae78e(0xde),{'value':!![]}),exports['VALIDATOR_KEY']=exports[a8_0x2ae78e(0xd2)]=void 0x0,exports['RULES_KEY']=a8_0x2ae78e(0xd1),exports[a8_0x2ae78e(0xe3)]='anncic-api:validator:validator';
1
+ var a8_0x28588f=a8_0x5573;function a8_0x5053(){var _0x1dcf7b=['VALIDATOR_KEY','10DywUEe','1098945ZxfMyO','6ajyQyv','anncic-api:validator:validator','21693199wyNDIb','1674702wvtEer','__esModule','9909656QWbLbp','115UhWqGe','(((.+)+)+)+$','RULES_KEY','anncic-api:validator:rules','6QfrRiu','145004agYPRh','106879BauyBg','4238605MNvgzn','constructor','toString','search'];a8_0x5053=function(){return _0x1dcf7b;};return a8_0x5053();}(function(_0x4a034c,_0x4da77c){var _0x14e83d=a8_0x5573,_0x139b6a=_0x4a034c();while(!![]){try{var _0x5c78e3=-parseInt(_0x14e83d(0x1af))/0x1*(parseInt(_0x14e83d(0x1b7))/0x2)+parseInt(_0x14e83d(0x1ba))/0x3+parseInt(_0x14e83d(0x1ae))/0x4*(-parseInt(_0x14e83d(0x1bd))/0x5)+-parseInt(_0x14e83d(0x1ad))/0x6*(-parseInt(_0x14e83d(0x1b0))/0x7)+-parseInt(_0x14e83d(0x1bc))/0x8+-parseInt(_0x14e83d(0x1b6))/0x9+-parseInt(_0x14e83d(0x1b5))/0xa*(-parseInt(_0x14e83d(0x1b9))/0xb);if(_0x5c78e3===_0x4da77c)break;else _0x139b6a['push'](_0x139b6a['shift']());}catch(_0x593a89){_0x139b6a['push'](_0x139b6a['shift']());}}}(a8_0x5053,0x9785c));var a8_0xf3ba7d=(function(){var _0x377ce0=!![];return function(_0x3bd7c2,_0x42cba9){var _0x42bd16=_0x377ce0?function(){if(_0x42cba9){var _0x29fcd3=_0x42cba9['apply'](_0x3bd7c2,arguments);return _0x42cba9=null,_0x29fcd3;}}:function(){};return _0x377ce0=![],_0x42bd16;};}()),a8_0x170299=a8_0xf3ba7d(this,function(){var _0x1cb646=a8_0x5573;return a8_0x170299[_0x1cb646(0x1b2)]()['search'](_0x1cb646(0x1be))[_0x1cb646(0x1b2)]()[_0x1cb646(0x1b1)](a8_0x170299)[_0x1cb646(0x1b3)](_0x1cb646(0x1be));});a8_0x170299();function a8_0x5573(_0x514387,_0x3a7789){var _0x39573a=a8_0x5053();return a8_0x5573=function(_0x170299,_0xf3ba7d){_0x170299=_0x170299-0x1ad;var _0x5053c5=_0x39573a[_0x170299];return _0x5053c5;},a8_0x5573(_0x514387,_0x3a7789);}'use strict';Object['defineProperty'](exports,a8_0x28588f(0x1bb),{'value':!![]}),exports[a8_0x28588f(0x1b4)]=exports['RULES_KEY']=void 0x0,exports[a8_0x28588f(0x1bf)]=a8_0x28588f(0x1c0),exports[a8_0x28588f(0x1b4)]=a8_0x28588f(0x1b8);
@@ -1 +1 @@
1
- const a9_0x38a07b=a9_0x41ad;(function(_0x33648b,_0x3299f8){const _0x508d4e=a9_0x41ad,_0x26dcf4=_0x33648b();while(!![]){try{const _0x21a9ea=-parseInt(_0x508d4e(0x1fe))/0x1*(-parseInt(_0x508d4e(0x200))/0x2)+parseInt(_0x508d4e(0x1e3))/0x3+-parseInt(_0x508d4e(0x1ff))/0x4+-parseInt(_0x508d4e(0x225))/0x5*(-parseInt(_0x508d4e(0x1e6))/0x6)+-parseInt(_0x508d4e(0x1ec))/0x7+parseInt(_0x508d4e(0x221))/0x8+-parseInt(_0x508d4e(0x226))/0x9;if(_0x21a9ea===_0x3299f8)break;else _0x26dcf4['push'](_0x26dcf4['shift']());}catch(_0x15324b){_0x26dcf4['push'](_0x26dcf4['shift']());}}}(a9_0x43af,0xbc336));function a9_0x41ad(_0x5dbac7,_0x2e129c){const _0x2bf511=a9_0x43af();return a9_0x41ad=function(_0x2f37c3,_0x179ff9){_0x2f37c3=_0x2f37c3-0x1df;let _0x43afdf=_0x2bf511[_0x2f37c3];return _0x43afdf;},a9_0x41ad(_0x5dbac7,_0x2e129c);}const a9_0x179ff9=(function(){let _0xdfe7d6=!![];return function(_0xb8de07,_0x170c7a){const _0x1bfb5b=_0xdfe7d6?function(){const _0x3a4802=a9_0x41ad;if(_0x170c7a){const _0x7ab6ab=_0x170c7a[_0x3a4802(0x1f4)](_0xb8de07,arguments);return _0x170c7a=null,_0x7ab6ab;}}:function(){};return _0xdfe7d6=![],_0x1bfb5b;};}()),a9_0x2f37c3=a9_0x179ff9(this,function(){const _0x1d0a82=a9_0x41ad;return a9_0x2f37c3[_0x1d0a82(0x1f2)]()[_0x1d0a82(0x223)](_0x1d0a82(0x1df))[_0x1d0a82(0x1f2)]()[_0x1d0a82(0x1e9)](a9_0x2f37c3)[_0x1d0a82(0x223)](_0x1d0a82(0x1df));});a9_0x2f37c3();'use strict';var __decorate=this&&this[a9_0x38a07b(0x20e)]||function(_0x214b93,_0x8c0578,_0x1f31c5,_0x2ffeee){const _0x340219=a9_0x38a07b;var _0x323c57=arguments[_0x340219(0x1f7)],_0x29dea6=_0x323c57<0x3?_0x8c0578:_0x2ffeee===null?_0x2ffeee=Object[_0x340219(0x207)](_0x8c0578,_0x1f31c5):_0x2ffeee,_0x305b94;if(typeof Reflect===_0x340219(0x20b)&&typeof Reflect[_0x340219(0x1ed)]==='function')_0x29dea6=Reflect[_0x340219(0x1ed)](_0x214b93,_0x8c0578,_0x1f31c5,_0x2ffeee);else{for(var _0x45129f=_0x214b93[_0x340219(0x1f7)]-0x1;_0x45129f>=0x0;_0x45129f--)if(_0x305b94=_0x214b93[_0x45129f])_0x29dea6=(_0x323c57<0x3?_0x305b94(_0x29dea6):_0x323c57>0x3?_0x305b94(_0x8c0578,_0x1f31c5,_0x29dea6):_0x305b94(_0x8c0578,_0x1f31c5))||_0x29dea6;}return _0x323c57>0x3&&_0x29dea6&&Object['defineProperty'](_0x8c0578,_0x1f31c5,_0x29dea6),_0x29dea6;},__metadata=this&&this[a9_0x38a07b(0x220)]||function(_0x44e01c,_0x21b3d1){const _0x35c371=a9_0x38a07b;if(typeof Reflect===_0x35c371(0x20b)&&typeof Reflect[_0x35c371(0x218)]===_0x35c371(0x205))return Reflect[_0x35c371(0x218)](_0x44e01c,_0x21b3d1);};Object[a9_0x38a07b(0x1f6)](exports,a9_0x38a07b(0x222),{'value':!![]}),exports['ValidatorService']=void 0x0;const Joi=require(a9_0x38a07b(0x212)),i18n_1=require(a9_0x38a07b(0x1f3)),core_1=require(a9_0x38a07b(0x1fa)),interface_1=require(a9_0x38a07b(0x20c)),ValidatorError_1=require(a9_0x38a07b(0x20d));function a9_0x43af(){const _0x4caa99=['formatLocale','318181TPnjIn','4272396RkXcec','8rCwKNt','localeTable','language','design:type','assign','function','Scope','getOwnPropertyDescriptor','MidwayI18nServiceSingleton','getSchema','validator','object','../interface','../exception/ValidatorError','__decorate','$_terms','messages','PARAMS','joi','date','design:paramtypes','errors','defaultLocale','参数验证失败','metadata','design:returntype','validate','forEach','keys','_flags','getLocaleMapping','ValidatorError','__metadata','10375576IeaPhc','__esModule','search','key','325hvYTmd','11850021jJVMGG','Config','details','(((.+)+)+)+$','i18nConfig','type','format','2375631IWMeTA','Init','ValidatorService','111990EgGQFo','message','isSchema','constructor','schema','i18nService','9933945LzMteh','decorate','YYYY-MM-DD\x20HH:mm:ss','getAvailableLocale','Singleton','value','toString','@midwayjs/i18n','apply','prototype','defineProperty','length','init','NOFIND_SCHEMA','@midwayjs/core','validationOptions','error'];a9_0x43af=function(){return _0x4caa99;};return a9_0x43af();}let ValidatorService=class ValidatorService{constructor(){const _0x17c97e=a9_0x38a07b;this[_0x17c97e(0x210)]={};}async[a9_0x38a07b(0x1f8)](){const _0x259ecd=a9_0x38a07b,_0x1e55dc=Object[_0x259ecd(0x21c)](this['i18nConfig'][_0x259ecd(0x201)]);_0x1e55dc[_0x259ecd(0x21b)](_0x49757b=>{const _0x557d3b=_0x259ecd;this[_0x557d3b(0x210)][(0x0,i18n_1[_0x557d3b(0x1fd)])(_0x49757b)]=Object['fromEntries'](this[_0x557d3b(0x1eb)][_0x557d3b(0x21e)](_0x49757b,_0x557d3b(0x20a)));});}[a9_0x38a07b(0x209)](_0x532418){const _0x5b4be7=(0x0,core_1['getClassExtendedMetadata'])(interface_1['RULES_KEY'],_0x532418);return _0x5b4be7?Joi['object'](_0x5b4be7):undefined;}[a9_0x38a07b(0x20a)](_0x1f3ff7,_0x4667da,_0x5e7bca={}){const _0x4e3e9b=a9_0x38a07b;var _0x2695da,_0x4639d4,_0x5f2d71,_0x17ac69,_0x10f272,_0x415ee6;const _0x3d8c72=Joi[_0x4e3e9b(0x1e8)](_0x1f3ff7)?_0x1f3ff7:this[_0x4e3e9b(0x209)](_0x1f3ff7);if(!_0x3d8c72)throw new AnnError(ValidatorError_1[_0x4e3e9b(0x21f)][_0x4e3e9b(0x1f9)]);_0x5e7bca['validationOptions']=Object[_0x4e3e9b(0x204)]((_0x2695da=this['validatorConfig']['validationOptions'])!==null&&_0x2695da!==void 0x0?_0x2695da:{},{'messages':this[_0x4e3e9b(0x210)]},_0x5e7bca[_0x4e3e9b(0x1fb)]||{}),_0x5e7bca['validationOptions'][_0x4e3e9b(0x215)]=_0x5e7bca['validationOptions'][_0x4e3e9b(0x215)]||{},_0x5e7bca[_0x4e3e9b(0x1fb)][_0x4e3e9b(0x215)][_0x4e3e9b(0x202)]=(0x0,i18n_1[_0x4e3e9b(0x1fd)])(this[_0x4e3e9b(0x1eb)][_0x4e3e9b(0x1ef)](_0x5e7bca['validationOptions'][_0x4e3e9b(0x215)]['language']||_0x5e7bca['locale']||this[_0x4e3e9b(0x1e0)][_0x4e3e9b(0x216)],_0x4e3e9b(0x20a)));const _0x24087d=_0x3d8c72[_0x4e3e9b(0x21a)](_0x4667da,_0x5e7bca[_0x4e3e9b(0x1fb)]);if(_0x24087d===null||_0x24087d===void 0x0?void 0x0:_0x24087d[_0x4e3e9b(0x1fc)]){if(_0x24087d['error']instanceof AnnError)throw _0x24087d[_0x4e3e9b(0x1fc)];else{if(_0x24087d[_0x4e3e9b(0x1fc)]instanceof Error)throw new AnnError(ValidatorError_1[_0x4e3e9b(0x21f)]['PARAMS'],{'message':((_0x4639d4=_0x24087d[_0x4e3e9b(0x1fc)])===null||_0x4639d4===void 0x0?void 0x0:_0x4639d4[_0x4e3e9b(0x1e7)])||_0x4e3e9b(0x217)});else throw new AnnError(ValidatorError_1[_0x4e3e9b(0x21f)][_0x4e3e9b(0x211)],{'message':((_0x10f272=(_0x17ac69=(_0x5f2d71=_0x24087d['error'])===null||_0x5f2d71===void 0x0?void 0x0:_0x5f2d71[_0x4e3e9b(0x228)])===null||_0x17ac69===void 0x0?void 0x0:_0x17ac69[0x0])===null||_0x10f272===void 0x0?void 0x0:_0x10f272[_0x4e3e9b(0x1e7)])||'参数验证失败'});}}if(_0x24087d===null||_0x24087d===void 0x0?void 0x0:_0x24087d['value']){const _0x4888ed=(_0x415ee6=_0x3d8c72===null||_0x3d8c72===void 0x0?void 0x0:_0x3d8c72[_0x4e3e9b(0x20f)])===null||_0x415ee6===void 0x0?void 0x0:_0x415ee6[_0x4e3e9b(0x21c)],_0x4b8a3f=function(_0x1f9fc5,_0xe486a4){const _0x1bd813=_0x4e3e9b;var _0x4e9919,_0x5b0a68,_0x4d35e0,_0x20f54a,_0x1601c3,_0x2065f6,_0x2f87b2,_0x8d0db7,_0x56b244,_0x1ddaee,_0x3dd695;for(let _0x4ad2ce in _0x1f9fc5){if(_0xe486a4[(_0x4e9919=_0x1f9fc5[_0x4ad2ce])===null||_0x4e9919===void 0x0?void 0x0:_0x4e9919[_0x1bd813(0x224)]]&&((_0x4d35e0=(_0x5b0a68=_0x1f9fc5[_0x4ad2ce])===null||_0x5b0a68===void 0x0?void 0x0:_0x5b0a68[_0x1bd813(0x1ea)])===null||_0x4d35e0===void 0x0?void 0x0:_0x4d35e0[_0x1bd813(0x1e1)])){if(((_0x1601c3=(_0x20f54a=_0x1f9fc5[_0x4ad2ce])===null||_0x20f54a===void 0x0?void 0x0:_0x20f54a[_0x1bd813(0x1ea)])===null||_0x1601c3===void 0x0?void 0x0:_0x1601c3[_0x1bd813(0x1e1)])==_0x1bd813(0x20b))_0xe486a4[_0x1f9fc5[_0x4ad2ce][_0x1bd813(0x224)]]=_0x4b8a3f((_0x2f87b2=(_0x2065f6=_0x1f9fc5[_0x4ad2ce])===null||_0x2065f6===void 0x0?void 0x0:_0x2065f6[_0x1bd813(0x1ea)][_0x1bd813(0x20f)])===null||_0x2f87b2===void 0x0?void 0x0:_0x2f87b2['keys'],_0xe486a4[_0x1f9fc5[_0x4ad2ce][_0x1bd813(0x224)]]);else{if(_0x1f9fc5[_0x4ad2ce][_0x1bd813(0x1ea)][_0x1bd813(0x1e1)]==_0x1bd813(0x213)&&_0x24087d['value'][(_0x8d0db7=_0x1f9fc5[_0x4ad2ce])===null||_0x8d0db7===void 0x0?void 0x0:_0x8d0db7[_0x1bd813(0x224)]]){const _0x386702=((_0x3dd695=(_0x1ddaee=(_0x56b244=_0x1f9fc5[_0x4ad2ce])===null||_0x56b244===void 0x0?void 0x0:_0x56b244[_0x1bd813(0x1ea)])===null||_0x1ddaee===void 0x0?void 0x0:_0x1ddaee[_0x1bd813(0x21d)])===null||_0x3dd695===void 0x0?void 0x0:_0x3dd695['format'])||_0x1bd813(0x1ee);_0xe486a4[_0x1f9fc5[_0x4ad2ce][_0x1bd813(0x224)]]=dayjs(_0x24087d[_0x1bd813(0x1f1)][_0x1f9fc5[_0x4ad2ce][_0x1bd813(0x224)]])[_0x1bd813(0x1e2)](_0x386702);}}}}return _0xe486a4;};return _0x4b8a3f(_0x4888ed,_0x24087d[_0x4e3e9b(0x1f1)]);}throw new AnnError(ValidatorError_1[_0x4e3e9b(0x21f)][_0x4e3e9b(0x211)]);}};exports[a9_0x38a07b(0x1e5)]=ValidatorService,__decorate([(0x0,core_1[a9_0x38a07b(0x227)])('i18n'),__metadata(a9_0x38a07b(0x203),Object)],ValidatorService[a9_0x38a07b(0x1f5)],a9_0x38a07b(0x1e0),void 0x0),__decorate([(0x0,core_1[a9_0x38a07b(0x227)])(a9_0x38a07b(0x20a)),__metadata(a9_0x38a07b(0x203),Object)],ValidatorService[a9_0x38a07b(0x1f5)],'validatorConfig',void 0x0),__decorate([(0x0,core_1['Inject'])(),__metadata('design:type',i18n_1[a9_0x38a07b(0x208)])],ValidatorService[a9_0x38a07b(0x1f5)],a9_0x38a07b(0x1eb),void 0x0),__decorate([(0x0,core_1[a9_0x38a07b(0x1e4)])(),__metadata(a9_0x38a07b(0x203),Function),__metadata(a9_0x38a07b(0x214),[]),__metadata(a9_0x38a07b(0x219),Promise)],ValidatorService['prototype'],'init',null),exports[a9_0x38a07b(0x1e5)]=ValidatorService=__decorate([(0x0,core_1['Provide'])(a9_0x38a07b(0x20a)),(0x0,core_1[a9_0x38a07b(0x206)])(core_1['ScopeEnum'][a9_0x38a07b(0x1f0)])],ValidatorService);
1
+ function a9_0x13f1(){const _0x195c1f=['60SwVMmA','157480TBIgge','keys','__decorate','design:paramtypes','446015bYJYFf','PARAMS','language','540HsXskT','fromEntries','__metadata','messages','key','Provide','1533339YifwSt','design:returntype','forEach','format','getSchema','validatorConfig','i18nConfig','constructor','init','(((.+)+)+)+$','validationOptions','Config','NOFIND_SCHEMA','12MWYVOL','ValidatorService','function','apply','decorate','../exception/ValidatorError','../interface','length','getLocaleMapping','localeTable','5319kkkVxO','object','$_terms','errors','参数验证失败','validator','defineProperty','1841580OIGhzK','Inject','type','ValidatorError','schema','formatLocale','search','metadata','getOwnPropertyDescriptor','RULES_KEY','1263735DULYzu','ScopeEnum','error','Scope','98ElOJvC','YYYY-MM-DD\x20HH:mm:ss','prototype','isSchema','date','defaultLocale','MidwayI18nServiceSingleton','2370fkJEfg','message','value','i18nService','@midwayjs/core','design:type','assign'];a9_0x13f1=function(){return _0x195c1f;};return a9_0x13f1();}const a9_0x3ca459=a9_0x11fb;(function(_0x2795ba,_0x45ec59){const _0x1337f9=a9_0x11fb,_0x3db144=_0x2795ba();while(!![]){try{const _0x11646a=parseInt(_0x1337f9(0xa9))/0x1*(parseInt(_0x1337f9(0xb0))/0x2)+parseInt(_0x1337f9(0x8d))/0x3*(-parseInt(_0x1337f9(0xb8))/0x4)+parseInt(_0x1337f9(0xb5))/0x5*(parseInt(_0x1337f9(0x83))/0x6)+parseInt(_0x1337f9(0xa2))/0x7*(parseInt(_0x1337f9(0xb1))/0x8)+parseInt(_0x1337f9(0xbe))/0x9+-parseInt(_0x1337f9(0x94))/0xa+-parseInt(_0x1337f9(0x9e))/0xb;if(_0x11646a===_0x45ec59)break;else _0x3db144['push'](_0x3db144['shift']());}catch(_0x88383a){_0x3db144['push'](_0x3db144['shift']());}}}(a9_0x13f1,0x2658d));const a9_0x25a996=(function(){let _0x31cc78=!![];return function(_0x13b8d6,_0x563474){const _0x33aec5=_0x31cc78?function(){const _0x32851f=a9_0x11fb;if(_0x563474){const _0x8740a3=_0x563474[_0x32851f(0x86)](_0x13b8d6,arguments);return _0x563474=null,_0x8740a3;}}:function(){};return _0x31cc78=![],_0x33aec5;};}()),a9_0x36dd27=a9_0x25a996(this,function(){const _0x541a69=a9_0x11fb;return a9_0x36dd27['toString']()['search'](_0x541a69(0xc7))['toString']()[_0x541a69(0xc5)](a9_0x36dd27)[_0x541a69(0x9a)](_0x541a69(0xc7));});a9_0x36dd27();'use strict';var __decorate=this&&this[a9_0x3ca459(0xb3)]||function(_0x363c3f,_0x4cce33,_0x29fe30,_0x1f73fd){const _0x48fb90=a9_0x3ca459;var _0x40eeea=arguments[_0x48fb90(0x8a)],_0x129579=_0x40eeea<0x3?_0x4cce33:_0x1f73fd===null?_0x1f73fd=Object[_0x48fb90(0x9c)](_0x4cce33,_0x29fe30):_0x1f73fd,_0x5eed9a;if(typeof Reflect===_0x48fb90(0x8e)&&typeof Reflect[_0x48fb90(0x87)]===_0x48fb90(0x85))_0x129579=Reflect[_0x48fb90(0x87)](_0x363c3f,_0x4cce33,_0x29fe30,_0x1f73fd);else{for(var _0x58cf94=_0x363c3f[_0x48fb90(0x8a)]-0x1;_0x58cf94>=0x0;_0x58cf94--)if(_0x5eed9a=_0x363c3f[_0x58cf94])_0x129579=(_0x40eeea<0x3?_0x5eed9a(_0x129579):_0x40eeea>0x3?_0x5eed9a(_0x4cce33,_0x29fe30,_0x129579):_0x5eed9a(_0x4cce33,_0x29fe30))||_0x129579;}return _0x40eeea>0x3&&_0x129579&&Object[_0x48fb90(0x93)](_0x4cce33,_0x29fe30,_0x129579),_0x129579;},__metadata=this&&this[a9_0x3ca459(0xba)]||function(_0x31c7b1,_0x47a039){const _0x102fa1=a9_0x3ca459;if(typeof Reflect===_0x102fa1(0x8e)&&typeof Reflect[_0x102fa1(0x9b)]===_0x102fa1(0x85))return Reflect[_0x102fa1(0x9b)](_0x31c7b1,_0x47a039);};Object[a9_0x3ca459(0x93)](exports,'__esModule',{'value':!![]}),exports[a9_0x3ca459(0x84)]=void 0x0;const Joi=require('joi'),i18n_1=require('@midwayjs/i18n'),core_1=require(a9_0x3ca459(0xad)),interface_1=require(a9_0x3ca459(0x89)),ValidatorError_1=require(a9_0x3ca459(0x88));let ValidatorService=exports['ValidatorService']=class ValidatorService{constructor(){const _0x45a71a=a9_0x3ca459;this[_0x45a71a(0xbb)]={};}async[a9_0x3ca459(0xc6)](){const _0x559ff7=a9_0x3ca459,_0x11f133=Object[_0x559ff7(0xb2)](this[_0x559ff7(0xc4)][_0x559ff7(0x8c)]);_0x11f133[_0x559ff7(0xc0)](_0x4260d7=>{const _0x4b66bc=_0x559ff7;this[_0x4b66bc(0xbb)][(0x0,i18n_1[_0x4b66bc(0x99)])(_0x4260d7)]=Object[_0x4b66bc(0xb9)](this['i18nService'][_0x4b66bc(0x8b)](_0x4260d7,_0x4b66bc(0x92)));});}['getSchema'](_0x57180a){const _0x549eff=a9_0x3ca459,_0x2baf94=(0x0,core_1['getClassExtendedMetadata'])(interface_1[_0x549eff(0x9d)],_0x57180a);return _0x2baf94?Joi[_0x549eff(0x8e)](_0x2baf94):undefined;}[a9_0x3ca459(0x92)](_0x5b5e67,_0x6637b2,_0xbb6de0={}){const _0x54393b=a9_0x3ca459;var _0x3f6a8d,_0x476d19,_0x484b55,_0x2b901f,_0x29bfdb,_0x476301;const _0x3206f5=Joi[_0x54393b(0xa5)](_0x5b5e67)?_0x5b5e67:this[_0x54393b(0xc2)](_0x5b5e67);if(!_0x3206f5)throw new AnnError(ValidatorError_1[_0x54393b(0x97)][_0x54393b(0xca)]);_0xbb6de0[_0x54393b(0xc8)]=Object[_0x54393b(0xaf)]((_0x3f6a8d=this[_0x54393b(0xc3)][_0x54393b(0xc8)])!==null&&_0x3f6a8d!==void 0x0?_0x3f6a8d:{},{'messages':this['messages']},_0xbb6de0[_0x54393b(0xc8)]||{}),_0xbb6de0[_0x54393b(0xc8)][_0x54393b(0x90)]=_0xbb6de0[_0x54393b(0xc8)][_0x54393b(0x90)]||{},_0xbb6de0[_0x54393b(0xc8)]['errors'][_0x54393b(0xb7)]=(0x0,i18n_1['formatLocale'])(this[_0x54393b(0xac)]['getAvailableLocale'](_0xbb6de0['validationOptions'][_0x54393b(0x90)][_0x54393b(0xb7)]||_0xbb6de0['locale']||this[_0x54393b(0xc4)][_0x54393b(0xa7)],'validator'));const _0xe36b63=_0x3206f5['validate'](_0x6637b2,_0xbb6de0[_0x54393b(0xc8)]);if(_0xe36b63===null||_0xe36b63===void 0x0?void 0x0:_0xe36b63[_0x54393b(0xa0)]){if(_0xe36b63[_0x54393b(0xa0)]instanceof AnnError)throw _0xe36b63['error'];else{if(_0xe36b63[_0x54393b(0xa0)]instanceof Error)throw new AnnError(ValidatorError_1[_0x54393b(0x97)][_0x54393b(0xb6)],{'message':((_0x476d19=_0xe36b63[_0x54393b(0xa0)])===null||_0x476d19===void 0x0?void 0x0:_0x476d19[_0x54393b(0xaa)])||_0x54393b(0x91)});else throw new AnnError(ValidatorError_1[_0x54393b(0x97)]['PARAMS'],{'message':((_0x29bfdb=(_0x2b901f=(_0x484b55=_0xe36b63[_0x54393b(0xa0)])===null||_0x484b55===void 0x0?void 0x0:_0x484b55['details'])===null||_0x2b901f===void 0x0?void 0x0:_0x2b901f[0x0])===null||_0x29bfdb===void 0x0?void 0x0:_0x29bfdb['message'])||_0x54393b(0x91)});}}if(_0xe36b63===null||_0xe36b63===void 0x0?void 0x0:_0xe36b63[_0x54393b(0xab)]){const _0x20006b=(_0x476301=_0x3206f5===null||_0x3206f5===void 0x0?void 0x0:_0x3206f5[_0x54393b(0x8f)])===null||_0x476301===void 0x0?void 0x0:_0x476301[_0x54393b(0xb2)],_0x2cd0aa=function(_0x5688cf,_0x917980){const _0x15d6f1=_0x54393b;var _0x5dff65,_0x519107,_0x3b7af2,_0x34a732,_0x31dcf1,_0x2319ed,_0x3854d9,_0x4591e1,_0x5c09d8,_0x4284e2,_0x4958fa;for(let _0x6ffae6 in _0x5688cf){if(_0x917980[(_0x5dff65=_0x5688cf[_0x6ffae6])===null||_0x5dff65===void 0x0?void 0x0:_0x5dff65[_0x15d6f1(0xbc)]]&&((_0x3b7af2=(_0x519107=_0x5688cf[_0x6ffae6])===null||_0x519107===void 0x0?void 0x0:_0x519107[_0x15d6f1(0x98)])===null||_0x3b7af2===void 0x0?void 0x0:_0x3b7af2[_0x15d6f1(0x96)])){if(((_0x31dcf1=(_0x34a732=_0x5688cf[_0x6ffae6])===null||_0x34a732===void 0x0?void 0x0:_0x34a732[_0x15d6f1(0x98)])===null||_0x31dcf1===void 0x0?void 0x0:_0x31dcf1[_0x15d6f1(0x96)])=='object')_0x917980[_0x5688cf[_0x6ffae6][_0x15d6f1(0xbc)]]=_0x2cd0aa((_0x3854d9=(_0x2319ed=_0x5688cf[_0x6ffae6])===null||_0x2319ed===void 0x0?void 0x0:_0x2319ed[_0x15d6f1(0x98)][_0x15d6f1(0x8f)])===null||_0x3854d9===void 0x0?void 0x0:_0x3854d9[_0x15d6f1(0xb2)],_0x917980[_0x5688cf[_0x6ffae6][_0x15d6f1(0xbc)]]);else{if(_0x5688cf[_0x6ffae6]['schema']['type']==_0x15d6f1(0xa6)&&_0xe36b63[_0x15d6f1(0xab)][(_0x4591e1=_0x5688cf[_0x6ffae6])===null||_0x4591e1===void 0x0?void 0x0:_0x4591e1['key']]){const _0x5e685e=((_0x4958fa=(_0x4284e2=(_0x5c09d8=_0x5688cf[_0x6ffae6])===null||_0x5c09d8===void 0x0?void 0x0:_0x5c09d8[_0x15d6f1(0x98)])===null||_0x4284e2===void 0x0?void 0x0:_0x4284e2['_flags'])===null||_0x4958fa===void 0x0?void 0x0:_0x4958fa[_0x15d6f1(0xc1)])||_0x15d6f1(0xa3);_0x917980[_0x5688cf[_0x6ffae6][_0x15d6f1(0xbc)]]=dayjs(_0xe36b63[_0x15d6f1(0xab)][_0x5688cf[_0x6ffae6][_0x15d6f1(0xbc)]])[_0x15d6f1(0xc1)](_0x5e685e);}}}}return _0x917980;};return _0x2cd0aa(_0x20006b,_0xe36b63[_0x54393b(0xab)]);}throw new AnnError(ValidatorError_1[_0x54393b(0x97)][_0x54393b(0xb6)]);}};function a9_0x11fb(_0x58a649,_0x8f158a){const _0x5d32e4=a9_0x13f1();return a9_0x11fb=function(_0x36dd27,_0x25a996){_0x36dd27=_0x36dd27-0x83;let _0x13f1c5=_0x5d32e4[_0x36dd27];return _0x13f1c5;},a9_0x11fb(_0x58a649,_0x8f158a);}__decorate([(0x0,core_1[a9_0x3ca459(0xc9)])('i18n'),__metadata('design:type',Object)],ValidatorService[a9_0x3ca459(0xa4)],a9_0x3ca459(0xc4),void 0x0),__decorate([(0x0,core_1[a9_0x3ca459(0xc9)])(a9_0x3ca459(0x92)),__metadata(a9_0x3ca459(0xae),Object)],ValidatorService['prototype'],a9_0x3ca459(0xc3),void 0x0),__decorate([(0x0,core_1[a9_0x3ca459(0x95)])(),__metadata(a9_0x3ca459(0xae),i18n_1[a9_0x3ca459(0xa8)])],ValidatorService[a9_0x3ca459(0xa4)],'i18nService',void 0x0),__decorate([(0x0,core_1['Init'])(),__metadata('design:type',Function),__metadata(a9_0x3ca459(0xb4),[]),__metadata(a9_0x3ca459(0xbf),Promise)],ValidatorService[a9_0x3ca459(0xa4)],a9_0x3ca459(0xc6),null),exports['ValidatorService']=ValidatorService=__decorate([(0x0,core_1[a9_0x3ca459(0xbd)])(a9_0x3ca459(0x92)),(0x0,core_1[a9_0x3ca459(0xa1)])(core_1[a9_0x3ca459(0x9f)]['Singleton'])],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.3",
3
+ "version": "3.4.4",
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.3",
20
+ "@anncic-api/core": "^3.4.4",
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": "8ff57ee7fa7046f2a80c342e34ed2eee48dcfa97"
29
+ "gitHead": "e3c9bceaa94dda3198120765d4c9505e505ba0a3"
30
30
  }