Built motion from commit (unavailable).|2.5.23
[motion2.git] / server / api / userProfile / index.js
index 5fc0940..636e315 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x40f0=['../../components/auth/service','../../components/interaction/service','../../config/environment','./userProfile.controller','get','isAuthenticated','describe','/:id','/:id/sections','/:id/resources','getResources','post','create','/:id/clone','clone','addSections','addResources','put','update','delete','exports','util','path'];(function(_0x44c226,_0xdff38a){var _0x5d9fa5=function(_0x552d24){while(--_0x552d24){_0x44c226['push'](_0x44c226['shift']());}};_0x5d9fa5(++_0xdff38a);}(_0x40f0,0xcd));var _0x040f=function(_0x11309c,_0xe18a74){_0x11309c=_0x11309c-0x0;var _0x3fea9c=_0x40f0[_0x11309c];return _0x3fea9c;};'use strict';var multer=require('multer');var util=require(_0x040f('0x0'));var path=require(_0x040f('0x1'));var timeout=require('connect-timeout');var express=require('express');var router=express['Router']();var auth=require(_0x040f('0x2'));var interaction=require(_0x040f('0x3'));var config=require(_0x040f('0x4'));var controller=require(_0x040f('0x5'));router[_0x040f('0x6')]('/',auth[_0x040f('0x7')](),controller['index']);router[_0x040f('0x6')]('/describe',auth[_0x040f('0x7')](),controller[_0x040f('0x8')]);router[_0x040f('0x6')](_0x040f('0x9'),auth[_0x040f('0x7')](),controller['show']);router['get'](_0x040f('0xa'),auth[_0x040f('0x7')](),controller['getSections']);router['get'](_0x040f('0xb'),auth[_0x040f('0x7')](),controller[_0x040f('0xc')]);router[_0x040f('0xd')]('/',auth[_0x040f('0x7')](),controller[_0x040f('0xe')]);router[_0x040f('0xd')](_0x040f('0xf'),auth[_0x040f('0x7')](),controller[_0x040f('0x10')]);router[_0x040f('0xd')](_0x040f('0xa'),auth[_0x040f('0x7')](),controller[_0x040f('0x11')]);router['post'](_0x040f('0xb'),auth[_0x040f('0x7')](),controller[_0x040f('0x12')]);router[_0x040f('0x13')]('/:id',auth['isAuthenticated'](),controller[_0x040f('0x14')]);router[_0x040f('0x15')](_0x040f('0x9'),auth[_0x040f('0x7')](),controller['destroy']);router['delete']('/:id/sections',auth[_0x040f('0x7')](),controller['removeSections']);router[_0x040f('0x15')](_0x040f('0xb'),auth[_0x040f('0x7')](),controller['removeResources']);module[_0x040f('0x16')]=router;
\ No newline at end of file
+var _0xef17=['isAuthenticated','getSections','/:id/resources','post','/:id/clone','clone','addSections','update','delete','exports','multer','util','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','get','index','/describe','/:id','show','/:id/sections'];(function(_0x29c2bb,_0x1bde54){var _0x5446f1=function(_0x106117){while(--_0x106117){_0x29c2bb['push'](_0x29c2bb['shift']());}};_0x5446f1(++_0x1bde54);}(_0xef17,0x136));var _0x7ef1=function(_0x13c291,_0x1636d3){_0x13c291=_0x13c291-0x0;var _0x42b409=_0xef17[_0x13c291];return _0x42b409;};'use strict';var multer=require(_0x7ef1('0x0'));var util=require(_0x7ef1('0x1'));var path=require(_0x7ef1('0x2'));var timeout=require(_0x7ef1('0x3'));var express=require(_0x7ef1('0x4'));var router=express[_0x7ef1('0x5')]();var auth=require(_0x7ef1('0x6'));var interaction=require(_0x7ef1('0x7'));var config=require(_0x7ef1('0x8'));var controller=require('./userProfile.controller');router[_0x7ef1('0x9')]('/',auth['isAuthenticated'](),controller[_0x7ef1('0xa')]);router['get'](_0x7ef1('0xb'),auth['isAuthenticated'](),controller['describe']);router[_0x7ef1('0x9')](_0x7ef1('0xc'),auth['isAuthenticated'](),controller[_0x7ef1('0xd')]);router[_0x7ef1('0x9')](_0x7ef1('0xe'),auth[_0x7ef1('0xf')](),controller[_0x7ef1('0x10')]);router[_0x7ef1('0x9')](_0x7ef1('0x11'),auth['isAuthenticated'](),controller['getResources']);router[_0x7ef1('0x12')]('/',auth['isAuthenticated'](),controller['create']);router['post'](_0x7ef1('0x13'),auth['isAuthenticated'](),controller[_0x7ef1('0x14')]);router[_0x7ef1('0x12')](_0x7ef1('0xe'),auth[_0x7ef1('0xf')](),controller[_0x7ef1('0x15')]);router[_0x7ef1('0x12')](_0x7ef1('0x11'),auth[_0x7ef1('0xf')](),controller['addResources']);router['put'](_0x7ef1('0xc'),auth['isAuthenticated'](),controller[_0x7ef1('0x16')]);router[_0x7ef1('0x17')]('/:id',auth['isAuthenticated'](),controller['destroy']);router[_0x7ef1('0x17')]('/:id/sections',auth[_0x7ef1('0xf')](),controller['removeSections']);router['delete']('/:id/resources',auth[_0x7ef1('0xf')](),controller['removeResources']);module[_0x7ef1('0x18')]=router;
\ No newline at end of file