Built motion from commit (unavailable).|2.5.29
[motion2.git] / server / api / trunk / index.js
index 22b6f51..351cadd 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xa8a8=['put','update','delete','destroy','exports','multer','util','path','connect-timeout','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./trunk.controller','get','isAuthenticated','index','/:id','show','post','/:id/clone'];(function(_0x34988b,_0x25f421){var _0x5ebdc7=function(_0x21471c){while(--_0x21471c){_0x34988b['push'](_0x34988b['shift']());}};_0x5ebdc7(++_0x25f421);}(_0xa8a8,0xec));var _0x8a8a=function(_0x378964,_0x4b73db){_0x378964=_0x378964-0x0;var _0x10ba94=_0xa8a8[_0x378964];return _0x10ba94;};'use strict';var multer=require(_0x8a8a('0x0'));var util=require(_0x8a8a('0x1'));var path=require(_0x8a8a('0x2'));var timeout=require(_0x8a8a('0x3'));var express=require('express');var router=express[_0x8a8a('0x4')]();var auth=require(_0x8a8a('0x5'));var interaction=require(_0x8a8a('0x6'));var config=require(_0x8a8a('0x7'));var controller=require(_0x8a8a('0x8'));router[_0x8a8a('0x9')]('/',auth[_0x8a8a('0xa')](),controller[_0x8a8a('0xb')]);router[_0x8a8a('0x9')](_0x8a8a('0xc'),auth[_0x8a8a('0xa')](),controller[_0x8a8a('0xd')]);router[_0x8a8a('0xe')](_0x8a8a('0xf'),auth[_0x8a8a('0xa')](),controller['clone']);router['post']('/',auth[_0x8a8a('0xa')](),controller['create']);router[_0x8a8a('0x10')](_0x8a8a('0xc'),auth['isAuthenticated'](),controller[_0x8a8a('0x11')]);router[_0x8a8a('0x12')](_0x8a8a('0xc'),auth['isAuthenticated'](),controller[_0x8a8a('0x13')]);module[_0x8a8a('0x14')]=router;
\ No newline at end of file
+var _0xbfc0=['../../components/auth/service','../../config/environment','get','isAuthenticated','index','/:id','show','post','/:id/clone','clone','put','destroy','exports','multer','util','path','connect-timeout','express','Router','fs-extra'];(function(_0x5be54e,_0x2a31e7){var _0x4b1b5f=function(_0x596eed){while(--_0x596eed){_0x5be54e['push'](_0x5be54e['shift']());}};_0x4b1b5f(++_0x2a31e7);}(_0xbfc0,0x125));var _0x0bfc=function(_0x45ae0d,_0x1ea3b9){_0x45ae0d=_0x45ae0d-0x0;var _0x371826=_0xbfc0[_0x45ae0d];return _0x371826;};'use strict';var multer=require(_0x0bfc('0x0'));var util=require(_0x0bfc('0x1'));var path=require(_0x0bfc('0x2'));var timeout=require(_0x0bfc('0x3'));var express=require(_0x0bfc('0x4'));var router=express[_0x0bfc('0x5')]();var fs_extra=require(_0x0bfc('0x6'));var auth=require(_0x0bfc('0x7'));var interaction=require('../../components/interaction/service');var config=require(_0x0bfc('0x8'));var controller=require('./trunk.controller');router[_0x0bfc('0x9')]('/',auth[_0x0bfc('0xa')](),controller[_0x0bfc('0xb')]);router[_0x0bfc('0x9')](_0x0bfc('0xc'),auth[_0x0bfc('0xa')](),controller[_0x0bfc('0xd')]);router[_0x0bfc('0xe')](_0x0bfc('0xf'),auth['isAuthenticated'](),controller[_0x0bfc('0x10')]);router['post']('/',auth['isAuthenticated'](),controller['create']);router[_0x0bfc('0x11')]('/:id',auth[_0x0bfc('0xa')](),controller['update']);router['delete'](_0x0bfc('0xc'),auth[_0x0bfc('0xa')](),controller[_0x0bfc('0x12')]);module[_0x0bfc('0x13')]=router;
\ No newline at end of file