Built motion from commit 9d7072cc.|2.5.39
[motion2.git] / server / api / trunk / index.js
index 9e76ee7..78affe9 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x4b84=['./trunk.controller','get','isAuthenticated','post','clone','put','/:id','update','delete','exports','multer','util','express','../../components/interaction/service','../../config/environment'];(function(_0x1ae5ab,_0xc5d441){var _0x1ce001=function(_0x5ef96d){while(--_0x5ef96d){_0x1ae5ab['push'](_0x1ae5ab['shift']());}};_0x1ce001(++_0xc5d441);}(_0x4b84,0x1cc));var _0x44b8=function(_0x147497,_0x43e433){_0x147497=_0x147497-0x0;var _0x35f45=_0x4b84[_0x147497];return _0x35f45;};'use strict';var multer=require(_0x44b8('0x0'));var util=require(_0x44b8('0x1'));var path=require('path');var timeout=require('connect-timeout');var express=require(_0x44b8('0x2'));var router=express['Router']();var auth=require('../../components/auth/service');var interaction=require(_0x44b8('0x3'));var config=require(_0x44b8('0x4'));var controller=require(_0x44b8('0x5'));router['get']('/',auth['isAuthenticated'](),controller['index']);router[_0x44b8('0x6')]('/:id',auth[_0x44b8('0x7')](),controller['show']);router[_0x44b8('0x8')]('/:id/clone',auth['isAuthenticated'](),controller[_0x44b8('0x9')]);router[_0x44b8('0x8')]('/',auth[_0x44b8('0x7')](),controller['create']);router[_0x44b8('0xa')](_0x44b8('0xb'),auth[_0x44b8('0x7')](),controller[_0x44b8('0xc')]);router[_0x44b8('0xd')](_0x44b8('0xb'),auth[_0x44b8('0x7')](),controller['destroy']);module[_0x44b8('0xe')]=router;
\ No newline at end of file
+var _0x9675=['clone','post','create','put','/:id','delete','destroy','exports','multer','path','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./trunk.controller','isAuthenticated','index','get','show','/:id/clone'];(function(_0x3e69ae,_0x366e8d){var _0x3d7f42=function(_0x5df093){while(--_0x5df093){_0x3e69ae['push'](_0x3e69ae['shift']());}};_0x3d7f42(++_0x366e8d);}(_0x9675,0x76));var _0x5967=function(_0x4da2a1,_0x173a07){_0x4da2a1=_0x4da2a1-0x0;var _0x2e4b2d=_0x9675[_0x4da2a1];return _0x2e4b2d;};'use strict';var multer=require(_0x5967('0x0'));var util=require('util');var path=require(_0x5967('0x1'));var timeout=require('connect-timeout');var express=require(_0x5967('0x2'));var router=express[_0x5967('0x3')]();var fs_extra=require(_0x5967('0x4'));var auth=require(_0x5967('0x5'));var interaction=require(_0x5967('0x6'));var config=require(_0x5967('0x7'));var controller=require(_0x5967('0x8'));router['get']('/',auth[_0x5967('0x9')](),controller[_0x5967('0xa')]);router[_0x5967('0xb')]('/:id',auth[_0x5967('0x9')](),controller[_0x5967('0xc')]);router['post'](_0x5967('0xd'),auth[_0x5967('0x9')](),controller[_0x5967('0xe')]);router[_0x5967('0xf')]('/',auth[_0x5967('0x9')](),controller[_0x5967('0x10')]);router[_0x5967('0x11')](_0x5967('0x12'),auth[_0x5967('0x9')](),controller['update']);router[_0x5967('0x13')](_0x5967('0x12'),auth[_0x5967('0x9')](),controller[_0x5967('0x14')]);module[_0x5967('0x15')]=router;
\ No newline at end of file