Built motion from commit 00bf23f6.|2.6.16
[motion2.git] / server / api / variable / index.js
index dfb962e..c5aa47f 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x33ec=['path','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','get','isAuthenticated','index','/:id','show','create','put','update','delete','destroy','exports','multer','util'];(function(_0xc28ef3,_0x2b089c){var _0x2e30dd=function(_0x11987d){while(--_0x11987d){_0xc28ef3['push'](_0xc28ef3['shift']());}};_0x2e30dd(++_0x2b089c);}(_0x33ec,0x1b3));var _0xc33e=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0x33ec[_0x3dd15e];return _0x231fd0;};'use strict';var multer=require(_0xc33e('0x0'));var util=require(_0xc33e('0x1'));var path=require(_0xc33e('0x2'));var timeout=require('connect-timeout');var express=require(_0xc33e('0x3'));var router=express[_0xc33e('0x4')]();var auth=require(_0xc33e('0x5'));var interaction=require(_0xc33e('0x6'));var config=require(_0xc33e('0x7'));var controller=require('./variable.controller');router[_0xc33e('0x8')]('/',auth[_0xc33e('0x9')](),controller[_0xc33e('0xa')]);router['get'](_0xc33e('0xb'),auth['isAuthenticated'](),controller[_0xc33e('0xc')]);router['post']('/',auth[_0xc33e('0x9')](),controller[_0xc33e('0xd')]);router[_0xc33e('0xe')]('/:id',auth[_0xc33e('0x9')](),controller[_0xc33e('0xf')]);router[_0xc33e('0x10')](_0xc33e('0xb'),auth[_0xc33e('0x9')](),controller[_0xc33e('0x11')]);module[_0xc33e('0x12')]=router;
\ No newline at end of file
+var _0xe062=['express','Router','../../components/interaction/service','../../config/environment','isAuthenticated','index','show','post','create','put','update','delete','/:id','destroy','exports','multer','util','connect-timeout'];(function(_0x4c54a1,_0x493a44){var _0x242c78=function(_0x38e007){while(--_0x38e007){_0x4c54a1['push'](_0x4c54a1['shift']());}};_0x242c78(++_0x493a44);}(_0xe062,0xd5));var _0x2e06=function(_0x34b2dc,_0x4a215a){_0x34b2dc=_0x34b2dc-0x0;var _0x49b872=_0xe062[_0x34b2dc];return _0x49b872;};'use strict';var multer=require(_0x2e06('0x0'));var util=require(_0x2e06('0x1'));var path=require('path');var timeout=require(_0x2e06('0x2'));var express=require(_0x2e06('0x3'));var router=express[_0x2e06('0x4')]();var fs_extra=require('fs-extra');var auth=require('../../components/auth/service');var interaction=require(_0x2e06('0x5'));var config=require(_0x2e06('0x6'));var controller=require('./variable.controller');router['get']('/',auth[_0x2e06('0x7')](),controller[_0x2e06('0x8')]);router['get']('/:id',auth[_0x2e06('0x7')](),controller[_0x2e06('0x9')]);router[_0x2e06('0xa')]('/',auth[_0x2e06('0x7')](),controller[_0x2e06('0xb')]);router[_0x2e06('0xc')]('/:id',auth['isAuthenticated'](),controller[_0x2e06('0xd')]);router[_0x2e06('0xe')](_0x2e06('0xf'),auth['isAuthenticated'](),controller[_0x2e06('0x10')]);module[_0x2e06('0x11')]=router;
\ No newline at end of file