Built motion from commit (unavailable).|2.5.31
[motion2.git] / server / api / variable / index.js
index cf0e226..c2f800c 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xa9bf=['destroy','multer','path','connect-timeout','express','../../components/interaction/service','../../config/environment','get','index','/:id','isAuthenticated','create','put','update','delete'];(function(_0x3ff085,_0x27c92e){var _0x2b68c3=function(_0x37811e){while(--_0x37811e){_0x3ff085['push'](_0x3ff085['shift']());}};_0x2b68c3(++_0x27c92e);}(_0xa9bf,0x88));var _0xfa9b=function(_0x2cfe2,_0x3b2e20){_0x2cfe2=_0x2cfe2-0x0;var _0x287633=_0xa9bf[_0x2cfe2];return _0x287633;};'use strict';var multer=require(_0xfa9b('0x0'));var util=require('util');var path=require(_0xfa9b('0x1'));var timeout=require(_0xfa9b('0x2'));var express=require(_0xfa9b('0x3'));var router=express['Router']();var auth=require('../../components/auth/service');var interaction=require(_0xfa9b('0x4'));var config=require(_0xfa9b('0x5'));var controller=require('./variable.controller');router[_0xfa9b('0x6')]('/',auth['isAuthenticated'](),controller[_0xfa9b('0x7')]);router[_0xfa9b('0x6')](_0xfa9b('0x8'),auth['isAuthenticated'](),controller['show']);router['post']('/',auth[_0xfa9b('0x9')](),controller[_0xfa9b('0xa')]);router[_0xfa9b('0xb')]('/:id',auth[_0xfa9b('0x9')](),controller[_0xfa9b('0xc')]);router[_0xfa9b('0xd')](_0xfa9b('0x8'),auth[_0xfa9b('0x9')](),controller[_0xfa9b('0xe')]);module['exports']=router;
\ No newline at end of file
+var _0xa0fb=['../../components/auth/service','../../components/interaction/service','../../config/environment','./variable.controller','get','isAuthenticated','index','/:id','show','post','update','delete','exports','multer','util','path','express','Router','fs-extra'];(function(_0x3ab51d,_0x2fa01d){var _0x29a04e=function(_0x7807b0){while(--_0x7807b0){_0x3ab51d['push'](_0x3ab51d['shift']());}};_0x29a04e(++_0x2fa01d);}(_0xa0fb,0x19c));var _0xba0f=function(_0x18b4cf,_0xb2b103){_0x18b4cf=_0x18b4cf-0x0;var _0x3c2a0e=_0xa0fb[_0x18b4cf];return _0x3c2a0e;};'use strict';var multer=require(_0xba0f('0x0'));var util=require(_0xba0f('0x1'));var path=require(_0xba0f('0x2'));var timeout=require('connect-timeout');var express=require(_0xba0f('0x3'));var router=express[_0xba0f('0x4')]();var fs_extra=require(_0xba0f('0x5'));var auth=require(_0xba0f('0x6'));var interaction=require(_0xba0f('0x7'));var config=require(_0xba0f('0x8'));var controller=require(_0xba0f('0x9'));router[_0xba0f('0xa')]('/',auth[_0xba0f('0xb')](),controller[_0xba0f('0xc')]);router[_0xba0f('0xa')](_0xba0f('0xd'),auth['isAuthenticated'](),controller[_0xba0f('0xe')]);router[_0xba0f('0xf')]('/',auth[_0xba0f('0xb')](),controller['create']);router['put'](_0xba0f('0xd'),auth[_0xba0f('0xb')](),controller[_0xba0f('0x10')]);router[_0xba0f('0x11')](_0xba0f('0xd'),auth[_0xba0f('0xb')](),controller['destroy']);module[_0xba0f('0x12')]=router;
\ No newline at end of file