Built motion from commit f57cc866.|2.6.31
[motion2.git] / server / api / dashboardItem / index.js
index 0e4d9e0..e6fc71e 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x4054=['Router','../../components/interaction/service','../../config/environment','./dashboardItem.controller','get','isAuthenticated','create','put','/:id','delete','destroy','exports','multer','util','path','connect-timeout'];(function(_0x57c3e7,_0x319d74){var _0x23e615=function(_0x585548){while(--_0x585548){_0x57c3e7['push'](_0x57c3e7['shift']());}};_0x23e615(++_0x319d74);}(_0x4054,0xfc));var _0x4405=function(_0x48be16,_0x5e50ad){_0x48be16=_0x48be16-0x0;var _0x2a5868=_0x4054[_0x48be16];return _0x2a5868;};'use strict';var multer=require(_0x4405('0x0'));var util=require(_0x4405('0x1'));var path=require(_0x4405('0x2'));var timeout=require(_0x4405('0x3'));var express=require('express');var router=express[_0x4405('0x4')]();var fs_extra=require('fs-extra');var auth=require('../../components/auth/service');var interaction=require(_0x4405('0x5'));var config=require(_0x4405('0x6'));var controller=require(_0x4405('0x7'));router[_0x4405('0x8')]('/:id',auth[_0x4405('0x9')](),controller['show']);router['post']('/',auth[_0x4405('0x9')](),controller[_0x4405('0xa')]);router[_0x4405('0xb')](_0x4405('0xc'),auth[_0x4405('0x9')](),controller['update']);router[_0x4405('0xd')]('/:id',auth[_0x4405('0x9')](),controller[_0x4405('0xe')]);module[_0x4405('0xf')]=router;
\ No newline at end of file
+var _0x27a7=['express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./dashboardItem.controller','get','/:id','show','post','create','put','update','delete','isAuthenticated','destroy','util','connect-timeout'];(function(_0x4cf98e,_0xba4b79){var _0x1623ac=function(_0x459bc0){while(--_0x459bc0){_0x4cf98e['push'](_0x4cf98e['shift']());}};_0x1623ac(++_0xba4b79);}(_0x27a7,0x18d));var _0x727a=function(_0x1cc8fe,_0x105328){_0x1cc8fe=_0x1cc8fe-0x0;var _0x230054=_0x27a7[_0x1cc8fe];return _0x230054;};'use strict';var multer=require('multer');var util=require(_0x727a('0x0'));var path=require('path');var timeout=require(_0x727a('0x1'));var express=require(_0x727a('0x2'));var router=express[_0x727a('0x3')]();var fs_extra=require(_0x727a('0x4'));var auth=require(_0x727a('0x5'));var interaction=require(_0x727a('0x6'));var config=require(_0x727a('0x7'));var controller=require(_0x727a('0x8'));router[_0x727a('0x9')](_0x727a('0xa'),auth['isAuthenticated'](),controller[_0x727a('0xb')]);router[_0x727a('0xc')]('/',auth['isAuthenticated'](),controller[_0x727a('0xd')]);router[_0x727a('0xe')]('/:id',auth['isAuthenticated'](),controller[_0x727a('0xf')]);router[_0x727a('0x10')]('/:id',auth[_0x727a('0x11')](),controller[_0x727a('0x12')]);module['exports']=router;
\ No newline at end of file