@anncic-api/typeorm 1.0.8 → 1.0.9
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_0x57780d=a12_0x2a0c;(function(_0x2eda74,_0x5b0c5f){var _0x35bb97=a12_0x2a0c,_0x5b6519=_0x2eda74();while(!![]){try{var _0x4ea96f=-parseInt(_0x35bb97(0x128))/0x1*(-parseInt(_0x35bb97(0x133))/0x2)+parseInt(_0x35bb97(0x124))/0x3*(-parseInt(_0x35bb97(0x145))/0x4)+-parseInt(_0x35bb97(0x14f))/0x5*(parseInt(_0x35bb97(0x14d))/0x6)+-parseInt(_0x35bb97(0x13c))/0x7+parseInt(_0x35bb97(0x138))/0x8*(-parseInt(_0x35bb97(0x144))/0x9)+parseInt(_0x35bb97(0x14e))/0xa*(-parseInt(_0x35bb97(0x143))/0xb)+parseInt(_0x35bb97(0x130))/0xc*(parseInt(_0x35bb97(0x14b))/0xd);if(_0x4ea96f===_0x5b0c5f)break;else _0x5b6519['push'](_0x5b6519['shift']());}catch(_0x11ffd5){_0x5b6519['push'](_0x5b6519['shift']());}}}(a12_0x11ff,0xd36af));var __createBinding=this&&this['__createBinding']||(Object[a12_0x57780d(0x14c)]?function(_0x9e68fc,_0x3c6c46,_0x83c533,_0x48619c){var _0x468c5c=a12_0x57780d;if(_0x48619c===undefined)_0x48619c=_0x83c533;var _0x3a9c26=Object[_0x468c5c(0x142)](_0x3c6c46,_0x83c533);(!_0x3a9c26||('get'in _0x3a9c26?!_0x3c6c46[_0x468c5c(0x12b)]:_0x3a9c26[_0x468c5c(0x135)]||_0x3a9c26[_0x468c5c(0x150)]))&&(_0x3a9c26={'enumerable':!![],'get':function(){return _0x3c6c46[_0x83c533];}}),Object['defineProperty'](_0x9e68fc,_0x48619c,_0x3a9c26);}:function(_0x2440d1,_0x56a46e,_0x250674,_0x452623){if(_0x452623===undefined)_0x452623=_0x250674;_0x2440d1[_0x452623]=_0x56a46e[_0x250674];}),__exportStar=this&&this[a12_0x57780d(0x126)]||function(_0x2d2148,_0x1448fe){var _0x5b0444=a12_0x57780d;for(var _0x5c1d23 in _0x2d2148)if(_0x5c1d23!==_0x5b0444(0x131)&&!Object['prototype'][_0x5b0444(0x14a)]['call'](_0x1448fe,_0x5c1d23))__createBinding(_0x1448fe,_0x2d2148,_0x5c1d23);};Object[a12_0x57780d(0x12a)](exports,a12_0x57780d(0x12b),{'value':!![]}),exports[a12_0x57780d(0x140)]=exports[a12_0x57780d(0x139)]=exports[a12_0x57780d(0x146)]=exports['Provide']=exports[a12_0x57780d(0x13f)]=exports[a12_0x57780d(0x12d)]=exports[a12_0x57780d(0x148)]=exports[a12_0x57780d(0x13e)]=exports['ProvideRepository']=exports[a12_0x57780d(0x129)]=exports['InjectRepository']=exports['InjectEntity']=exports[a12_0x57780d(0x13a)]=exports[a12_0x57780d(0x149)]=void 0x0,__exportStar(require(a12_0x57780d(0x12c)),exports);var Repository_1=require('./definition/Repository');Object['defineProperty'](exports,a12_0x57780d(0x149),{'enumerable':!![],'get':function(){var _0x403d16=a12_0x57780d;return Repository_1[_0x403d16(0x149)];}});var VirtualColumn_1=require(a12_0x57780d(0x136));Object[a12_0x57780d(0x12a)](exports,a12_0x57780d(0x13a),{'enumerable':!![],'get':function(){var _0x4cf29f=a12_0x57780d;return VirtualColumn_1[_0x4cf29f(0x13a)];}});var InjectEntity_1=require(a12_0x57780d(0x137));Object[a12_0x57780d(0x12a)](exports,a12_0x57780d(0x134),{'enumerable':!![],'get':function(){var _0x328d72=a12_0x57780d;return InjectEntity_1[_0x328d72(0x134)];}});var InjectRepository_1=require(a12_0x57780d(0x12e));Object['defineProperty'](exports,a12_0x57780d(0x141),{'enumerable':!![],'get':function(){var _0x2a58b8=a12_0x57780d;return InjectRepository_1[_0x2a58b8(0x141)];}});var ProvideEntity_1=require(a12_0x57780d(0x132));Object[a12_0x57780d(0x12a)](exports,a12_0x57780d(0x129),{'enumerable':!![],'get':function(){var _0x5357e2=a12_0x57780d;return ProvideEntity_1[_0x5357e2(0x129)];}});var ProvideRepository_1=require('./decorator/ProvideRepository');Object['defineProperty'](exports,a12_0x57780d(0x13b),{'enumerable':!![],'get':function(){var _0x482912=a12_0x57780d;return ProvideRepository_1[_0x482912(0x13b)];}});var ProvideSearch_1=require('./decorator/ProvideSearch');Object[a12_0x57780d(0x12a)](exports,'ProvideSearch',{'enumerable':!![],'get':function(){var _0x2ba704=a12_0x57780d;return ProvideSearch_1[_0x2ba704(0x13e)];}}),Object[a12_0x57780d(0x12a)](exports,'Search',{'enumerable':!![],'get':function(){var _0x5fb958=a12_0x57780d;return ProvideSearch_1[_0x5fb958(0x148)];}});var getDataSourceEntity_1=require(a12_0x57780d(0x127));Object['defineProperty'](exports,a12_0x57780d(0x12d),{'enumerable':!![],'get':function(){var _0x2aa054=a12_0x57780d;return getDataSourceEntity_1[_0x2aa054(0x12d)];}});var configuration_1=require(a12_0x57780d(0x125));Object[a12_0x57780d(0x12a)](exports,a12_0x57780d(0x13f),{'enumerable':!![],'get':function(){var _0x18a66f=a12_0x57780d;return configuration_1[_0x18a66f(0x13d)];}});var decorator_1=require(a12_0x57780d(0x12f));Object['defineProperty'](exports,a12_0x57780d(0x147),{'enumerable':!![],'get':function(){return decorator_1['Provide'];}}),Object[a12_0x57780d(0x12a)](exports,a12_0x57780d(0x146),{'enumerable':!![],'get':function(){return decorator_1['Inject'];}}),Object['defineProperty'](exports,a12_0x57780d(0x139),{'enumerable':!![],'get':function(){var _0x57073f=a12_0x57780d;return decorator_1[_0x57073f(0x139)];}}),Object[a12_0x57780d(0x12a)](exports,a12_0x57780d(0x140),{'enumerable':!![],'get':function(){return decorator_1['ScopeEnum'];}});function a12_0x2a0c(_0x309908,_0x52f4d4){var _0x11ff62=a12_0x11ff();return a12_0x2a0c=function(_0x2a0ccf,_0x3b01d1){_0x2a0ccf=_0x2a0ccf-0x124;var _0x3e7895=_0x11ff62[_0x2a0ccf];return _0x3e7895;},a12_0x2a0c(_0x309908,_0x52f4d4);}function a12_0x11ff(){var _0x1cdc79=['./decorator/ProvideEntity','485866ltkbhx','InjectEntity','writable','./decorator/VirtualColumn','./decorator/InjectEntity','415288wAVDzT','Scope','VirtualColumn','ProvideRepository','7515914TuLWqr','CustomConfiguration','ProvideSearch','Configuration','ScopeEnum','InjectRepository','getOwnPropertyDescriptor','880286SIUrGP','189kLlXbW','1445380mzQyZM','Inject','Provide','Search','Repository','hasOwnProperty','26mziSiO','create','5075016bmgzOG','170SAmOJb','10JHRwHk','configurable','3YJmCPz','./configuration','__exportStar','./helper/getDataSourceEntity','5RrhSIP','ProvideEntity','defineProperty','__esModule','typeorm','getDataSourceEntity','./decorator/InjectRepository','@midwayjs/decorator','31371564jXKcez','default'];a12_0x11ff=function(){return _0x1cdc79;};return a12_0x11ff();}
|
package/dist/interface.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const a13_0x1898b6=a13_0x4bb1;(function(_0x538006,_0x47a254){const _0x7a3890=a13_0x4bb1,_0x2ea006=_0x538006();while(!![]){try{const _0x164125=parseInt(_0x7a3890(0xd2))/0x1+-parseInt(_0x7a3890(0xc8))/0x2+parseInt(_0x7a3890(0xd5))/0x3*(-parseInt(_0x7a3890(0xd0))/0x4)+-parseInt(_0x7a3890(0xd4))/0x5*(parseInt(_0x7a3890(0xdf))/0x6)+-parseInt(_0x7a3890(0xdb))/0x7*(parseInt(_0x7a3890(0xda))/0x8)+parseInt(_0x7a3890(0xe4))/0x9+-parseInt(_0x7a3890(0xcf))/0xa*(-parseInt(_0x7a3890(0xd8))/0xb);if(_0x164125===_0x47a254)break;else _0x2ea006['push'](_0x2ea006['shift']());}catch(_0x3aa0c7){_0x2ea006['push'](_0x2ea006['shift']());}}}(a13_0x5572,0xc7e0b));function a13_0x5572(){const _0x4e62a9=['decorator:anncic-api:typeorm:model:search','1145784VGxlRe','49NkFHXp','MODEL_KEY','REPOSITORY_KEY','decorator:anncic-api:typeorm:entify:module:source','366nvMrIK','decorator:anncic-api:typeorm:repository','findOneByOrFail','decorator:anncic-api:typeorm:model','EntityManager','10221705rCWLHO','EntityNotFoundError','decorator:anncic-api:typeorm:entify','then','prototype','findOneBy','resolve','2712426KCvpyN','__esModule','typeorm','SearchPaginateOption','ENTIFY_MODULE_SOURCE','MODEL_SEARCH_KEY','defineProperty','19070hmJvRq','14468BZGKIy','decorator:anncic-api:typeorm:entity:virtual:column','413265oTezff','ENTIFY_KEY','86270tsctdo','954YsCadM','ENTITY_VIRTUAL_COLUMN_KEY','ENTIFY_MODULE','22099shzzyH'];a13_0x5572=function(){return _0x4e62a9;};return a13_0x5572();}function a13_0x4bb1(_0x177f41,_0x5452c1){const _0x5572d0=a13_0x5572();return a13_0x4bb1=function(_0x4bb17e,_0x367151){_0x4bb17e=_0x4bb17e-0xc5;let _0x13de73=_0x5572d0[_0x4bb17e];return _0x13de73;},a13_0x4bb1(_0x177f41,_0x5452c1);}Object[a13_0x1898b6(0xce)](exports,a13_0x1898b6(0xc9),{'value':!![]}),exports[a13_0x1898b6(0xcb)]=exports[a13_0x1898b6(0xd6)]=exports['MODEL_SEARCH_KEY']=exports[a13_0x1898b6(0xdc)]=exports[a13_0x1898b6(0xdd)]=exports['ENTIFY_MODULE_SOURCE']=exports[a13_0x1898b6(0xd7)]=exports[a13_0x1898b6(0xd3)]=void 0x0;const typeorm_1=require(a13_0x1898b6(0xca));exports['ENTIFY_KEY']=a13_0x1898b6(0xe6),exports[a13_0x1898b6(0xd7)]='decorator:anncic-api:typeorm:entify:module',exports[a13_0x1898b6(0xcc)]=a13_0x1898b6(0xde),exports[a13_0x1898b6(0xdd)]=a13_0x1898b6(0xe0),exports['MODEL_KEY']=a13_0x1898b6(0xe2),exports[a13_0x1898b6(0xcd)]=a13_0x1898b6(0xd9),exports['ENTITY_VIRTUAL_COLUMN_KEY']=a13_0x1898b6(0xd1);class SearchPaginateOption{}exports[a13_0x1898b6(0xcb)]=SearchPaginateOption,typeorm_1[a13_0x1898b6(0xe3)][a13_0x1898b6(0xc5)]['findOneOrFail']=async function(_0x156b06,_0x20294a){const _0x47f953=a13_0x1898b6;return this['findOne'](_0x156b06,_0x20294a)[_0x47f953(0xe7)](_0x555753=>{const _0x300a82=_0x47f953;if(_0x555753===null||_0x555753===undefined)return Promise['reject'](new typeorm_1['EntityNotFoundError'](_0x156b06,_0x20294a));return Promise[_0x300a82(0xc7)](_0x555753);});},typeorm_1[a13_0x1898b6(0xe3)][a13_0x1898b6(0xc5)][a13_0x1898b6(0xe1)]=async function(_0x129743,_0x31e530){const _0x2b2fcb=a13_0x1898b6;return this[_0x2b2fcb(0xc6)](_0x129743,_0x31e530)[_0x2b2fcb(0xe7)](_0x4c5267=>{const _0x37baaf=_0x2b2fcb;if(_0x4c5267===null||_0x4c5267===undefined)return Promise['reject'](new typeorm_1[(_0x37baaf(0xe5))](_0x129743,_0x31e530));return Promise[_0x37baaf(0xc7)](_0x4c5267);});};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@anncic-api/typeorm",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.9",
|
|
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": "e9a1936ecfabbe4832b34e7708e64ac3e0425924"
|
|
26
26
|
}
|