Built motion from commit 0900f080.|2.5.45
[motion2.git] / server / api / network / index.js
index f81b3f8..a41744e 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x0024=['util','connect-timeout','Router','../../components/interaction/service','../../config/environment','isAuthenticated','index','get','/:id','show','post','create','update','delete'];(function(_0x233ab1,_0x7dbb75){var _0x190a53=function(_0x39daa7){while(--_0x39daa7){_0x233ab1['push'](_0x233ab1['shift']());}};_0x190a53(++_0x7dbb75);}(_0x0024,0xa8));var _0x4002=function(_0x53103e,_0x4f5e35){_0x53103e=_0x53103e-0x0;var _0x495bf6=_0x0024[_0x53103e];return _0x495bf6;};'use strict';var multer=require('multer');var util=require(_0x4002('0x0'));var path=require('path');var timeout=require(_0x4002('0x1'));var express=require('express');var router=express[_0x4002('0x2')]();var fs_extra=require('fs-extra');var auth=require('../../components/auth/service');var interaction=require(_0x4002('0x3'));var config=require(_0x4002('0x4'));var controller=require('./network.controller');router['get']('/',auth[_0x4002('0x5')](),controller[_0x4002('0x6')]);router[_0x4002('0x7')](_0x4002('0x8'),auth['isAuthenticated'](),controller[_0x4002('0x9')]);router[_0x4002('0xa')]('/',auth[_0x4002('0x5')](),controller[_0x4002('0xb')]);router['put']('/:id',auth[_0x4002('0x5')](),controller[_0x4002('0xc')]);router[_0x4002('0xd')](_0x4002('0x8'),auth[_0x4002('0x5')](),controller['destroy']);module['exports']=router;
\ No newline at end of file
+var _0xf30f=['isAuthenticated','index','/:id','show','post','create','put','delete','destroy','exports','multer','util','path','../../components/auth/service','../../components/interaction/service','./network.controller','get'];(function(_0x29849a,_0x5f5950){var _0x200fc3=function(_0x44c3b2){while(--_0x44c3b2){_0x29849a['push'](_0x29849a['shift']());}};_0x200fc3(++_0x5f5950);}(_0xf30f,0x1a2));var _0xff30=function(_0x5d2803,_0xf375bd){_0x5d2803=_0x5d2803-0x0;var _0xdcad2c=_0xf30f[_0x5d2803];return _0xdcad2c;};'use strict';var multer=require(_0xff30('0x0'));var util=require(_0xff30('0x1'));var path=require(_0xff30('0x2'));var timeout=require('connect-timeout');var express=require('express');var router=express['Router']();var fs_extra=require('fs-extra');var auth=require(_0xff30('0x3'));var interaction=require(_0xff30('0x4'));var config=require('../../config/environment');var controller=require(_0xff30('0x5'));router[_0xff30('0x6')]('/',auth[_0xff30('0x7')](),controller[_0xff30('0x8')]);router[_0xff30('0x6')](_0xff30('0x9'),auth[_0xff30('0x7')](),controller[_0xff30('0xa')]);router[_0xff30('0xb')]('/',auth[_0xff30('0x7')](),controller[_0xff30('0xc')]);router[_0xff30('0xd')]('/:id',auth[_0xff30('0x7')](),controller['update']);router[_0xff30('0xe')](_0xff30('0x9'),auth[_0xff30('0x7')](),controller[_0xff30('0xf')]);module[_0xff30('0x10')]=router;
\ No newline at end of file