@anncic-api/typeorm 1.0.6 → 1.0.7
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/configuration.js +1 -1
- package/dist/decorator/InjectEntity.js +1 -1
- package/dist/decorator/InjectRepository.js +1 -1
- package/dist/decorator/ModelSearch.js +1 -1
- package/dist/decorator/ProvideEntity.js +1 -1
- package/dist/decorator/ProvideRepository.js +1 -1
- package/dist/decorator/ProvideSearch.js +1 -1
- package/dist/decorator/VirtualColumn.js +1 -1
- package/dist/definition/Repository.js +1 -1
- package/dist/definitions/Repository.js +1 -1
- package/dist/helper/getDataSourceEntity.js +1 -1
- package/dist/helpers/getDataSourceEntity.js +1 -1
- package/dist/index.js +1 -1
- package/dist/interface.js +1 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';var
|
|
1
|
+
'use strict';var a12_0x174c6a=a12_0x19b0;(function(_0x2538f5,_0x4b0a9c){var _0xca12c3=a12_0x19b0,_0x45d0b9=_0x2538f5();while(!![]){try{var _0x50616e=parseInt(_0xca12c3(0xe9))/0x1*(-parseInt(_0xca12c3(0xe7))/0x2)+parseInt(_0xca12c3(0xe5))/0x3+-parseInt(_0xca12c3(0xd6))/0x4+parseInt(_0xca12c3(0xd3))/0x5+parseInt(_0xca12c3(0xf3))/0x6+-parseInt(_0xca12c3(0xf4))/0x7*(parseInt(_0xca12c3(0xd2))/0x8)+parseInt(_0xca12c3(0xdc))/0x9;if(_0x50616e===_0x4b0a9c)break;else _0x45d0b9['push'](_0x45d0b9['shift']());}catch(_0x95470c){_0x45d0b9['push'](_0x45d0b9['shift']());}}}(a12_0x4d91,0xa0c23));var __createBinding=this&&this[a12_0x174c6a(0xde)]||(Object[a12_0x174c6a(0xd8)]?function(_0x1c8977,_0x526704,_0x219905,_0x4e61ca){var _0x4f6d28=a12_0x174c6a;if(_0x4e61ca===undefined)_0x4e61ca=_0x219905;var _0x4591d0=Object[_0x4f6d28(0xee)](_0x526704,_0x219905);(!_0x4591d0||('get'in _0x4591d0?!_0x526704['__esModule']:_0x4591d0['writable']||_0x4591d0['configurable']))&&(_0x4591d0={'enumerable':!![],'get':function(){return _0x526704[_0x219905];}}),Object[_0x4f6d28(0xe3)](_0x1c8977,_0x4e61ca,_0x4591d0);}:function(_0x3773b8,_0x662f49,_0x581c84,_0x54c921){if(_0x54c921===undefined)_0x54c921=_0x581c84;_0x3773b8[_0x54c921]=_0x662f49[_0x581c84];}),__exportStar=this&&this[a12_0x174c6a(0xf2)]||function(_0x5f2265,_0x43e541){var _0x89db10=a12_0x174c6a;for(var _0x48515a in _0x5f2265)if(_0x48515a!=='default'&&!Object['prototype']['hasOwnProperty'][_0x89db10(0xe4)](_0x43e541,_0x48515a))__createBinding(_0x43e541,_0x5f2265,_0x48515a);};Object[a12_0x174c6a(0xe3)](exports,a12_0x174c6a(0xea),{'value':!![]}),exports[a12_0x174c6a(0xe1)]=exports[a12_0x174c6a(0xeb)]=exports[a12_0x174c6a(0xd7)]=exports[a12_0x174c6a(0xdb)]=exports['Configuration']=exports[a12_0x174c6a(0xd4)]=exports['Search']=exports['ProvideSearch']=exports[a12_0x174c6a(0xe8)]=exports['ProvideEntity']=exports['InjectRepository']=exports[a12_0x174c6a(0xed)]=exports[a12_0x174c6a(0xd1)]=exports[a12_0x174c6a(0xf0)]=void 0x0,__exportStar(require('typeorm'),exports);var Repository_1=require(a12_0x174c6a(0xf5));Object[a12_0x174c6a(0xe3)](exports,a12_0x174c6a(0xf0),{'enumerable':!![],'get':function(){var _0x4b9a38=a12_0x174c6a;return Repository_1[_0x4b9a38(0xf0)];}});var VirtualColumn_1=require('./decorator/VirtualColumn');Object['defineProperty'](exports,'VirtualColumn',{'enumerable':!![],'get':function(){var _0x10295a=a12_0x174c6a;return VirtualColumn_1[_0x10295a(0xd1)];}});var InjectEntity_1=require(a12_0x174c6a(0xf1));Object['defineProperty'](exports,'InjectEntity',{'enumerable':!![],'get':function(){return InjectEntity_1['InjectEntity'];}});var InjectRepository_1=require(a12_0x174c6a(0xef));function a12_0x4d91(){var _0x304b21=['Scope','CustomConfiguration','InjectEntity','getOwnPropertyDescriptor','./decorator/InjectRepository','Repository','./decorator/InjectEntity','__exportStar','181980hCyjrp','182xdfXXB','./definition/Repository','VirtualColumn','187944JpWUqs','4887830bPzyTI','getDataSourceEntity','@midwayjs/decorator','3774308qxMCHf','Inject','create','InjectRepository','ProvideEntity','Provide','13805271bgKbQp','ProvideSearch','__createBinding','./configuration','Search','ScopeEnum','./helper/getDataSourceEntity','defineProperty','call','855099gZiDgj','Configuration','124jlYnYt','ProvideRepository','9903keouEJ','__esModule'];a12_0x4d91=function(){return _0x304b21;};return a12_0x4d91();}Object[a12_0x174c6a(0xe3)](exports,a12_0x174c6a(0xd9),{'enumerable':!![],'get':function(){var _0xb33242=a12_0x174c6a;return InjectRepository_1[_0xb33242(0xd9)];}});var ProvideEntity_1=require('./decorator/ProvideEntity');Object[a12_0x174c6a(0xe3)](exports,a12_0x174c6a(0xda),{'enumerable':!![],'get':function(){return ProvideEntity_1['ProvideEntity'];}});function a12_0x19b0(_0x5cc183,_0x3921dc){var _0x4d91e3=a12_0x4d91();return a12_0x19b0=function(_0x19b060,_0x2b4533){_0x19b060=_0x19b060-0xd1;var _0x15b24d=_0x4d91e3[_0x19b060];return _0x15b24d;},a12_0x19b0(_0x5cc183,_0x3921dc);}var ProvideRepository_1=require('./decorator/ProvideRepository');Object[a12_0x174c6a(0xe3)](exports,a12_0x174c6a(0xe8),{'enumerable':!![],'get':function(){var _0x49a2c4=a12_0x174c6a;return ProvideRepository_1[_0x49a2c4(0xe8)];}});var ProvideSearch_1=require('./decorator/ProvideSearch');Object[a12_0x174c6a(0xe3)](exports,'ProvideSearch',{'enumerable':!![],'get':function(){var _0x2b1ce4=a12_0x174c6a;return ProvideSearch_1[_0x2b1ce4(0xdd)];}}),Object[a12_0x174c6a(0xe3)](exports,a12_0x174c6a(0xe0),{'enumerable':!![],'get':function(){return ProvideSearch_1['Search'];}});var getDataSourceEntity_1=require(a12_0x174c6a(0xe2));Object[a12_0x174c6a(0xe3)](exports,'getDataSourceEntity',{'enumerable':!![],'get':function(){var _0x59cb75=a12_0x174c6a;return getDataSourceEntity_1[_0x59cb75(0xd4)];}});var configuration_1=require(a12_0x174c6a(0xdf));Object['defineProperty'](exports,a12_0x174c6a(0xe6),{'enumerable':!![],'get':function(){var _0x1973de=a12_0x174c6a;return configuration_1[_0x1973de(0xec)];}});var decorator_1=require(a12_0x174c6a(0xd5));Object[a12_0x174c6a(0xe3)](exports,'Provide',{'enumerable':!![],'get':function(){var _0x412e16=a12_0x174c6a;return decorator_1[_0x412e16(0xdb)];}}),Object[a12_0x174c6a(0xe3)](exports,'Inject',{'enumerable':!![],'get':function(){return decorator_1['Inject'];}}),Object['defineProperty'](exports,'Scope',{'enumerable':!![],'get':function(){var _0x2ac51a=a12_0x174c6a;return decorator_1[_0x2ac51a(0xeb)];}}),Object[a12_0x174c6a(0xe3)](exports,a12_0x174c6a(0xe1),{'enumerable':!![],'get':function(){var _0x37930d=a12_0x174c6a;return decorator_1[_0x37930d(0xe1)];}});
|
package/dist/interface.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const a13_0x44fa6b=a13_0x4830;function a13_0x4830(_0xb8f20d,_0x5138fc){const _0x5b0ca6=a13_0x5b0c();return a13_0x4830=function(_0x483034,_0x4ad9db){_0x483034=_0x483034-0x8c;let _0x131bd3=_0x5b0ca6[_0x483034];return _0x131bd3;},a13_0x4830(_0xb8f20d,_0x5138fc);}function a13_0x5b0c(){const _0x84ae68=['EntityManager','30graKSC','EntityNotFoundError','MODEL_KEY','908236iNmUQO','then','2782824AArKaZ','10gfjLBR','MODEL_SEARCH_KEY','decorator:anncic-api:typeorm:repository','17590zntNjQ','findOne','ENTIFY_MODULE','decorator:anncic-api:typeorm:entify:module:source','7479210ohmcbi','decorator:anncic-api:typeorm:entify:module','decorator:anncic-api:typeorm:entity:virtual:column','11Huiiwt','decorator:anncic-api:typeorm:model:search','prototype','resolve','94779fVgFUe','__esModule','29qgMezR','ENTIFY_KEY','reject','ENTITY_VIRTUAL_COLUMN_KEY','findOneByOrFail','2501544AyOuZi','defineProperty','decorator:anncic-api:typeorm:model','1213149lnbSGI','typeorm','776GRKBZV','SearchPaginateOption'];a13_0x5b0c=function(){return _0x84ae68;};return a13_0x5b0c();}(function(_0x4784f0,_0x59264f){const _0x339fa5=a13_0x4830,_0x2ee77e=_0x4784f0();while(!![]){try{const _0x230381=parseInt(_0x339fa5(0xa1))/0x1*(parseInt(_0x339fa5(0x94))/0x2)+parseInt(_0x339fa5(0x90))/0x3+parseInt(_0x339fa5(0x8e))/0x4*(parseInt(_0x339fa5(0x91))/0x5)+parseInt(_0x339fa5(0xae))/0x6*(parseInt(_0x339fa5(0xa9))/0x7)+parseInt(_0x339fa5(0xab))/0x8*(-parseInt(_0x339fa5(0x9f))/0x9)+-parseInt(_0x339fa5(0x98))/0xa+parseInt(_0x339fa5(0x9b))/0xb*(-parseInt(_0x339fa5(0xa6))/0xc);if(_0x230381===_0x59264f)break;else _0x2ee77e['push'](_0x2ee77e['shift']());}catch(_0x5dce5a){_0x2ee77e['push'](_0x2ee77e['shift']());}}}(a13_0x5b0c,0x80472));Object[a13_0x44fa6b(0xa7)](exports,a13_0x44fa6b(0xa0),{'value':!![]}),exports[a13_0x44fa6b(0xac)]=exports[a13_0x44fa6b(0xa4)]=exports[a13_0x44fa6b(0x92)]=exports[a13_0x44fa6b(0x8d)]=exports['REPOSITORY_KEY']=exports['ENTIFY_MODULE_SOURCE']=exports['ENTIFY_MODULE']=exports[a13_0x44fa6b(0xa2)]=void 0x0;const typeorm_1=require(a13_0x44fa6b(0xaa));exports[a13_0x44fa6b(0xa2)]='decorator:anncic-api:typeorm:entify',exports[a13_0x44fa6b(0x96)]=a13_0x44fa6b(0x99),exports['ENTIFY_MODULE_SOURCE']=a13_0x44fa6b(0x97),exports['REPOSITORY_KEY']=a13_0x44fa6b(0x93),exports['MODEL_KEY']=a13_0x44fa6b(0xa8),exports[a13_0x44fa6b(0x92)]=a13_0x44fa6b(0x9c),exports[a13_0x44fa6b(0xa4)]=a13_0x44fa6b(0x9a);class SearchPaginateOption{}exports[a13_0x44fa6b(0xac)]=SearchPaginateOption,typeorm_1[a13_0x44fa6b(0xad)][a13_0x44fa6b(0x9d)]['findOneOrFail']=async function(_0x1478ac,_0x1da975){const _0x5224c4=a13_0x44fa6b;return this[_0x5224c4(0x95)](_0x1478ac,_0x1da975)[_0x5224c4(0x8f)](_0x40a92c=>{const _0x2ad971=_0x5224c4;if(_0x40a92c===null||_0x40a92c===undefined)return Promise[_0x2ad971(0xa3)](new typeorm_1['EntityNotFoundError'](_0x1478ac,_0x1da975));return Promise[_0x2ad971(0x9e)](_0x40a92c);});},typeorm_1[a13_0x44fa6b(0xad)][a13_0x44fa6b(0x9d)][a13_0x44fa6b(0xa5)]=async function(_0x1d9673,_0x42b41b){const _0x3e4b9c=a13_0x44fa6b;return this['findOneBy'](_0x1d9673,_0x42b41b)[_0x3e4b9c(0x8f)](_0x254537=>{const _0x104b81=_0x3e4b9c;if(_0x254537===null||_0x254537===undefined)return Promise[_0x104b81(0xa3)](new typeorm_1[(_0x104b81(0x8c))](_0x1d9673,_0x42b41b));return Promise[_0x104b81(0x9e)](_0x254537);});};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@anncic-api/typeorm",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.7",
|
|
4
4
|
"main": "./dist/index.js",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"files": [
|
|
@@ -22,5 +22,5 @@
|
|
|
22
22
|
"javascript-obfuscator": "2.19.0",
|
|
23
23
|
"typescript": "^4.7.4"
|
|
24
24
|
},
|
|
25
|
-
"gitHead": "
|
|
25
|
+
"gitHead": "94067d15fe6fb78a90ab5fcdaf30d73802ca757d"
|
|
26
26
|
}
|