anncic-apihelper 3.0.2 → 3.0.4
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/helper.js +1 -1
- package/dist/index.js +1 -1
- package/dist/service/ApicreateService.js +1 -1
- package/dist/templateFun/Action.js +1 -1
- package/dist/templateFun/Common.js +1 -1
- package/dist/templateFun/Entities.js +1 -1
- package/dist/templateFun/Event.js +1 -1
- package/dist/templateFun/Handler.js +1 -1
- package/dist/templateFun/Search.js +1 -1
- package/dist/templateFun/Validator.js +1 -1
- package/dist/templateVue/Api.js +1 -1
- package/dist/templateVue/Entities.js +1 -1
- package/dist/templateVue/Layout.js +1 -1
- package/dist/templateVue/LayoutVue.js +1 -1
- package/dist/templateVue/Router.js +1 -1
- package/dist/templateVue/Validator.js +1 -1
- package/dist/types/index.js +1 -1
- package/package.json +3 -3
|
@@ -1 +1 @@
|
|
|
1
|
-
const a16_0x32c308=a16_0x4613;(function(_0x5b10a6,_0x5db4d0){const _0x15e50a=a16_0x4613,_0x3d9f47=_0x5b10a6();while(!![]){try{const _0x5507d0=-parseInt(_0x15e50a(0x1a0))/0x1+parseInt(_0x15e50a(0x1a4))/0x2*(parseInt(_0x15e50a(0x1b2))/0x3)+-parseInt(_0x15e50a(0x1a7))/0x4+-parseInt(_0x15e50a(0x198))/0x5+parseInt(_0x15e50a(0x1ad))/0x6*(-parseInt(_0x15e50a(0x1c4))/0x7)+-parseInt(_0x15e50a(0x1d4))/0x8+parseInt(_0x15e50a(0x1b1))/0x9;if(_0x5507d0===_0x5db4d0)break;else _0x3d9f47['push'](_0x3d9f47['shift']());}catch(_0x393cb1){_0x3d9f47['push'](_0x3d9f47['shift']());}}}(a16_0x2a0b,0x35cc0));function a16_0x2a0b(){const _0xba7598=[',\x20trigger:\x20\x22blur\x22\x20},\x0a','\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`','\x20\x20\x20\x20','decimal','Field','\x20*\x20**/\x0a','default','109088zQBeyj','updated_at','/validators/','timestamp','../helper','join','/pages/apps/','`,\x20trigger:\x20\x22blur\x22,\x20type:\x20\x22string\x22\x20},\x0a','created_at','EditRule\x20=\x20{\x0a','existsSync','double','Null','getProp','1503645VfeQtl','utf-8','string','Type','\x20*\x20数据更新验证\x0a','cwd','mediumtext','indexOf','130302HdomqX','`,\x20trigger:\x20\x22blur\x22,\x20type:\x20\x22enum\x22,\x20enum:\x20[\x27','\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`请输入正确的','`,\x20trigger:\x20\x22blur\x22,\x20type:\x20\x22date\x22\x20},\x0a','334cMGZpS','不能为空`,\x20required:\x20','`,\x20trigger:\x20\x22blur\x22,\x20type:\x20\x22number\x22\x20},\x0a','1034476AsRgcX','constructor','search','\x20*\x20','float','toString','6RZEaFy','false','(((.+)+)+)+$','true','8471916SDfUVC','1383HlLPWr','\x20*\x20数据添加验证\x0a','date','\x20\x20\x20\x20],\x0a\x0a','number','/vue','longtext','enum','YES','json','}\x0a\x0a','text','%RuleColumn%','datetime','__esModule','deleted_at','defineProperty','/**\x0a','662711ZbeTQA','\x27,\x20\x27','replace',':\x20[\x0a','writeFileSync','\x20\x20\x20\x20//\x20','Comment','export\x20const\x20','getEnum'];a16_0x2a0b=function(){return _0xba7598;};return a16_0x2a0b();}const a16_0x491107=(function(){let _0x4bd080=!![];return function(_0x5982d4,_0x22f4f8){const _0x53d665=_0x4bd080?function(){if(_0x22f4f8){const _0xd413a7=_0x22f4f8['apply'](_0x5982d4,arguments);return _0x22f4f8=null,_0xd413a7;}}:function(){};return _0x4bd080=![],_0x53d665;};}()),a16_0x5a0691=a16_0x491107(this,function(){const _0x674073=a16_0x4613;return a16_0x5a0691[_0x674073(0x1ac)]()[_0x674073(0x1a9)](_0x674073(0x1af))['toString']()[_0x674073(0x1a8)](a16_0x5a0691)[_0x674073(0x1a9)]('(((.+)+)+)+$');});a16_0x5a0691();'use strict';Object[a16_0x32c308(0x1c2)](exports,a16_0x32c308(0x1c0),{'value':!![]});const fs=require('fs'),helper_1=require(a16_0x32c308(0x1d8));async function default_1({tablestartUpShort:_0xbbb30b,tablestartUpShort2:_0x120bfc,moduleName:_0x5e2c63,controller:_0x3236bc,Comment:_0x2b116d,apporbasic:_0x5f026b,Primary:_0x42af6d,Fields:_0x1fe894}){const _0x576146=a16_0x32c308;let _0x20f8dc=process[_0x576146(0x19d)]()+_0x576146(0x1b7)+(typeof _0x3236bc==_0x576146(0x19a)?'/'+_0x3236bc:'');_0x5e2c63?_0x20f8dc=_0x20f8dc+(_0x576146(0x1da)+_0x5e2c63+_0x576146(0x1d6)+_0xbbb30b):_0x20f8dc=_0x20f8dc+('/pages/'+_0x5f026b+_0x576146(0x1d6)+_0xbbb30b),!fs[_0x576146(0x194)](_0x20f8dc)&&fs['mkdirSync'](_0x20f8dc,{'recursive':!![]}),await CreateRule(_0x20f8dc,{'tablestartUpShort':_0xbbb30b,'Comment':_0x2b116d,'Fields':_0x1fe894}),await updateRule(_0x20f8dc,{'tablestartUpShort':_0xbbb30b,'Comment':_0x2b116d,'Fields':_0x1fe894});}exports[a16_0x32c308(0x1d3)]=default_1;function a16_0x4613(_0x43c6d2,_0x10b6ec){const _0x50ab8a=a16_0x2a0b();return a16_0x4613=function(_0x5a0691,_0x491107){_0x5a0691=_0x5a0691-0x192;let _0x2a0bf3=_0x50ab8a[_0x5a0691];return _0x2a0bf3;},a16_0x4613(_0x43c6d2,_0x10b6ec);}async function CreateRule(_0x1d1f4a,{tablestartUpShort:_0x55dd0b,Comment:_0x58de02,Fields:_0x31d633}){const _0x4cdcff=a16_0x32c308,_0x1a75a7=_0x1d1f4a+'/add.js';if(!fs[_0x4cdcff(0x194)](_0x1a75a7)){let _0x1b1d93='',_0x105254='';for(let _0x289321 in _0x31d633){let _0x5808eb=_0x31d633[_0x289321],_0x3c09ae=(0x0,helper_1[_0x4cdcff(0x197)])(_0x5808eb[_0x4cdcff(0x19b)]);if(_0x5808eb[_0x4cdcff(0x1d1)]=='displayorder'||_0x5808eb[_0x4cdcff(0x1d1)]==_0x4cdcff(0x192)||_0x5808eb[_0x4cdcff(0x1d1)]==_0x4cdcff(0x1d5)||_0x5808eb[_0x4cdcff(0x1d1)]==_0x4cdcff(0x1c1))continue;if([_0x4cdcff(0x1bd),_0x4cdcff(0x1b8),_0x4cdcff(0x19e)]['indexOf'](_0x3c09ae)!=-0x1)_0x1b1d93+='\x20\x20\x20\x20//\x20'+_0x5808eb[_0x4cdcff(0x1ca)]+'\x0a',_0x1b1d93+=_0x4cdcff(0x1cf)+_0x5808eb[_0x4cdcff(0x1d1)]+_0x4cdcff(0x1c7),_0x5808eb[_0x4cdcff(0x196)]!='YES'&&(_0x1b1d93+=_0x4cdcff(0x1ce)+_0x5808eb[_0x4cdcff(0x1ca)]+_0x4cdcff(0x1a5)+(_0x5808eb[_0x4cdcff(0x196)]!=_0x4cdcff(0x1ba)?_0x4cdcff(0x1ae):'true')+_0x4cdcff(0x1cd)),_0x1b1d93+='\x20\x20\x20\x20],\x0a\x0a';else{if([_0x4cdcff(0x1ab),'double',_0x4cdcff(0x1d0),'number'][_0x4cdcff(0x19f)](_0x3c09ae)!=-0x1)_0x1b1d93+=_0x4cdcff(0x1c9)+_0x5808eb[_0x4cdcff(0x1ca)]+'\x0a',_0x1b1d93+='\x20\x20\x20\x20'+_0x5808eb['Field']+_0x4cdcff(0x1c7),_0x1b1d93+='\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`请输入正确的'+_0x5808eb[_0x4cdcff(0x1ca)]+_0x4cdcff(0x1a6),_0x5808eb[_0x4cdcff(0x196)]!=_0x4cdcff(0x1ba)&&(_0x1b1d93+='\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`'+_0x5808eb[_0x4cdcff(0x1ca)]+_0x4cdcff(0x1a5)+(_0x5808eb['Null']!=_0x4cdcff(0x1ba)?_0x4cdcff(0x1ae):_0x4cdcff(0x1b0))+',\x20trigger:\x20\x22blur\x22\x20},\x0a'),_0x1b1d93+='\x20\x20\x20\x20],\x0a\x0a';else{if(['tinyint']['indexOf'](_0x3c09ae)!=-0x1)_0x1b1d93+=_0x4cdcff(0x1c9)+_0x5808eb[_0x4cdcff(0x1ca)]+'\x0a',_0x1b1d93+=_0x4cdcff(0x1cf)+_0x5808eb['Field']+_0x4cdcff(0x1c7),_0x1b1d93+=_0x4cdcff(0x1a2)+_0x5808eb['Comment']+_0x4cdcff(0x1a6),_0x5808eb[_0x4cdcff(0x196)]!=_0x4cdcff(0x1ba)&&(_0x1b1d93+='\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`'+_0x5808eb[_0x4cdcff(0x1ca)]+_0x4cdcff(0x1a5)+(_0x5808eb[_0x4cdcff(0x196)]!='YES'?_0x4cdcff(0x1ae):_0x4cdcff(0x1b0))+_0x4cdcff(0x1cd)),_0x1b1d93+=_0x4cdcff(0x1b5);else{if(_0x3c09ae==_0x4cdcff(0x1bb))_0x1b1d93+='\x20\x20\x20\x20//\x20'+_0x5808eb[_0x4cdcff(0x1ca)]+'\x0a',_0x1b1d93+=_0x4cdcff(0x1cf)+_0x5808eb[_0x4cdcff(0x1d1)]+_0x4cdcff(0x1c7),_0x5808eb[_0x4cdcff(0x196)]!=_0x4cdcff(0x1ba)&&(_0x1b1d93+='\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`'+_0x5808eb['Comment']+_0x4cdcff(0x1a5)+(_0x5808eb[_0x4cdcff(0x196)]!=_0x4cdcff(0x1ba)?_0x4cdcff(0x1ae):_0x4cdcff(0x1b0))+_0x4cdcff(0x1cd)),_0x1b1d93+='\x20\x20\x20\x20],\x0a\x0a';else{if(_0x3c09ae=='enum'){let _0x5d3386=(0x0,helper_1['getEnum'])(_0x5808eb[_0x4cdcff(0x19b)]);_0x1b1d93+=_0x4cdcff(0x1c9)+_0x5808eb[_0x4cdcff(0x1ca)]+'\x0a',_0x1b1d93+=_0x4cdcff(0x1cf)+_0x5808eb[_0x4cdcff(0x1d1)]+_0x4cdcff(0x1c7),_0x1b1d93+='\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`请输入正确的'+_0x5808eb[_0x4cdcff(0x1ca)]+_0x4cdcff(0x1a1)+_0x5d3386[_0x4cdcff(0x1d9)](_0x4cdcff(0x1c5))+'\x27]\x20},\x0a',_0x5808eb[_0x4cdcff(0x196)]!=_0x4cdcff(0x1ba)&&(_0x1b1d93+=_0x4cdcff(0x1ce)+_0x5808eb[_0x4cdcff(0x1ca)]+_0x4cdcff(0x1a5)+(_0x5808eb['Null']!=_0x4cdcff(0x1ba)?_0x4cdcff(0x1ae):'true')+',\x20trigger:\x20\x22blur\x22\x20},\x0a'),_0x1b1d93+=_0x4cdcff(0x1b5);}else[_0x4cdcff(0x1b4),_0x4cdcff(0x1bf),_0x4cdcff(0x1d7)][_0x4cdcff(0x19f)](_0x3c09ae)>-0x1?(_0x1b1d93+=_0x4cdcff(0x1c9)+_0x5808eb[_0x4cdcff(0x1ca)]+'\x0a',_0x1b1d93+=_0x4cdcff(0x1cf)+_0x5808eb['Field']+_0x4cdcff(0x1c7),_0x1b1d93+='\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`请输入正确的'+_0x5808eb[_0x4cdcff(0x1ca)]+'`,\x20trigger:\x20\x22blur\x22,\x20type:\x20\x22date\x22\x20},\x0a',_0x5808eb[_0x4cdcff(0x196)]!='YES'&&(_0x1b1d93+=_0x4cdcff(0x1ce)+_0x5808eb['Comment']+_0x4cdcff(0x1a5)+(_0x5808eb[_0x4cdcff(0x196)]!=_0x4cdcff(0x1ba)?_0x4cdcff(0x1ae):_0x4cdcff(0x1b0))+_0x4cdcff(0x1cd)),_0x1b1d93+='\x20\x20\x20\x20],\x0a\x0a'):(_0x1b1d93+=_0x4cdcff(0x1c9)+_0x5808eb[_0x4cdcff(0x1ca)]+'\x0a',_0x1b1d93+='\x20\x20\x20\x20'+_0x5808eb[_0x4cdcff(0x1d1)]+_0x4cdcff(0x1c7),_0x1b1d93+='\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`请输入正确的'+_0x5808eb[_0x4cdcff(0x1ca)]+_0x4cdcff(0x1db),_0x5808eb[_0x4cdcff(0x196)]!=_0x4cdcff(0x1ba)&&(_0x1b1d93+=_0x4cdcff(0x1ce)+_0x5808eb[_0x4cdcff(0x1ca)]+_0x4cdcff(0x1a5)+(_0x5808eb['Null']!=_0x4cdcff(0x1ba)?_0x4cdcff(0x1ae):_0x4cdcff(0x1b0))+',\x20trigger:\x20\x22blur\x22\x20},\x0a'),_0x1b1d93+=_0x4cdcff(0x1b5));}}}}}_0x105254+='\x0a',_0x105254+=_0x4cdcff(0x1c3),_0x105254+=_0x4cdcff(0x1aa)+_0x58de02+'\x0a',_0x105254+=_0x4cdcff(0x1b3),_0x105254+=_0x4cdcff(0x1d2),_0x105254+=_0x4cdcff(0x1cb)+_0x55dd0b+'AddRule\x20=\x20{\x0a',_0x105254+='%RuleColumn%',_0x105254+='}\x0a\x0a',_0x105254=_0x105254[_0x4cdcff(0x1c6)](_0x4cdcff(0x1be),_0x1b1d93),fs[_0x4cdcff(0x1c8)](_0x1a75a7,_0x105254,'utf-8');}}async function updateRule(_0x54d400,{tablestartUpShort:_0x2a8115,Comment:_0x38f910,Fields:_0x2c47bb}){const _0x58f596=a16_0x32c308,_0xf44374=_0x54d400+'/edit.js';if(!fs[_0x58f596(0x194)](_0xf44374)){let _0x5b6157='',_0x52c30f='';for(let _0x5a930e in _0x2c47bb){let _0x4008d3=_0x2c47bb[_0x5a930e],_0x10970d=(0x0,helper_1[_0x58f596(0x197)])(_0x4008d3['Type']);if(_0x4008d3[_0x58f596(0x1d1)]=='displayorder'||_0x4008d3[_0x58f596(0x1d1)]==_0x58f596(0x192)||_0x4008d3[_0x58f596(0x1d1)]=='updated_at'||_0x4008d3['Field']==_0x58f596(0x1c1))continue;if([_0x58f596(0x1bd),_0x58f596(0x1b8),_0x58f596(0x19e)]['indexOf'](_0x10970d)!=-0x1)_0x5b6157+=_0x58f596(0x1c9)+_0x4008d3[_0x58f596(0x1ca)]+'\x0a',_0x5b6157+=_0x58f596(0x1cf)+_0x4008d3[_0x58f596(0x1d1)]+_0x58f596(0x1c7),_0x4008d3['Null']!=_0x58f596(0x1ba)&&(_0x5b6157+=_0x58f596(0x1ce)+_0x4008d3[_0x58f596(0x1ca)]+_0x58f596(0x1a5)+(_0x4008d3['Null']!=_0x58f596(0x1ba)?_0x58f596(0x1ae):'true')+',\x20trigger:\x20\x22blur\x22\x20},\x0a'),_0x5b6157+='\x20\x20\x20\x20],\x0a\x0a';else{if([_0x58f596(0x1ab),_0x58f596(0x195),'decimal',_0x58f596(0x1b6)]['indexOf'](_0x10970d)!=-0x1)_0x5b6157+=_0x58f596(0x1c9)+_0x4008d3[_0x58f596(0x1ca)]+'\x0a',_0x5b6157+=_0x58f596(0x1cf)+_0x4008d3['Field']+':\x20[\x0a',_0x5b6157+='\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`请输入正确的'+_0x4008d3[_0x58f596(0x1ca)]+_0x58f596(0x1a6),_0x4008d3[_0x58f596(0x196)]!=_0x58f596(0x1ba)&&(_0x5b6157+=_0x58f596(0x1ce)+_0x4008d3[_0x58f596(0x1ca)]+_0x58f596(0x1a5)+(_0x4008d3[_0x58f596(0x196)]!=_0x58f596(0x1ba)?_0x58f596(0x1ae):_0x58f596(0x1b0))+_0x58f596(0x1cd)),_0x5b6157+='\x20\x20\x20\x20],\x0a\x0a';else{if(['tinyint'][_0x58f596(0x19f)](_0x10970d)!=-0x1)_0x5b6157+=_0x58f596(0x1c9)+_0x4008d3[_0x58f596(0x1ca)]+'\x0a',_0x5b6157+=_0x58f596(0x1cf)+_0x4008d3['Field']+_0x58f596(0x1c7),_0x5b6157+='\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`请输入正确的'+_0x4008d3[_0x58f596(0x1ca)]+_0x58f596(0x1a6),_0x4008d3['Null']!='YES'&&(_0x5b6157+='\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`'+_0x4008d3['Comment']+_0x58f596(0x1a5)+(_0x4008d3[_0x58f596(0x196)]!=_0x58f596(0x1ba)?_0x58f596(0x1ae):_0x58f596(0x1b0))+_0x58f596(0x1cd)),_0x5b6157+='\x20\x20\x20\x20],\x0a\x0a';else{if(_0x10970d==_0x58f596(0x1bb))_0x5b6157+='\x20\x20\x20\x20//\x20'+_0x4008d3[_0x58f596(0x1ca)]+'\x0a',_0x5b6157+=_0x58f596(0x1cf)+_0x4008d3[_0x58f596(0x1d1)]+_0x58f596(0x1c7),_0x4008d3[_0x58f596(0x196)]!=_0x58f596(0x1ba)&&(_0x5b6157+='\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`'+_0x4008d3['Comment']+'不能为空`,\x20required:\x20'+(_0x4008d3[_0x58f596(0x196)]!=_0x58f596(0x1ba)?_0x58f596(0x1ae):_0x58f596(0x1b0))+_0x58f596(0x1cd)),_0x5b6157+=_0x58f596(0x1b5);else{if(_0x10970d==_0x58f596(0x1b9)){let _0x72e4fd=(0x0,helper_1[_0x58f596(0x1cc)])(_0x4008d3[_0x58f596(0x19b)]);_0x5b6157+='\x20\x20\x20\x20//\x20'+_0x4008d3[_0x58f596(0x1ca)]+'\x0a',_0x5b6157+='\x20\x20\x20\x20'+_0x4008d3[_0x58f596(0x1d1)]+_0x58f596(0x1c7),_0x5b6157+='\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`请输入正确的'+_0x4008d3[_0x58f596(0x1ca)]+'`,\x20trigger:\x20\x22blur\x22,\x20type:\x20\x22enum\x22,\x20enum:\x20[\x27'+_0x72e4fd[_0x58f596(0x1d9)](_0x58f596(0x1c5))+'\x27]\x20},\x0a',_0x4008d3[_0x58f596(0x196)]!=_0x58f596(0x1ba)&&(_0x5b6157+=_0x58f596(0x1ce)+_0x4008d3[_0x58f596(0x1ca)]+'不能为空`,\x20required:\x20'+(_0x4008d3[_0x58f596(0x196)]!='YES'?'false':_0x58f596(0x1b0))+',\x20trigger:\x20\x22blur\x22\x20},\x0a'),_0x5b6157+=_0x58f596(0x1b5);}else[_0x58f596(0x1b4),'datetime',_0x58f596(0x1d7)][_0x58f596(0x19f)](_0x10970d)>-0x1?(_0x5b6157+=_0x58f596(0x1c9)+_0x4008d3[_0x58f596(0x1ca)]+'\x0a',_0x5b6157+=_0x58f596(0x1cf)+_0x4008d3[_0x58f596(0x1d1)]+_0x58f596(0x1c7),_0x5b6157+='\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`请输入正确的'+_0x4008d3[_0x58f596(0x1ca)]+_0x58f596(0x1a3),_0x4008d3[_0x58f596(0x196)]!=_0x58f596(0x1ba)&&(_0x5b6157+='\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`'+_0x4008d3['Comment']+_0x58f596(0x1a5)+(_0x4008d3[_0x58f596(0x196)]!=_0x58f596(0x1ba)?_0x58f596(0x1ae):_0x58f596(0x1b0))+_0x58f596(0x1cd)),_0x5b6157+=_0x58f596(0x1b5)):(_0x5b6157+=_0x58f596(0x1c9)+_0x4008d3[_0x58f596(0x1ca)]+'\x0a',_0x5b6157+=_0x58f596(0x1cf)+_0x4008d3[_0x58f596(0x1d1)]+':\x20[\x0a',_0x5b6157+=_0x58f596(0x1a2)+_0x4008d3[_0x58f596(0x1ca)]+_0x58f596(0x1db),_0x4008d3[_0x58f596(0x196)]!=_0x58f596(0x1ba)&&(_0x5b6157+=_0x58f596(0x1ce)+_0x4008d3[_0x58f596(0x1ca)]+'不能为空`,\x20required:\x20'+(_0x4008d3[_0x58f596(0x196)]!='YES'?_0x58f596(0x1ae):_0x58f596(0x1b0))+_0x58f596(0x1cd)),_0x5b6157+='\x20\x20\x20\x20],\x0a\x0a');}}}}}_0x52c30f+='\x0a',_0x52c30f+='/**\x0a',_0x52c30f+=_0x58f596(0x1aa)+_0x38f910+'\x0a',_0x52c30f+=_0x58f596(0x19c),_0x52c30f+=_0x58f596(0x1d2),_0x52c30f+='export\x20const\x20'+_0x2a8115+_0x58f596(0x193),_0x52c30f+=_0x58f596(0x1be),_0x52c30f+=_0x58f596(0x1bc),_0x52c30f=_0x52c30f[_0x58f596(0x1c6)](_0x58f596(0x1be),_0x5b6157),fs['writeFileSync'](_0xf44374,_0x52c30f,_0x58f596(0x199));}}
|
|
1
|
+
function a16_0x4d75(_0x1eac48,_0x17ab17){const _0x300f53=a16_0x4065();return a16_0x4d75=function(_0x42c93a,_0x41afc6){_0x42c93a=_0x42c93a-0xd0;let _0x40655d=_0x300f53[_0x42c93a];return _0x40655d;},a16_0x4d75(_0x1eac48,_0x17ab17);}const a16_0x4b95aa=a16_0x4d75;(function(_0x23e21c,_0x95339e){const _0x491aac=a16_0x4d75,_0x35db96=_0x23e21c();while(!![]){try{const _0x1ba96c=-parseInt(_0x491aac(0xd4))/0x1+-parseInt(_0x491aac(0x105))/0x2*(parseInt(_0x491aac(0xee))/0x3)+-parseInt(_0x491aac(0xff))/0x4+parseInt(_0x491aac(0xf0))/0x5*(-parseInt(_0x491aac(0xf2))/0x6)+parseInt(_0x491aac(0xe3))/0x7*(-parseInt(_0x491aac(0x115))/0x8)+parseInt(_0x491aac(0x114))/0x9*(-parseInt(_0x491aac(0x108))/0xa)+parseInt(_0x491aac(0x11c))/0xb*(parseInt(_0x491aac(0xd9))/0xc);if(_0x1ba96c===_0x95339e)break;else _0x35db96['push'](_0x35db96['shift']());}catch(_0x305947){_0x35db96['push'](_0x35db96['shift']());}}}(a16_0x4065,0xdc74b));const a16_0x41afc6=(function(){let _0x15a1c4=!![];return function(_0x226753,_0x41334c){const _0x3ed753=_0x15a1c4?function(){const _0x5f553f=a16_0x4d75;if(_0x41334c){const _0x4b3761=_0x41334c[_0x5f553f(0xeb)](_0x226753,arguments);return _0x41334c=null,_0x4b3761;}}:function(){};return _0x15a1c4=![],_0x3ed753;};}()),a16_0x42c93a=a16_0x41afc6(this,function(){const _0x485d60=a16_0x4d75;return a16_0x42c93a[_0x485d60(0xdf)]()['search']('(((.+)+)+)+$')[_0x485d60(0xdf)]()['constructor'](a16_0x42c93a)[_0x485d60(0xe0)]('(((.+)+)+)+$');});a16_0x42c93a();'use strict';function a16_0x4065(){const _0x3d14b6=['\x20\x20\x20\x20],\x0a\x0a','87540WuthFq','json','text','\x20\x20\x20\x20','displayorder','\x20},\x0a','toString','search',':\x20[\x0a','\x20*\x20数据添加验证\x0a','71869hRvOOI','\x20\x20\x20\x20//\x20','`,\x20type:\x20\x22string\x22\x20},\x0a','}\x0a\x0a','/validators/','/pages/','\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`','Null','apply','__esModule','Comment','1354557JYJvoR','tinyint','5uDrkVI','join','5259900GEzHsT','indexOf','utf-8','writeFileSync','longtext','YES','%RuleColumn%','defineProperty','Type','\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`请输入正确的','Field','default','/edit.js','4758468OuVVLS','mediumtext','AddRule\x20=\x20{\x0a','/add.js','updated_at','/**\x0a','4oQWFmF','`,\x20type:\x20\x22date\x22\x20},\x0a','../helper','2078890sRggUu','deleted_at','不能为空`,\x20required:\x20','created_at','enum','true','false','EditRule\x20=\x20{\x0a','number','\x20*\x20','getEnum','getProp','27fwRhXs','232dYrhNF','\x20*\x20**/\x0a','\x27,\x20\x27','date','`,\x20type:\x20\x22number\x22\x20},\x0a','timestamp','float','8569ofKrGw','cwd','/vue','decimal','double','export\x20const\x20','datetime','\x27]\x20},\x0a','replace','889103jFVVVo','mkdirSync','existsSync','`,\x20type:\x20\x22enum\x22,\x20enum:\x20[\x27'];a16_0x4065=function(){return _0x3d14b6;};return a16_0x4065();}Object[a16_0x4b95aa(0xf9)](exports,a16_0x4b95aa(0xec),{'value':!![]});const fs=require('fs'),helper_1=require(a16_0x4b95aa(0x107));async function default_1({tablestartUpShort:_0x17b98b,tablestartUpShort2:_0x1828b0,moduleName:_0x24d788,controller:_0x57470e,Comment:_0x75c059,apporbasic:_0x3c0708,Primary:_0x2db403,Fields:_0x10e6c1}){const _0x14e5d9=a16_0x4b95aa;let _0x1ea77c=process[_0x14e5d9(0x11d)]()+_0x14e5d9(0x11e)+(typeof _0x57470e=='string'?'/'+_0x57470e:'');_0x24d788?_0x1ea77c=_0x1ea77c+('/pages/apps/'+_0x24d788+_0x14e5d9(0xe7)+_0x17b98b):_0x1ea77c=_0x1ea77c+(_0x14e5d9(0xe8)+_0x3c0708+_0x14e5d9(0xe7)+_0x17b98b),!fs[_0x14e5d9(0xd6)](_0x1ea77c)&&fs[_0x14e5d9(0xd5)](_0x1ea77c,{'recursive':!![]}),await CreateRule(_0x1ea77c,{'tablestartUpShort':_0x17b98b,'Comment':_0x75c059,'Fields':_0x10e6c1}),await updateRule(_0x1ea77c,{'tablestartUpShort':_0x17b98b,'Comment':_0x75c059,'Fields':_0x10e6c1});}exports[a16_0x4b95aa(0xfd)]=default_1;async function CreateRule(_0x5c7c40,{tablestartUpShort:_0x33d71d,Comment:_0x1e12fe,Fields:_0x2b90da}){const _0x2b9a80=a16_0x4b95aa,_0x4a5014=_0x5c7c40+_0x2b9a80(0x102);if(!fs[_0x2b9a80(0xd6)](_0x4a5014)){let _0x1c1dc3='',_0x42b7f1='';for(let _0x5c43f9 in _0x2b90da){let _0x549696=_0x2b90da[_0x5c43f9],_0x11e8d0=(0x0,helper_1[_0x2b9a80(0x113)])(_0x549696[_0x2b9a80(0xfa)]);if(_0x549696[_0x2b9a80(0xfc)]==_0x2b9a80(0xdd)||_0x549696[_0x2b9a80(0xfc)]==_0x2b9a80(0x10b)||_0x549696[_0x2b9a80(0xfc)]=='updated_at'||_0x549696[_0x2b9a80(0xfc)]==_0x2b9a80(0x109))continue;if(['text',_0x2b9a80(0xf6),_0x2b9a80(0x100)]['indexOf'](_0x11e8d0)!=-0x1)_0x1c1dc3+=_0x2b9a80(0xe4)+_0x549696['Comment']+'\x0a',_0x1c1dc3+='\x20\x20\x20\x20'+_0x549696[_0x2b9a80(0xfc)]+':\x20[\x0a',_0x549696[_0x2b9a80(0xea)]!=_0x2b9a80(0xf7)&&(_0x1c1dc3+=_0x2b9a80(0xe9)+_0x549696[_0x2b9a80(0xed)]+_0x2b9a80(0x10a)+(_0x549696[_0x2b9a80(0xea)]!=_0x2b9a80(0xf7)?_0x2b9a80(0x10e):_0x2b9a80(0x10d))+_0x2b9a80(0xde)),_0x1c1dc3+=_0x2b9a80(0xd8);else{if([_0x2b9a80(0x11b),_0x2b9a80(0x120),_0x2b9a80(0x11f),_0x2b9a80(0x110)][_0x2b9a80(0xf3)](_0x11e8d0)!=-0x1)_0x1c1dc3+=_0x2b9a80(0xe4)+_0x549696[_0x2b9a80(0xed)]+'\x0a',_0x1c1dc3+=_0x2b9a80(0xdc)+_0x549696[_0x2b9a80(0xfc)]+_0x2b9a80(0xe1),_0x1c1dc3+=_0x2b9a80(0xfb)+_0x549696[_0x2b9a80(0xed)]+_0x2b9a80(0x119),_0x549696[_0x2b9a80(0xea)]!='YES'&&(_0x1c1dc3+='\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`'+_0x549696[_0x2b9a80(0xed)]+_0x2b9a80(0x10a)+(_0x549696[_0x2b9a80(0xea)]!='YES'?_0x2b9a80(0x10e):'true')+_0x2b9a80(0xde)),_0x1c1dc3+='\x20\x20\x20\x20],\x0a\x0a';else{if([_0x2b9a80(0xef)][_0x2b9a80(0xf3)](_0x11e8d0)!=-0x1)_0x1c1dc3+=_0x2b9a80(0xe4)+_0x549696[_0x2b9a80(0xed)]+'\x0a',_0x1c1dc3+=_0x2b9a80(0xdc)+_0x549696['Field']+_0x2b9a80(0xe1),_0x1c1dc3+=_0x2b9a80(0xfb)+_0x549696[_0x2b9a80(0xed)]+_0x2b9a80(0x119),_0x549696['Null']!=_0x2b9a80(0xf7)&&(_0x1c1dc3+=_0x2b9a80(0xe9)+_0x549696[_0x2b9a80(0xed)]+_0x2b9a80(0x10a)+(_0x549696[_0x2b9a80(0xea)]!=_0x2b9a80(0xf7)?_0x2b9a80(0x10e):_0x2b9a80(0x10d))+_0x2b9a80(0xde)),_0x1c1dc3+='\x20\x20\x20\x20],\x0a\x0a';else{if(_0x11e8d0==_0x2b9a80(0xda))_0x1c1dc3+=_0x2b9a80(0xe4)+_0x549696[_0x2b9a80(0xed)]+'\x0a',_0x1c1dc3+=_0x2b9a80(0xdc)+_0x549696['Field']+':\x20[\x0a',_0x549696[_0x2b9a80(0xea)]!=_0x2b9a80(0xf7)&&(_0x1c1dc3+=_0x2b9a80(0xe9)+_0x549696['Comment']+_0x2b9a80(0x10a)+(_0x549696[_0x2b9a80(0xea)]!=_0x2b9a80(0xf7)?_0x2b9a80(0x10e):_0x2b9a80(0x10d))+_0x2b9a80(0xde)),_0x1c1dc3+='\x20\x20\x20\x20],\x0a\x0a';else{if(_0x11e8d0==_0x2b9a80(0x10c)){let _0x12a3ba=(0x0,helper_1[_0x2b9a80(0x112)])(_0x549696['Type']);_0x1c1dc3+=_0x2b9a80(0xe4)+_0x549696[_0x2b9a80(0xed)]+'\x0a',_0x1c1dc3+='\x20\x20\x20\x20'+_0x549696['Field']+_0x2b9a80(0xe1),_0x1c1dc3+='\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`请输入正确的'+_0x549696['Comment']+_0x2b9a80(0xd7)+_0x12a3ba[_0x2b9a80(0xf1)]('\x27,\x20\x27')+_0x2b9a80(0xd2),_0x549696[_0x2b9a80(0xea)]!=_0x2b9a80(0xf7)&&(_0x1c1dc3+=_0x2b9a80(0xe9)+_0x549696['Comment']+_0x2b9a80(0x10a)+(_0x549696[_0x2b9a80(0xea)]!=_0x2b9a80(0xf7)?_0x2b9a80(0x10e):'true')+_0x2b9a80(0xde)),_0x1c1dc3+=_0x2b9a80(0xd8);}else[_0x2b9a80(0x118),'datetime',_0x2b9a80(0x11a)]['indexOf'](_0x11e8d0)>-0x1?(_0x1c1dc3+=_0x2b9a80(0xe4)+_0x549696[_0x2b9a80(0xed)]+'\x0a',_0x1c1dc3+=_0x2b9a80(0xdc)+_0x549696[_0x2b9a80(0xfc)]+_0x2b9a80(0xe1),_0x1c1dc3+='\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`请输入正确的'+_0x549696['Comment']+_0x2b9a80(0x106),_0x549696[_0x2b9a80(0xea)]!=_0x2b9a80(0xf7)&&(_0x1c1dc3+=_0x2b9a80(0xe9)+_0x549696[_0x2b9a80(0xed)]+_0x2b9a80(0x10a)+(_0x549696[_0x2b9a80(0xea)]!=_0x2b9a80(0xf7)?_0x2b9a80(0x10e):_0x2b9a80(0x10d))+_0x2b9a80(0xde)),_0x1c1dc3+='\x20\x20\x20\x20],\x0a\x0a'):(_0x1c1dc3+=_0x2b9a80(0xe4)+_0x549696['Comment']+'\x0a',_0x1c1dc3+=_0x2b9a80(0xdc)+_0x549696[_0x2b9a80(0xfc)]+_0x2b9a80(0xe1),_0x1c1dc3+=_0x2b9a80(0xfb)+_0x549696[_0x2b9a80(0xed)]+'`,\x20type:\x20\x22string\x22\x20},\x0a',_0x549696[_0x2b9a80(0xea)]!=_0x2b9a80(0xf7)&&(_0x1c1dc3+=_0x2b9a80(0xe9)+_0x549696['Comment']+_0x2b9a80(0x10a)+(_0x549696[_0x2b9a80(0xea)]!=_0x2b9a80(0xf7)?_0x2b9a80(0x10e):'true')+_0x2b9a80(0xde)),_0x1c1dc3+=_0x2b9a80(0xd8));}}}}}_0x42b7f1+='\x0a',_0x42b7f1+=_0x2b9a80(0x104),_0x42b7f1+=_0x2b9a80(0x111)+_0x1e12fe+'\x0a',_0x42b7f1+=_0x2b9a80(0xe2),_0x42b7f1+=_0x2b9a80(0x116),_0x42b7f1+=_0x2b9a80(0xd0)+_0x33d71d+_0x2b9a80(0x101),_0x42b7f1+=_0x2b9a80(0xf8),_0x42b7f1+=_0x2b9a80(0xe6),_0x42b7f1=_0x42b7f1[_0x2b9a80(0xd3)]('%RuleColumn%',_0x1c1dc3),fs[_0x2b9a80(0xf5)](_0x4a5014,_0x42b7f1,_0x2b9a80(0xf4));}}async function updateRule(_0x5288bd,{tablestartUpShort:_0x2a0dbf,Comment:_0x5bf743,Fields:_0x5418f0}){const _0xa9651e=a16_0x4b95aa,_0x5860bd=_0x5288bd+_0xa9651e(0xfe);if(!fs[_0xa9651e(0xd6)](_0x5860bd)){let _0x48cf8b='',_0x11e7a3='';for(let _0x991c84 in _0x5418f0){let _0x5537e7=_0x5418f0[_0x991c84],_0x2ca780=(0x0,helper_1[_0xa9651e(0x113)])(_0x5537e7[_0xa9651e(0xfa)]);if(_0x5537e7[_0xa9651e(0xfc)]=='displayorder'||_0x5537e7[_0xa9651e(0xfc)]==_0xa9651e(0x10b)||_0x5537e7['Field']==_0xa9651e(0x103)||_0x5537e7[_0xa9651e(0xfc)]==_0xa9651e(0x109))continue;if([_0xa9651e(0xdb),_0xa9651e(0xf6),'mediumtext'][_0xa9651e(0xf3)](_0x2ca780)!=-0x1)_0x48cf8b+=_0xa9651e(0xe4)+_0x5537e7[_0xa9651e(0xed)]+'\x0a',_0x48cf8b+=_0xa9651e(0xdc)+_0x5537e7['Field']+_0xa9651e(0xe1),_0x5537e7[_0xa9651e(0xea)]!='YES'&&(_0x48cf8b+=_0xa9651e(0xe9)+_0x5537e7[_0xa9651e(0xed)]+_0xa9651e(0x10a)+(_0x5537e7[_0xa9651e(0xea)]!=_0xa9651e(0xf7)?'false':_0xa9651e(0x10d))+'\x20},\x0a'),_0x48cf8b+=_0xa9651e(0xd8);else{if(['float',_0xa9651e(0x120),_0xa9651e(0x11f),_0xa9651e(0x110)]['indexOf'](_0x2ca780)!=-0x1)_0x48cf8b+='\x20\x20\x20\x20//\x20'+_0x5537e7[_0xa9651e(0xed)]+'\x0a',_0x48cf8b+=_0xa9651e(0xdc)+_0x5537e7['Field']+_0xa9651e(0xe1),_0x48cf8b+=_0xa9651e(0xfb)+_0x5537e7[_0xa9651e(0xed)]+_0xa9651e(0x119),_0x5537e7[_0xa9651e(0xea)]!=_0xa9651e(0xf7)&&(_0x48cf8b+=_0xa9651e(0xe9)+_0x5537e7[_0xa9651e(0xed)]+_0xa9651e(0x10a)+(_0x5537e7['Null']!='YES'?_0xa9651e(0x10e):_0xa9651e(0x10d))+_0xa9651e(0xde)),_0x48cf8b+='\x20\x20\x20\x20],\x0a\x0a';else{if([_0xa9651e(0xef)][_0xa9651e(0xf3)](_0x2ca780)!=-0x1)_0x48cf8b+='\x20\x20\x20\x20//\x20'+_0x5537e7['Comment']+'\x0a',_0x48cf8b+='\x20\x20\x20\x20'+_0x5537e7[_0xa9651e(0xfc)]+':\x20[\x0a',_0x48cf8b+='\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`请输入正确的'+_0x5537e7[_0xa9651e(0xed)]+'`,\x20type:\x20\x22number\x22\x20},\x0a',_0x5537e7[_0xa9651e(0xea)]!='YES'&&(_0x48cf8b+=_0xa9651e(0xe9)+_0x5537e7[_0xa9651e(0xed)]+_0xa9651e(0x10a)+(_0x5537e7[_0xa9651e(0xea)]!=_0xa9651e(0xf7)?_0xa9651e(0x10e):_0xa9651e(0x10d))+_0xa9651e(0xde)),_0x48cf8b+=_0xa9651e(0xd8);else{if(_0x2ca780==_0xa9651e(0xda))_0x48cf8b+='\x20\x20\x20\x20//\x20'+_0x5537e7[_0xa9651e(0xed)]+'\x0a',_0x48cf8b+=_0xa9651e(0xdc)+_0x5537e7[_0xa9651e(0xfc)]+_0xa9651e(0xe1),_0x5537e7[_0xa9651e(0xea)]!=_0xa9651e(0xf7)&&(_0x48cf8b+='\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`'+_0x5537e7['Comment']+_0xa9651e(0x10a)+(_0x5537e7[_0xa9651e(0xea)]!='YES'?_0xa9651e(0x10e):_0xa9651e(0x10d))+_0xa9651e(0xde)),_0x48cf8b+=_0xa9651e(0xd8);else{if(_0x2ca780==_0xa9651e(0x10c)){let _0x2a8b11=(0x0,helper_1[_0xa9651e(0x112)])(_0x5537e7[_0xa9651e(0xfa)]);_0x48cf8b+='\x20\x20\x20\x20//\x20'+_0x5537e7['Comment']+'\x0a',_0x48cf8b+=_0xa9651e(0xdc)+_0x5537e7[_0xa9651e(0xfc)]+_0xa9651e(0xe1),_0x48cf8b+='\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`请输入正确的'+_0x5537e7[_0xa9651e(0xed)]+_0xa9651e(0xd7)+_0x2a8b11[_0xa9651e(0xf1)](_0xa9651e(0x117))+_0xa9651e(0xd2),_0x5537e7[_0xa9651e(0xea)]!='YES'&&(_0x48cf8b+=_0xa9651e(0xe9)+_0x5537e7['Comment']+_0xa9651e(0x10a)+(_0x5537e7[_0xa9651e(0xea)]!=_0xa9651e(0xf7)?'false':_0xa9651e(0x10d))+_0xa9651e(0xde)),_0x48cf8b+='\x20\x20\x20\x20],\x0a\x0a';}else[_0xa9651e(0x118),_0xa9651e(0xd1),_0xa9651e(0x11a)][_0xa9651e(0xf3)](_0x2ca780)>-0x1?(_0x48cf8b+=_0xa9651e(0xe4)+_0x5537e7[_0xa9651e(0xed)]+'\x0a',_0x48cf8b+=_0xa9651e(0xdc)+_0x5537e7[_0xa9651e(0xfc)]+':\x20[\x0a',_0x48cf8b+=_0xa9651e(0xfb)+_0x5537e7[_0xa9651e(0xed)]+_0xa9651e(0x106),_0x5537e7[_0xa9651e(0xea)]!=_0xa9651e(0xf7)&&(_0x48cf8b+=_0xa9651e(0xe9)+_0x5537e7[_0xa9651e(0xed)]+_0xa9651e(0x10a)+(_0x5537e7['Null']!=_0xa9651e(0xf7)?_0xa9651e(0x10e):_0xa9651e(0x10d))+_0xa9651e(0xde)),_0x48cf8b+=_0xa9651e(0xd8)):(_0x48cf8b+=_0xa9651e(0xe4)+_0x5537e7[_0xa9651e(0xed)]+'\x0a',_0x48cf8b+='\x20\x20\x20\x20'+_0x5537e7[_0xa9651e(0xfc)]+_0xa9651e(0xe1),_0x48cf8b+='\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`请输入正确的'+_0x5537e7[_0xa9651e(0xed)]+_0xa9651e(0xe5),_0x5537e7[_0xa9651e(0xea)]!=_0xa9651e(0xf7)&&(_0x48cf8b+=_0xa9651e(0xe9)+_0x5537e7['Comment']+_0xa9651e(0x10a)+(_0x5537e7[_0xa9651e(0xea)]!=_0xa9651e(0xf7)?_0xa9651e(0x10e):'true')+_0xa9651e(0xde)),_0x48cf8b+='\x20\x20\x20\x20],\x0a\x0a');}}}}}_0x11e7a3+='\x0a',_0x11e7a3+=_0xa9651e(0x104),_0x11e7a3+=_0xa9651e(0x111)+_0x5bf743+'\x0a',_0x11e7a3+='\x20*\x20数据更新验证\x0a',_0x11e7a3+=_0xa9651e(0x116),_0x11e7a3+='export\x20const\x20'+_0x2a0dbf+_0xa9651e(0x10f),_0x11e7a3+=_0xa9651e(0xf8),_0x11e7a3+=_0xa9651e(0xe6),_0x11e7a3=_0x11e7a3[_0xa9651e(0xd3)]('%RuleColumn%',_0x48cf8b),fs[_0xa9651e(0xf5)](_0x5860bd,_0x11e7a3,_0xa9651e(0xf4));}}
|
package/dist/types/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a17_0xfa8b22=a17_0x3bc9;(function(_0x40929c,_0x18f56c){var _0x47202f=a17_0x3bc9,_0x2511eb=_0x40929c();while(!![]){try{var _0x2f40ff=parseInt(_0x47202f(0xe7))/0x1*(parseInt(_0x47202f(0xe3))/0x2)+-parseInt(_0x47202f(0xe5))/0x3*(-parseInt(_0x47202f(0xe9))/0x4)+parseInt(_0x47202f(0xeb))/0x5*(parseInt(_0x47202f(0xe8))/0x6)+-parseInt(_0x47202f(0xe0))/0x7+parseInt(_0x47202f(0xea))/0x8+-parseInt(_0x47202f(0xe6))/0x9*(parseInt(_0x47202f(0xed))/0xa)+parseInt(_0x47202f(0xe2))/0xb;if(_0x2f40ff===_0x18f56c)break;else _0x2511eb['push'](_0x2511eb['shift']());}catch(_0x2b32fc){_0x2511eb['push'](_0x2511eb['shift']());}}}(a17_0x2aa5,0xe2d7e));var a17_0x340b78=(function(){var _0x1a4326=!![];return function(_0x5935c8,_0x36c965){var _0x38e0b5=_0x1a4326?function(){var _0x5cb842=a17_0x3bc9;if(_0x36c965){var _0x591982=_0x36c965[_0x5cb842(0xec)](_0x5935c8,arguments);return _0x36c965=null,_0x591982;}}:function(){};return _0x1a4326=![],_0x38e0b5;};}()),a17_0x1fdde0=a17_0x340b78(this,function(){var _0x4cc8af=a17_0x3bc9;return a17_0x1fdde0['toString']()[_0x4cc8af(0xee)]('(((.+)+)+)+$')[_0x4cc8af(0xe4)]()[_0x4cc8af(0xef)](a17_0x1fdde0)[_0x4cc8af(0xee)]('(((.+)+)+)+$');});a17_0x1fdde0();function a17_0x2aa5(){var _0x1e124d=['4VNjWXD','413928hSJbkW','5bfNesi','apply','40pPcXIn','search','constructor','5485102wBbUyf','defineProperty','4018916QXhCtL','408714aFlVXy','toString','3887958maZmAA','2056284IucObm','3fWFsVT','1802916yLWvbQ'];a17_0x2aa5=function(){return _0x1e124d;};return a17_0x2aa5();}'use strict';function a17_0x3bc9(_0x52368c,_0x8f7158){var _0x440aca=a17_0x2aa5();return a17_0x3bc9=function(_0x1fdde0,_0x340b78){_0x1fdde0=_0x1fdde0-0xe0;var _0x2aa5ff=_0x440aca[_0x1fdde0];return _0x2aa5ff;},a17_0x3bc9(_0x52368c,_0x8f7158);}Object[a17_0xfa8b22(0xe1)](exports,'__esModule',{'value':!![]});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "anncic-apihelper",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.4",
|
|
4
4
|
"main": "./dist/index.js",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist"
|
|
@@ -14,12 +14,12 @@
|
|
|
14
14
|
"build": "tsc && javascript-obfuscator ./dist --output ./dist --config obfuscator.json"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@anncic-api/typeorm": "^3.0.
|
|
17
|
+
"@anncic-api/typeorm": "^3.0.4"
|
|
18
18
|
},
|
|
19
19
|
"devDependencies": {
|
|
20
20
|
"@types/node": "^18.8.4",
|
|
21
21
|
"javascript-obfuscator": "^4.0.0",
|
|
22
22
|
"typescript": "^4.8.4"
|
|
23
23
|
},
|
|
24
|
-
"gitHead": "
|
|
24
|
+
"gitHead": "01631600216047011e684cbd2aff81845e637d94"
|
|
25
25
|
}
|