Built motion from commit 092f8824.|2.5.49
[motion2.git] / server / api / dashboard / index.js
index 80632a2..39a3bf5 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x1198=['express','fs-extra','../../config/environment','./dashboard.controller','get','isAuthenticated','index','/:id','show','/:id/items','getItems','create','post','/:id/clone','clone','put','delete','destroy','exports'];(function(_0x3cfb3c,_0x8b172){var _0x5c3d52=function(_0x26b7c4){while(--_0x26b7c4){_0x3cfb3c['push'](_0x3cfb3c['shift']());}};_0x5c3d52(++_0x8b172);}(_0x1198,0xab));var _0x8119=function(_0x5732e7,_0x409a47){_0x5732e7=_0x5732e7-0x0;var _0x44736e=_0x1198[_0x5732e7];return _0x44736e;};'use strict';var multer=require('multer');var util=require('util');var path=require('path');var timeout=require('connect-timeout');var express=require(_0x8119('0x0'));var router=express['Router']();var fs_extra=require(_0x8119('0x1'));var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0x8119('0x2'));var controller=require(_0x8119('0x3'));router[_0x8119('0x4')]('/',auth[_0x8119('0x5')](),controller[_0x8119('0x6')]);router['get'](_0x8119('0x7'),auth[_0x8119('0x5')](),controller[_0x8119('0x8')]);router[_0x8119('0x4')](_0x8119('0x9'),auth[_0x8119('0x5')](),controller[_0x8119('0xa')]);router['post']('/',auth[_0x8119('0x5')](),controller[_0x8119('0xb')]);router[_0x8119('0xc')](_0x8119('0xd'),auth[_0x8119('0x5')](),controller[_0x8119('0xe')]);router[_0x8119('0xc')](_0x8119('0x9'),auth[_0x8119('0x5')](),controller['addItem']);router[_0x8119('0xf')](_0x8119('0x7'),auth[_0x8119('0x5')](),controller['update']);router[_0x8119('0x10')]('/:id',auth[_0x8119('0x5')](),controller[_0x8119('0x11')]);module[_0x8119('0x12')]=router;
\ No newline at end of file
+var _0xa644=['put','/:id','update','delete','destroy','exports','multer','util','connect-timeout','fs-extra','../../components/interaction/service','./dashboard.controller','get','isAuthenticated','index','show','getItems','post','create','/:id/clone','clone','addItem'];(function(_0x5eb475,_0x1d359f){var _0xbd3844=function(_0x2f31c7){while(--_0x2f31c7){_0x5eb475['push'](_0x5eb475['shift']());}};_0xbd3844(++_0x1d359f);}(_0xa644,0x1a8));var _0x4a64=function(_0x3eae28,_0x173f14){_0x3eae28=_0x3eae28-0x0;var _0x27f941=_0xa644[_0x3eae28];return _0x27f941;};'use strict';var multer=require(_0x4a64('0x0'));var util=require(_0x4a64('0x1'));var path=require('path');var timeout=require(_0x4a64('0x2'));var express=require('express');var router=express['Router']();var fs_extra=require(_0x4a64('0x3'));var auth=require('../../components/auth/service');var interaction=require(_0x4a64('0x4'));var config=require('../../config/environment');var controller=require(_0x4a64('0x5'));router[_0x4a64('0x6')]('/',auth[_0x4a64('0x7')](),controller[_0x4a64('0x8')]);router[_0x4a64('0x6')]('/:id',auth[_0x4a64('0x7')](),controller[_0x4a64('0x9')]);router[_0x4a64('0x6')]('/:id/items',auth[_0x4a64('0x7')](),controller[_0x4a64('0xa')]);router[_0x4a64('0xb')]('/',auth['isAuthenticated'](),controller[_0x4a64('0xc')]);router[_0x4a64('0xb')](_0x4a64('0xd'),auth[_0x4a64('0x7')](),controller[_0x4a64('0xe')]);router['post']('/:id/items',auth[_0x4a64('0x7')](),controller[_0x4a64('0xf')]);router[_0x4a64('0x10')](_0x4a64('0x11'),auth[_0x4a64('0x7')](),controller[_0x4a64('0x12')]);router[_0x4a64('0x13')]('/:id',auth[_0x4a64('0x7')](),controller[_0x4a64('0x14')]);module[_0x4a64('0x15')]=router;
\ No newline at end of file