Built motion from commit ab870f9e.|2.5.44
[motion2.git] / server / api / variable / index.js
index 39c8906..077b92f 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xf155=['multer','util','path','connect-timeout','express','Router','../../components/interaction/service','../../config/environment','get','isAuthenticated','index','/:id','show','post','create','put','delete','destroy','exports'];(function(_0x52f121,_0x24143d){var _0x59cd40=function(_0x56310f){while(--_0x56310f){_0x52f121['push'](_0x52f121['shift']());}};_0x59cd40(++_0x24143d);}(_0xf155,0x10a));var _0x5f15=function(_0x3c22f7,_0x1fb12a){_0x3c22f7=_0x3c22f7-0x0;var _0x537f59=_0xf155[_0x3c22f7];return _0x537f59;};'use strict';var multer=require(_0x5f15('0x0'));var util=require(_0x5f15('0x1'));var path=require(_0x5f15('0x2'));var timeout=require(_0x5f15('0x3'));var express=require(_0x5f15('0x4'));var router=express[_0x5f15('0x5')]();var auth=require('../../components/auth/service');var interaction=require(_0x5f15('0x6'));var config=require(_0x5f15('0x7'));var controller=require('./variable.controller');router[_0x5f15('0x8')]('/',auth[_0x5f15('0x9')](),controller[_0x5f15('0xa')]);router[_0x5f15('0x8')](_0x5f15('0xb'),auth[_0x5f15('0x9')](),controller[_0x5f15('0xc')]);router[_0x5f15('0xd')]('/',auth[_0x5f15('0x9')](),controller[_0x5f15('0xe')]);router[_0x5f15('0xf')](_0x5f15('0xb'),auth['isAuthenticated'](),controller['update']);router[_0x5f15('0x10')](_0x5f15('0xb'),auth['isAuthenticated'](),controller[_0x5f15('0x11')]);module[_0x5f15('0x12')]=router;
\ No newline at end of file
+var _0x7b83=['destroy','multer','util','path','Router','fs-extra','../../components/auth/service','../../config/environment','./variable.controller','get','isAuthenticated','index','show','update','delete','/:id'];(function(_0x4782e9,_0x5ee6c9){var _0x1231d3=function(_0xca51e3){while(--_0xca51e3){_0x4782e9['push'](_0x4782e9['shift']());}};_0x1231d3(++_0x5ee6c9);}(_0x7b83,0xa1));var _0x37b8=function(_0x819e7d,_0x1dd39f){_0x819e7d=_0x819e7d-0x0;var _0x269791=_0x7b83[_0x819e7d];return _0x269791;};'use strict';var multer=require(_0x37b8('0x0'));var util=require(_0x37b8('0x1'));var path=require(_0x37b8('0x2'));var timeout=require('connect-timeout');var express=require('express');var router=express[_0x37b8('0x3')]();var fs_extra=require(_0x37b8('0x4'));var auth=require(_0x37b8('0x5'));var interaction=require('../../components/interaction/service');var config=require(_0x37b8('0x6'));var controller=require(_0x37b8('0x7'));router[_0x37b8('0x8')]('/',auth[_0x37b8('0x9')](),controller[_0x37b8('0xa')]);router[_0x37b8('0x8')]('/:id',auth[_0x37b8('0x9')](),controller[_0x37b8('0xb')]);router['post']('/',auth[_0x37b8('0x9')](),controller['create']);router['put']('/:id',auth['isAuthenticated'](),controller[_0x37b8('0xc')]);router[_0x37b8('0xd')](_0x37b8('0xe'),auth[_0x37b8('0x9')](),controller[_0x37b8('0xf')]);module['exports']=router;
\ No newline at end of file