Built motion from commit 14588770.|2.5.38
[motion2.git] / server / api / trunk / index.js
index 753018d..32153ae 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x67c4=['clone','put','update','destroy','exports','util','express','Router','fs-extra','../../components/auth/service','../../config/environment','./trunk.controller','get','isAuthenticated','/:id','show','post','/:id/clone'];(function(_0x575335,_0x3955b8){var _0x1b9677=function(_0x19215c){while(--_0x19215c){_0x575335['push'](_0x575335['shift']());}};_0x1b9677(++_0x3955b8);}(_0x67c4,0x125));var _0x467c=function(_0x9dfc10,_0x19c2d5){_0x9dfc10=_0x9dfc10-0x0;var _0x4f938a=_0x67c4[_0x9dfc10];return _0x4f938a;};'use strict';var multer=require('multer');var util=require(_0x467c('0x0'));var path=require('path');var timeout=require('connect-timeout');var express=require(_0x467c('0x1'));var router=express[_0x467c('0x2')]();var fs_extra=require(_0x467c('0x3'));var auth=require(_0x467c('0x4'));var interaction=require('../../components/interaction/service');var config=require(_0x467c('0x5'));var controller=require(_0x467c('0x6'));router[_0x467c('0x7')]('/',auth[_0x467c('0x8')](),controller['index']);router[_0x467c('0x7')](_0x467c('0x9'),auth[_0x467c('0x8')](),controller[_0x467c('0xa')]);router[_0x467c('0xb')](_0x467c('0xc'),auth[_0x467c('0x8')](),controller[_0x467c('0xd')]);router[_0x467c('0xb')]('/',auth[_0x467c('0x8')](),controller['create']);router[_0x467c('0xe')](_0x467c('0x9'),auth[_0x467c('0x8')](),controller[_0x467c('0xf')]);router['delete'](_0x467c('0x9'),auth[_0x467c('0x8')](),controller[_0x467c('0x10')]);module[_0x467c('0x11')]=router;
\ No newline at end of file
+var _0xb788=['update','delete','util','path','connect-timeout','express','Router','fs-extra','../../components/interaction/service','../../config/environment','./trunk.controller','get','isAuthenticated','index','/:id','post','create','put'];(function(_0x150626,_0x4ec9eb){var _0x18ccec=function(_0x12e227){while(--_0x12e227){_0x150626['push'](_0x150626['shift']());}};_0x18ccec(++_0x4ec9eb);}(_0xb788,0x6e));var _0x8b78=function(_0x55a76a,_0x2d0203){_0x55a76a=_0x55a76a-0x0;var _0x45885a=_0xb788[_0x55a76a];return _0x45885a;};'use strict';var multer=require('multer');var util=require(_0x8b78('0x0'));var path=require(_0x8b78('0x1'));var timeout=require(_0x8b78('0x2'));var express=require(_0x8b78('0x3'));var router=express[_0x8b78('0x4')]();var fs_extra=require(_0x8b78('0x5'));var auth=require('../../components/auth/service');var interaction=require(_0x8b78('0x6'));var config=require(_0x8b78('0x7'));var controller=require(_0x8b78('0x8'));router[_0x8b78('0x9')]('/',auth[_0x8b78('0xa')](),controller[_0x8b78('0xb')]);router['get'](_0x8b78('0xc'),auth[_0x8b78('0xa')](),controller['show']);router[_0x8b78('0xd')]('/:id/clone',auth['isAuthenticated'](),controller['clone']);router[_0x8b78('0xd')]('/',auth[_0x8b78('0xa')](),controller[_0x8b78('0xe')]);router[_0x8b78('0xf')](_0x8b78('0xc'),auth[_0x8b78('0xa')](),controller[_0x8b78('0x10')]);router[_0x8b78('0x11')](_0x8b78('0xc'),auth[_0x8b78('0xa')](),controller['destroy']);module['exports']=router;
\ No newline at end of file