Built motion from commit f738f9592c388b9f9eb3948f400a5c9d717a3561. Version 3.0.0...
[motion-next.git] / server / config / seedDB / jscriptyProjects.js
index 2f5614d..ea2bbad 100644 (file)
@@ -1 +1 @@
-const a1023_0x566c=['then','create','utf-8','info','../../mysqldb','Can\x27t\x20create\x20Jscripty\x20Projects','app','readFileSync','Customer\x20Satisfaction\x20auto\x20generated','catch','bulkCreate','join','customerSatisfation','path','jscripty','.json','Jscripty\x20Projects\x20have\x20been\x20created','../logger','JscriptyProject'];(function(_0x47001a,_0x4e7003){const _0x566c75=function(_0x3e36f2){while(--_0x3e36f2){_0x47001a['push'](_0x47001a['shift']());}};_0x566c75(++_0x4e7003);}(a1023_0x566c,0x11f));const a1023_0x3e36=function(_0x47001a,_0x4e7003){_0x47001a=_0x47001a-0x1e2;let _0x566c75=a1023_0x566c[_0x47001a];return _0x566c75;};const a1023_0x42a1bb=a1023_0x3e36;'use strict';const fs=require('fs'),path=require(a1023_0x42a1bb(0x1ed)),{db}=require(a1023_0x42a1bb(0x1e4)),logger=require(a1023_0x42a1bb(0x1f1))(a1023_0x42a1bb(0x1e6)),getJson=function(_0x2e12cc){const _0x33cdbb=a1023_0x42a1bb;return fs[_0x33cdbb(0x1e7)](path[_0x33cdbb(0x1eb)](__dirname,_0x33cdbb(0x1ee),_0x2e12cc+_0x33cdbb(0x1ef)),{'encoding':_0x33cdbb(0x1e2)});},jscriptyProjects=[{'id':0x1,'name':'CustomerSatisfaction','description':a1023_0x42a1bb(0x1e8),'formData':getJson(a1023_0x42a1bb(0x1ec))}];exports[a1023_0x42a1bb(0x1f4)]=function(){const _0xe28477=a1023_0x42a1bb;return db[_0xe28477(0x1f2)][_0xe28477(0x1ea)](jscriptyProjects,{'ignoreDuplicates':!![],'individualHooks':!![]})[_0xe28477(0x1f3)](function(){const _0x21a01f=_0xe28477;logger[_0x21a01f(0x1e3)](_0x21a01f(0x1f0));})[_0xe28477(0x1e9)](function(){const _0x293336=_0xe28477;logger['error'](_0x293336(0x1e5));});};
\ No newline at end of file
+const a1026_0x1611=['readFileSync','info','.json','catch','bulkCreate','create','Can\x27t\x20create\x20Jscripty\x20Projects','then','customerSatisfation','Customer\x20Satisfaction\x20auto\x20generated','join','utf-8','JscriptyProject','CustomerSatisfaction','error','jscripty','path'];(function(_0x4f3f47,_0x21f44c){const _0x161148=function(_0x3adab6){while(--_0x3adab6){_0x4f3f47['push'](_0x4f3f47['shift']());}};_0x161148(++_0x21f44c);}(a1026_0x1611,0x194));const a1026_0x3ada=function(_0x4f3f47,_0x21f44c){_0x4f3f47=_0x4f3f47-0x1c1;let _0x161148=a1026_0x1611[_0x4f3f47];return _0x161148;};const a1026_0x234d0e=a1026_0x3ada;'use strict';const fs=require('fs'),path=require(a1026_0x234d0e(0x1c4)),{db}=require('../../mysqldb'),logger=require('../logger')('app'),getJson=function(_0x4aab19){const _0x4a2394=a1026_0x234d0e;return fs[_0x4a2394(0x1c5)](path[_0x4a2394(0x1cf)](__dirname,_0x4a2394(0x1c3),_0x4aab19+_0x4a2394(0x1c7)),{'encoding':_0x4a2394(0x1d0)});},jscriptyProjects=[{'id':0x1,'name':a1026_0x234d0e(0x1c1),'description':a1026_0x234d0e(0x1ce),'formData':getJson(a1026_0x234d0e(0x1cd))}];exports[a1026_0x234d0e(0x1ca)]=function(){const _0x304798=a1026_0x234d0e;return db[_0x304798(0x1d1)][_0x304798(0x1c9)](jscriptyProjects,{'ignoreDuplicates':!![],'individualHooks':!![]})[_0x304798(0x1cc)](function(){const _0x11fcea=_0x304798;logger[_0x11fcea(0x1c6)]('Jscripty\x20Projects\x20have\x20been\x20created');})[_0x304798(0x1c8)](function(){const _0x2b3caf=_0x304798;logger[_0x2b3caf(0x1c2)](_0x2b3caf(0x1cb));});};
\ No newline at end of file