Built motion from commit e1760111.|2.6.18
[motion2.git] / server / api / jscriptyProject / index.js
index 00f43b2..77f4675 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-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
+var _0x6b26=['update','delete','util','connect-timeout','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./jscriptyProject.controller','get','index','/:id','show','/:id/sessions','isAuthenticated','getAnswers','/:id/summary','getSummary','post','create','clone','put'];(function(_0x3c1fe6,_0x55eb01){var _0x11460a=function(_0x19b85){while(--_0x19b85){_0x3c1fe6['push'](_0x3c1fe6['shift']());}};_0x11460a(++_0x55eb01);}(_0x6b26,0x144));var _0x66b2=function(_0x691e54,_0x1fc1d7){_0x691e54=_0x691e54-0x0;var _0x2eb2b2=_0x6b26[_0x691e54];return _0x2eb2b2;};'use strict';var multer=require('multer');var util=require(_0x66b2('0x0'));var path=require('path');var timeout=require(_0x66b2('0x1'));var express=require('express');var router=express[_0x66b2('0x2')]();var fs_extra=require(_0x66b2('0x3'));var auth=require(_0x66b2('0x4'));var interaction=require(_0x66b2('0x5'));var config=require(_0x66b2('0x6'));var controller=require(_0x66b2('0x7'));router[_0x66b2('0x8')]('/',auth['isAuthenticated'](),controller[_0x66b2('0x9')]);router[_0x66b2('0x8')](_0x66b2('0xa'),auth['isAuthenticated'](),controller[_0x66b2('0xb')]);router[_0x66b2('0x8')](_0x66b2('0xc'),auth[_0x66b2('0xd')](),controller['getSessions']);router[_0x66b2('0x8')]('/:id/answers',auth['isAuthenticated'](),controller[_0x66b2('0xe')]);router[_0x66b2('0x8')](_0x66b2('0xf'),auth['isAuthenticated'](),timeout('30s'),controller[_0x66b2('0x10')]);router[_0x66b2('0x11')]('/',auth[_0x66b2('0xd')](),controller[_0x66b2('0x12')]);router[_0x66b2('0x11')]('/:id/clone',auth[_0x66b2('0xd')](),controller[_0x66b2('0x13')]);router[_0x66b2('0x14')](_0x66b2('0xa'),auth[_0x66b2('0xd')](),controller[_0x66b2('0x15')]);router[_0x66b2('0x16')](_0x66b2('0xa'),auth['isAuthenticated'](),controller['destroy']);module['exports']=router;
\ No newline at end of file