X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fapi%2FchatGroup%2Findex.js;h=7759ab32da3a30f90d4a69d24bda1693ce91b35e;hb=fe8c827137dd3c5e6b46ed251e0129d077b10dab;hp=07aed857e9a1d79fa9d83f67f01eb5a13c90d55a;hpb=04c0f252a7a18de2cd4c2368f646bc7587dfdeaf;p=motion2.git diff --git a/server/api/chatGroup/index.js b/server/api/chatGroup/index.js index 07aed85..7759ab3 100644 --- a/server/api/chatGroup/index.js +++ b/server/api/chatGroup/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xe6d7=['../../config/environment','./chatGroup.controller','get','isAuthenticated','index','/describe','describe','/:id','show','/:id/unread','getUnread','/:id/members','getMembers','/:id/messages','getMessages','create','post','addMembers','put','update','delete','removeMembers','multer','util','path','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service'];(function(_0x734baa,_0x4072d5){var _0x1920d4=function(_0x4c02ba){while(--_0x4c02ba){_0x734baa['push'](_0x734baa['shift']());}};_0x1920d4(++_0x4072d5);}(_0xe6d7,0x124));var _0x7e6d=function(_0x4781b1,_0x109c44){_0x4781b1=_0x4781b1-0x0;var _0x13ecb1=_0xe6d7[_0x4781b1];return _0x13ecb1;};'use strict';var multer=require(_0x7e6d('0x0'));var util=require(_0x7e6d('0x1'));var path=require(_0x7e6d('0x2'));var timeout=require('connect-timeout');var express=require(_0x7e6d('0x3'));var router=express[_0x7e6d('0x4')]();var fs_extra=require(_0x7e6d('0x5'));var auth=require(_0x7e6d('0x6'));var interaction=require(_0x7e6d('0x7'));var config=require(_0x7e6d('0x8'));var controller=require(_0x7e6d('0x9'));router[_0x7e6d('0xa')]('/',auth[_0x7e6d('0xb')](),controller[_0x7e6d('0xc')]);router[_0x7e6d('0xa')](_0x7e6d('0xd'),auth[_0x7e6d('0xb')](),controller[_0x7e6d('0xe')]);router[_0x7e6d('0xa')](_0x7e6d('0xf'),auth[_0x7e6d('0xb')](),controller[_0x7e6d('0x10')]);router['get'](_0x7e6d('0x11'),auth[_0x7e6d('0xb')](),controller[_0x7e6d('0x12')]);router[_0x7e6d('0xa')](_0x7e6d('0x13'),auth[_0x7e6d('0xb')](),controller[_0x7e6d('0x14')]);router['get'](_0x7e6d('0x15'),auth[_0x7e6d('0xb')](),controller[_0x7e6d('0x16')]);router['post']('/',auth['isAuthenticated'](),controller[_0x7e6d('0x17')]);router[_0x7e6d('0x18')](_0x7e6d('0x13'),auth['isAuthenticated'](),controller[_0x7e6d('0x19')]);router[_0x7e6d('0x18')]('/:id/messages',auth[_0x7e6d('0xb')](),controller['addMessage']);router[_0x7e6d('0x1a')](_0x7e6d('0xf'),auth[_0x7e6d('0xb')](),controller[_0x7e6d('0x1b')]);router[_0x7e6d('0x1c')](_0x7e6d('0xf'),auth[_0x7e6d('0xb')](),controller['destroy']);router[_0x7e6d('0x1c')](_0x7e6d('0x13'),auth[_0x7e6d('0xb')](),controller[_0x7e6d('0x1d')]);module['exports']=router; \ No newline at end of file +var _0xafc6=['Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./chatGroup.controller','get','isAuthenticated','/describe','describe','/:id','show','/:id/unread','getUnread','/:id/members','getMembers','/:id/messages','getMessages','post','addMessage','put','update','delete','destroy','removeMembers','exports','multer','util','path','connect-timeout'];(function(_0x389290,_0x16aa43){var _0x529d99=function(_0x12658c){while(--_0x12658c){_0x389290['push'](_0x389290['shift']());}};_0x529d99(++_0x16aa43);}(_0xafc6,0xaa));var _0x6afc=function(_0x31a371,_0x50828e){_0x31a371=_0x31a371-0x0;var _0x2a5bd6=_0xafc6[_0x31a371];return _0x2a5bd6;};'use strict';var multer=require(_0x6afc('0x0'));var util=require(_0x6afc('0x1'));var path=require(_0x6afc('0x2'));var timeout=require(_0x6afc('0x3'));var express=require('express');var router=express[_0x6afc('0x4')]();var fs_extra=require('fs-extra');var auth=require(_0x6afc('0x5'));var interaction=require(_0x6afc('0x6'));var config=require(_0x6afc('0x7'));var controller=require(_0x6afc('0x8'));router[_0x6afc('0x9')]('/',auth[_0x6afc('0xa')](),controller['index']);router[_0x6afc('0x9')](_0x6afc('0xb'),auth[_0x6afc('0xa')](),controller[_0x6afc('0xc')]);router[_0x6afc('0x9')](_0x6afc('0xd'),auth[_0x6afc('0xa')](),controller[_0x6afc('0xe')]);router[_0x6afc('0x9')](_0x6afc('0xf'),auth['isAuthenticated'](),controller[_0x6afc('0x10')]);router[_0x6afc('0x9')](_0x6afc('0x11'),auth[_0x6afc('0xa')](),controller[_0x6afc('0x12')]);router[_0x6afc('0x9')](_0x6afc('0x13'),auth[_0x6afc('0xa')](),controller[_0x6afc('0x14')]);router['post']('/',auth[_0x6afc('0xa')](),controller['create']);router[_0x6afc('0x15')](_0x6afc('0x11'),auth[_0x6afc('0xa')](),controller['addMembers']);router[_0x6afc('0x15')]('/:id/messages',auth['isAuthenticated'](),controller[_0x6afc('0x16')]);router[_0x6afc('0x17')](_0x6afc('0xd'),auth[_0x6afc('0xa')](),controller[_0x6afc('0x18')]);router[_0x6afc('0x19')](_0x6afc('0xd'),auth[_0x6afc('0xa')](),controller[_0x6afc('0x1a')]);router[_0x6afc('0x19')]('/:id/members',auth[_0x6afc('0xa')](),controller[_0x6afc('0x1b')]);module[_0x6afc('0x1c')]=router; \ No newline at end of file