Built motion from commit da24aabd.|2.6.20
[motion2.git] / server / api / dashboard / index.js
index ead04b0..f222387 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x75dc=['getItems','create','post','/:id/clone','addItem','put','/:id','delete','destroy','multer','util','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./dashboard.controller','isAuthenticated','index','get','show','/:id/items'];(function(_0x52e331,_0x582b6e){var _0x414818=function(_0x1d9329){while(--_0x1d9329){_0x52e331['push'](_0x52e331['shift']());}};_0x414818(++_0x582b6e);}(_0x75dc,0x1d7));var _0xc75d=function(_0x450076,_0x10983b){_0x450076=_0x450076-0x0;var _0x2029cc=_0x75dc[_0x450076];return _0x2029cc;};'use strict';var multer=require(_0xc75d('0x0'));var util=require(_0xc75d('0x1'));var path=require('path');var timeout=require('connect-timeout');var express=require('express');var router=express[_0xc75d('0x2')]();var fs_extra=require(_0xc75d('0x3'));var auth=require(_0xc75d('0x4'));var interaction=require(_0xc75d('0x5'));var config=require(_0xc75d('0x6'));var controller=require(_0xc75d('0x7'));router['get']('/',auth[_0xc75d('0x8')](),controller[_0xc75d('0x9')]);router[_0xc75d('0xa')]('/:id',auth[_0xc75d('0x8')](),controller[_0xc75d('0xb')]);router[_0xc75d('0xa')](_0xc75d('0xc'),auth['isAuthenticated'](),controller[_0xc75d('0xd')]);router['post']('/',auth['isAuthenticated'](),controller[_0xc75d('0xe')]);router[_0xc75d('0xf')](_0xc75d('0x10'),auth[_0xc75d('0x8')](),controller['clone']);router[_0xc75d('0xf')](_0xc75d('0xc'),auth[_0xc75d('0x8')](),controller[_0xc75d('0x11')]);router[_0xc75d('0x12')](_0xc75d('0x13'),auth[_0xc75d('0x8')](),controller['update']);router[_0xc75d('0x14')](_0xc75d('0x13'),auth[_0xc75d('0x8')](),controller[_0xc75d('0x15')]);module['exports']=router;
\ No newline at end of file
+var _0x2fde=['/:id/items','post','create','/:id/clone','clone','addItem','put','update','delete','multer','path','express','Router','fs-extra','../../components/auth/service','../../config/environment','./dashboard.controller','get','isAuthenticated','index','/:id','show'];(function(_0x335d63,_0x5d8378){var _0x49bcda=function(_0x4b3ea4){while(--_0x4b3ea4){_0x335d63['push'](_0x335d63['shift']());}};_0x49bcda(++_0x5d8378);}(_0x2fde,0xcf));var _0xe2fd=function(_0x11006a,_0x3685c6){_0x11006a=_0x11006a-0x0;var _0x372dd8=_0x2fde[_0x11006a];return _0x372dd8;};'use strict';var multer=require(_0xe2fd('0x0'));var util=require('util');var path=require(_0xe2fd('0x1'));var timeout=require('connect-timeout');var express=require(_0xe2fd('0x2'));var router=express[_0xe2fd('0x3')]();var fs_extra=require(_0xe2fd('0x4'));var auth=require(_0xe2fd('0x5'));var interaction=require('../../components/interaction/service');var config=require(_0xe2fd('0x6'));var controller=require(_0xe2fd('0x7'));router[_0xe2fd('0x8')]('/',auth[_0xe2fd('0x9')](),controller[_0xe2fd('0xa')]);router[_0xe2fd('0x8')](_0xe2fd('0xb'),auth[_0xe2fd('0x9')](),controller[_0xe2fd('0xc')]);router[_0xe2fd('0x8')](_0xe2fd('0xd'),auth[_0xe2fd('0x9')](),controller['getItems']);router[_0xe2fd('0xe')]('/',auth[_0xe2fd('0x9')](),controller[_0xe2fd('0xf')]);router[_0xe2fd('0xe')](_0xe2fd('0x10'),auth[_0xe2fd('0x9')](),controller[_0xe2fd('0x11')]);router[_0xe2fd('0xe')]('/:id/items',auth[_0xe2fd('0x9')](),controller[_0xe2fd('0x12')]);router[_0xe2fd('0x13')]('/:id',auth[_0xe2fd('0x9')](),controller[_0xe2fd('0x14')]);router[_0xe2fd('0x15')](_0xe2fd('0xb'),auth[_0xe2fd('0x9')](),controller['destroy']);module['exports']=router;
\ No newline at end of file