Built motion from commit 753c950e.|2.5.42
[motion2.git] / server / api / trunk / index.js
index cd628fc..16dbdaf 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x55ca=['show','post','clone','create','put','update','delete','destroy','exports','multer','util','Router','../../components/auth/service','../../config/environment','./trunk.controller','get','isAuthenticated','index','/:id'];(function(_0x23fd63,_0x49dbe9){var _0x591cc4=function(_0x391992){while(--_0x391992){_0x23fd63['push'](_0x23fd63['shift']());}};_0x591cc4(++_0x49dbe9);}(_0x55ca,0x126));var _0xa55c=function(_0x163bc9,_0x4b6796){_0x163bc9=_0x163bc9-0x0;var _0xb94e42=_0x55ca[_0x163bc9];return _0xb94e42;};'use strict';var multer=require(_0xa55c('0x0'));var util=require(_0xa55c('0x1'));var path=require('path');var timeout=require('connect-timeout');var express=require('express');var router=express[_0xa55c('0x2')]();var auth=require(_0xa55c('0x3'));var interaction=require('../../components/interaction/service');var config=require(_0xa55c('0x4'));var controller=require(_0xa55c('0x5'));router[_0xa55c('0x6')]('/',auth[_0xa55c('0x7')](),controller[_0xa55c('0x8')]);router[_0xa55c('0x6')](_0xa55c('0x9'),auth['isAuthenticated'](),controller[_0xa55c('0xa')]);router[_0xa55c('0xb')]('/:id/clone',auth[_0xa55c('0x7')](),controller[_0xa55c('0xc')]);router['post']('/',auth['isAuthenticated'](),controller[_0xa55c('0xd')]);router[_0xa55c('0xe')](_0xa55c('0x9'),auth[_0xa55c('0x7')](),controller[_0xa55c('0xf')]);router[_0xa55c('0x10')](_0xa55c('0x9'),auth[_0xa55c('0x7')](),controller[_0xa55c('0x11')]);module[_0xa55c('0x12')]=router;
\ No newline at end of file
+var _0x5067=['fs-extra','../../components/auth/service','../../config/environment','get','isAuthenticated','/:id','show','post','create','update','destroy','exports','multer','util','path','connect-timeout','Router'];(function(_0x1eb22c,_0x2cd10d){var _0x12dddc=function(_0x187dc4){while(--_0x187dc4){_0x1eb22c['push'](_0x1eb22c['shift']());}};_0x12dddc(++_0x2cd10d);}(_0x5067,0x10b));var _0x7506=function(_0x1d8ed4,_0x442966){_0x1d8ed4=_0x1d8ed4-0x0;var _0xb2e66f=_0x5067[_0x1d8ed4];return _0xb2e66f;};'use strict';var multer=require(_0x7506('0x0'));var util=require(_0x7506('0x1'));var path=require(_0x7506('0x2'));var timeout=require(_0x7506('0x3'));var express=require('express');var router=express[_0x7506('0x4')]();var fs_extra=require(_0x7506('0x5'));var auth=require(_0x7506('0x6'));var interaction=require('../../components/interaction/service');var config=require(_0x7506('0x7'));var controller=require('./trunk.controller');router[_0x7506('0x8')]('/',auth[_0x7506('0x9')](),controller['index']);router[_0x7506('0x8')](_0x7506('0xa'),auth['isAuthenticated'](),controller[_0x7506('0xb')]);router['post']('/:id/clone',auth[_0x7506('0x9')](),controller['clone']);router[_0x7506('0xc')]('/',auth[_0x7506('0x9')](),controller[_0x7506('0xd')]);router['put']('/:id',auth[_0x7506('0x9')](),controller[_0x7506('0xe')]);router['delete'](_0x7506('0xa'),auth[_0x7506('0x9')](),controller[_0x7506('0xf')]);module[_0x7506('0x10')]=router;
\ No newline at end of file