Built motion from commit b0a9a629.|2.6.33
[motion2.git] / server / api / dashboard / index.js
index 80632a2..6a3d88d 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 _0x956b=['/:id','show','/:id/items','getItems','post','create','clone','addItem','put','delete','destroy','exports','util','path','connect-timeout','Router','../../components/interaction/service','./dashboard.controller','get','isAuthenticated'];(function(_0x56ba00,_0x47b89a){var _0x2c837d=function(_0x3fa4bc){while(--_0x3fa4bc){_0x56ba00['push'](_0x56ba00['shift']());}};_0x2c837d(++_0x47b89a);}(_0x956b,0x174));var _0xb956=function(_0x5e64ee,_0x227a55){_0x5e64ee=_0x5e64ee-0x0;var _0xae8fa2=_0x956b[_0x5e64ee];return _0xae8fa2;};'use strict';var multer=require('multer');var util=require(_0xb956('0x0'));var path=require(_0xb956('0x1'));var timeout=require(_0xb956('0x2'));var express=require('express');var router=express[_0xb956('0x3')]();var fs_extra=require('fs-extra');var auth=require('../../components/auth/service');var interaction=require(_0xb956('0x4'));var config=require('../../config/environment');var controller=require(_0xb956('0x5'));router[_0xb956('0x6')]('/',auth[_0xb956('0x7')](),controller['index']);router['get'](_0xb956('0x8'),auth[_0xb956('0x7')](),controller[_0xb956('0x9')]);router[_0xb956('0x6')](_0xb956('0xa'),auth[_0xb956('0x7')](),controller[_0xb956('0xb')]);router[_0xb956('0xc')]('/',auth[_0xb956('0x7')](),controller[_0xb956('0xd')]);router['post']('/:id/clone',auth[_0xb956('0x7')](),controller[_0xb956('0xe')]);router[_0xb956('0xc')]('/:id/items',auth['isAuthenticated'](),controller[_0xb956('0xf')]);router[_0xb956('0x10')](_0xb956('0x8'),auth[_0xb956('0x7')](),controller['update']);router[_0xb956('0x11')]('/:id',auth[_0xb956('0x7')](),controller[_0xb956('0x12')]);module[_0xb956('0x13')]=router;
\ No newline at end of file