@anncic-api/typeorm 1.0.7 → 1.0.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- 'use strict';const a0_0x39d046=a0_0x53ac;function a0_0x53ac(_0x328a38,_0xd4df56){const _0xdf4717=a0_0xdf47();return a0_0x53ac=function(_0x53ac70,_0x1be5db){_0x53ac70=_0x53ac70-0x1d4;let _0x5ec512=_0xdf4717[_0x53ac70];return _0x5ec512;},a0_0x53ac(_0x328a38,_0xd4df56);}(function(_0x5736a2,_0x588116){const _0x74f362=a0_0x53ac,_0x764b56=_0x5736a2();while(!![]){try{const _0x2931ca=parseInt(_0x74f362(0x1f8))/0x1+-parseInt(_0x74f362(0x1d9))/0x2+-parseInt(_0x74f362(0x1e4))/0x3*(parseInt(_0x74f362(0x1dd))/0x4)+parseInt(_0x74f362(0x1fb))/0x5*(-parseInt(_0x74f362(0x204))/0x6)+-parseInt(_0x74f362(0x1ff))/0x7+-parseInt(_0x74f362(0x1fe))/0x8+parseInt(_0x74f362(0x1e1))/0x9;if(_0x2931ca===_0x588116)break;else _0x764b56['push'](_0x764b56['shift']());}catch(_0xf036f7){_0x764b56['push'](_0x764b56['shift']());}}}(a0_0xdf47,0x40386));var __decorate=this&&this[a0_0x39d046(0x203)]||function(_0x3df265,_0x422dc5,_0x1c3118,_0x328476){const _0x3b147b=a0_0x39d046;var _0x20e7b7=arguments[_0x3b147b(0x1df)],_0x4d2db2=_0x20e7b7<0x3?_0x422dc5:_0x328476===null?_0x328476=Object[_0x3b147b(0x1ef)](_0x422dc5,_0x1c3118):_0x328476,_0x46ac1e;if(typeof Reflect===_0x3b147b(0x1f1)&&typeof Reflect['decorate']===_0x3b147b(0x1d4))_0x4d2db2=Reflect[_0x3b147b(0x1fa)](_0x3df265,_0x422dc5,_0x1c3118,_0x328476);else{for(var _0x2db634=_0x3df265[_0x3b147b(0x1df)]-0x1;_0x2db634>=0x0;_0x2db634--)if(_0x46ac1e=_0x3df265[_0x2db634])_0x4d2db2=(_0x20e7b7<0x3?_0x46ac1e(_0x4d2db2):_0x20e7b7>0x3?_0x46ac1e(_0x422dc5,_0x1c3118,_0x4d2db2):_0x46ac1e(_0x422dc5,_0x1c3118))||_0x4d2db2;}return _0x20e7b7>0x3&&_0x4d2db2&&Object['defineProperty'](_0x422dc5,_0x1c3118,_0x4d2db2),_0x4d2db2;},__metadata=this&&this[a0_0x39d046(0x1ec)]||function(_0x35c138,_0x2194c0){const _0x444662=a0_0x39d046;if(typeof Reflect===_0x444662(0x1f1)&&typeof Reflect[_0x444662(0x201)]==='function')return Reflect[_0x444662(0x201)](_0x35c138,_0x2194c0);};Object[a0_0x39d046(0x1d5)](exports,a0_0x39d046(0x1db),{'value':!![]}),exports['CustomConfiguration']=void 0x0;const typeorm_1=require(a0_0x39d046(0x1f0)),decorator_1=require(a0_0x39d046(0x1f5)),core_1=require(a0_0x39d046(0x1fd)),typeorm_2=require(a0_0x39d046(0x1dc)),Repository_1=require(a0_0x39d046(0x1d6)),interface_1=require(a0_0x39d046(0x1da)),typeorm=require(a0_0x39d046(0x1f0));let CustomConfiguration=class CustomConfiguration{constructor(){const _0x383da2=a0_0x39d046;this[_0x383da2(0x1e8)]=[];}async[a0_0x39d046(0x1ee)](_0x268b8c,_0x15fe16){const _0x3049b2=a0_0x39d046,_0x22d7a1=await _0x268b8c[_0x3049b2(0x1e6)](typeorm_1[_0x3049b2(0x1e3)]);this[_0x3049b2(0x200)][_0x3049b2(0x1e5)](interface_1[_0x3049b2(0x1f7)],(_0x460605,{entity:_0x4f9d24,connection:_0x4c223c})=>{const _0x286cc8=_0x3049b2;let _0x28f8d7=this['handlercache'][_0x286cc8(0x1d7)](_0x449a1a=>_0x449a1a['target']==_0x4f9d24);return!_0x28f8d7&&(_0x28f8d7=new Repository_1['Repository'](_0x15fe16,_0x22d7a1[_0x286cc8(0x1e9)](_0x4c223c||_0x22d7a1[_0x286cc8(0x1de)](_0x4f9d24))['getRepository'](_0x4f9d24)),this['handlercache']['push'](_0x28f8d7)),_0x28f8d7;}),this[_0x3049b2(0x200)][_0x3049b2(0x1e5)](interface_1[_0x3049b2(0x205)],(_0x10cadd,{repository:_0x27db12,connection:_0x124e36})=>{const _0x196cb2=_0x3049b2,{entity:_0x3ceca0}=(0x0,decorator_1['getClassMetadata'])(interface_1[_0x196cb2(0x205)],_0x27db12)||{};if(!_0x3ceca0)throw new Error('anncic-api-typeorm\x20Error\x20'+((_0x27db12===null||_0x27db12===void 0x0?void 0x0:_0x27db12['name'])||_0x27db12)+'\x20is\x20not\x20ProvideRepository\x20Entify');let _0x43ff0f=this['handlercache']['find'](_0x2472b7=>_0x2472b7[_0x196cb2(0x1e2)]==_0x3ceca0);return!_0x43ff0f&&(_0x43ff0f=new Repository_1[(_0x196cb2(0x1ed))](_0x15fe16,_0x22d7a1[_0x196cb2(0x1e9)](_0x124e36||_0x22d7a1['getDataSourceNameByModel'](_0x3ceca0))['getRepository'](_0x3ceca0)),this['handlercache']['push'](_0x43ff0f)),_0x43ff0f;}),_0x15fe16['useMiddleware'](this[_0x3049b2(0x1f6)](_0x15fe16));}[a0_0x39d046(0x1f6)](_0xef5351){return async(_0x50644d,_0x3ce26a)=>{const _0x13d353=a0_0x53ac;try{await _0x3ce26a();}catch(_0x51e57e){if(_0x51e57e instanceof typeorm_2[_0x13d353(0x1f3)])_0x51e57e instanceof typeorm_2['EntityNotFoundError']?_0x50644d[_0x13d353(0x1eb)]={'code':0x194,'msg':'数据不存在'}:(_0x50644d[_0x13d353(0x1eb)]={'code':0x1f4,'msg':_0x51e57e[_0x13d353(0x202)]},_0xef5351[_0x13d353(0x1d8)]()!=_0x13d353(0x1fc)&&console[_0x13d353(0x1f4)](_0x51e57e));else throw _0x51e57e;}};}};function a0_0xdf47(){const _0x5e62c7=['TypeORMError','warn','@midwayjs/decorator','middlewareError','ENTIFY_KEY','416912FMFvbp','MidwayDecoratorService','decorate','55qgJlEl','production','@midwayjs/core','4196016GkBrTL','1094744LHsnld','decorator','metadata','message','__decorate','238758qEYXkI','REPOSITORY_KEY','config','function','defineProperty','./definition/Repository','find','getEnv','619194xYKJzr','./interface','__esModule','typeorm','27276xtuZlu','getDataSourceNameByModel','length','prototype','11837358mrKvHB','target','TypeORMDataSourceManager','18czJIek','registerPropertyHandler','getAsync','Inject','handlercache','getDataSource','MidwayConfigService','body','__metadata','Repository','onReady','getOwnPropertyDescriptor','@midwayjs/typeorm','object','design:type'];a0_0xdf47=function(){return _0x5e62c7;};return a0_0xdf47();}__decorate([(0x0,decorator_1[a0_0x39d046(0x1e7)])(),__metadata(a0_0x39d046(0x1f2),core_1[a0_0x39d046(0x1ea)])],CustomConfiguration[a0_0x39d046(0x1e0)],a0_0x39d046(0x206),void 0x0),__decorate([(0x0,decorator_1[a0_0x39d046(0x1e7)])(),__metadata(a0_0x39d046(0x1f2),core_1[a0_0x39d046(0x1f9)])],CustomConfiguration['prototype'],a0_0x39d046(0x200),void 0x0),CustomConfiguration=__decorate([(0x0,decorator_1['Configuration'])({'imports':[typeorm],'conflictCheck':![],'namespace':'anncic-api:typeorm'})],CustomConfiguration),exports['CustomConfiguration']=CustomConfiguration;
1
+ 'use strict';const a0_0x23f9c6=a0_0x2a78;(function(_0x4df70b,_0x5eb4f6){const _0x257e99=a0_0x2a78,_0xa9a31c=_0x4df70b();while(!![]){try{const _0x322fa7=parseInt(_0x257e99(0xb7))/0x1+parseInt(_0x257e99(0xc1))/0x2*(parseInt(_0x257e99(0xca))/0x3)+parseInt(_0x257e99(0xa8))/0x4+-parseInt(_0x257e99(0xa7))/0x5*(-parseInt(_0x257e99(0xc9))/0x6)+parseInt(_0x257e99(0xcd))/0x7+-parseInt(_0x257e99(0xd4))/0x8*(parseInt(_0x257e99(0xc7))/0x9)+parseInt(_0x257e99(0xa9))/0xa*(-parseInt(_0x257e99(0xcf))/0xb);if(_0x322fa7===_0x5eb4f6)break;else _0xa9a31c['push'](_0xa9a31c['shift']());}catch(_0x1366d7){_0xa9a31c['push'](_0xa9a31c['shift']());}}}(a0_0x5812,0x7f852));function a0_0x5812(){const _0x173cff=['defineProperty','@midwayjs/core','getDataSource','design:type','name','decorate','6980enGExQ','923824YyDwrf','11468710YcSwLp','config','prototype','message','TypeORMError','find','Repository','getClassMetadata','length','CustomConfiguration','EntityNotFoundError','onReady','push','function','746489fqNPsc','getEnv','registerPropertyHandler','Inject','Configuration','anncic-api:typeorm','__metadata','@midwayjs/typeorm','@midwayjs/decorator','\x20is\x20not\x20ProvideRepository\x20Entify','12eNVXAA','TypeORMDataSourceManager','anncic-api-typeorm\x20Error\x20','handlercache','decorator','getDataSourceNameByModel','6197571mBHQEw','body','414WHRnLt','212694PAlblL','useMiddleware','MidwayDecoratorService','6010585eqcybE','middlewareError','11FMnrCE','ENTIFY_KEY','__decorate','typeorm','metadata','8QpSNyy','target','./definition/Repository','getAsync','getRepository'];a0_0x5812=function(){return _0x173cff;};return a0_0x5812();}function a0_0x2a78(_0xc671c2,_0x5e161f){const _0x581268=a0_0x5812();return a0_0x2a78=function(_0x2a784e,_0x3faf3a){_0x2a784e=_0x2a784e-0xa5;let _0x5d30e6=_0x581268[_0x2a784e];return _0x5d30e6;},a0_0x2a78(_0xc671c2,_0x5e161f);}var __decorate=this&&this[a0_0x23f9c6(0xd1)]||function(_0x1933cf,_0x4cfaf3,_0x1a5b15,_0x2e8c39){const _0x3448e7=a0_0x23f9c6;var _0x34fc10=arguments[_0x3448e7(0xb1)],_0x529700=_0x34fc10<0x3?_0x4cfaf3:_0x2e8c39===null?_0x2e8c39=Object['getOwnPropertyDescriptor'](_0x4cfaf3,_0x1a5b15):_0x2e8c39,_0x2cdccf;if(typeof Reflect==='object'&&typeof Reflect[_0x3448e7(0xa6)]===_0x3448e7(0xb6))_0x529700=Reflect[_0x3448e7(0xa6)](_0x1933cf,_0x4cfaf3,_0x1a5b15,_0x2e8c39);else{for(var _0x1d7d3b=_0x1933cf[_0x3448e7(0xb1)]-0x1;_0x1d7d3b>=0x0;_0x1d7d3b--)if(_0x2cdccf=_0x1933cf[_0x1d7d3b])_0x529700=(_0x34fc10<0x3?_0x2cdccf(_0x529700):_0x34fc10>0x3?_0x2cdccf(_0x4cfaf3,_0x1a5b15,_0x529700):_0x2cdccf(_0x4cfaf3,_0x1a5b15))||_0x529700;}return _0x34fc10>0x3&&_0x529700&&Object[_0x3448e7(0xd9)](_0x4cfaf3,_0x1a5b15,_0x529700),_0x529700;},__metadata=this&&this[a0_0x23f9c6(0xbd)]||function(_0x4498ec,_0x3c569d){const _0x33b182=a0_0x23f9c6;if(typeof Reflect==='object'&&typeof Reflect[_0x33b182(0xd3)]===_0x33b182(0xb6))return Reflect[_0x33b182(0xd3)](_0x4498ec,_0x3c569d);};Object[a0_0x23f9c6(0xd9)](exports,'__esModule',{'value':!![]}),exports[a0_0x23f9c6(0xb2)]=void 0x0;const typeorm_1=require(a0_0x23f9c6(0xbe)),decorator_1=require(a0_0x23f9c6(0xbf)),core_1=require(a0_0x23f9c6(0xda)),typeorm_2=require(a0_0x23f9c6(0xd2)),Repository_1=require(a0_0x23f9c6(0xd6)),interface_1=require('./interface'),typeorm=require(a0_0x23f9c6(0xbe));let CustomConfiguration=class CustomConfiguration{constructor(){const _0x438359=a0_0x23f9c6;this[_0x438359(0xc4)]=[];}async[a0_0x23f9c6(0xb4)](_0x4ff240,_0x52545a){const _0x15aa10=a0_0x23f9c6,_0x28289e=await _0x4ff240[_0x15aa10(0xd7)](typeorm_1[_0x15aa10(0xc2)]);this[_0x15aa10(0xc5)][_0x15aa10(0xb9)](interface_1[_0x15aa10(0xd0)],(_0x54b969,{entity:_0x4985a5,connection:_0x14dd7a})=>{const _0x31dc31=_0x15aa10;let _0x2bbe6b=this[_0x31dc31(0xc4)]['find'](_0x25dd32=>_0x25dd32[_0x31dc31(0xd5)]==_0x4985a5);return!_0x2bbe6b&&(_0x2bbe6b=new Repository_1[(_0x31dc31(0xaf))](_0x52545a,_0x28289e[_0x31dc31(0xdb)](_0x14dd7a||_0x28289e[_0x31dc31(0xc6)](_0x4985a5))[_0x31dc31(0xd8)](_0x4985a5)),this['handlercache'][_0x31dc31(0xb5)](_0x2bbe6b)),_0x2bbe6b;}),this['decorator'][_0x15aa10(0xb9)](interface_1['REPOSITORY_KEY'],(_0x14c74f,{repository:_0x9be261,connection:_0x5665bd})=>{const _0x20ecc8=_0x15aa10,{entity:_0x53406f}=(0x0,decorator_1[_0x20ecc8(0xb0)])(interface_1['REPOSITORY_KEY'],_0x9be261)||{};if(!_0x53406f)throw new Error(_0x20ecc8(0xc3)+((_0x9be261===null||_0x9be261===void 0x0?void 0x0:_0x9be261[_0x20ecc8(0xa5)])||_0x9be261)+_0x20ecc8(0xc0));let _0x171393=this[_0x20ecc8(0xc4)][_0x20ecc8(0xae)](_0x4c0b9a=>_0x4c0b9a[_0x20ecc8(0xd5)]==_0x53406f);return!_0x171393&&(_0x171393=new Repository_1[(_0x20ecc8(0xaf))](_0x52545a,_0x28289e[_0x20ecc8(0xdb)](_0x5665bd||_0x28289e[_0x20ecc8(0xc6)](_0x53406f))[_0x20ecc8(0xd8)](_0x53406f)),this['handlercache'][_0x20ecc8(0xb5)](_0x171393)),_0x171393;}),_0x52545a[_0x15aa10(0xcb)](this[_0x15aa10(0xce)](_0x52545a));}[a0_0x23f9c6(0xce)](_0x37fcef){return async(_0x785894,_0x23bc1e)=>{const _0x14b636=a0_0x2a78;try{await _0x23bc1e();}catch(_0x1ff7d2){if(_0x1ff7d2 instanceof typeorm_2[_0x14b636(0xad)])_0x1ff7d2 instanceof typeorm_2[_0x14b636(0xb3)]?_0x785894[_0x14b636(0xc8)]={'code':0x194,'msg':'数据不存在'}:(_0x785894[_0x14b636(0xc8)]={'code':0x1f4,'msg':_0x1ff7d2[_0x14b636(0xac)]},_0x37fcef[_0x14b636(0xb8)]()!='production'&&console['warn'](_0x1ff7d2));else throw _0x1ff7d2;}};}};__decorate([(0x0,decorator_1[a0_0x23f9c6(0xba)])(),__metadata('design:type',core_1['MidwayConfigService'])],CustomConfiguration['prototype'],a0_0x23f9c6(0xaa),void 0x0),__decorate([(0x0,decorator_1['Inject'])(),__metadata(a0_0x23f9c6(0xdc),core_1[a0_0x23f9c6(0xcc)])],CustomConfiguration[a0_0x23f9c6(0xab)],a0_0x23f9c6(0xc5),void 0x0),CustomConfiguration=__decorate([(0x0,decorator_1[a0_0x23f9c6(0xbb)])({'imports':[typeorm],'conflictCheck':![],'namespace':a0_0x23f9c6(0xbc)})],CustomConfiguration),exports[a0_0x23f9c6(0xb2)]=CustomConfiguration;
@@ -1 +1 @@
1
- 'use strict';const a1_0x4c4cfa=a1_0x30c6;(function(_0x22df7b,_0x2c2eec){const _0x1f0bf5=a1_0x30c6,_0x71d153=_0x22df7b();while(!![]){try{const _0x8b4817=-parseInt(_0x1f0bf5(0x11b))/0x1+-parseInt(_0x1f0bf5(0x11d))/0x2+-parseInt(_0x1f0bf5(0x120))/0x3+-parseInt(_0x1f0bf5(0x11f))/0x4*(parseInt(_0x1f0bf5(0x125))/0x5)+-parseInt(_0x1f0bf5(0x124))/0x6+parseInt(_0x1f0bf5(0x11c))/0x7+parseInt(_0x1f0bf5(0x118))/0x8;if(_0x8b4817===_0x2c2eec)break;else _0x71d153['push'](_0x71d153['shift']());}catch(_0x582b73){_0x71d153['push'](_0x71d153['shift']());}}}(a1_0x1fc1,0x1edaf));function a1_0x30c6(_0x40fa41,_0x3a43b8){const _0x1fc1ed=a1_0x1fc1();return a1_0x30c6=function(_0x30c63c,_0x31ae01){_0x30c63c=_0x30c63c-0x118;let _0x49189f=_0x1fc1ed[_0x30c63c];return _0x49189f;},a1_0x30c6(_0x40fa41,_0x3a43b8);}function a1_0x1fc1(){const _0x5b7ea3=['InjectEntity','108OwyUBL','294963hLendB','ENTIFY_KEY','default','createCustomPropertyDecorator','1126338fGZNkA','15085PvYYnX','3740088MfbqqY','defineProperty','__esModule','97094ePefVm','918610QeoSrx','15522DkCZyH'];a1_0x1fc1=function(){return _0x5b7ea3;};return a1_0x1fc1();}Object[a1_0x4c4cfa(0x119)](exports,a1_0x4c4cfa(0x11a),{'value':!![]}),exports[a1_0x4c4cfa(0x11e)]=void 0x0;const decorator_1=require('@midwayjs/decorator'),interface_1=require('../interface');function InjectEntity(_0x21b242,_0x12d5ce=a1_0x4c4cfa(0x122)){const _0x47c3ab=a1_0x4c4cfa;return(0x0,decorator_1[_0x47c3ab(0x123)])(interface_1[_0x47c3ab(0x121)],{'entity':_0x21b242,'connection':_0x12d5ce});}exports[a1_0x4c4cfa(0x11e)]=InjectEntity;
1
+ 'use strict';const a1_0x201e75=a1_0x3b2f;function a1_0xa38c(){const _0x50c89e=['224270ffRoMu','113192gfpNES','28tiofqL','872391vUJNMJ','InjectEntity','ENTIFY_KEY','createCustomPropertyDecorator','5731JCLmPV','4IQXPwN','1805118KHwDhl','@midwayjs/decorator','1083078mBsbVQ','8950xbSDEn','523JdXscu','376ZAmhUu'];a1_0xa38c=function(){return _0x50c89e;};return a1_0xa38c();}(function(_0x200d10,_0x166d6a){const _0x33bf4d=a1_0x3b2f,_0x352624=_0x200d10();while(!![]){try{const _0xebcecc=-parseInt(_0x33bf4d(0xa0))/0x1*(-parseInt(_0x33bf4d(0xa1))/0x2)+parseInt(_0x33bf4d(0x96))/0x3+parseInt(_0x33bf4d(0x9b))/0x4*(parseInt(_0x33bf4d(0xa2))/0x5)+parseInt(_0x33bf4d(0x9c))/0x6+parseInt(_0x33bf4d(0x95))/0x7*(parseInt(_0x33bf4d(0xa3))/0x8)+-parseInt(_0x33bf4d(0x9e))/0x9+-parseInt(_0x33bf4d(0x9f))/0xa*(parseInt(_0x33bf4d(0x9a))/0xb);if(_0xebcecc===_0x166d6a)break;else _0x352624['push'](_0x352624['shift']());}catch(_0x3eacb9){_0x352624['push'](_0x352624['shift']());}}}(a1_0xa38c,0x31ff3));function a1_0x3b2f(_0x28d81c,_0x19e012){const _0xa38c27=a1_0xa38c();return a1_0x3b2f=function(_0x3b2f81,_0x174303){_0x3b2f81=_0x3b2f81-0x95;let _0x2a4fbd=_0xa38c27[_0x3b2f81];return _0x2a4fbd;},a1_0x3b2f(_0x28d81c,_0x19e012);}Object['defineProperty'](exports,'__esModule',{'value':!![]}),exports['InjectEntity']=void 0x0;const decorator_1=require(a1_0x201e75(0x9d)),interface_1=require('../interface');function InjectEntity(_0x5ab094,_0x37e99c='default'){const _0x36ec87=a1_0x201e75;return(0x0,decorator_1[_0x36ec87(0x99)])(interface_1[_0x36ec87(0x98)],{'entity':_0x5ab094,'connection':_0x37e99c});}exports[a1_0x201e75(0x97)]=InjectEntity;
@@ -1 +1 @@
1
- 'use strict';const a2_0x5db985=a2_0x5e38;(function(_0x1d9895,_0x5986fb){const _0x5a2f80=a2_0x5e38,_0x2da713=_0x1d9895();while(!![]){try{const _0x463e77=parseInt(_0x5a2f80(0xf5))/0x1*(-parseInt(_0x5a2f80(0xfb))/0x2)+-parseInt(_0x5a2f80(0x102))/0x3+-parseInt(_0x5a2f80(0xf6))/0x4+parseInt(_0x5a2f80(0xf7))/0x5+-parseInt(_0x5a2f80(0x103))/0x6+-parseInt(_0x5a2f80(0xf9))/0x7*(-parseInt(_0x5a2f80(0x101))/0x8)+-parseInt(_0x5a2f80(0xfe))/0x9*(-parseInt(_0x5a2f80(0x100))/0xa);if(_0x463e77===_0x5986fb)break;else _0x2da713['push'](_0x2da713['shift']());}catch(_0x489bcf){_0x2da713['push'](_0x2da713['shift']());}}}(a2_0x2319,0xc7d16));Object['defineProperty'](exports,a2_0x5db985(0xf8),{'value':!![]}),exports['InjectRepository']=void 0x0;const decorator_1=require(a2_0x5db985(0xff)),interface_1=require('../interface');function a2_0x5e38(_0xf5907a,_0x27bba5){const _0x2319a4=a2_0x2319();return a2_0x5e38=function(_0x5e3838,_0x3725e6){_0x5e3838=_0x5e3838-0xf5;let _0x216ba8=_0x2319a4[_0x5e3838];return _0x216ba8;},a2_0x5e38(_0xf5907a,_0x27bba5);}function InjectRepository(_0x3de7c7,_0x19ba25='default'){const _0x3147fc=a2_0x5db985;return(0x0,decorator_1[_0x3147fc(0xfd)])(interface_1[_0x3147fc(0xfa)],{'repository':_0x3de7c7,'connection':_0x19ba25});}exports[a2_0x5db985(0xfc)]=InjectRepository;function a2_0x2319(){const _0x4a82ec=['createCustomPropertyDecorator','9wisYAY','@midwayjs/decorator','19353710mUoHxy','15896LbOPdt','1591251SPOhTH','3879702SRXkCt','1369861TfhjKA','5251464ZUJMpQ','6898810GuoaBe','__esModule','4802QfTzpw','REPOSITORY_KEY','2SauTmw','InjectRepository'];a2_0x2319=function(){return _0x4a82ec;};return a2_0x2319();}
1
+ 'use strict';const a2_0x42690f=a2_0xe2fb;(function(_0x1a3868,_0x2583f6){const _0x54cb1e=a2_0xe2fb,_0x5a544a=_0x1a3868();while(!![]){try{const _0x5d2b21=-parseInt(_0x54cb1e(0x7f))/0x1+parseInt(_0x54cb1e(0x7c))/0x2+parseInt(_0x54cb1e(0x81))/0x3*(parseInt(_0x54cb1e(0x82))/0x4)+-parseInt(_0x54cb1e(0x7e))/0x5*(-parseInt(_0x54cb1e(0x77))/0x6)+-parseInt(_0x54cb1e(0x78))/0x7+-parseInt(_0x54cb1e(0x7b))/0x8+-parseInt(_0x54cb1e(0x76))/0x9*(-parseInt(_0x54cb1e(0x79))/0xa);if(_0x5d2b21===_0x2583f6)break;else _0x5a544a['push'](_0x5a544a['shift']());}catch(_0x24a676){_0x5a544a['push'](_0x5a544a['shift']());}}}(a2_0x3fa7,0xc52be));function a2_0x3fa7(){const _0x508c81=['1778769yGOzzE','21090DmHiNc','10401342uZhYxG','90EZSCXr','__esModule','11359544giLUUQ','215854OMtiPg','InjectRepository','1835TsKdjH','172530CDUwsj','createCustomPropertyDecorator','3OJOyqW','2837168AQSmod','defineProperty','../interface'];a2_0x3fa7=function(){return _0x508c81;};return a2_0x3fa7();}function a2_0xe2fb(_0x4d525e,_0x3ca9df){const _0x3fa707=a2_0x3fa7();return a2_0xe2fb=function(_0xe2fb90,_0x47bee4){_0xe2fb90=_0xe2fb90-0x74;let _0x56d194=_0x3fa707[_0xe2fb90];return _0x56d194;},a2_0xe2fb(_0x4d525e,_0x3ca9df);}Object[a2_0x42690f(0x74)](exports,a2_0x42690f(0x7a),{'value':!![]}),exports[a2_0x42690f(0x7d)]=void 0x0;const decorator_1=require('@midwayjs/decorator'),interface_1=require(a2_0x42690f(0x75));function InjectRepository(_0x4a52bd,_0x492915='default'){const _0x281d6e=a2_0x42690f;return(0x0,decorator_1[_0x281d6e(0x80)])(interface_1['REPOSITORY_KEY'],{'repository':_0x4a52bd,'connection':_0x492915});}exports[a2_0x42690f(0x7d)]=InjectRepository;