Built motion from commit 639a1a7f.|2.6.19
[motion2.git] / server / api / dashboard / index.js
index 83afc68..0872b86 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xb922=['destroy','exports','multer','util','path','express','Router','fs-extra','../../components/auth/service','./dashboard.controller','get','isAuthenticated','index','/:id','/:id/items','getItems','post','/:id/clone','addItem','put','update'];(function(_0x5f3245,_0x35fbbf){var _0xc4a18e=function(_0x2bd03e){while(--_0x2bd03e){_0x5f3245['push'](_0x5f3245['shift']());}};_0xc4a18e(++_0x35fbbf);}(_0xb922,0x167));var _0x2b92=function(_0x3fa933,_0x190a6d){_0x3fa933=_0x3fa933-0x0;var _0x52846d=_0xb922[_0x3fa933];return _0x52846d;};'use strict';var multer=require(_0x2b92('0x0'));var util=require(_0x2b92('0x1'));var path=require(_0x2b92('0x2'));var timeout=require('connect-timeout');var express=require(_0x2b92('0x3'));var router=express[_0x2b92('0x4')]();var fs_extra=require(_0x2b92('0x5'));var auth=require(_0x2b92('0x6'));var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0x2b92('0x7'));router[_0x2b92('0x8')]('/',auth[_0x2b92('0x9')](),controller[_0x2b92('0xa')]);router[_0x2b92('0x8')](_0x2b92('0xb'),auth[_0x2b92('0x9')](),controller['show']);router['get'](_0x2b92('0xc'),auth[_0x2b92('0x9')](),controller[_0x2b92('0xd')]);router[_0x2b92('0xe')]('/',auth['isAuthenticated'](),controller['create']);router[_0x2b92('0xe')](_0x2b92('0xf'),auth[_0x2b92('0x9')](),controller['clone']);router['post']('/:id/items',auth['isAuthenticated'](),controller[_0x2b92('0x10')]);router[_0x2b92('0x11')](_0x2b92('0xb'),auth[_0x2b92('0x9')](),controller[_0x2b92('0x12')]);router['delete']('/:id',auth[_0x2b92('0x9')](),controller[_0x2b92('0x13')]);module[_0x2b92('0x14')]=router;
\ No newline at end of file
+var _0x3fbb=['util','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./dashboard.controller','get','isAuthenticated','index','/:id','show','/:id/items','post','create','/:id/clone','clone','addItem','put','update','delete','destroy','multer'];(function(_0x3d4449,_0x2b4f48){var _0x3c603c=function(_0x5d546c){while(--_0x5d546c){_0x3d4449['push'](_0x3d4449['shift']());}};_0x3c603c(++_0x2b4f48);}(_0x3fbb,0xc7));var _0xb3fb=function(_0x5cb3de,_0x4ae1f7){_0x5cb3de=_0x5cb3de-0x0;var _0x16279a=_0x3fbb[_0x5cb3de];return _0x16279a;};'use strict';var multer=require(_0xb3fb('0x0'));var util=require(_0xb3fb('0x1'));var path=require(_0xb3fb('0x2'));var timeout=require(_0xb3fb('0x3'));var express=require(_0xb3fb('0x4'));var router=express[_0xb3fb('0x5')]();var fs_extra=require('fs-extra');var auth=require(_0xb3fb('0x6'));var interaction=require(_0xb3fb('0x7'));var config=require(_0xb3fb('0x8'));var controller=require(_0xb3fb('0x9'));router[_0xb3fb('0xa')]('/',auth[_0xb3fb('0xb')](),controller[_0xb3fb('0xc')]);router['get'](_0xb3fb('0xd'),auth[_0xb3fb('0xb')](),controller[_0xb3fb('0xe')]);router[_0xb3fb('0xa')](_0xb3fb('0xf'),auth['isAuthenticated'](),controller['getItems']);router[_0xb3fb('0x10')]('/',auth[_0xb3fb('0xb')](),controller[_0xb3fb('0x11')]);router[_0xb3fb('0x10')](_0xb3fb('0x12'),auth[_0xb3fb('0xb')](),controller[_0xb3fb('0x13')]);router[_0xb3fb('0x10')](_0xb3fb('0xf'),auth[_0xb3fb('0xb')](),controller[_0xb3fb('0x14')]);router[_0xb3fb('0x15')]('/:id',auth[_0xb3fb('0xb')](),controller[_0xb3fb('0x16')]);router[_0xb3fb('0x17')](_0xb3fb('0xd'),auth[_0xb3fb('0xb')](),controller[_0xb3fb('0x18')]);module['exports']=router;
\ No newline at end of file