X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fapi%2FsquareProject%2Findex.js;h=7531126634ad74a7b8be97150ceed1a5eedb46f2;hb=cc5ed542bde40ef5cb950540b6a10b4f2d3f9dc8;hp=ad592487520475f7043c1f2623828f9b657415d1;hpb=bc74370e54ee193dccc81d92e42005d458c8ae66;p=motion2.git diff --git a/server/api/squareProject/index.js b/server/api/squareProject/index.js index ad59248..7531126 100644 --- a/server/api/squareProject/index.js +++ b/server/api/squareProject/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x9c00=['express','Router','../../components/interaction/service','../../config/environment','./squareProject.controller','get','isAuthenticated','/:id','show','/:id/users','getUsers','post','create','addUsers','put','update','delete','destroy','removeUsers','exports','multer','util'];(function(_0x121b1a,_0x42fdb7){var _0x2d89a6=function(_0x1b6027){while(--_0x1b6027){_0x121b1a['push'](_0x121b1a['shift']());}};_0x2d89a6(++_0x42fdb7);}(_0x9c00,0x1a0));var _0x09c0=function(_0x36bbbb,_0x3f6709){_0x36bbbb=_0x36bbbb-0x0;var _0x3ca0eb=_0x9c00[_0x36bbbb];return _0x3ca0eb;};'use strict';var multer=require(_0x09c0('0x0'));var util=require(_0x09c0('0x1'));var path=require('path');var timeout=require('connect-timeout');var express=require(_0x09c0('0x2'));var router=express[_0x09c0('0x3')]();var auth=require('../../components/auth/service');var interaction=require(_0x09c0('0x4'));var config=require(_0x09c0('0x5'));var controller=require(_0x09c0('0x6'));router[_0x09c0('0x7')]('/',auth[_0x09c0('0x8')](),controller['index']);router['get'](_0x09c0('0x9'),auth[_0x09c0('0x8')](),controller[_0x09c0('0xa')]);router[_0x09c0('0x7')](_0x09c0('0xb'),auth['isAuthenticated'](),controller[_0x09c0('0xc')]);router[_0x09c0('0xd')]('/',auth[_0x09c0('0x8')](),controller[_0x09c0('0xe')]);router[_0x09c0('0xd')](_0x09c0('0xb'),auth[_0x09c0('0x8')](),controller[_0x09c0('0xf')]);router[_0x09c0('0x10')](_0x09c0('0x9'),auth[_0x09c0('0x8')](),controller[_0x09c0('0x11')]);router[_0x09c0('0x12')](_0x09c0('0x9'),auth[_0x09c0('0x8')](),controller[_0x09c0('0x13')]);router[_0x09c0('0x12')](_0x09c0('0xb'),auth[_0x09c0('0x8')](),controller[_0x09c0('0x14')]);module[_0x09c0('0x15')]=router; \ No newline at end of file +var _0x4ad3=['exports','multer','util','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./squareProject.controller','get','isAuthenticated','index','/:id','/:id/users','getUsers','post','create','addUsers','put','update','delete','destroy'];(function(_0x4f6fbf,_0x28b5dd){var _0x118c51=function(_0x303ff2){while(--_0x303ff2){_0x4f6fbf['push'](_0x4f6fbf['shift']());}};_0x118c51(++_0x28b5dd);}(_0x4ad3,0x1b1));var _0x34ad=function(_0xd98ca3,_0x38fbd9){_0xd98ca3=_0xd98ca3-0x0;var _0x35960d=_0x4ad3[_0xd98ca3];return _0x35960d;};'use strict';var multer=require(_0x34ad('0x0'));var util=require(_0x34ad('0x1'));var path=require(_0x34ad('0x2'));var timeout=require(_0x34ad('0x3'));var express=require(_0x34ad('0x4'));var router=express[_0x34ad('0x5')]();var fs_extra=require('fs-extra');var auth=require(_0x34ad('0x6'));var interaction=require(_0x34ad('0x7'));var config=require(_0x34ad('0x8'));var controller=require(_0x34ad('0x9'));router[_0x34ad('0xa')]('/',auth[_0x34ad('0xb')](),controller[_0x34ad('0xc')]);router[_0x34ad('0xa')](_0x34ad('0xd'),auth[_0x34ad('0xb')](),controller['show']);router['get'](_0x34ad('0xe'),auth[_0x34ad('0xb')](),controller[_0x34ad('0xf')]);router[_0x34ad('0x10')]('/',auth['isAuthenticated'](),controller[_0x34ad('0x11')]);router[_0x34ad('0x10')](_0x34ad('0xe'),auth[_0x34ad('0xb')](),controller[_0x34ad('0x12')]);router[_0x34ad('0x13')](_0x34ad('0xd'),auth[_0x34ad('0xb')](),controller[_0x34ad('0x14')]);router[_0x34ad('0x15')](_0x34ad('0xd'),auth[_0x34ad('0xb')](),controller[_0x34ad('0x16')]);router[_0x34ad('0x15')](_0x34ad('0xe'),auth[_0x34ad('0xb')](),controller['removeUsers']);module[_0x34ad('0x17')]=router; \ No newline at end of file