Built motion from commit bab6f49e.|2.6.17
[motion2.git] / server / api / jscriptyProject / index.js
index 9b3222e..00f43b2 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xdce3=['fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','get','isAuthenticated','index','/:id','/:id/sessions','getSessions','/:id/answers','/:id/summary','30s','getSummary','create','/:id/clone','clone','put','update','delete','exports','multer','path','connect-timeout','express'];(function(_0x4922d9,_0x263c9b){var _0x2e43c2=function(_0x4378b1){while(--_0x4378b1){_0x4922d9['push'](_0x4922d9['shift']());}};_0x2e43c2(++_0x263c9b);}(_0xdce3,0x1be));var _0x3dce=function(_0x4565bf,_0x5ad9d6){_0x4565bf=_0x4565bf-0x0;var _0x5610ba=_0xdce3[_0x4565bf];return _0x5610ba;};'use strict';var multer=require(_0x3dce('0x0'));var util=require('util');var path=require(_0x3dce('0x1'));var timeout=require(_0x3dce('0x2'));var express=require(_0x3dce('0x3'));var router=express['Router']();var fs_extra=require(_0x3dce('0x4'));var auth=require(_0x3dce('0x5'));var interaction=require(_0x3dce('0x6'));var config=require(_0x3dce('0x7'));var controller=require('./jscriptyProject.controller');router[_0x3dce('0x8')]('/',auth[_0x3dce('0x9')](),controller[_0x3dce('0xa')]);router[_0x3dce('0x8')](_0x3dce('0xb'),auth['isAuthenticated'](),controller['show']);router[_0x3dce('0x8')](_0x3dce('0xc'),auth[_0x3dce('0x9')](),controller[_0x3dce('0xd')]);router['get'](_0x3dce('0xe'),auth[_0x3dce('0x9')](),controller['getAnswers']);router[_0x3dce('0x8')](_0x3dce('0xf'),auth[_0x3dce('0x9')](),timeout(_0x3dce('0x10')),controller[_0x3dce('0x11')]);router['post']('/',auth[_0x3dce('0x9')](),controller[_0x3dce('0x12')]);router['post'](_0x3dce('0x13'),auth[_0x3dce('0x9')](),controller[_0x3dce('0x14')]);router[_0x3dce('0x15')](_0x3dce('0xb'),auth[_0x3dce('0x9')](),controller[_0x3dce('0x16')]);router[_0x3dce('0x17')](_0x3dce('0xb'),auth[_0x3dce('0x9')](),controller['destroy']);module[_0x3dce('0x18')]=router;
\ No newline at end of file
+var _0x1c9b=['exports','multer','util','path','connect-timeout','express','Router','fs-extra','../../config/environment','./jscriptyProject.controller','get','isAuthenticated','index','/:id','show','/:id/sessions','getSessions','/:id/answers','30s','getSummary','post','/:id/clone','put','destroy'];(function(_0x1c07e4,_0x378352){var _0x357f62=function(_0x4a90f4){while(--_0x4a90f4){_0x1c07e4['push'](_0x1c07e4['shift']());}};_0x357f62(++_0x378352);}(_0x1c9b,0x91));var _0xb1c9=function(_0x3afe18,_0x26922c){_0x3afe18=_0x3afe18-0x0;var _0x19ed1f=_0x1c9b[_0x3afe18];return _0x19ed1f;};'use strict';var multer=require(_0xb1c9('0x0'));var util=require(_0xb1c9('0x1'));var path=require(_0xb1c9('0x2'));var timeout=require(_0xb1c9('0x3'));var express=require(_0xb1c9('0x4'));var router=express[_0xb1c9('0x5')]();var fs_extra=require(_0xb1c9('0x6'));var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0xb1c9('0x7'));var controller=require(_0xb1c9('0x8'));router[_0xb1c9('0x9')]('/',auth[_0xb1c9('0xa')](),controller[_0xb1c9('0xb')]);router['get'](_0xb1c9('0xc'),auth[_0xb1c9('0xa')](),controller[_0xb1c9('0xd')]);router['get'](_0xb1c9('0xe'),auth[_0xb1c9('0xa')](),controller[_0xb1c9('0xf')]);router['get'](_0xb1c9('0x10'),auth[_0xb1c9('0xa')](),controller['getAnswers']);router[_0xb1c9('0x9')]('/:id/summary',auth['isAuthenticated'](),timeout(_0xb1c9('0x11')),controller[_0xb1c9('0x12')]);router[_0xb1c9('0x13')]('/',auth[_0xb1c9('0xa')](),controller['create']);router[_0xb1c9('0x13')](_0xb1c9('0x14'),auth[_0xb1c9('0xa')](),controller['clone']);router[_0xb1c9('0x15')]('/:id',auth[_0xb1c9('0xa')](),controller['update']);router['delete'](_0xb1c9('0xc'),auth[_0xb1c9('0xa')](),controller[_0xb1c9('0x16')]);module[_0xb1c9('0x17')]=router;
\ No newline at end of file