Built motion from commit 9d0783e6.|2.6.13
[motion2.git] / server / api / network / index.js
index 6cec7d9..af45e24 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xa701=['update','delete','destroy','exports','util','path','Router','../../components/interaction/service','../../config/environment','./network.controller','get','/:id','isAuthenticated','show','post','create'];(function(_0xb5abb7,_0x9b082a){var _0xf2f2a2=function(_0x1510cd){while(--_0x1510cd){_0xb5abb7['push'](_0xb5abb7['shift']());}};_0xf2f2a2(++_0x9b082a);}(_0xa701,0xd4));var _0x1a70=function(_0x1a9d5d,_0x508c47){_0x1a9d5d=_0x1a9d5d-0x0;var _0x37e2b8=_0xa701[_0x1a9d5d];return _0x37e2b8;};'use strict';var multer=require('multer');var util=require(_0x1a70('0x0'));var path=require(_0x1a70('0x1'));var timeout=require('connect-timeout');var express=require('express');var router=express[_0x1a70('0x2')]();var fs_extra=require('fs-extra');var auth=require('../../components/auth/service');var interaction=require(_0x1a70('0x3'));var config=require(_0x1a70('0x4'));var controller=require(_0x1a70('0x5'));router[_0x1a70('0x6')]('/',auth['isAuthenticated'](),controller['index']);router[_0x1a70('0x6')](_0x1a70('0x7'),auth[_0x1a70('0x8')](),controller[_0x1a70('0x9')]);router[_0x1a70('0xa')]('/',auth[_0x1a70('0x8')](),controller[_0x1a70('0xb')]);router['put'](_0x1a70('0x7'),auth[_0x1a70('0x8')](),controller[_0x1a70('0xc')]);router[_0x1a70('0xd')]('/:id',auth[_0x1a70('0x8')](),controller[_0x1a70('0xe')]);module[_0x1a70('0xf')]=router;
\ No newline at end of file
+var _0xda81=['fs-extra','../../components/auth/service','../../config/environment','./network.controller','isAuthenticated','get','/:id','show','post','create','put','update','delete','destroy','multer','util','path','express','Router'];(function(_0x20a584,_0xe384a5){var _0x4b41a8=function(_0x2127c6){while(--_0x2127c6){_0x20a584['push'](_0x20a584['shift']());}};_0x4b41a8(++_0xe384a5);}(_0xda81,0x1c3));var _0x1da8=function(_0x14630a,_0x33865a){_0x14630a=_0x14630a-0x0;var _0x1ee906=_0xda81[_0x14630a];return _0x1ee906;};'use strict';var multer=require(_0x1da8('0x0'));var util=require(_0x1da8('0x1'));var path=require(_0x1da8('0x2'));var timeout=require('connect-timeout');var express=require(_0x1da8('0x3'));var router=express[_0x1da8('0x4')]();var fs_extra=require(_0x1da8('0x5'));var auth=require(_0x1da8('0x6'));var interaction=require('../../components/interaction/service');var config=require(_0x1da8('0x7'));var controller=require(_0x1da8('0x8'));router['get']('/',auth[_0x1da8('0x9')](),controller['index']);router[_0x1da8('0xa')](_0x1da8('0xb'),auth[_0x1da8('0x9')](),controller[_0x1da8('0xc')]);router[_0x1da8('0xd')]('/',auth[_0x1da8('0x9')](),controller[_0x1da8('0xe')]);router[_0x1da8('0xf')](_0x1da8('0xb'),auth['isAuthenticated'](),controller[_0x1da8('0x10')]);router[_0x1da8('0x11')](_0x1da8('0xb'),auth[_0x1da8('0x9')](),controller[_0x1da8('0x12')]);module['exports']=router;
\ No newline at end of file