UNPKG

generator-begcode

Version:

Spring Boot + Angular/React/Vue in one handy generator

1 lines 5.94 kB
function _0x1b70(_0x28db94,_0x438fcd){const _0x1b70f2=_0x438f();_0x1b70=function(_0x4df92a,_0x5452c4){_0x4df92a=_0x4df92a-0x0;let _0x154e5a=_0x1b70f2[_0x4df92a];return _0x154e5a;};return _0x1b70(_0x28db94,_0x438fcd);}function QTlbms(_0x3120f6,_0x1776b5){if(!![]!=![])return;QTlbms=function(_0x210585,_0x25dc82){_0x210585=_0x210585-(0x973c9^0x973c9);var _0x316cf8=_0x5e50e6[_0x210585];return _0x316cf8;};return QTlbms(_0x3120f6,_0x1776b5);}QTlbms();const _0x4293e3=_0x1b70;(function(_0xbf2e0d,_0x1ef3dd){const _0x225215=_0x1b70;const _0x3b329a=_0xbf2e0d();do{try{const _0x183aee=-parseInt(_0x225215(0x4))/0x1*(-parseInt(_0x225215(0x9))/0x2)+-parseInt(_0x225215(0x17))/0x3*(-parseInt(_0x225215(0x15))/0x4)+-parseInt(_0x225215(0x16))/0x5*(-parseInt(_0x225215(0x0))/0x6)+parseInt(_0x225215(0x11))/0x7+-parseInt(_0x225215(0xc))/0x8+parseInt(_0x225215(0x3))/0x9+-parseInt(_0x225215(0x14))/0xa*(parseInt(_0x225215(0x10))/0xb);if(_0x183aee===_0x1ef3dd){break;}else{_0x3b329a["\u0070\u0075\u0073\u0068"](_0x3b329a["\u0073\u0068\u0069\u0066\u0074"]());}}catch(_0x30a25f){_0x3b329a["\u0070\u0075\u0073\u0068"](_0x3b329a["\u0073\u0068\u0069\u0066\u0074"]());}}while(!![]);})(_0x438f,0x9a8ad);import{asWritingEntitiesTask}from"\u002e\u002e\u002f\u0062\u0061\u0073\u0065\u002d\u0061\u0070\u0070\u006c\u0069\u0063\u0061\u0074\u0069\u006f\u006e\u002f\u0073\u0075\u0070\u0070\u006f\u0072\u0074\u002f\u0069\u006e\u0064\u0065\u0078\u002e\u006a\u0073";import{javaMainPackageTemplatesBlock,moveToJavaPackageSrcDir}from"\u002e\u002e\u002f\u0073\u0065\u0072\u0076\u0065\u0072\u002f\u0073\u0075\u0070\u0070\u006f\u0072\u0074\u002f\u0069\u006e\u0064\u0065\u0078\u002e\u006a\u0073";import{SERVER_MAIN_SRC_DIR}from"\u002e\u002e\u002f\u0067\u0065\u006e\u0065\u0072\u0061\u0074\u006f\u0072\u002d\u0063\u006f\u006e\u0073\u0074\u0061\u006e\u0074\u0073\u002e\u006a\u0073";export const entityFiles={"\u0065\u006c\u0061\u0073\u0074\u0069\u0063\u0053\u0065\u0061\u0072\u0063\u0068\u0046\u0069\u006c\u0065\u0073":[{"\u0063\u006f\u006e\u0064\u0069\u0074\u0069\u006f\u006e":_0x40985f=>!_0x40985f['embedded']&&_0x40985f["\u0065\u006e\u0074\u0069\u0074\u0079\u0053\u0065\u0061\u0072\u0063\u0068\u004c\u0061\u0079\u0065\u0072"],...javaMainPackageTemplatesBlock(_0x4293e3(0x8)),"\u0074\u0065\u006d\u0070\u006c\u0061\u0074\u0065\u0073":[_0x4293e3(0x12)]},{"\u0063\u006f\u006e\u0064\u0069\u0074\u0069\u006f\u006e":_0x5268dc=>_0x5268dc['entityDomainLayer'],...javaMainPackageTemplatesBlock(_0x4293e3(0x8)),"\u0074\u0065\u006d\u0070\u006c\u0061\u0074\u0065\u0073":[_0x4293e3(0xb)]}]};export const userEntityFiles={"\u0065\u006c\u0061\u0073\u0074\u0069\u0063\u0053\u0065\u0061\u0072\u0063\u0068\u0046\u0069\u006c\u0065\u0073":[{"\u0070\u0061\u0074\u0068":SERVER_MAIN_SRC_DIR+_0x4293e3(0x19),'renameTo':moveToJavaPackageSrcDir,"\u0074\u0065\u006d\u0070\u006c\u0061\u0074\u0065\u0073":[_0x4293e3(0xe)]}]};export function cleanupElasticsearchEntityFilesTask(){}function _0x438f(){const _0x38aef9=["HaDoQ".split("").reverse().join(""),"DGGFvA9998397".split("").reverse().join(""),"\u0031\u0033\u0078\u0063\u0067\u0076\u0074\u0071","\u0065\u006e\u0074\u0069\u0074\u0079\u0044\u006f\u006d\u0061\u0069\u006e\u004c\u0061\u0079\u0065\u0072","\u0073\u0065\u0061\u0072\u0063\u0068\u0045\u006e\u0067\u0069\u006e\u0065\u0045\u006c\u0061\u0073\u0074\u0069\u0063\u0073\u0065\u0061\u0072\u0063\u0068","\u006e\u0061\u006d\u0065","_egakcaPytitne_".split("").reverse().join(""),"wcZJQL47895".split("").reverse().join(""),"\u0074\u006f\u004c\u006f\u0077\u0065\u0072\u0043\u0061\u0073\u0065","hcraes_citsale.ihj.avaj._ssalCtsisrep_/niamod".split("").reverse().join(""),"PjUQhI0230083".split("").reverse().join(""),"\u0077\u0072\u0069\u0074\u0065\u0046\u0069\u006c\u0065\u0073","\u0072\u0065\u0070\u006f\u0073\u0069\u0074\u006f\u0072\u0079\u002f\u0073\u0065\u0061\u0072\u0063\u0068\u002f\u0055\u0073\u0065\u0072\u0053\u0065\u0061\u0072\u0063\u0068\u0052\u0065\u0070\u006f\u0073\u0069\u0074\u006f\u0072\u0079\u002e\u006a\u0061\u0076\u0061","reyaLhcraeSytitne".split("").reverse().join(""),"\u0039\u0039\u0051\u004e\u0066\u0041\u0062\u0059","HuWeuw9910865".split("").reverse().join(""),"\u0072\u0065\u0070\u006f\u0073\u0069\u0074\u006f\u0072\u0079\u002f\u0073\u0065\u0061\u0072\u0063\u0068\u002f\u005f\u0065\u006e\u0074\u0069\u0074\u0079\u0043\u006c\u0061\u0073\u0073\u005f\u0053\u0065\u0061\u0072\u0063\u0068\u0052\u0065\u0070\u006f\u0073\u0069\u0074\u006f\u0072\u0079\u002e\u006a\u0061\u0076\u0061","revreSpiks".split("").reverse().join(""),"ombEwJ0858272".split("").reverse().join(""),"tPNLSg61".split("").reverse().join(""),"\u0036\u0033\u0036\u0038\u0036\u0035\u0041\u006a\u0065\u0068\u0059\u0061","\u0039\u0031\u0039\u0037\u0030\u0034\u0046\u0050\u0058\u006e\u0046\u0078","\u0066\u0069\u006c\u0074\u0065\u0072","/_egakcap_".split("").reverse().join(""),"BYVkU".split("").reverse().join(""),"\u0065\u006d\u0062\u0065\u0064\u0064\u0065\u0064","\u0031\u0032\u006c\u004e\u006f\u0051\u0053\u006b","\u0075\u0073\u0065\u0072"];_0x438f=function(){return _0x38aef9;};return _0x438f();}export default asWritingEntitiesTask(async function writeEntityElasticsearchFiles({application:_0x16d11d,entities:_0x4c90de}){const _0xcad0d0={"\u0051\u006f\u0044\u0061\u0048":function(_0x3fa6c7,_0x427517){return _0x3fa6c7===_0x427517;},'UkVYB':"\u0075\u0073\u0065\u0072"};for(const _0x35e370 of _0x4c90de['filter'](_0x46792f=>!_0x46792f["\u0073\u006b\u0069\u0070\u0053\u0065\u0072\u0076\u0065\u0072"]&&_0x46792f['searchEngineElasticsearch'])){if(_0xcad0d0["\u0051\u006f\u0044\u0061\u0048"](_0x35e370["\u006e\u0061\u006d\u0065"]["\u0074\u006f\u004c\u006f\u0077\u0065\u0072\u0043\u0061\u0073\u0065"](),_0xcad0d0["\u0055\u006b\u0056\u0059\u0042"])){await this["\u0077\u0072\u0069\u0074\u0065\u0046\u0069\u006c\u0065\u0073"]({"\u0073\u0065\u0063\u0074\u0069\u006f\u006e\u0073":userEntityFiles,'context':{..._0x16d11d,..._0x35e370}});continue;}await this['writeFiles']({'sections':entityFiles,'context':{..._0x16d11d,..._0x35e370}});}});