Built motion from commit f3da74b7.|2.5.36
[motion2.git] / server / api / userProfile / index.js
index 1ab8e9f..093ea69 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x894c=['show','/:id/sections','getSections','/:id/resources','post','/:id/clone','clone','addResources','put','update','delete','destroy','removeSections','removeResources','util','express','fs-extra','../../components/auth/service','../../config/environment','isAuthenticated','index','get','/:id'];(function(_0x24c518,_0x4e47b4){var _0x34625f=function(_0x21f17f){while(--_0x21f17f){_0x24c518['push'](_0x24c518['shift']());}};_0x34625f(++_0x4e47b4);}(_0x894c,0x98));var _0xc894=function(_0x3e7787,_0x3dbeb4){_0x3e7787=_0x3e7787-0x0;var _0xcdcff0=_0x894c[_0x3e7787];return _0xcdcff0;};'use strict';var multer=require('multer');var util=require(_0xc894('0x0'));var path=require('path');var timeout=require('connect-timeout');var express=require(_0xc894('0x1'));var router=express['Router']();var fs_extra=require(_0xc894('0x2'));var auth=require(_0xc894('0x3'));var interaction=require('../../components/interaction/service');var config=require(_0xc894('0x4'));var controller=require('./userProfile.controller');router['get']('/',auth[_0xc894('0x5')](),controller[_0xc894('0x6')]);router[_0xc894('0x7')]('/describe',auth['isAuthenticated'](),controller['describe']);router['get'](_0xc894('0x8'),auth['isAuthenticated'](),controller[_0xc894('0x9')]);router['get'](_0xc894('0xa'),auth[_0xc894('0x5')](),controller[_0xc894('0xb')]);router[_0xc894('0x7')](_0xc894('0xc'),auth[_0xc894('0x5')](),controller['getResources']);router[_0xc894('0xd')]('/',auth[_0xc894('0x5')](),controller['create']);router[_0xc894('0xd')](_0xc894('0xe'),auth[_0xc894('0x5')](),controller[_0xc894('0xf')]);router[_0xc894('0xd')](_0xc894('0xa'),auth[_0xc894('0x5')](),controller['addSections']);router[_0xc894('0xd')]('/:id/resources',auth[_0xc894('0x5')](),controller[_0xc894('0x10')]);router[_0xc894('0x11')](_0xc894('0x8'),auth[_0xc894('0x5')](),controller[_0xc894('0x12')]);router[_0xc894('0x13')](_0xc894('0x8'),auth['isAuthenticated'](),controller[_0xc894('0x14')]);router['delete']('/:id/sections',auth[_0xc894('0x5')](),controller[_0xc894('0x15')]);router[_0xc894('0x13')](_0xc894('0xc'),auth['isAuthenticated'](),controller[_0xc894('0x16')]);module['exports']=router;
\ No newline at end of file
+var _0x0b08=['delete','destroy','removeSections','exports','multer','util','express','Router','../../components/interaction/service','./userProfile.controller','get','index','/describe','isAuthenticated','describe','/:id','show','/:id/sections','getSections','/:id/resources','create','post','/:id/clone','addSections','addResources','put'];(function(_0x4a8418,_0x39078a){var _0x390174=function(_0x173ea6){while(--_0x173ea6){_0x4a8418['push'](_0x4a8418['shift']());}};_0x390174(++_0x39078a);}(_0x0b08,0x108));var _0x80b0=function(_0x1f36bb,_0x8af718){_0x1f36bb=_0x1f36bb-0x0;var _0xaf97fa=_0x0b08[_0x1f36bb];return _0xaf97fa;};'use strict';var multer=require(_0x80b0('0x0'));var util=require(_0x80b0('0x1'));var path=require('path');var timeout=require('connect-timeout');var express=require(_0x80b0('0x2'));var router=express[_0x80b0('0x3')]();var fs_extra=require('fs-extra');var auth=require('../../components/auth/service');var interaction=require(_0x80b0('0x4'));var config=require('../../config/environment');var controller=require(_0x80b0('0x5'));router[_0x80b0('0x6')]('/',auth['isAuthenticated'](),controller[_0x80b0('0x7')]);router[_0x80b0('0x6')](_0x80b0('0x8'),auth[_0x80b0('0x9')](),controller[_0x80b0('0xa')]);router['get'](_0x80b0('0xb'),auth[_0x80b0('0x9')](),controller[_0x80b0('0xc')]);router['get'](_0x80b0('0xd'),auth[_0x80b0('0x9')](),controller[_0x80b0('0xe')]);router[_0x80b0('0x6')](_0x80b0('0xf'),auth[_0x80b0('0x9')](),controller['getResources']);router['post']('/',auth[_0x80b0('0x9')](),controller[_0x80b0('0x10')]);router[_0x80b0('0x11')](_0x80b0('0x12'),auth[_0x80b0('0x9')](),controller['clone']);router[_0x80b0('0x11')](_0x80b0('0xd'),auth[_0x80b0('0x9')](),controller[_0x80b0('0x13')]);router[_0x80b0('0x11')](_0x80b0('0xf'),auth[_0x80b0('0x9')](),controller[_0x80b0('0x14')]);router[_0x80b0('0x15')]('/:id',auth[_0x80b0('0x9')](),controller['update']);router[_0x80b0('0x16')]('/:id',auth['isAuthenticated'](),controller[_0x80b0('0x17')]);router[_0x80b0('0x16')](_0x80b0('0xd'),auth[_0x80b0('0x9')](),controller[_0x80b0('0x18')]);router[_0x80b0('0x16')]('/:id/resources',auth['isAuthenticated'](),controller['removeResources']);module[_0x80b0('0x19')]=router;
\ No newline at end of file