Built motion from commit ab870f9e.|2.5.44
[motion2.git] / server / api / variable / index.js
index 0f2dde6..077b92f 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x474f=['exports','multer','util','connect-timeout','express','../../components/auth/service','../../components/interaction/service','../../config/environment','./variable.controller','isAuthenticated','get','/:id','show','post','create','update','delete','destroy'];(function(_0x4b369d,_0x265eb8){var _0x571a98=function(_0x56341a){while(--_0x56341a){_0x4b369d['push'](_0x4b369d['shift']());}};_0x571a98(++_0x265eb8);}(_0x474f,0x1e7));var _0xf474=function(_0x5c707c,_0x1ffb39){_0x5c707c=_0x5c707c-0x0;var _0x5caab0=_0x474f[_0x5c707c];return _0x5caab0;};'use strict';var multer=require(_0xf474('0x0'));var util=require(_0xf474('0x1'));var path=require('path');var timeout=require(_0xf474('0x2'));var express=require(_0xf474('0x3'));var router=express['Router']();var auth=require(_0xf474('0x4'));var interaction=require(_0xf474('0x5'));var config=require(_0xf474('0x6'));var controller=require(_0xf474('0x7'));router['get']('/',auth[_0xf474('0x8')](),controller['index']);router[_0xf474('0x9')](_0xf474('0xa'),auth['isAuthenticated'](),controller[_0xf474('0xb')]);router[_0xf474('0xc')]('/',auth[_0xf474('0x8')](),controller[_0xf474('0xd')]);router['put']('/:id',auth[_0xf474('0x8')](),controller[_0xf474('0xe')]);router[_0xf474('0xf')]('/:id',auth[_0xf474('0x8')](),controller[_0xf474('0x10')]);module[_0xf474('0x11')]=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