@anncic-api/validator 1.0.8 → 1.0.13
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.
- package/dist/config/config.default.d.ts +3 -3
- package/dist/config/config.default.js +1 -1
- package/dist/configuration.js +1 -1
- package/dist/decorator/Rule.js +1 -1
- package/dist/decorator/Validator.d.ts +2 -2
- package/dist/decorator/Validator.js +1 -1
- package/dist/exception/ValidatorError.d.ts +2 -1
- package/dist/exception/ValidatorError.js +1 -1
- package/dist/helper/dtoHelper.js +1 -1
- package/dist/helpers/dtoHelper.js +1 -1
- package/dist/index.js +1 -1
- package/dist/interface.d.ts +3 -3
- package/dist/interface.js +1 -1
- package/dist/service/ValidateService.js +1 -1
- package/dist/service/ValidatorService.d.ts +4 -9
- package/dist/service/ValidatorService.js +1 -1
- package/dist/services/ValidateService.js +1 -1
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';var
|
|
1
|
+
'use strict';function a7_0x3df2(){var _0x52a037=['call','Rule','3EkiBlO','./decorator/Validator','configurable','defineProperty','get','RuleType','749846ANRmPE','12798768mBCrpj','ValidatorError','18040LsUyud','default','prototype','hasOwnProperty','create','./decorator/Rule','__exportStar','./service/ValidatorService','8zoEkYD','40uGhmLg','444035GsBJtl','5910DtxzRg','2415meOwoZ','getOwnPropertyDescriptor','1400589boeoXz','13146QWypOV','Configuration','./exception/ValidatorError','__createBinding','93011dELrsV','Validator','__esModule','./helper/dtoHelper','./configuration','ValidatorService'];a7_0x3df2=function(){return _0x52a037;};return a7_0x3df2();}var a7_0x3ef4ca=a7_0x4a14;(function(_0x18c830,_0x428103){var _0x36ebee=a7_0x4a14,_0x1c9433=_0x18c830();while(!![]){try{var _0x107603=parseInt(_0x36ebee(0x167))/0x1+-parseInt(_0x36ebee(0x175))/0x2*(-parseInt(_0x36ebee(0x16f))/0x3)+parseInt(_0x36ebee(0x180))/0x4*(parseInt(_0x36ebee(0x182))/0x5)+-parseInt(_0x36ebee(0x163))/0x6*(-parseInt(_0x36ebee(0x184))/0x7)+parseInt(_0x36ebee(0x181))/0x8*(-parseInt(_0x36ebee(0x186))/0x9)+parseInt(_0x36ebee(0x183))/0xa*(-parseInt(_0x36ebee(0x178))/0xb)+parseInt(_0x36ebee(0x176))/0xc;if(_0x107603===_0x428103)break;else _0x1c9433['push'](_0x1c9433['shift']());}catch(_0xe2c843){_0x1c9433['push'](_0x1c9433['shift']());}}}(a7_0x3df2,0xaff16));var __createBinding=this&&this[a7_0x3ef4ca(0x166)]||(Object[a7_0x3ef4ca(0x17c)]?function(_0x3215c8,_0x2f8ced,_0x2d3c2c,_0x4eb13d){var _0x1edbf6=a7_0x3ef4ca;if(_0x4eb13d===undefined)_0x4eb13d=_0x2d3c2c;var _0x4627b0=Object[_0x1edbf6(0x185)](_0x2f8ced,_0x2d3c2c);(!_0x4627b0||(_0x1edbf6(0x173)in _0x4627b0?!_0x2f8ced[_0x1edbf6(0x169)]:_0x4627b0['writable']||_0x4627b0[_0x1edbf6(0x171)]))&&(_0x4627b0={'enumerable':!![],'get':function(){return _0x2f8ced[_0x2d3c2c];}}),Object[_0x1edbf6(0x172)](_0x3215c8,_0x4eb13d,_0x4627b0);}:function(_0x304edd,_0x4914f1,_0x61419b,_0x242d66){if(_0x242d66===undefined)_0x242d66=_0x61419b;_0x304edd[_0x242d66]=_0x4914f1[_0x61419b];}),__exportStar=this&&this[a7_0x3ef4ca(0x17e)]||function(_0x327d93,_0x1fb54e){var _0xb28f5a=a7_0x3ef4ca;for(var _0x135b39 in _0x327d93)if(_0x135b39!==_0xb28f5a(0x179)&&!Object[_0xb28f5a(0x17a)][_0xb28f5a(0x17b)][_0xb28f5a(0x16d)](_0x1fb54e,_0x135b39))__createBinding(_0x1fb54e,_0x327d93,_0x135b39);};Object[a7_0x3ef4ca(0x172)](exports,a7_0x3ef4ca(0x169),{'value':!![]}),exports[a7_0x3ef4ca(0x164)]=exports[a7_0x3ef4ca(0x16c)]=exports[a7_0x3ef4ca(0x177)]=exports[a7_0x3ef4ca(0x174)]=exports[a7_0x3ef4ca(0x16e)]=exports[a7_0x3ef4ca(0x168)]=void 0x0,__exportStar(require('./interface'),exports),__exportStar(require(a7_0x3ef4ca(0x16a)),exports);var Validator_1=require(a7_0x3ef4ca(0x170));Object[a7_0x3ef4ca(0x172)](exports,a7_0x3ef4ca(0x168),{'enumerable':!![],'get':function(){var _0x29435a=a7_0x3ef4ca;return Validator_1[_0x29435a(0x168)];}});var Rule_1=require(a7_0x3ef4ca(0x17d));function a7_0x4a14(_0x539d63,_0x8a9407){var _0x3df250=a7_0x3df2();return a7_0x4a14=function(_0x4a14bd,_0x5edd11){_0x4a14bd=_0x4a14bd-0x163;var _0x5ecdea=_0x3df250[_0x4a14bd];return _0x5ecdea;},a7_0x4a14(_0x539d63,_0x8a9407);}Object[a7_0x3ef4ca(0x172)](exports,a7_0x3ef4ca(0x16e),{'enumerable':!![],'get':function(){var _0x4eb03b=a7_0x3ef4ca;return Rule_1[_0x4eb03b(0x16e)];}}),Object[a7_0x3ef4ca(0x172)](exports,a7_0x3ef4ca(0x174),{'enumerable':!![],'get':function(){return Rule_1['RuleType'];}});var ValidatorError_1=require(a7_0x3ef4ca(0x165));Object[a7_0x3ef4ca(0x172)](exports,'ValidatorError',{'enumerable':!![],'get':function(){var _0x3508b0=a7_0x3ef4ca;return ValidatorError_1[_0x3508b0(0x177)];}});var ValidatorService_1=require(a7_0x3ef4ca(0x17f));Object[a7_0x3ef4ca(0x172)](exports,a7_0x3ef4ca(0x16c),{'enumerable':!![],'get':function(){return ValidatorService_1['ValidatorService'];}});var configuration_1=require(a7_0x3ef4ca(0x16b));Object['defineProperty'](exports,a7_0x3ef4ca(0x164),{'enumerable':!![],'get':function(){return configuration_1['CustomConfiguration'];}});
|
package/dist/interface.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as Joi from 'joi';
|
|
2
|
-
export declare const RULES_KEY = "anncic-api:
|
|
3
|
-
export declare const
|
|
4
|
-
export interface
|
|
2
|
+
export declare const RULES_KEY = "anncic-api:validator:rules";
|
|
3
|
+
export declare const VALIDATOR_KEY = "anncic-api:validator:validator";
|
|
4
|
+
export interface ValidatorOptions {
|
|
5
5
|
locale?: string;
|
|
6
6
|
description?: string;
|
|
7
7
|
errorStatus?: number;
|
package/dist/interface.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';function
|
|
1
|
+
'use strict';var a8_0x266aac=a8_0x3f08;function a8_0x4780(){var _0x383d86=['4WXsQHx','68651rkEmqT','11391905fHVvwV','70tgMoWs','defineProperty','439080hnhpid','17718060cbXIHZ','9IVMpMc','VALIDATOR_KEY','anncic-api:validator:validator','4713288CSIXuV','4574468WSOhPN','8497192ryGKxo','RULES_KEY','anncic-api:validator:rules'];a8_0x4780=function(){return _0x383d86;};return a8_0x4780();}(function(_0x2c6200,_0x481d6e){var _0x520b8e=a8_0x3f08,_0x2f9384=_0x2c6200();while(!![]){try{var _0x523254=-parseInt(_0x520b8e(0x172))/0x1*(-parseInt(_0x520b8e(0x171))/0x2)+-parseInt(_0x520b8e(0x17b))/0x3+-parseInt(_0x520b8e(0x17c))/0x4+parseInt(_0x520b8e(0x174))/0x5*(-parseInt(_0x520b8e(0x176))/0x6)+parseInt(_0x520b8e(0x173))/0x7+parseInt(_0x520b8e(0x16e))/0x8+parseInt(_0x520b8e(0x178))/0x9*(parseInt(_0x520b8e(0x177))/0xa);if(_0x523254===_0x481d6e)break;else _0x2f9384['push'](_0x2f9384['shift']());}catch(_0x24c40e){_0x2f9384['push'](_0x2f9384['shift']());}}}(a8_0x4780,0xd1d2f));function a8_0x3f08(_0x12a874,_0x15e0f2){var _0x4780dc=a8_0x4780();return a8_0x3f08=function(_0x3f08e8,_0x25c91e){_0x3f08e8=_0x3f08e8-0x16e;var _0x48b6fa=_0x4780dc[_0x3f08e8];return _0x48b6fa;},a8_0x3f08(_0x12a874,_0x15e0f2);}Object[a8_0x266aac(0x175)](exports,'__esModule',{'value':!![]}),exports['VALIDATOR_KEY']=exports[a8_0x266aac(0x16f)]=void 0x0,exports[a8_0x266aac(0x16f)]=a8_0x266aac(0x170),exports[a8_0x266aac(0x179)]=a8_0x266aac(0x17a);
|