@anncic-api/core 1.0.8 → 1.0.12
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.js +1 -1
- package/dist/configuration.js +1 -1
- package/dist/decorator/AnnEnumMsg.d.ts +4 -4
- package/dist/decorator/AnnEnumMsg.js +1 -1
- package/dist/decorator/AnnErrorMsg.js +1 -1
- package/dist/exception/AnnError.js +1 -1
- package/dist/exception/AnnErrorRender.js +1 -1
- package/dist/exceptions/AnnError.js +1 -1
- package/dist/exceptions/AnnErrorRender.js +1 -1
- package/dist/helper/fileMd5.js +1 -1
- package/dist/helper/globDir.js +1 -1
- package/dist/helper/include.js +1 -1
- package/dist/helper/sleep.js +1 -1
- package/dist/index.js +1 -1
- package/index.d.ts +4 -6
- package/package.json +2 -2
package/dist/helper/fileMd5.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const a8_0x279789=a8_0xb3dd;function a8_0xf06c(){const _0x12ac87=['1088912mHuJEN','213016MzORDO','5284zMhVvz','117cngprr','digest','6373umdaeD','crypto','3402315hLQcsO','\x20is\x20not\x20file','update','md5','hex','data','bind','148xrQIsx','isFile','fileMd5','12701170wfXBmo','33JTxbOb','12wgBkjJ','stat','407290MZvMLk','end','defineProperty'];a8_0xf06c=function(){return _0x12ac87;};return a8_0xf06c();}(function(_0x168669,_0x38dadf){const _0x961ebc=a8_0xb3dd,_0x488cbc=_0x168669();while(!![]){try{const _0x300ae4=parseInt(_0x961ebc(0x110))/0x1*(-parseInt(_0x961ebc(0x119))/0x2)+-parseInt(_0x961ebc(0x11d))/0x3*(-parseInt(_0x961ebc(0x125))/0x4)+-parseInt(_0x961ebc(0x120))/0x5*(parseInt(_0x961ebc(0x11e))/0x6)+parseInt(_0x961ebc(0x112))/0x7+-parseInt(_0x961ebc(0x124))/0x8*(parseInt(_0x961ebc(0x10e))/0x9)+parseInt(_0x961ebc(0x11c))/0xa+-parseInt(_0x961ebc(0x123))/0xb;if(_0x300ae4===_0x38dadf)break;else _0x488cbc['push'](_0x488cbc['shift']());}catch(_0x2a228c){_0x488cbc['push'](_0x488cbc['shift']());}}}(a8_0xf06c,0xa8b58));function a8_0xb3dd(_0x151ddb,_0x40a841){const _0xf06c39=a8_0xf06c();return a8_0xb3dd=function(_0xb3dd68,_0x1989b0){_0xb3dd68=_0xb3dd68-0x10e;let _0x23e4e1=_0xf06c39[_0xb3dd68];return _0x23e4e1;},a8_0xb3dd(_0x151ddb,_0x40a841);}Object[a8_0x279789(0x122)](exports,'__esModule',{'value':!![]}),exports[a8_0x279789(0x11b)]=void 0x0;const fs=require('fs'),crypto=require(a8_0x279789(0x111));function fileMd5(_0x3b4490){return new Promise((_0x33ffdf,_0x14b456)=>{const _0x294ea5=a8_0xb3dd;fs[_0x294ea5(0x11f)](_0x3b4490,(_0x108c8a,_0x408e94)=>{const _0x54659a=_0x294ea5;if(_0x108c8a)return _0x14b456(_0x108c8a);if(!_0x408e94[_0x54659a(0x11a)]())return _0x14b456(new Error(_0x3b4490+_0x54659a(0x113)));const _0x24ae46=crypto['createHash'](_0x54659a(0x115)),_0x216882=fs['createReadStream'](_0x3b4490);_0x216882['on'](_0x54659a(0x117),_0x24ae46[_0x54659a(0x114)][_0x54659a(0x118)](_0x24ae46)),_0x216882['on']('error',_0x62dc39=>_0x14b456(_0x62dc39)),_0x216882['on'](_0x54659a(0x121),()=>_0x33ffdf(_0x24ae46[_0x54659a(0x10f)](_0x54659a(0x116))));});});}exports[a8_0x279789(0x11b)]=fileMd5;
|
package/dist/helper/globDir.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const a9_0x2b9c0f=a9_0x2a3d;(function(_0x42dcf7,_0x4055eb){const _0x4190c1=a9_0x2a3d,_0x59f4c0=_0x42dcf7();while(!![]){try{const _0x2cd1dd=parseInt(_0x4190c1(0xdb))/0x1+parseInt(_0x4190c1(0xd7))/0x2+parseInt(_0x4190c1(0xe0))/0x3+-parseInt(_0x4190c1(0xe4))/0x4*(-parseInt(_0x4190c1(0xcf))/0x5)+parseInt(_0x4190c1(0xde))/0x6*(-parseInt(_0x4190c1(0xd2))/0x7)+-parseInt(_0x4190c1(0xec))/0x8*(-parseInt(_0x4190c1(0xe8))/0x9)+-parseInt(_0x4190c1(0xeb))/0xa*(parseInt(_0x4190c1(0xe5))/0xb);if(_0x2cd1dd===_0x4055eb)break;else _0x59f4c0['push'](_0x59f4c0['shift']());}catch(_0x26f748){_0x59f4c0['push'](_0x59f4c0['shift']());}}}(a9_0x4167,0x841d5));Object[a9_0x2b9c0f(0xed)](exports,'__esModule',{'value':!![]}),exports[a9_0x2b9c0f(0xd6)]=void 0x0;const fs=require('fs'),path=require(a9_0x2b9c0f(0xe9));function a9_0x4167(){const _0x53501c=['3681OievqM','path','statSync','681110pFkGgF','4120MzalZL','defineProperty','filename','parent','1345785EzPCXc','__findModules','isAbsolute','335167MfiQoT','Can\x27t\x20Found\x20Module\x20','modules','test','globDir','1700790EUvBgI','join','keys','__findDirectory','110049gcIPjY','regExp','useSubdirectories','114tuVNWn','normalize','246126oiIGrw','push','isDirectory','readdirSync','8tJMagA','55VlTneF','parse','directory'];a9_0x4167=function(){return _0x53501c;};return a9_0x4167();}class RequireContext{constructor(_0x4a2520,_0x37da26,_0x49a83b){const _0x49bfec=a9_0x2b9c0f;this[_0x49bfec(0xd4)]=[],this[_0x49bfec(0xdc)]=_0x49a83b,this[_0x49bfec(0xdd)]=!!_0x37da26,this['directory']=this[_0x49bfec(0xda)](_0x4a2520),this[_0x49bfec(0xd0)](this[_0x49bfec(0xe7)]);}[a9_0x2b9c0f(0xda)](_0x14587c){const _0x311f6d=a9_0x2b9c0f;if(path[_0x311f6d(0xd1)](_0x14587c)||!module[_0x311f6d(0xce)])return _0x14587c;return path[_0x311f6d(0xdf)](path[_0x311f6d(0xd8)](path[_0x311f6d(0xe6)](module['parent'][_0x311f6d(0xee)])['dir'],_0x14587c));}['__findModules'](_0x4033e7){const _0x56cbf7=a9_0x2b9c0f;if(fs['existsSync'](_0x4033e7))fs[_0x56cbf7(0xe3)](_0x4033e7)['forEach'](_0x8cb351=>{const _0x33aaec=_0x56cbf7,_0x2069a0=path['resolve'](_0x4033e7,_0x8cb351);if(fs[_0x33aaec(0xea)](_0x2069a0)[_0x33aaec(0xe2)]()){if(this[_0x33aaec(0xdd)]){this[_0x33aaec(0xd0)](_0x2069a0);return;}}else{if(this['regExp']&&!this['regExp'][_0x33aaec(0xd5)](_0x2069a0))return;this[_0x33aaec(0xd4)][_0x33aaec(0xe1)](_0x2069a0);}});else throw new Error(_0x56cbf7(0xd3)+_0x4033e7);}}function a9_0x2a3d(_0x5f0630,_0x5897e2){const _0x4167b4=a9_0x4167();return a9_0x2a3d=function(_0x2a3d24,_0xcbbdd3){_0x2a3d24=_0x2a3d24-0xce;let _0x16c32c=_0x4167b4[_0x2a3d24];return _0x16c32c;},a9_0x2a3d(_0x5f0630,_0x5897e2);}function globDir(_0x5ba4c0='.',_0x1add9a=![],_0x5f5cfb=/(?:)/,_0x50f058){const _0x1ce383=a9_0x2b9c0f,_0x1840ea=new RequireContext(_0x5ba4c0,_0x1add9a,_0x5f5cfb);if(_0x50f058){const _0x1cf30e=_0x57413e=>fs['readFileSync'](_0x57413e,_0x50f058);return _0x1cf30e[_0x1ce383(0xd9)]=()=>[..._0x1840ea[_0x1ce383(0xd4)]],_0x1cf30e;}else{const _0x5606a5=_0x5ae0c5=>require(_0x5ae0c5);return _0x5606a5[_0x1ce383(0xd9)]=()=>[..._0x1840ea[_0x1ce383(0xd4)]],_0x5606a5;}}exports[a9_0x2b9c0f(0xd6)]=globDir;
|
package/dist/helper/include.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const a10_0xb47f22=a10_0x6676;(function(_0x1d97b9,_0xf1afff){const _0x3fa4c9=a10_0x6676,_0x510cba=_0x1d97b9();while(!![]){try{const _0x517143=parseInt(_0x3fa4c9(0x12d))/0x1+-parseInt(_0x3fa4c9(0x123))/0x2+parseInt(_0x3fa4c9(0x121))/0x3*(parseInt(_0x3fa4c9(0x128))/0x4)+parseInt(_0x3fa4c9(0x12f))/0x5*(-parseInt(_0x3fa4c9(0x132))/0x6)+-parseInt(_0x3fa4c9(0x12a))/0x7+-parseInt(_0x3fa4c9(0x127))/0x8+-parseInt(_0x3fa4c9(0x12c))/0x9*(-parseInt(_0x3fa4c9(0x130))/0xa);if(_0x517143===_0xf1afff)break;else _0x510cba['push'](_0x510cba['shift']());}catch(_0x1180ba){_0x510cba['push'](_0x510cba['shift']());}}}(a10_0x39a7,0x52eb1));Object[a10_0xb47f22(0x122)](exports,a10_0xb47f22(0x124),{'value':!![]}),exports['include']=void 0x0;function a10_0x6676(_0x163566,_0x464292){const _0x39a7a0=a10_0x39a7();return a10_0x6676=function(_0x66763d,_0x53f94d){_0x66763d=_0x66763d-0x121;let _0x4d8caa=_0x39a7a0[_0x66763d];return _0x4d8caa;},a10_0x6676(_0x163566,_0x464292);}const jiti=require(a10_0xb47f22(0x12e)),lodash_1=require(a10_0xb47f22(0x126));function include(_0x580123){const _0x1f8adf=a10_0xb47f22,_0x2ed621={},_0x1f4b77=jiti()(_0x580123);for(let _0x2f8596 in _0x1f4b77){_0x2f8596!=_0x1f8adf(0x129)&&(0x0,lodash_1[_0x1f8adf(0x12b)])(_0x2ed621,{[_0x2f8596]:_0x1f4b77[_0x2f8596]});}return(0x0,lodash_1[_0x1f8adf(0x12b)])(_0x2ed621,(0x0,lodash_1[_0x1f8adf(0x125)])(_0x1f4b77,'default',{}));}function a10_0x39a7(){const _0x23efd4=['defineProperty','128118qtHiEN','__esModule','get','lodash','4699608bTfcQA','33200evJNYt','default','3938438afQejf','defaultsDeep','62100zBWqVT','371664pPYPcv','jiti','185KPRyej','1850AuIjDY','include','65106vMnXUB','111crheoD'];a10_0x39a7=function(){return _0x23efd4;};return a10_0x39a7();}exports[a10_0xb47f22(0x131)]=include;
|
package/dist/helper/sleep.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';var
|
|
1
|
+
'use strict';var a11_0x6a5352=a11_0x4f2e;(function(_0x2355fe,_0x18058a){var _0x23143d=a11_0x4f2e,_0x48cd05=_0x2355fe();while(!![]){try{var _0x3180a1=-parseInt(_0x23143d(0xcd))/0x1*(parseInt(_0x23143d(0xc6))/0x2)+parseInt(_0x23143d(0xc5))/0x3*(parseInt(_0x23143d(0xc2))/0x4)+parseInt(_0x23143d(0xcb))/0x5+-parseInt(_0x23143d(0xc8))/0x6+-parseInt(_0x23143d(0xc7))/0x7*(parseInt(_0x23143d(0xc1))/0x8)+parseInt(_0x23143d(0xc3))/0x9*(parseInt(_0x23143d(0xc4))/0xa)+parseInt(_0x23143d(0xcc))/0xb;if(_0x3180a1===_0x18058a)break;else _0x48cd05['push'](_0x48cd05['shift']());}catch(_0x535824){_0x48cd05['push'](_0x48cd05['shift']());}}}(a11_0x137d,0xb83b4));function a11_0x137d(){var _0x3939e9=['4260390wRRXun','defineProperty','sleep','6927065wjuTfv','2399012lAIFGm','13792xugVKt','11720UGztsH','57756KnoZhb','9aSychV','12183180cHzRtH','87aNGPFv','112kfaiXR','4795VEgspL'];a11_0x137d=function(){return _0x3939e9;};return a11_0x137d();}function a11_0x4f2e(_0x4f47b0,_0x58ddd2){var _0x137ddd=a11_0x137d();return a11_0x4f2e=function(_0x4f2e44,_0x432bdf){_0x4f2e44=_0x4f2e44-0xc1;var _0x355f20=_0x137ddd[_0x4f2e44];return _0x355f20;},a11_0x4f2e(_0x4f47b0,_0x58ddd2);}Object[a11_0x6a5352(0xc9)](exports,'__esModule',{'value':!![]}),exports[a11_0x6a5352(0xca)]=void 0x0;function sleep(_0x10e593=0xc8){return new Promise(_0x387db1=>setTimeout(_0x387db1,_0x10e593));}exports[a11_0x6a5352(0xca)]=sleep;
|
package/dist/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const a12_0x597ae4=a12_0x2223;(function(_0x33cb67,_0x4779c6){const _0x2962c9=a12_0x2223,_0x158c7c=_0x33cb67();while(!![]){try{const _0x2daa51=-parseInt(_0x2962c9(0x200))/0x1*(-parseInt(_0x2962c9(0x201))/0x2)+parseInt(_0x2962c9(0x1f9))/0x3+parseInt(_0x2962c9(0x1fd))/0x4*(-parseInt(_0x2962c9(0x20b))/0x5)+parseInt(_0x2962c9(0x204))/0x6*(-parseInt(_0x2962c9(0x206))/0x7)+-parseInt(_0x2962c9(0x20c))/0x8+parseInt(_0x2962c9(0x202))/0x9*(parseInt(_0x2962c9(0x1ef))/0xa)+parseInt(_0x2962c9(0x1e3))/0xb;if(_0x2daa51===_0x4779c6)break;else _0x158c7c['push'](_0x158c7c['shift']());}catch(_0x533977){_0x158c7c['push'](_0x158c7c['shift']());}}}(a12_0xc568,0x88105));Object[a12_0x597ae4(0x1e6)](exports,a12_0x597ae4(0x1fc),{'value':!![]}),exports[a12_0x597ae4(0x1f8)]=exports['AnnError']=exports['getAnnErrorList']=exports[a12_0x597ae4(0x1e2)]=exports[a12_0x597ae4(0x1ff)]=exports[a12_0x597ae4(0x1ee)]=exports['getAnnEnumList']=exports['getAnnEnumMsg']=exports[a12_0x597ae4(0x1f1)]=exports[a12_0x597ae4(0x1fb)]=exports['globDir']=exports['include']=exports[a12_0x597ae4(0x1f2)]=exports['sleep']=exports[a12_0x597ae4(0x1f4)]=exports[a12_0x597ae4(0x20a)]=exports['mathjs']=exports[a12_0x597ae4(0x203)]=exports['urllib']=exports[a12_0x597ae4(0x1ea)]=void 0x0;const dayjs=require('dayjs');function a12_0x2223(_0x1b6150,_0xb6777a){const _0xc568c8=a12_0xc568();return a12_0x2223=function(_0x2223df,_0x2641f0){_0x2223df=_0x2223df-0x1e2;let _0x2348af=_0xc568c8[_0x2223df];return _0x2348af;},a12_0x2223(_0x1b6150,_0xb6777a);}exports[a12_0x597ae4(0x1f4)]=dayjs;const urllib=require(a12_0x597ae4(0x1fa));exports[a12_0x597ae4(0x1fa)]=urllib;const mathjs=require(a12_0x597ae4(0x1f0));exports[a12_0x597ae4(0x1f0)]=mathjs;const lodash=require(a12_0x597ae4(0x20a));exports[a12_0x597ae4(0x20a)]=lodash;const fsplus=require(a12_0x597ae4(0x1eb));exports['fsplus']=fsplus;const collect_js_1=require(a12_0x597ae4(0x1fe));Object[a12_0x597ae4(0x1e6)](exports,a12_0x597ae4(0x1f2),{'enumerable':!![],'get':function(){const _0xb78d24=a12_0x597ae4;return collect_js_1[_0xb78d24(0x1f2)];}});const sleep_1=require(a12_0x597ae4(0x1ec));Object[a12_0x597ae4(0x1e6)](exports,'sleep',{'enumerable':!![],'get':function(){const _0x109e8b=a12_0x597ae4;return sleep_1[_0x109e8b(0x1f5)];}});const include_1=require(a12_0x597ae4(0x207));Object['defineProperty'](exports,a12_0x597ae4(0x1e4),{'enumerable':!![],'get':function(){const _0x16fee7=a12_0x597ae4;return include_1[_0x16fee7(0x1e4)];}});const globDir_1=require(a12_0x597ae4(0x1f7));Object['defineProperty'](exports,a12_0x597ae4(0x209),{'enumerable':!![],'get':function(){const _0x5d5d46=a12_0x597ae4;return globDir_1[_0x5d5d46(0x209)];}});const fileMd5_1=require(a12_0x597ae4(0x1e8));Object['defineProperty'](exports,'fileMd5',{'enumerable':!![],'get':function(){const _0x2c98d9=a12_0x597ae4;return fileMd5_1[_0x2c98d9(0x1fb)];}});const AnnError_1=require('./exception/AnnError');Object[a12_0x597ae4(0x1e6)](exports,a12_0x597ae4(0x1f6),{'enumerable':!![],'get':function(){return AnnError_1['AnnError'];}});const AnnErrorRender_1=require('./exception/AnnErrorRender');Object[a12_0x597ae4(0x1e6)](exports,a12_0x597ae4(0x1f8),{'enumerable':!![],'get':function(){return AnnErrorRender_1['AnnErrorRender'];}});function a12_0xc568(){const _0x30814e=['./helper/include','./decorator/AnnEnumMsg','globDir','lodash','778670gJAckC','2856880CdqrDR','getAnnErrorMsg','5401242SKnXwn','include','./decorator/AnnErrorMsg','defineProperty','getAnnEnumMsg','./helper/fileMd5','getAnnEnumList','Configuration','fs-extra','./helper/sleep','getAnnErrorList','getAnnEnumArray','70AstOQz','mathjs','AnnEnumMsg','collect','CustomConfiguration','dayjs','sleep','AnnError','./helper/globDir','AnnErrorRender','2592747ykzIfb','urllib','fileMd5','__esModule','20FYDvkY','collect.js','AnnErrorMsg','44925GDtvcJ','2pCxkXk','853371LQLRwK','fsplus','42QppuqW','./configuration','370832qpBrpp'];a12_0xc568=function(){return _0x30814e;};return a12_0xc568();}const AnnErrorMsg_1=require(a12_0x597ae4(0x1e5));Object[a12_0x597ae4(0x1e6)](exports,a12_0x597ae4(0x1ff),{'enumerable':!![],'get':function(){return AnnErrorMsg_1['AnnErrorMsg'];}}),Object['defineProperty'](exports,a12_0x597ae4(0x1e2),{'enumerable':!![],'get':function(){const _0x5ecde3=a12_0x597ae4;return AnnErrorMsg_1[_0x5ecde3(0x1e2)];}}),Object[a12_0x597ae4(0x1e6)](exports,a12_0x597ae4(0x1ed),{'enumerable':!![],'get':function(){const _0x66ee57=a12_0x597ae4;return AnnErrorMsg_1[_0x66ee57(0x1ed)];}});const AnnEnumMsg_1=require(a12_0x597ae4(0x208));Object[a12_0x597ae4(0x1e6)](exports,a12_0x597ae4(0x1f1),{'enumerable':!![],'get':function(){const _0x57c2a1=a12_0x597ae4;return AnnEnumMsg_1[_0x57c2a1(0x1f1)];}}),Object[a12_0x597ae4(0x1e6)](exports,'getAnnEnumMsg',{'enumerable':!![],'get':function(){const _0x3b5ffc=a12_0x597ae4;return AnnEnumMsg_1[_0x3b5ffc(0x1e7)];}}),Object['defineProperty'](exports,a12_0x597ae4(0x1e9),{'enumerable':!![],'get':function(){const _0x30793e=a12_0x597ae4;return AnnEnumMsg_1[_0x30793e(0x1e9)];}}),Object[a12_0x597ae4(0x1e6)](exports,a12_0x597ae4(0x1ee),{'enumerable':!![],'get':function(){const _0x4da840=a12_0x597ae4;return AnnEnumMsg_1[_0x4da840(0x1ee)];}});var configuration_1=require(a12_0x597ae4(0x205));Object[a12_0x597ae4(0x1e6)](exports,'Configuration',{'enumerable':!![],'get':function(){const _0x4ba9ce=a12_0x597ae4;return configuration_1[_0x4ba9ce(0x1f3)];}}),(global[a12_0x597ae4(0x1fa)]=urllib,global[a12_0x597ae4(0x203)]=fsplus,global[a12_0x597ae4(0x1f0)]=mathjs,global[a12_0x597ae4(0x20a)]=lodash),(global['dayjs']=dayjs,global[a12_0x597ae4(0x1f5)]=sleep_1[a12_0x597ae4(0x1f5)],global[a12_0x597ae4(0x1f2)]=collect_js_1[a12_0x597ae4(0x1f2)],global[a12_0x597ae4(0x1e4)]=include_1[a12_0x597ae4(0x1e4)],global[a12_0x597ae4(0x209)]=globDir_1[a12_0x597ae4(0x209)],global[a12_0x597ae4(0x1fb)]=fileMd5_1[a12_0x597ae4(0x1fb)]),(global['AnnEnumMsg']=AnnEnumMsg_1[a12_0x597ae4(0x1f1)],global[a12_0x597ae4(0x1e7)]=AnnEnumMsg_1[a12_0x597ae4(0x1e7)],global['getAnnEnumList']=AnnEnumMsg_1[a12_0x597ae4(0x1e9)],global[a12_0x597ae4(0x1ee)]=AnnEnumMsg_1[a12_0x597ae4(0x1ee)]),(global[a12_0x597ae4(0x1ff)]=AnnErrorMsg_1['AnnErrorMsg'],global[a12_0x597ae4(0x1e2)]=AnnErrorMsg_1['getAnnErrorMsg'],global['getAnnErrorList']=AnnErrorMsg_1[a12_0x597ae4(0x1ed)],global[a12_0x597ae4(0x1f6)]=AnnError_1[a12_0x597ae4(0x1f6)],global['AnnErrorRender']=AnnErrorRender_1['AnnErrorRender']);
|
package/index.d.ts
CHANGED
|
@@ -34,12 +34,10 @@ declare global { // 全局变量设置
|
|
|
34
34
|
keys(): any[];
|
|
35
35
|
};
|
|
36
36
|
|
|
37
|
-
export function AnnEnumMsg(
|
|
38
|
-
export function getAnnEnumMsg(target: any, code: number
|
|
39
|
-
export function
|
|
40
|
-
export function
|
|
41
|
-
[key: number]: string;
|
|
42
|
-
};
|
|
37
|
+
export function AnnEnumMsg(field: string, message: string): PropertyDecorator;
|
|
38
|
+
export function getAnnEnumMsg(target: any, field: string, code: number | string): string;
|
|
39
|
+
export function getAnnEnumList(target: any, field: string): { [key: string]: string; [key: number]: string; };
|
|
40
|
+
export function getAnnEnumArray(target: any, field: string, filters?: Array<number | string>): (string | number)[];
|
|
43
41
|
|
|
44
42
|
export function AnnErrorMsg(message: string): PropertyDecorator;
|
|
45
43
|
export function getAnnErrorMsg(code: number): string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@anncic-api/core",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.12",
|
|
4
4
|
"main": "./dist/index.js",
|
|
5
5
|
"typings": "index.d.ts",
|
|
6
6
|
"files": [
|
|
@@ -41,5 +41,5 @@
|
|
|
41
41
|
"javascript-obfuscator": "2.19.0",
|
|
42
42
|
"typescript": "^4.7.4"
|
|
43
43
|
},
|
|
44
|
-
"gitHead": "
|
|
44
|
+
"gitHead": "5a1add10415cd9a465caa2a1f8fb4d1ea36ce6f2"
|
|
45
45
|
}
|