Built motion from commit da24aabd.|2.6.20
[motion2.git] / server / api / dashboard / index.js
index a372538..f222387 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xd5cc=['destroy','util','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../config/environment','./dashboard.controller','get','isAuthenticated','index','/:id','show','getItems','post','create','/:id/clone','/:id/items','addItem','update','delete'];(function(_0x31887e,_0x3b5038){var _0x101638=function(_0x5966f7){while(--_0x5966f7){_0x31887e['push'](_0x31887e['shift']());}};_0x101638(++_0x3b5038);}(_0xd5cc,0x1cd));var _0xcd5c=function(_0x1b8ef7,_0x3e54fc){_0x1b8ef7=_0x1b8ef7-0x0;var _0x4322f8=_0xd5cc[_0x1b8ef7];return _0x4322f8;};'use strict';var multer=require('multer');var util=require(_0xcd5c('0x0'));var path=require(_0xcd5c('0x1'));var timeout=require(_0xcd5c('0x2'));var express=require(_0xcd5c('0x3'));var router=express[_0xcd5c('0x4')]();var fs_extra=require(_0xcd5c('0x5'));var auth=require(_0xcd5c('0x6'));var interaction=require('../../components/interaction/service');var config=require(_0xcd5c('0x7'));var controller=require(_0xcd5c('0x8'));router[_0xcd5c('0x9')]('/',auth[_0xcd5c('0xa')](),controller[_0xcd5c('0xb')]);router['get'](_0xcd5c('0xc'),auth['isAuthenticated'](),controller[_0xcd5c('0xd')]);router[_0xcd5c('0x9')]('/:id/items',auth[_0xcd5c('0xa')](),controller[_0xcd5c('0xe')]);router[_0xcd5c('0xf')]('/',auth['isAuthenticated'](),controller[_0xcd5c('0x10')]);router[_0xcd5c('0xf')](_0xcd5c('0x11'),auth[_0xcd5c('0xa')](),controller['clone']);router[_0xcd5c('0xf')](_0xcd5c('0x12'),auth['isAuthenticated'](),controller[_0xcd5c('0x13')]);router['put']('/:id',auth[_0xcd5c('0xa')](),controller[_0xcd5c('0x14')]);router[_0xcd5c('0x15')](_0xcd5c('0xc'),auth['isAuthenticated'](),controller[_0xcd5c('0x16')]);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