Built motion from commit c116dc8b.|2.6.30
[motion2.git] / server / api / jscriptyProject / index.js
index 9b3222e..475948e 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 _0xb2aa=['/:id','isAuthenticated','show','/:id/sessions','getSessions','/:id/answers','getSummary','post','create','/:id/clone','update','exports','path','connect-timeout','Router','fs-extra','../../components/auth/service','../../config/environment','./jscriptyProject.controller','get','index'];(function(_0x5a2a22,_0x1f3dc8){var _0xf9f942=function(_0xa0aad2){while(--_0xa0aad2){_0x5a2a22['push'](_0x5a2a22['shift']());}};_0xf9f942(++_0x1f3dc8);}(_0xb2aa,0x1b0));var _0xab2a=function(_0x819fcf,_0x3b1893){_0x819fcf=_0x819fcf-0x0;var _0x2649c0=_0xb2aa[_0x819fcf];return _0x2649c0;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0xab2a('0x0'));var timeout=require(_0xab2a('0x1'));var express=require('express');var router=express[_0xab2a('0x2')]();var fs_extra=require(_0xab2a('0x3'));var auth=require(_0xab2a('0x4'));var interaction=require('../../components/interaction/service');var config=require(_0xab2a('0x5'));var controller=require(_0xab2a('0x6'));router[_0xab2a('0x7')]('/',auth['isAuthenticated'](),controller[_0xab2a('0x8')]);router[_0xab2a('0x7')](_0xab2a('0x9'),auth[_0xab2a('0xa')](),controller[_0xab2a('0xb')]);router['get'](_0xab2a('0xc'),auth['isAuthenticated'](),controller[_0xab2a('0xd')]);router[_0xab2a('0x7')](_0xab2a('0xe'),auth[_0xab2a('0xa')](),controller['getAnswers']);router[_0xab2a('0x7')]('/:id/summary',auth[_0xab2a('0xa')](),timeout('30s'),controller[_0xab2a('0xf')]);router[_0xab2a('0x10')]('/',auth[_0xab2a('0xa')](),controller[_0xab2a('0x11')]);router[_0xab2a('0x10')](_0xab2a('0x12'),auth['isAuthenticated'](),controller['clone']);router['put'](_0xab2a('0x9'),auth['isAuthenticated'](),controller[_0xab2a('0x13')]);router['delete'](_0xab2a('0x9'),auth[_0xab2a('0xa')](),controller['destroy']);module[_0xab2a('0x14')]=router;
\ No newline at end of file