Built motion from commit 9d0783e6.|2.6.13
[motion2.git] / server / api / variable / index.js
index e4c3c9d..63bfe1a 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xa4ba=['create','put','/:id','update','delete','destroy','exports','util','path','connect-timeout','express','fs-extra','../../config/environment','./variable.controller','get','isAuthenticated'];(function(_0x43e4b3,_0x1444de){var _0x10c655=function(_0x56c01d){while(--_0x56c01d){_0x43e4b3['push'](_0x43e4b3['shift']());}};_0x10c655(++_0x1444de);}(_0xa4ba,0x1b7));var _0xaa4b=function(_0x2aea9e,_0x1f587f){_0x2aea9e=_0x2aea9e-0x0;var _0x430b92=_0xa4ba[_0x2aea9e];return _0x430b92;};'use strict';var multer=require('multer');var util=require(_0xaa4b('0x0'));var path=require(_0xaa4b('0x1'));var timeout=require(_0xaa4b('0x2'));var express=require(_0xaa4b('0x3'));var router=express['Router']();var fs_extra=require(_0xaa4b('0x4'));var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0xaa4b('0x5'));var controller=require(_0xaa4b('0x6'));router[_0xaa4b('0x7')]('/',auth[_0xaa4b('0x8')](),controller['index']);router[_0xaa4b('0x7')]('/:id',auth[_0xaa4b('0x8')](),controller['show']);router['post']('/',auth[_0xaa4b('0x8')](),controller[_0xaa4b('0x9')]);router[_0xaa4b('0xa')](_0xaa4b('0xb'),auth[_0xaa4b('0x8')](),controller[_0xaa4b('0xc')]);router[_0xaa4b('0xd')](_0xaa4b('0xb'),auth[_0xaa4b('0x8')](),controller[_0xaa4b('0xe')]);module[_0xaa4b('0xf')]=router;
\ No newline at end of file
+var _0x22fb=['./variable.controller','get','isAuthenticated','index','/:id','show','post','create','put','update','delete','path','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service'];(function(_0x677920,_0x1e3e6a){var _0x1c593b=function(_0x22e305){while(--_0x22e305){_0x677920['push'](_0x677920['shift']());}};_0x1c593b(++_0x1e3e6a);}(_0x22fb,0x192));var _0xb22f=function(_0x15aa87,_0x2c1a14){_0x15aa87=_0x15aa87-0x0;var _0x54c49f=_0x22fb[_0x15aa87];return _0x54c49f;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0xb22f('0x0'));var timeout=require('connect-timeout');var express=require(_0xb22f('0x1'));var router=express[_0xb22f('0x2')]();var fs_extra=require(_0xb22f('0x3'));var auth=require(_0xb22f('0x4'));var interaction=require(_0xb22f('0x5'));var config=require('../../config/environment');var controller=require(_0xb22f('0x6'));router[_0xb22f('0x7')]('/',auth[_0xb22f('0x8')](),controller[_0xb22f('0x9')]);router[_0xb22f('0x7')](_0xb22f('0xa'),auth['isAuthenticated'](),controller[_0xb22f('0xb')]);router[_0xb22f('0xc')]('/',auth[_0xb22f('0x8')](),controller[_0xb22f('0xd')]);router[_0xb22f('0xe')](_0xb22f('0xa'),auth[_0xb22f('0x8')](),controller[_0xb22f('0xf')]);router[_0xb22f('0x10')](_0xb22f('0xa'),auth[_0xb22f('0x8')](),controller['destroy']);module['exports']=router;
\ No newline at end of file