Built motion from commit ffdca78c.|2.6.24
[motion2.git] / server / api / jscriptyProject / index.js
index b9cf9da..7ad2ecb 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x6340=['util','path','connect-timeout','../../components/auth/service','../../components/interaction/service','./jscriptyProject.controller','isAuthenticated','index','get','/:id','show','/:id/sessions','getSessions','/:id/summary','30s','getSummary','post','create','/:id/clone','clone','put','update','delete','destroy','exports','multer'];(function(_0x4e7d69,_0x52aba3){var _0x4e54b3=function(_0x4a2f9f){while(--_0x4a2f9f){_0x4e7d69['push'](_0x4e7d69['shift']());}};_0x4e54b3(++_0x52aba3);}(_0x6340,0x1ed));var _0x0634=function(_0x35e31e,_0x2a70a7){_0x35e31e=_0x35e31e-0x0;var _0x281b37=_0x6340[_0x35e31e];return _0x281b37;};'use strict';var multer=require(_0x0634('0x0'));var util=require(_0x0634('0x1'));var path=require(_0x0634('0x2'));var timeout=require(_0x0634('0x3'));var express=require('express');var router=express['Router']();var fs_extra=require('fs-extra');var auth=require(_0x0634('0x4'));var interaction=require(_0x0634('0x5'));var config=require('../../config/environment');var controller=require(_0x0634('0x6'));router['get']('/',auth[_0x0634('0x7')](),controller[_0x0634('0x8')]);router[_0x0634('0x9')](_0x0634('0xa'),auth[_0x0634('0x7')](),controller[_0x0634('0xb')]);router['get'](_0x0634('0xc'),auth[_0x0634('0x7')](),controller[_0x0634('0xd')]);router[_0x0634('0x9')]('/:id/answers',auth[_0x0634('0x7')](),controller['getAnswers']);router[_0x0634('0x9')](_0x0634('0xe'),auth[_0x0634('0x7')](),timeout(_0x0634('0xf')),controller[_0x0634('0x10')]);router[_0x0634('0x11')]('/',auth['isAuthenticated'](),controller[_0x0634('0x12')]);router[_0x0634('0x11')](_0x0634('0x13'),auth[_0x0634('0x7')](),controller[_0x0634('0x14')]);router[_0x0634('0x15')]('/:id',auth[_0x0634('0x7')](),controller[_0x0634('0x16')]);router[_0x0634('0x17')]('/:id',auth[_0x0634('0x7')](),controller[_0x0634('0x18')]);module[_0x0634('0x19')]=router;
\ No newline at end of file
+var _0x2436=['multer','path','connect-timeout','express','Router','fs-extra','../../components/interaction/service','../../config/environment','./jscriptyProject.controller','isAuthenticated','index','get','/:id','show','/:id/sessions','getSessions','/:id/answers','getAnswers','/:id/summary','30s','post','/:id/clone','clone','put','delete','destroy','exports'];(function(_0x1226a3,_0x4f33eb){var _0x5ab8ba=function(_0x5b0efc){while(--_0x5b0efc){_0x1226a3['push'](_0x1226a3['shift']());}};_0x5ab8ba(++_0x4f33eb);}(_0x2436,0x87));var _0x6243=function(_0x49f19a,_0x1c747d){_0x49f19a=_0x49f19a-0x0;var _0x163aa0=_0x2436[_0x49f19a];return _0x163aa0;};'use strict';var multer=require(_0x6243('0x0'));var util=require('util');var path=require(_0x6243('0x1'));var timeout=require(_0x6243('0x2'));var express=require(_0x6243('0x3'));var router=express[_0x6243('0x4')]();var fs_extra=require(_0x6243('0x5'));var auth=require('../../components/auth/service');var interaction=require(_0x6243('0x6'));var config=require(_0x6243('0x7'));var controller=require(_0x6243('0x8'));router['get']('/',auth[_0x6243('0x9')](),controller[_0x6243('0xa')]);router[_0x6243('0xb')](_0x6243('0xc'),auth['isAuthenticated'](),controller[_0x6243('0xd')]);router['get'](_0x6243('0xe'),auth[_0x6243('0x9')](),controller[_0x6243('0xf')]);router[_0x6243('0xb')](_0x6243('0x10'),auth[_0x6243('0x9')](),controller[_0x6243('0x11')]);router[_0x6243('0xb')](_0x6243('0x12'),auth['isAuthenticated'](),timeout(_0x6243('0x13')),controller['getSummary']);router['post']('/',auth[_0x6243('0x9')](),controller['create']);router[_0x6243('0x14')](_0x6243('0x15'),auth[_0x6243('0x9')](),controller[_0x6243('0x16')]);router[_0x6243('0x17')](_0x6243('0xc'),auth[_0x6243('0x9')](),controller['update']);router[_0x6243('0x18')](_0x6243('0xc'),auth[_0x6243('0x9')](),controller[_0x6243('0x19')]);module[_0x6243('0x1a')]=router;
\ No newline at end of file