X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fapi%2FuserProfile%2Findex.js;h=5d1f520630b3d75770b0ddf6d51df301bcd998c7;hb=d49944cc2e95578bfbd15d79d46896f71a145821;hp=59c092b99c5bda053cfa4f2022165c8772f9c63f;hpb=b2ace134e5eb466deeb396f27c0c22876a7ffeae;p=motion2.git diff --git a/server/api/userProfile/index.js b/server/api/userProfile/index.js index 59c092b..5d1f520 100644 --- a/server/api/userProfile/index.js +++ b/server/api/userProfile/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0x4a78=['../../components/interaction/service','../../config/environment','./userProfile.controller','get','isAuthenticated','index','/describe','describe','/:id','show','/:id/sections','getSections','/:id/resources','getResources','post','clone','addSections','addResources','put','delete','destroy','removeSections','removeResources','exports','multer','util','path','connect-timeout','express','Router','../../components/auth/service'];(function(_0x10fe7f,_0x2aa210){var _0x33f6cf=function(_0x470a4b){while(--_0x470a4b){_0x10fe7f['push'](_0x10fe7f['shift']());}};_0x33f6cf(++_0x2aa210);}(_0x4a78,0x18c));var _0x84a7=function(_0x5ab6a1,_0x4ecd56){_0x5ab6a1=_0x5ab6a1-0x0;var _0x1e9992=_0x4a78[_0x5ab6a1];return _0x1e9992;};'use strict';var multer=require(_0x84a7('0x0'));var util=require(_0x84a7('0x1'));var path=require(_0x84a7('0x2'));var timeout=require(_0x84a7('0x3'));var express=require(_0x84a7('0x4'));var router=express[_0x84a7('0x5')]();var fs_extra=require('fs-extra');var auth=require(_0x84a7('0x6'));var interaction=require(_0x84a7('0x7'));var config=require(_0x84a7('0x8'));var controller=require(_0x84a7('0x9'));router[_0x84a7('0xa')]('/',auth[_0x84a7('0xb')](),controller[_0x84a7('0xc')]);router[_0x84a7('0xa')](_0x84a7('0xd'),auth[_0x84a7('0xb')](),controller[_0x84a7('0xe')]);router['get'](_0x84a7('0xf'),auth[_0x84a7('0xb')](),controller[_0x84a7('0x10')]);router['get'](_0x84a7('0x11'),auth[_0x84a7('0xb')](),controller[_0x84a7('0x12')]);router['get'](_0x84a7('0x13'),auth[_0x84a7('0xb')](),controller[_0x84a7('0x14')]);router[_0x84a7('0x15')]('/',auth['isAuthenticated'](),controller['create']);router[_0x84a7('0x15')]('/:id/clone',auth[_0x84a7('0xb')](),controller[_0x84a7('0x16')]);router[_0x84a7('0x15')](_0x84a7('0x11'),auth[_0x84a7('0xb')](),controller[_0x84a7('0x17')]);router[_0x84a7('0x15')](_0x84a7('0x13'),auth[_0x84a7('0xb')](),controller[_0x84a7('0x18')]);router[_0x84a7('0x19')](_0x84a7('0xf'),auth[_0x84a7('0xb')](),controller['update']);router[_0x84a7('0x1a')](_0x84a7('0xf'),auth[_0x84a7('0xb')](),controller[_0x84a7('0x1b')]);router[_0x84a7('0x1a')](_0x84a7('0x11'),auth[_0x84a7('0xb')](),controller[_0x84a7('0x1c')]);router[_0x84a7('0x1a')](_0x84a7('0x13'),auth[_0x84a7('0xb')](),controller[_0x84a7('0x1d')]);module[_0x84a7('0x1e')]=router; \ No newline at end of file +var _0xb575=['/:id','/:id/sections','getSections','/:id/resources','getResources','post','create','/:id/clone','clone','addSections','addResources','put','update','delete','destroy','removeSections','removeResources','exports','util','path','connect-timeout','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./userProfile.controller','get','isAuthenticated','index','describe'];(function(_0x311c35,_0x534915){var _0x5cc50c=function(_0x3ad680){while(--_0x3ad680){_0x311c35['push'](_0x311c35['shift']());}};_0x5cc50c(++_0x534915);}(_0xb575,0x1c4));var _0x5b57=function(_0x3aeb04,_0x76729a){_0x3aeb04=_0x3aeb04-0x0;var _0x18928d=_0xb575[_0x3aeb04];return _0x18928d;};'use strict';var multer=require('multer');var util=require(_0x5b57('0x0'));var path=require(_0x5b57('0x1'));var timeout=require(_0x5b57('0x2'));var express=require('express');var router=express[_0x5b57('0x3')]();var fs_extra=require(_0x5b57('0x4'));var auth=require(_0x5b57('0x5'));var interaction=require(_0x5b57('0x6'));var config=require(_0x5b57('0x7'));var controller=require(_0x5b57('0x8'));router[_0x5b57('0x9')]('/',auth[_0x5b57('0xa')](),controller[_0x5b57('0xb')]);router[_0x5b57('0x9')]('/describe',auth[_0x5b57('0xa')](),controller[_0x5b57('0xc')]);router[_0x5b57('0x9')](_0x5b57('0xd'),auth[_0x5b57('0xa')](),controller['show']);router[_0x5b57('0x9')](_0x5b57('0xe'),auth[_0x5b57('0xa')](),controller[_0x5b57('0xf')]);router[_0x5b57('0x9')](_0x5b57('0x10'),auth[_0x5b57('0xa')](),controller[_0x5b57('0x11')]);router[_0x5b57('0x12')]('/',auth[_0x5b57('0xa')](),controller[_0x5b57('0x13')]);router[_0x5b57('0x12')](_0x5b57('0x14'),auth['isAuthenticated'](),controller[_0x5b57('0x15')]);router['post'](_0x5b57('0xe'),auth['isAuthenticated'](),controller[_0x5b57('0x16')]);router[_0x5b57('0x12')](_0x5b57('0x10'),auth[_0x5b57('0xa')](),controller[_0x5b57('0x17')]);router[_0x5b57('0x18')]('/:id',auth[_0x5b57('0xa')](),controller[_0x5b57('0x19')]);router[_0x5b57('0x1a')](_0x5b57('0xd'),auth['isAuthenticated'](),controller[_0x5b57('0x1b')]);router[_0x5b57('0x1a')](_0x5b57('0xe'),auth[_0x5b57('0xa')](),controller[_0x5b57('0x1c')]);router[_0x5b57('0x1a')]('/:id/resources',auth[_0x5b57('0xa')](),controller[_0x5b57('0x1d')]);module[_0x5b57('0x1e')]=router; \ No newline at end of file