Built motion from commit 0900f080.|2.5.45
[motion2.git] / server / api / trunk / index.js
index 73f1e22..34d7d4c 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x24ca=['put','update','delete','exports','multer','path','connect-timeout','express','../../components/auth/service','../../components/interaction/service','../../config/environment','./trunk.controller','get','isAuthenticated','index','/:id','show','/:id/clone','clone','create'];(function(_0x3dd15e,_0x1f0015){var _0x231fd0=function(_0x4f680a){while(--_0x4f680a){_0x3dd15e['push'](_0x3dd15e['shift']());}};_0x231fd0(++_0x1f0015);}(_0x24ca,0x1bc));var _0xa24c=function(_0x30cd7e,_0x4db10a){_0x30cd7e=_0x30cd7e-0x0;var _0x462a02=_0x24ca[_0x30cd7e];return _0x462a02;};'use strict';var multer=require(_0xa24c('0x0'));var util=require('util');var path=require(_0xa24c('0x1'));var timeout=require(_0xa24c('0x2'));var express=require(_0xa24c('0x3'));var router=express['Router']();var auth=require(_0xa24c('0x4'));var interaction=require(_0xa24c('0x5'));var config=require(_0xa24c('0x6'));var controller=require(_0xa24c('0x7'));router[_0xa24c('0x8')]('/',auth[_0xa24c('0x9')](),controller[_0xa24c('0xa')]);router[_0xa24c('0x8')](_0xa24c('0xb'),auth[_0xa24c('0x9')](),controller[_0xa24c('0xc')]);router['post'](_0xa24c('0xd'),auth[_0xa24c('0x9')](),controller[_0xa24c('0xe')]);router['post']('/',auth[_0xa24c('0x9')](),controller[_0xa24c('0xf')]);router[_0xa24c('0x10')](_0xa24c('0xb'),auth[_0xa24c('0x9')](),controller[_0xa24c('0x11')]);router[_0xa24c('0x12')](_0xa24c('0xb'),auth[_0xa24c('0x9')](),controller['destroy']);module[_0xa24c('0x13')]=router;
\ No newline at end of file
+var _0x54aa=['clone','post','create','put','update','delete','destroy','exports','util','path','connect-timeout','Router','fs-extra','../../components/interaction/service','../../config/environment','get','index','/:id','isAuthenticated','show','/:id/clone'];(function(_0x5a781f,_0x19a976){var _0x33ebba=function(_0xd3b732){while(--_0xd3b732){_0x5a781f['push'](_0x5a781f['shift']());}};_0x33ebba(++_0x19a976);}(_0x54aa,0x182));var _0xa54a=function(_0x309fb2,_0x3b062d){_0x309fb2=_0x309fb2-0x0;var _0x14f3c6=_0x54aa[_0x309fb2];return _0x14f3c6;};'use strict';var multer=require('multer');var util=require(_0xa54a('0x0'));var path=require(_0xa54a('0x1'));var timeout=require(_0xa54a('0x2'));var express=require('express');var router=express[_0xa54a('0x3')]();var fs_extra=require(_0xa54a('0x4'));var auth=require('../../components/auth/service');var interaction=require(_0xa54a('0x5'));var config=require(_0xa54a('0x6'));var controller=require('./trunk.controller');router[_0xa54a('0x7')]('/',auth['isAuthenticated'](),controller[_0xa54a('0x8')]);router[_0xa54a('0x7')](_0xa54a('0x9'),auth[_0xa54a('0xa')](),controller[_0xa54a('0xb')]);router['post'](_0xa54a('0xc'),auth[_0xa54a('0xa')](),controller[_0xa54a('0xd')]);router[_0xa54a('0xe')]('/',auth['isAuthenticated'](),controller[_0xa54a('0xf')]);router[_0xa54a('0x10')]('/:id',auth[_0xa54a('0xa')](),controller[_0xa54a('0x11')]);router[_0xa54a('0x12')](_0xa54a('0x9'),auth['isAuthenticated'](),controller[_0xa54a('0x13')]);module[_0xa54a('0x14')]=router;
\ No newline at end of file