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