@anncic-api/typeorm 1.0.12 → 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/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_0x5dec9c=a12_0x3e8b;(function(_0x30e6d9,_0x3ccbff){var _0x15c27c=a12_0x3e8b,_0x207222=_0x30e6d9();while(!![]){try{var _0x5608aa=parseInt(_0x15c27c(0x8e))/0x1*(-parseInt(_0x15c27c(0x83))/0x2)+parseInt(_0x15c27c(0x92))/0x3*(parseInt(_0x15c27c(0x87))/0x4)+-parseInt(_0x15c27c(0x9a))/0x5+parseInt(_0x15c27c(0x8b))/0x6*(-parseInt(_0x15c27c(0x8d))/0x7)+parseInt(_0x15c27c(0x7d))/0x8*(-parseInt(_0x15c27c(0x78))/0x9)+parseInt(_0x15c27c(0x8c))/0xa*(parseInt(_0x15c27c(0x81))/0xb)+parseInt(_0x15c27c(0x7b))/0xc*(parseInt(_0x15c27c(0x94))/0xd);if(_0x5608aa===_0x3ccbff)break;else _0x207222['push'](_0x207222['shift']());}catch(_0x1aa299){_0x207222['push'](_0x207222['shift']());}}}(a12_0x493c,0xb2206));var __createBinding=this&&this[a12_0x5dec9c(0x85)]||(Object[a12_0x5dec9c(0x89)]?function(_0x13f8bf,_0x303363,_0x19224a,_0x2c6caf){var _0x35fb64=a12_0x5dec9c;if(_0x2c6caf===undefined)_0x2c6caf=_0x19224a;var _0x123f5a=Object[_0x35fb64(0x8f)](_0x303363,_0x19224a);(!_0x123f5a||(_0x35fb64(0x75)in _0x123f5a?!_0x303363[_0x35fb64(0x77)]:_0x123f5a[_0x35fb64(0x79)]||_0x123f5a[_0x35fb64(0x90)]))&&(_0x123f5a={'enumerable':!![],'get':function(){return _0x303363[_0x19224a];}}),Object[_0x35fb64(0x86)](_0x13f8bf,_0x2c6caf,_0x123f5a);}:function(_0x15f002,_0x43dfd0,_0x16973a,_0x9151c2){if(_0x9151c2===undefined)_0x9151c2=_0x16973a;_0x15f002[_0x9151c2]=_0x43dfd0[_0x16973a];}),__exportStar=this&&this['__exportStar']||function(_0x4b63ec,_0x537745){var _0x1b2eaa=a12_0x5dec9c;for(var _0x4f1c4e in _0x4b63ec)if(_0x4f1c4e!==_0x1b2eaa(0x8a)&&!Object['prototype'][_0x1b2eaa(0x76)][_0x1b2eaa(0x84)](_0x537745,_0x4f1c4e))__createBinding(_0x537745,_0x4b63ec,_0x4f1c4e);};Object[a12_0x5dec9c(0x86)](exports,a12_0x5dec9c(0x77),{'value':!![]}),exports[a12_0x5dec9c(0x96)]=exports['Scope']=exports[a12_0x5dec9c(0x82)]=exports[a12_0x5dec9c(0x97)]=exports[a12_0x5dec9c(0x95)]=exports[a12_0x5dec9c(0x7e)]=exports[a12_0x5dec9c(0x9c)]=exports[a12_0x5dec9c(0x9d)]=exports['ProvideRepository']=exports[a12_0x5dec9c(0x7f)]=exports['InjectRepository']=exports[a12_0x5dec9c(0x80)]=exports['VirtualColumn']=exports[a12_0x5dec9c(0x7c)]=void 0x0,__exportStar(require(a12_0x5dec9c(0x93)),exports);var Repository_1=require('./definition/Repository');Object[a12_0x5dec9c(0x86)](exports,'Repository',{'enumerable':!![],'get':function(){var _0xf9c47e=a12_0x5dec9c;return Repository_1[_0xf9c47e(0x7c)];}});var VirtualColumn_1=require('./decorator/VirtualColumn');Object[a12_0x5dec9c(0x86)](exports,a12_0x5dec9c(0x7a),{'enumerable':!![],'get':function(){var _0x1f793b=a12_0x5dec9c;return VirtualColumn_1[_0x1f793b(0x7a)];}});var InjectEntity_1=require(a12_0x5dec9c(0x9e));Object[a12_0x5dec9c(0x86)](exports,a12_0x5dec9c(0x80),{'enumerable':!![],'get':function(){var _0x5a0a3a=a12_0x5dec9c;return InjectEntity_1[_0x5a0a3a(0x80)];}});function a12_0x493c(){var _0x416762=['./decorator/ProvideEntity','5267765ojHpWb','ProvideRepository','Search','ProvideSearch','./decorator/InjectEntity','./configuration','InjectRepository','get','hasOwnProperty','__esModule','9rtMNul','writable','VirtualColumn','368868bflywG','Repository','388536sGDGas','getDataSourceEntity','ProvideEntity','InjectEntity','1150666tMOSMK','Inject','269268MefYQG','call','__createBinding','defineProperty','60276cXnWPJ','./decorator/InjectRepository','create','default','376284DmYLKw','120MqeWWf','42yFGnRW','1cnQWYE','getOwnPropertyDescriptor','configurable','./helper/getDataSourceEntity','192BUkYxE','typeorm','52ZvrNDB','Configuration','ScopeEnum','Provide','CustomConfiguration'];a12_0x493c=function(){return _0x416762;};return a12_0x493c();}var InjectRepository_1=require(a12_0x5dec9c(0x88));function a12_0x3e8b(_0x33d317,_0xdcdd12){var _0x493c1f=a12_0x493c();return a12_0x3e8b=function(_0x3e8baa,_0x12f33d){_0x3e8baa=_0x3e8baa-0x74;var _0x1fe449=_0x493c1f[_0x3e8baa];return _0x1fe449;},a12_0x3e8b(_0x33d317,_0xdcdd12);}Object[a12_0x5dec9c(0x86)](exports,a12_0x5dec9c(0x74),{'enumerable':!![],'get':function(){return InjectRepository_1['InjectRepository'];}});var ProvideEntity_1=require(a12_0x5dec9c(0x99));Object[a12_0x5dec9c(0x86)](exports,'ProvideEntity',{'enumerable':!![],'get':function(){var _0x389ad4=a12_0x5dec9c;return ProvideEntity_1[_0x389ad4(0x7f)];}});var ProvideRepository_1=require('./decorator/ProvideRepository');Object[a12_0x5dec9c(0x86)](exports,a12_0x5dec9c(0x9b),{'enumerable':!![],'get':function(){return ProvideRepository_1['ProvideRepository'];}});var ProvideSearch_1=require('./decorator/ProvideSearch');Object[a12_0x5dec9c(0x86)](exports,a12_0x5dec9c(0x9d),{'enumerable':!![],'get':function(){return ProvideSearch_1['ProvideSearch'];}}),Object[a12_0x5dec9c(0x86)](exports,a12_0x5dec9c(0x9c),{'enumerable':!![],'get':function(){var _0x1e82b4=a12_0x5dec9c;return ProvideSearch_1[_0x1e82b4(0x9c)];}});var getDataSourceEntity_1=require(a12_0x5dec9c(0x91));Object[a12_0x5dec9c(0x86)](exports,a12_0x5dec9c(0x7e),{'enumerable':!![],'get':function(){var _0x54d62=a12_0x5dec9c;return getDataSourceEntity_1[_0x54d62(0x7e)];}});var configuration_1=require(a12_0x5dec9c(0x9f));Object[a12_0x5dec9c(0x86)](exports,a12_0x5dec9c(0x95),{'enumerable':!![],'get':function(){var _0x3c2969=a12_0x5dec9c;return configuration_1[_0x3c2969(0x98)];}});var decorator_1=require('@midwayjs/decorator');Object[a12_0x5dec9c(0x86)](exports,a12_0x5dec9c(0x97),{'enumerable':!![],'get':function(){var _0x573fb9=a12_0x5dec9c;return decorator_1[_0x573fb9(0x97)];}}),Object[a12_0x5dec9c(0x86)](exports,'Inject',{'enumerable':!![],'get':function(){var _0x4b07f7=a12_0x5dec9c;return decorator_1[_0x4b07f7(0x82)];}}),Object[a12_0x5dec9c(0x86)](exports,'Scope',{'enumerable':!![],'get':function(){return decorator_1['Scope'];}}),Object[a12_0x5dec9c(0x86)](exports,a12_0x5dec9c(0x96),{'enumerable':!![],'get':function(){var _0x438afc=a12_0x5dec9c;return decorator_1[_0x438afc(0x96)];}});
|
package/dist/interface.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const a13_0x79efbe=a13_0x3843;function a13_0x3843(_0x63ab21,_0x42cc21){const _0x1e1c64=a13_0x1e1c();return a13_0x3843=function(_0x3843ba,_0x80b04b){_0x3843ba=_0x3843ba-0x130;let _0x3f78ca=_0x1e1c64[_0x3843ba];return _0x3f78ca;},a13_0x3843(_0x63ab21,_0x42cc21);}(function(_0x6a0b14,_0x363350){const _0x486cac=a13_0x3843,_0x47c5e1=_0x6a0b14();while(!![]){try{const _0x54eb1d=parseInt(_0x486cac(0x130))/0x1*(parseInt(_0x486cac(0x139))/0x2)+parseInt(_0x486cac(0x131))/0x3*(-parseInt(_0x486cac(0x142))/0x4)+-parseInt(_0x486cac(0x132))/0x5*(-parseInt(_0x486cac(0x145))/0x6)+parseInt(_0x486cac(0x141))/0x7*(-parseInt(_0x486cac(0x135))/0x8)+parseInt(_0x486cac(0x150))/0x9+-parseInt(_0x486cac(0x14b))/0xa+parseInt(_0x486cac(0x14a))/0xb;if(_0x54eb1d===_0x363350)break;else _0x47c5e1['push'](_0x47c5e1['shift']());}catch(_0x5628a0){_0x47c5e1['push'](_0x47c5e1['shift']());}}}(a13_0x1e1c,0x58634));Object[a13_0x79efbe(0x14f)](exports,'__esModule',{'value':!![]}),exports[a13_0x79efbe(0x137)]=exports[a13_0x79efbe(0x14e)]=exports[a13_0x79efbe(0x133)]=exports['MODEL_KEY']=exports[a13_0x79efbe(0x13b)]=exports[a13_0x79efbe(0x134)]=exports[a13_0x79efbe(0x152)]=exports['ENTIFY_KEY']=void 0x0;function a13_0x1e1c(){const _0x3c7593=['reject','154819tUJVFf','15820kTkpse','decorator:anncic-api:typeorm:model','EntityNotFoundError','462DEmYPF','ENTIFY_KEY','then','resolve','findOne','2706550FPzyFv','2004530SSJdhx','decorator:anncic-api:typeorm:entify','prototype','ENTITY_VIRTUAL_COLUMN_KEY','defineProperty','448848IoaDvG','findOneOrFail','ENTIFY_MODULE','163lttccG','141LadmaR','24230wAHZwn','MODEL_SEARCH_KEY','ENTIFY_MODULE_SOURCE','40THXreR','MODEL_KEY','SearchPaginateOption','EntityManager','2330wQpAeY','decorator:anncic-api:typeorm:model:search','REPOSITORY_KEY','typeorm','decorator:anncic-api:typeorm:entity:virtual:column','findOneBy','findOneByOrFail'];a13_0x1e1c=function(){return _0x3c7593;};return a13_0x1e1c();}const typeorm_1=require(a13_0x79efbe(0x13c));exports[a13_0x79efbe(0x146)]=a13_0x79efbe(0x14c),exports[a13_0x79efbe(0x152)]='decorator:anncic-api:typeorm:entify:module',exports[a13_0x79efbe(0x134)]='decorator:anncic-api:typeorm:entify:module:source',exports['REPOSITORY_KEY']='decorator:anncic-api:typeorm:repository',exports[a13_0x79efbe(0x136)]=a13_0x79efbe(0x143),exports[a13_0x79efbe(0x133)]=a13_0x79efbe(0x13a),exports['ENTITY_VIRTUAL_COLUMN_KEY']=a13_0x79efbe(0x13d);class SearchPaginateOption{}exports[a13_0x79efbe(0x137)]=SearchPaginateOption,typeorm_1[a13_0x79efbe(0x138)][a13_0x79efbe(0x14d)][a13_0x79efbe(0x151)]=async function(_0x601579,_0x4c7b9b){const _0x42f56d=a13_0x79efbe;return this[_0x42f56d(0x149)](_0x601579,_0x4c7b9b)[_0x42f56d(0x147)](_0x562f11=>{const _0x5702ef=_0x42f56d;if(_0x562f11===null||_0x562f11===undefined)return Promise[_0x5702ef(0x140)](new typeorm_1[(_0x5702ef(0x144))](_0x601579,_0x4c7b9b));return Promise[_0x5702ef(0x148)](_0x562f11);});},typeorm_1[a13_0x79efbe(0x138)][a13_0x79efbe(0x14d)][a13_0x79efbe(0x13f)]=async function(_0x34ae0f,_0xc1367f){const _0x233adf=a13_0x79efbe;return this[_0x233adf(0x13e)](_0x34ae0f,_0xc1367f)[_0x233adf(0x147)](_0x5d0764=>{const _0x3071e5=_0x233adf;if(_0x5d0764===null||_0x5d0764===undefined)return Promise[_0x3071e5(0x140)](new typeorm_1[(_0x3071e5(0x144))](_0x34ae0f,_0xc1367f));return Promise[_0x3071e5(0x148)](_0x5d0764);});};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@anncic-api/typeorm",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.13",
|
|
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": "c1ca9794b90a2dbe65a2f311e47780fcda32a795"
|
|
26
26
|
}
|