Built motion from commit 639a1a7f.|2.6.19
[motion2.git] / server / api / jscriptyProject / index.js
index d5a7f6a..db240e0 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x4eb4=['show','/:id/sessions','getSessions','/:id/answers','getAnswers','/:id/summary','30s','post','create','/:id/clone','clone','put','delete','destroy','exports','multer','path','express','Router','../../components/auth/service','../../components/interaction/service','./jscriptyProject.controller','isAuthenticated','get','/:id'];(function(_0xf5b712,_0x5487bf){var _0x410413=function(_0x5209ce){while(--_0x5209ce){_0xf5b712['push'](_0xf5b712['shift']());}};_0x410413(++_0x5487bf);}(_0x4eb4,0x122));var _0x44eb=function(_0x110c3d,_0x12ee06){_0x110c3d=_0x110c3d-0x0;var _0x226d67=_0x4eb4[_0x110c3d];return _0x226d67;};'use strict';var multer=require(_0x44eb('0x0'));var util=require('util');var path=require(_0x44eb('0x1'));var timeout=require('connect-timeout');var express=require(_0x44eb('0x2'));var router=express[_0x44eb('0x3')]();var auth=require(_0x44eb('0x4'));var interaction=require(_0x44eb('0x5'));var config=require('../../config/environment');var controller=require(_0x44eb('0x6'));router['get']('/',auth[_0x44eb('0x7')](),controller['index']);router[_0x44eb('0x8')](_0x44eb('0x9'),auth[_0x44eb('0x7')](),controller[_0x44eb('0xa')]);router[_0x44eb('0x8')](_0x44eb('0xb'),auth['isAuthenticated'](),controller[_0x44eb('0xc')]);router[_0x44eb('0x8')](_0x44eb('0xd'),auth['isAuthenticated'](),controller[_0x44eb('0xe')]);router[_0x44eb('0x8')](_0x44eb('0xf'),auth['isAuthenticated'](),timeout(_0x44eb('0x10')),controller['getSummary']);router[_0x44eb('0x11')]('/',auth[_0x44eb('0x7')](),controller[_0x44eb('0x12')]);router[_0x44eb('0x11')](_0x44eb('0x13'),auth[_0x44eb('0x7')](),controller[_0x44eb('0x14')]);router[_0x44eb('0x15')](_0x44eb('0x9'),auth[_0x44eb('0x7')](),controller['update']);router[_0x44eb('0x16')]('/:id',auth['isAuthenticated'](),controller[_0x44eb('0x17')]);module[_0x44eb('0x18')]=router;
\ No newline at end of file
+var _0xe186=['getSessions','getAnswers','30s','getSummary','post','create','/:id/clone','clone','put','update','exports','util','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','isAuthenticated','index','get','/:id','show','/:id/sessions'];(function(_0x3947c9,_0x4d6c97){var _0x2e7871=function(_0x1236cc){while(--_0x1236cc){_0x3947c9['push'](_0x3947c9['shift']());}};_0x2e7871(++_0x4d6c97);}(_0xe186,0x192));var _0x6e18=function(_0x1bc202,_0x488b89){_0x1bc202=_0x1bc202-0x0;var _0x58a164=_0xe186[_0x1bc202];return _0x58a164;};'use strict';var multer=require('multer');var util=require(_0x6e18('0x0'));var path=require('path');var timeout=require('connect-timeout');var express=require(_0x6e18('0x1'));var router=express[_0x6e18('0x2')]();var fs_extra=require('fs-extra');var auth=require(_0x6e18('0x3'));var interaction=require(_0x6e18('0x4'));var config=require(_0x6e18('0x5'));var controller=require('./jscriptyProject.controller');router['get']('/',auth[_0x6e18('0x6')](),controller[_0x6e18('0x7')]);router[_0x6e18('0x8')](_0x6e18('0x9'),auth[_0x6e18('0x6')](),controller[_0x6e18('0xa')]);router[_0x6e18('0x8')](_0x6e18('0xb'),auth[_0x6e18('0x6')](),controller[_0x6e18('0xc')]);router['get']('/:id/answers',auth[_0x6e18('0x6')](),controller[_0x6e18('0xd')]);router['get']('/:id/summary',auth['isAuthenticated'](),timeout(_0x6e18('0xe')),controller[_0x6e18('0xf')]);router[_0x6e18('0x10')]('/',auth[_0x6e18('0x6')](),controller[_0x6e18('0x11')]);router[_0x6e18('0x10')](_0x6e18('0x12'),auth[_0x6e18('0x6')](),controller[_0x6e18('0x13')]);router[_0x6e18('0x14')]('/:id',auth[_0x6e18('0x6')](),controller[_0x6e18('0x15')]);router['delete'](_0x6e18('0x9'),auth[_0x6e18('0x6')](),controller['destroy']);module[_0x6e18('0x16')]=router;
\ No newline at end of file