Built motion from commit 0900f080.|2.5.45
[motion2.git] / server / api / dashboard / index.js
index 886ce18..e093028 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x996d=['/:id/items','getItems','post','create','/:id/clone','clone','addItem','put','update','delete','destroy','exports','multer','util','connect-timeout','express','Router','fs-extra','../../components/interaction/service','../../config/environment','get','isAuthenticated','index','/:id','show'];(function(_0x344d91,_0x16e5f5){var _0x30507f=function(_0x58e638){while(--_0x58e638){_0x344d91['push'](_0x344d91['shift']());}};_0x30507f(++_0x16e5f5);}(_0x996d,0x138));var _0xd996=function(_0x413feb,_0x10477f){_0x413feb=_0x413feb-0x0;var _0x40ee88=_0x996d[_0x413feb];return _0x40ee88;};'use strict';var multer=require(_0xd996('0x0'));var util=require(_0xd996('0x1'));var path=require('path');var timeout=require(_0xd996('0x2'));var express=require(_0xd996('0x3'));var router=express[_0xd996('0x4')]();var fs_extra=require(_0xd996('0x5'));var auth=require('../../components/auth/service');var interaction=require(_0xd996('0x6'));var config=require(_0xd996('0x7'));var controller=require('./dashboard.controller');router[_0xd996('0x8')]('/',auth[_0xd996('0x9')](),controller[_0xd996('0xa')]);router[_0xd996('0x8')](_0xd996('0xb'),auth[_0xd996('0x9')](),controller[_0xd996('0xc')]);router['get'](_0xd996('0xd'),auth[_0xd996('0x9')](),controller[_0xd996('0xe')]);router[_0xd996('0xf')]('/',auth[_0xd996('0x9')](),controller[_0xd996('0x10')]);router['post'](_0xd996('0x11'),auth[_0xd996('0x9')](),controller[_0xd996('0x12')]);router['post']('/:id/items',auth['isAuthenticated'](),controller[_0xd996('0x13')]);router[_0xd996('0x14')]('/:id',auth[_0xd996('0x9')](),controller[_0xd996('0x15')]);router[_0xd996('0x16')](_0xd996('0xb'),auth[_0xd996('0x9')](),controller[_0xd996('0x17')]);module[_0xd996('0x18')]=router;
\ No newline at end of file
+var _0x4390=['/:id','show','/:id/items','getItems','create','/:id/clone','post','put','update','destroy','exports','multer','util','path','connect-timeout','express','fs-extra','../../components/auth/service','../../config/environment','./dashboard.controller','get','isAuthenticated','index'];(function(_0x46d68b,_0x154971){var _0x3a7893=function(_0x17e56a){while(--_0x17e56a){_0x46d68b['push'](_0x46d68b['shift']());}};_0x3a7893(++_0x154971);}(_0x4390,0x1ee));var _0x0439=function(_0x51076f,_0x485004){_0x51076f=_0x51076f-0x0;var _0x598b52=_0x4390[_0x51076f];return _0x598b52;};'use strict';var multer=require(_0x0439('0x0'));var util=require(_0x0439('0x1'));var path=require(_0x0439('0x2'));var timeout=require(_0x0439('0x3'));var express=require(_0x0439('0x4'));var router=express['Router']();var fs_extra=require(_0x0439('0x5'));var auth=require(_0x0439('0x6'));var interaction=require('../../components/interaction/service');var config=require(_0x0439('0x7'));var controller=require(_0x0439('0x8'));router[_0x0439('0x9')]('/',auth[_0x0439('0xa')](),controller[_0x0439('0xb')]);router[_0x0439('0x9')](_0x0439('0xc'),auth[_0x0439('0xa')](),controller[_0x0439('0xd')]);router[_0x0439('0x9')](_0x0439('0xe'),auth[_0x0439('0xa')](),controller[_0x0439('0xf')]);router['post']('/',auth['isAuthenticated'](),controller[_0x0439('0x10')]);router['post'](_0x0439('0x11'),auth[_0x0439('0xa')](),controller['clone']);router[_0x0439('0x12')](_0x0439('0xe'),auth['isAuthenticated'](),controller['addItem']);router[_0x0439('0x13')]('/:id',auth['isAuthenticated'](),controller[_0x0439('0x14')]);router['delete'](_0x0439('0xc'),auth[_0x0439('0xa')](),controller[_0x0439('0x15')]);module[_0x0439('0x16')]=router;
\ No newline at end of file