anncic-apihelper 3.4.24 → 3.4.33
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.d.ts +6 -6
- package/dist/configuration.js +1 -1
- package/dist/helper.d.ts +2 -2
- package/dist/helper.js +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.js +1 -1
- package/dist/service/ApicreateService.d.ts +15 -15
- package/dist/service/ApicreateService.js +1 -1
- package/dist/templateFun/Action.d.ts +10 -10
- package/dist/templateFun/Action.js +1 -1
- package/dist/templateFun/Common.d.ts +7 -7
- package/dist/templateFun/Common.js +1 -1
- package/dist/templateFun/Entities.d.ts +11 -11
- package/dist/templateFun/Entities.js +1 -1
- package/dist/templateFun/Event.d.ts +7 -7
- package/dist/templateFun/Event.js +1 -1
- package/dist/templateFun/Handler.d.ts +9 -9
- package/dist/templateFun/Handler.js +1 -1
- package/dist/templateFun/Search.d.ts +7 -7
- package/dist/templateFun/Search.js +1 -1
- package/dist/templateFun/Validator.d.ts +11 -11
- package/dist/templateFun/Validator.js +1 -1
- package/dist/templateVue/Api.d.ts +9 -9
- package/dist/templateVue/Api.js +1 -1
- package/dist/templateVue/Layout.d.ts +7 -7
- package/dist/templateVue/Layout.js +1 -1
- package/dist/templateVue/LayoutVue.d.ts +10 -10
- package/dist/templateVue/LayoutVue.js +1 -1
- package/dist/templateVue/Router.d.ts +8 -8
- package/dist/templateVue/Router.js +1 -1
- package/dist/templateVue/Validator.d.ts +10 -10
- package/dist/templateVue/Validator.js +1 -1
- package/dist/templateVueV2/Api.d.ts +9 -9
- package/dist/templateVueV2/Api.js +1 -1
- package/dist/templateVueV2/Layout.d.ts +7 -7
- package/dist/templateVueV2/Layout.js +1 -1
- package/dist/templateVueV2/LayoutVue.d.ts +10 -10
- package/dist/templateVueV2/LayoutVue.js +1 -1
- package/dist/templateVueV2/Router.d.ts +8 -8
- package/dist/templateVueV2/Router.js +1 -1
- package/dist/templateVueV2/Validator.d.ts +8 -8
- package/dist/templateVueV2/Validator.js +1 -1
- package/dist/templateVueV3/Api.d.ts +9 -0
- package/dist/templateVueV3/Api.js +1 -0
- package/dist/templateVueV3/Layout.d.ts +8 -0
- package/dist/templateVueV3/Layout.js +1 -0
- package/dist/templateVueV3/LayoutVue.d.ts +11 -0
- package/dist/templateVueV3/LayoutVue.js +1 -0
- package/dist/templateVueV3/Router.d.ts +8 -0
- package/dist/templateVueV3/Router.js +1 -0
- package/dist/templateVueV3/Validator.d.ts +8 -0
- package/dist/templateVueV3/Validator.js +1 -0
- package/dist/types/index.d.ts +18 -17
- package/dist/types/index.js +1 -1
- package/package.json +3 -3
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const a25_0xf65dc3=a25_0x3e05;function a25_0x5cd5(){const _0x23e50e=['dirname','cwd','8300OQSaZK','2441065IpJEps','Type','12FOjsjk','__esModule','double','created_at','/pages/','1482FooZYl','existsSync','deleted_at','\x20\x20\x20\x20//\x20','Comment','5823768vtqzza','\x20},\x0a','defineProperty','false','datetime','default','Null','replace','toString','true','number','getProp','writeFileSync','join','timestamp','/interface.ts','string','AddRule\x20=\x20{\x0a%AddRuleColumn%\x0a}\x0a\x0a/**\x0a\x20*\x20数据修改验证\x0a\x20*\x20**/\x0aexport\x20const\x20','mediumtext','`,\x20type:\x20\x22date\x22\x20},\x0a','1232690gbupeO','indexOf','json','`,\x20type:\x20\x22enum\x22,\x20enum:\x20[\x27','updated_at','不能为空`,\x20required:\x20','mkdirSync','Field','3yMisWC','tinyint','5555tXYXkZ','EditRule\x20=\x20{\x0a%EditRuleColumn%\x0a}','date','192ePrsHP','%EditRuleColumn%','`,\x20type:\x20\x22number\x22\x20},\x0a','\x27,\x20\x27','path','decimal','displayorder','YES','utf-8','constructor','search','getEnum',':\x20[\x0a','%AddRuleColumn%','/pages/apps/','1127009GLcARZ','9xvFBZF','longtext','1025968KmPZiE','text','`,\x20type:\x20\x22string\x22\x20},\x0a','(((.+)+)+)+$','\x0a/**\x0a\x20*\x20数据添加验证\x0a\x20*\x20**/\x0aexport\x20const\x20','\x20\x20\x20\x20],\x0a\x0a','\x20\x20\x20\x20','\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`请输入正确的','910qGWKtf','float','apply','\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`','enum'];a25_0x5cd5=function(){return _0x23e50e;};return a25_0x5cd5();}(function(_0x363861,_0x5120ee){const _0x203651=a25_0x3e05,_0x2fa1f7=_0x363861();while(!![]){try{const _0x1c2a6c=-parseInt(_0x203651(0x164))/0x1+parseInt(_0x203651(0x183))/0x2*(-parseInt(_0x203651(0x16c))/0x3)+parseInt(_0x203651(0x195))/0x4*(parseInt(_0x203651(0x193))/0x5)+-parseInt(_0x203651(0x19a))/0x6*(parseInt(_0x203651(0x18b))/0x7)+parseInt(_0x203651(0x150))/0x8*(-parseInt(_0x203651(0x181))/0x9)+parseInt(_0x203651(0x192))/0xa*(parseInt(_0x203651(0x16e))/0xb)+-parseInt(_0x203651(0x171))/0xc*(-parseInt(_0x203651(0x180))/0xd);if(_0x1c2a6c===_0x5120ee)break;else _0x2fa1f7['push'](_0x2fa1f7['shift']());}catch(_0x4cd692){_0x2fa1f7['push'](_0x2fa1f7['shift']());}}}(a25_0x5cd5,0xbacc2));function a25_0x3e05(_0x1cada3,_0x2db943){const _0x5ba1fd=a25_0x5cd5();return a25_0x3e05=function(_0x33a8f4,_0x4e3e94){_0x33a8f4=_0x33a8f4-0x14e;let _0x5cd578=_0x5ba1fd[_0x33a8f4];return _0x5cd578;},a25_0x3e05(_0x1cada3,_0x2db943);}const a25_0x4e3e94=(function(){let _0x1fe976=!![];return function(_0x546297,_0x41869c){const _0x38da72=_0x1fe976?function(){const _0x16ebe8=a25_0x3e05;if(_0x41869c){const _0x45c90c=_0x41869c[_0x16ebe8(0x18d)](_0x546297,arguments);return _0x41869c=null,_0x45c90c;}}:function(){};return _0x1fe976=![],_0x38da72;};}()),a25_0x33a8f4=a25_0x4e3e94(this,function(){const _0x4ad3a6=a25_0x3e05;return a25_0x33a8f4[_0x4ad3a6(0x158)]()[_0x4ad3a6(0x17b)](_0x4ad3a6(0x186))[_0x4ad3a6(0x158)]()[_0x4ad3a6(0x17a)](a25_0x33a8f4)['search'](_0x4ad3a6(0x186));});a25_0x33a8f4();'use strict';Object[a25_0xf65dc3(0x152)](exports,a25_0xf65dc3(0x196),{'value':!![]});const fs=require('fs'),path=require(a25_0xf65dc3(0x175)),helper_1=require('../helper');async function default_1({tablestartUpShort:_0x1e9ee8,tablestartUpShort2:_0x1c60a0,moduleName:_0x5193e6,controller:_0x1cd7a7,apporbasic:_0x2faecd,Fields:_0x29e306}){const _0x4de2af=a25_0xf65dc3;let _0x3f0f6b=process[_0x4de2af(0x191)]()+'/vue'+(typeof _0x1cd7a7==_0x4de2af(0x160)?'/'+_0x1cd7a7:'');_0x5193e6?_0x3f0f6b=_0x3f0f6b+(_0x4de2af(0x17f)+_0x5193e6+'/'+_0x1c60a0+_0x4de2af(0x15f)):_0x3f0f6b=_0x3f0f6b+(_0x4de2af(0x199)+_0x2faecd+'/'+_0x1c60a0+_0x4de2af(0x15f));const _0x30e3cd=_0x4de2af(0x187)+_0x1e9ee8+_0x4de2af(0x161)+_0x1e9ee8+_0x4de2af(0x16f),_0x2b8f29=await createAddRuleColumn({'Fields':_0x29e306}),_0x284365=await createEditRuleColumn({'Fields':_0x29e306});!fs[_0x4de2af(0x19b)](path['dirname'](_0x3f0f6b))&&fs[_0x4de2af(0x16a)](path[_0x4de2af(0x190)](_0x3f0f6b),{'recursive':!![]}),fs[_0x4de2af(0x15c)](_0x3f0f6b,_0x30e3cd[_0x4de2af(0x157)](_0x4de2af(0x17e),_0x2b8f29)[_0x4de2af(0x157)](_0x4de2af(0x172),_0x284365),_0x4de2af(0x179));}exports[a25_0xf65dc3(0x155)]=default_1;async function createAddRuleColumn({Fields:_0x295ac2}){const _0x49a7d7=a25_0xf65dc3;let _0x59f965='';for(let _0x4f0a14 in _0x295ac2){let _0x46ee9d=_0x295ac2[_0x4f0a14],_0x4f7dc7=(0x0,helper_1[_0x49a7d7(0x15b)])(_0x46ee9d[_0x49a7d7(0x194)]);if(_0x46ee9d[_0x49a7d7(0x16b)]=='displayorder'||_0x46ee9d[_0x49a7d7(0x16b)]==_0x49a7d7(0x198)||_0x46ee9d[_0x49a7d7(0x16b)]=='updated_at'||_0x46ee9d['Field']==_0x49a7d7(0x19c))continue;if([_0x49a7d7(0x184),_0x49a7d7(0x182),_0x49a7d7(0x162)][_0x49a7d7(0x165)](_0x4f7dc7)!=-0x1)_0x59f965+=_0x49a7d7(0x14e)+_0x46ee9d[_0x49a7d7(0x14f)]+'\x0a',_0x59f965+='\x20\x20\x20\x20'+_0x46ee9d[_0x49a7d7(0x16b)]+_0x49a7d7(0x17d),_0x46ee9d[_0x49a7d7(0x156)]!=_0x49a7d7(0x178)&&(_0x59f965+=_0x49a7d7(0x18e)+_0x46ee9d[_0x49a7d7(0x14f)]+_0x49a7d7(0x169)+(_0x46ee9d['Null']!=_0x49a7d7(0x178)?_0x49a7d7(0x153):'true')+_0x49a7d7(0x151)),_0x59f965+=_0x49a7d7(0x188);else{if([_0x49a7d7(0x18c),_0x49a7d7(0x197),_0x49a7d7(0x176),_0x49a7d7(0x15a)][_0x49a7d7(0x165)](_0x4f7dc7)!=-0x1)_0x59f965+=_0x49a7d7(0x14e)+_0x46ee9d[_0x49a7d7(0x14f)]+'\x0a',_0x59f965+=_0x49a7d7(0x189)+_0x46ee9d[_0x49a7d7(0x16b)]+_0x49a7d7(0x17d),_0x59f965+=_0x49a7d7(0x18a)+_0x46ee9d[_0x49a7d7(0x14f)]+_0x49a7d7(0x173),_0x46ee9d['Null']!=_0x49a7d7(0x178)&&(_0x59f965+=_0x49a7d7(0x18e)+_0x46ee9d[_0x49a7d7(0x14f)]+_0x49a7d7(0x169)+(_0x46ee9d[_0x49a7d7(0x156)]!=_0x49a7d7(0x178)?_0x49a7d7(0x153):_0x49a7d7(0x159))+_0x49a7d7(0x151)),_0x59f965+=_0x49a7d7(0x188);else{if(['tinyint']['indexOf'](_0x4f7dc7)!=-0x1)_0x59f965+=_0x49a7d7(0x14e)+_0x46ee9d[_0x49a7d7(0x14f)]+'\x0a',_0x59f965+=_0x49a7d7(0x189)+_0x46ee9d[_0x49a7d7(0x16b)]+':\x20[\x0a',_0x59f965+=_0x49a7d7(0x18a)+_0x46ee9d[_0x49a7d7(0x14f)]+_0x49a7d7(0x173),_0x46ee9d[_0x49a7d7(0x156)]!=_0x49a7d7(0x178)&&(_0x59f965+=_0x49a7d7(0x18e)+_0x46ee9d['Comment']+'不能为空`,\x20required:\x20'+(_0x46ee9d[_0x49a7d7(0x156)]!=_0x49a7d7(0x178)?'false':_0x49a7d7(0x159))+_0x49a7d7(0x151)),_0x59f965+=_0x49a7d7(0x188);else{if(_0x4f7dc7==_0x49a7d7(0x166))_0x59f965+=_0x49a7d7(0x14e)+_0x46ee9d['Comment']+'\x0a',_0x59f965+='\x20\x20\x20\x20'+_0x46ee9d[_0x49a7d7(0x16b)]+':\x20[\x0a',_0x46ee9d[_0x49a7d7(0x156)]!=_0x49a7d7(0x178)&&(_0x59f965+=_0x49a7d7(0x18e)+_0x46ee9d[_0x49a7d7(0x14f)]+'不能为空`,\x20required:\x20'+(_0x46ee9d[_0x49a7d7(0x156)]!=_0x49a7d7(0x178)?_0x49a7d7(0x153):'true')+_0x49a7d7(0x151)),_0x59f965+=_0x49a7d7(0x188);else{if(_0x4f7dc7==_0x49a7d7(0x18f)){let _0x3ab540=(0x0,helper_1[_0x49a7d7(0x17c)])(_0x46ee9d['Type']);_0x59f965+=_0x49a7d7(0x14e)+_0x46ee9d[_0x49a7d7(0x14f)]+'\x0a',_0x59f965+=_0x49a7d7(0x189)+_0x46ee9d[_0x49a7d7(0x16b)]+_0x49a7d7(0x17d),_0x59f965+=_0x49a7d7(0x18a)+_0x46ee9d[_0x49a7d7(0x14f)]+_0x49a7d7(0x167)+_0x3ab540[_0x49a7d7(0x15d)]('\x27,\x20\x27')+'\x27]\x20},\x0a',_0x46ee9d[_0x49a7d7(0x156)]!=_0x49a7d7(0x178)&&(_0x59f965+='\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`'+_0x46ee9d[_0x49a7d7(0x14f)]+_0x49a7d7(0x169)+(_0x46ee9d[_0x49a7d7(0x156)]!=_0x49a7d7(0x178)?'false':_0x49a7d7(0x159))+_0x49a7d7(0x151)),_0x59f965+='\x20\x20\x20\x20],\x0a\x0a';}else[_0x49a7d7(0x170),'datetime',_0x49a7d7(0x15e)][_0x49a7d7(0x165)](_0x4f7dc7)>-0x1?(_0x59f965+='\x20\x20\x20\x20//\x20'+_0x46ee9d[_0x49a7d7(0x14f)]+'\x0a',_0x59f965+='\x20\x20\x20\x20'+_0x46ee9d[_0x49a7d7(0x16b)]+_0x49a7d7(0x17d),_0x59f965+=_0x49a7d7(0x18a)+_0x46ee9d[_0x49a7d7(0x14f)]+_0x49a7d7(0x163),_0x46ee9d[_0x49a7d7(0x156)]!=_0x49a7d7(0x178)&&(_0x59f965+=_0x49a7d7(0x18e)+_0x46ee9d['Comment']+_0x49a7d7(0x169)+(_0x46ee9d[_0x49a7d7(0x156)]!=_0x49a7d7(0x178)?'false':_0x49a7d7(0x159))+_0x49a7d7(0x151)),_0x59f965+=_0x49a7d7(0x188)):(_0x59f965+='\x20\x20\x20\x20//\x20'+_0x46ee9d[_0x49a7d7(0x14f)]+'\x0a',_0x59f965+=_0x49a7d7(0x189)+_0x46ee9d['Field']+_0x49a7d7(0x17d),_0x59f965+='\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`请输入正确的'+_0x46ee9d[_0x49a7d7(0x14f)]+_0x49a7d7(0x185),_0x46ee9d[_0x49a7d7(0x156)]!=_0x49a7d7(0x178)&&(_0x59f965+=_0x49a7d7(0x18e)+_0x46ee9d['Comment']+_0x49a7d7(0x169)+(_0x46ee9d[_0x49a7d7(0x156)]!=_0x49a7d7(0x178)?'false':_0x49a7d7(0x159))+'\x20},\x0a'),_0x59f965+='\x20\x20\x20\x20],\x0a\x0a');}}}}}return _0x59f965;}async function createEditRuleColumn({Fields:_0x5c012f}){const _0x304867=a25_0xf65dc3;let _0x2675bf='';for(let _0x3788af in _0x5c012f){let _0x2e87bb=_0x5c012f[_0x3788af],_0x553bc3=(0x0,helper_1[_0x304867(0x15b)])(_0x2e87bb[_0x304867(0x194)]);if(_0x2e87bb['Field']==_0x304867(0x177)||_0x2e87bb[_0x304867(0x16b)]==_0x304867(0x198)||_0x2e87bb[_0x304867(0x16b)]==_0x304867(0x168)||_0x2e87bb['Field']==_0x304867(0x19c))continue;if([_0x304867(0x184),'longtext',_0x304867(0x162)][_0x304867(0x165)](_0x553bc3)!=-0x1)_0x2675bf+='\x20\x20\x20\x20//\x20'+_0x2e87bb[_0x304867(0x14f)]+'\x0a',_0x2675bf+=_0x304867(0x189)+_0x2e87bb['Field']+_0x304867(0x17d),_0x2e87bb[_0x304867(0x156)]!=_0x304867(0x178)&&(_0x2675bf+='\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`'+_0x2e87bb['Comment']+_0x304867(0x169)+(_0x2e87bb[_0x304867(0x156)]!=_0x304867(0x178)?'false':'true')+'\x20},\x0a'),_0x2675bf+='\x20\x20\x20\x20],\x0a\x0a';else{if([_0x304867(0x18c),_0x304867(0x197),_0x304867(0x176),_0x304867(0x15a)][_0x304867(0x165)](_0x553bc3)!=-0x1)_0x2675bf+='\x20\x20\x20\x20//\x20'+_0x2e87bb[_0x304867(0x14f)]+'\x0a',_0x2675bf+=_0x304867(0x189)+_0x2e87bb[_0x304867(0x16b)]+_0x304867(0x17d),_0x2675bf+=_0x304867(0x18a)+_0x2e87bb[_0x304867(0x14f)]+_0x304867(0x173),_0x2e87bb[_0x304867(0x156)]!=_0x304867(0x178)&&(_0x2675bf+=_0x304867(0x18e)+_0x2e87bb[_0x304867(0x14f)]+_0x304867(0x169)+(_0x2e87bb['Null']!=_0x304867(0x178)?_0x304867(0x153):_0x304867(0x159))+'\x20},\x0a'),_0x2675bf+=_0x304867(0x188);else{if([_0x304867(0x16d)][_0x304867(0x165)](_0x553bc3)!=-0x1)_0x2675bf+=_0x304867(0x14e)+_0x2e87bb[_0x304867(0x14f)]+'\x0a',_0x2675bf+=_0x304867(0x189)+_0x2e87bb['Field']+_0x304867(0x17d),_0x2675bf+=_0x304867(0x18a)+_0x2e87bb[_0x304867(0x14f)]+_0x304867(0x173),_0x2e87bb[_0x304867(0x156)]!=_0x304867(0x178)&&(_0x2675bf+=_0x304867(0x18e)+_0x2e87bb['Comment']+_0x304867(0x169)+(_0x2e87bb[_0x304867(0x156)]!=_0x304867(0x178)?'false':'true')+_0x304867(0x151)),_0x2675bf+=_0x304867(0x188);else{if(_0x553bc3==_0x304867(0x166))_0x2675bf+=_0x304867(0x14e)+_0x2e87bb['Comment']+'\x0a',_0x2675bf+=_0x304867(0x189)+_0x2e87bb[_0x304867(0x16b)]+_0x304867(0x17d),_0x2e87bb[_0x304867(0x156)]!='YES'&&(_0x2675bf+=_0x304867(0x18e)+_0x2e87bb[_0x304867(0x14f)]+_0x304867(0x169)+(_0x2e87bb[_0x304867(0x156)]!=_0x304867(0x178)?_0x304867(0x153):'true')+_0x304867(0x151)),_0x2675bf+=_0x304867(0x188);else{if(_0x553bc3==_0x304867(0x18f)){let _0x4124d9=(0x0,helper_1[_0x304867(0x17c)])(_0x2e87bb[_0x304867(0x194)]);_0x2675bf+=_0x304867(0x14e)+_0x2e87bb[_0x304867(0x14f)]+'\x0a',_0x2675bf+=_0x304867(0x189)+_0x2e87bb[_0x304867(0x16b)]+_0x304867(0x17d),_0x2675bf+='\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`请输入正确的'+_0x2e87bb['Comment']+'`,\x20type:\x20\x22enum\x22,\x20enum:\x20[\x27'+_0x4124d9[_0x304867(0x15d)](_0x304867(0x174))+'\x27]\x20},\x0a',_0x2e87bb[_0x304867(0x156)]!='YES'&&(_0x2675bf+='\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`'+_0x2e87bb['Comment']+_0x304867(0x169)+(_0x2e87bb['Null']!=_0x304867(0x178)?_0x304867(0x153):'true')+_0x304867(0x151)),_0x2675bf+=_0x304867(0x188);}else[_0x304867(0x170),_0x304867(0x154),_0x304867(0x15e)][_0x304867(0x165)](_0x553bc3)>-0x1?(_0x2675bf+='\x20\x20\x20\x20//\x20'+_0x2e87bb[_0x304867(0x14f)]+'\x0a',_0x2675bf+='\x20\x20\x20\x20'+_0x2e87bb[_0x304867(0x16b)]+_0x304867(0x17d),_0x2675bf+=_0x304867(0x18a)+_0x2e87bb[_0x304867(0x14f)]+_0x304867(0x163),_0x2e87bb[_0x304867(0x156)]!=_0x304867(0x178)&&(_0x2675bf+=_0x304867(0x18e)+_0x2e87bb[_0x304867(0x14f)]+_0x304867(0x169)+(_0x2e87bb['Null']!='YES'?_0x304867(0x153):_0x304867(0x159))+_0x304867(0x151)),_0x2675bf+='\x20\x20\x20\x20],\x0a\x0a'):(_0x2675bf+=_0x304867(0x14e)+_0x2e87bb[_0x304867(0x14f)]+'\x0a',_0x2675bf+=_0x304867(0x189)+_0x2e87bb[_0x304867(0x16b)]+':\x20[\x0a',_0x2675bf+=_0x304867(0x18a)+_0x2e87bb[_0x304867(0x14f)]+_0x304867(0x185),_0x2e87bb[_0x304867(0x156)]!=_0x304867(0x178)&&(_0x2675bf+='\x20\x20\x20\x20\x20\x20\x20\x20{\x20message:\x20`'+_0x2e87bb['Comment']+'不能为空`,\x20required:\x20'+(_0x2e87bb['Null']!='YES'?_0x304867(0x153):'true')+_0x304867(0x151)),_0x2675bf+=_0x304867(0x188));}}}}}return _0x2675bf;}
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,17 +1,18 @@
|
|
|
1
|
-
export interface IApicreate {
|
|
2
|
-
table?: string;
|
|
3
|
-
substr?: number;
|
|
4
|
-
hasvue?: boolean | 'v2';
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
1
|
+
export interface IApicreate {
|
|
2
|
+
table?: string;
|
|
3
|
+
substr?: number;
|
|
4
|
+
hasvue?: boolean | 'v2' | 'v3';
|
|
5
|
+
vuedialog?: boolean;
|
|
6
|
+
controller?: boolean | string | string[];
|
|
7
|
+
connection?: string;
|
|
8
|
+
tableprefix?: string;
|
|
9
|
+
}
|
|
10
|
+
export interface IApicreateApp extends IApicreate {
|
|
11
|
+
apporbasic?: 'app' | 'basic';
|
|
12
|
+
}
|
|
13
|
+
export interface IApicreateBasic extends IApicreate {
|
|
14
|
+
apporbasic?: 'app' | 'basic';
|
|
15
|
+
}
|
|
16
|
+
export interface IApicreatePlugin extends IApicreate {
|
|
17
|
+
module?: boolean;
|
|
18
|
+
}
|
package/dist/types/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a26_0x38b0(_0x257210,_0x58eaac){var _0x15f739=a26_0x384e();return a26_0x38b0=function(_0x52818c,_0x118d35){_0x52818c=_0x52818c-0x9f;var _0x384e43=_0x15f739[_0x52818c];return _0x384e43;},a26_0x38b0(_0x257210,_0x58eaac);}var a26_0x138698=a26_0x38b0;(function(_0x3b8c3f,_0x268931){var _0x1138fd=a26_0x38b0,_0x2267c1=_0x3b8c3f();while(!![]){try{var _0x15f72c=-parseInt(_0x1138fd(0xa1))/0x1+-parseInt(_0x1138fd(0x9f))/0x2+parseInt(_0x1138fd(0xa6))/0x3*(-parseInt(_0x1138fd(0xac))/0x4)+parseInt(_0x1138fd(0xa4))/0x5+-parseInt(_0x1138fd(0xa8))/0x6+parseInt(_0x1138fd(0xa5))/0x7*(-parseInt(_0x1138fd(0xa9))/0x8)+parseInt(_0x1138fd(0xaa))/0x9;if(_0x15f72c===_0x268931)break;else _0x2267c1['push'](_0x2267c1['shift']());}catch(_0x51d1b7){_0x2267c1['push'](_0x2267c1['shift']());}}}(a26_0x384e,0x5ceea));function a26_0x384e(){var _0x52c31b=['21043980tiMbeT','defineProperty','476628NNzglL','(((.+)+)+)+$','1385168nOTely','search','357481ycpnYs','toString','apply','2173285srZhSM','1180396wzIMTg','12Qdztpg','__esModule','4181436rSLJao','8hwFWRJ'];a26_0x384e=function(){return _0x52c31b;};return a26_0x384e();}var a26_0x118d35=(function(){var _0x5c1b62=!![];return function(_0x332be7,_0x520bee){var _0xc5946c=_0x5c1b62?function(){var _0x497974=a26_0x38b0;if(_0x520bee){var _0x5d1e31=_0x520bee[_0x497974(0xa3)](_0x332be7,arguments);return _0x520bee=null,_0x5d1e31;}}:function(){};return _0x5c1b62=![],_0xc5946c;};}()),a26_0x52818c=a26_0x118d35(this,function(){var _0x49455b=a26_0x38b0;return a26_0x52818c['toString']()[_0x49455b(0xa0)]('(((.+)+)+)+$')[_0x49455b(0xa2)]()['constructor'](a26_0x52818c)[_0x49455b(0xa0)](_0x49455b(0xad));});a26_0x52818c();'use strict';Object[a26_0x138698(0xab)](exports,a26_0x138698(0xa7),{'value':!![]});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "anncic-apihelper",
|
|
3
|
-
"version": "3.4.
|
|
3
|
+
"version": "3.4.33",
|
|
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.4.
|
|
17
|
+
"@anncic-api/typeorm": "^3.4.33"
|
|
18
18
|
},
|
|
19
19
|
"devDependencies": {
|
|
20
20
|
"@types/node": "^20.3.2",
|
|
21
21
|
"javascript-obfuscator": "^4.0.2",
|
|
22
22
|
"typescript": "^5.1.3"
|
|
23
23
|
},
|
|
24
|
-
"gitHead": "
|
|
24
|
+
"gitHead": "6e3dc4cc04c16c5f54d726b20f373b159310d1dc"
|
|
25
25
|
}
|