Built motion from commit b0a9a629.|2.6.33
[motion2.git] / server / api / userProfile / index.js
index 4e850f7..b567b02 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xc421=['isAuthenticated','/describe','describe','/:id','show','/:id/sections','getSections','/:id/resources','getResources','post','/:id/clone','clone','addSections','addResources','put','update','delete','destroy','removeSections','exports','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../config/environment','./userProfile.controller','get'];(function(_0x3b380d,_0x4bf247){var _0x54502b=function(_0x35d207){while(--_0x35d207){_0x3b380d['push'](_0x3b380d['shift']());}};_0x54502b(++_0x4bf247);}(_0xc421,0x88));var _0x1c42=function(_0x18eb27,_0xbe423){_0x18eb27=_0x18eb27-0x0;var _0x9468e4=_0xc421[_0x18eb27];return _0x9468e4;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0x1c42('0x0'));var timeout=require(_0x1c42('0x1'));var express=require(_0x1c42('0x2'));var router=express[_0x1c42('0x3')]();var fs_extra=require(_0x1c42('0x4'));var auth=require(_0x1c42('0x5'));var interaction=require('../../components/interaction/service');var config=require(_0x1c42('0x6'));var controller=require(_0x1c42('0x7'));router[_0x1c42('0x8')]('/',auth[_0x1c42('0x9')](),controller['index']);router[_0x1c42('0x8')](_0x1c42('0xa'),auth[_0x1c42('0x9')](),controller[_0x1c42('0xb')]);router[_0x1c42('0x8')](_0x1c42('0xc'),auth[_0x1c42('0x9')](),controller[_0x1c42('0xd')]);router[_0x1c42('0x8')](_0x1c42('0xe'),auth['isAuthenticated'](),controller[_0x1c42('0xf')]);router['get'](_0x1c42('0x10'),auth[_0x1c42('0x9')](),controller[_0x1c42('0x11')]);router['post']('/',auth[_0x1c42('0x9')](),controller['create']);router[_0x1c42('0x12')](_0x1c42('0x13'),auth[_0x1c42('0x9')](),controller[_0x1c42('0x14')]);router['post']('/:id/sections',auth['isAuthenticated'](),controller[_0x1c42('0x15')]);router[_0x1c42('0x12')](_0x1c42('0x10'),auth[_0x1c42('0x9')](),controller[_0x1c42('0x16')]);router[_0x1c42('0x17')](_0x1c42('0xc'),auth[_0x1c42('0x9')](),controller[_0x1c42('0x18')]);router[_0x1c42('0x19')](_0x1c42('0xc'),auth[_0x1c42('0x9')](),controller[_0x1c42('0x1a')]);router['delete']('/:id/sections',auth[_0x1c42('0x9')](),controller[_0x1c42('0x1b')]);router['delete']('/:id/resources',auth[_0x1c42('0x9')](),controller['removeResources']);module[_0x1c42('0x1c')]=router;
\ No newline at end of file
+var _0x54c4=['../../components/interaction/service','../../config/environment','./userProfile.controller','get','describe','show','/:id/sections','isAuthenticated','getResources','create','post','clone','addResources','put','update','delete','destroy','removeSections','/:id/resources','removeResources','exports','multer','path','connect-timeout','../../components/auth/service'];(function(_0x467009,_0x27dbe5){var _0x1ab09c=function(_0x329b68){while(--_0x329b68){_0x467009['push'](_0x467009['shift']());}};_0x1ab09c(++_0x27dbe5);}(_0x54c4,0xdd));var _0x454c=function(_0x2efe85,_0x4b56b8){_0x2efe85=_0x2efe85-0x0;var _0x43d749=_0x54c4[_0x2efe85];return _0x43d749;};'use strict';var multer=require(_0x454c('0x0'));var util=require('util');var path=require(_0x454c('0x1'));var timeout=require(_0x454c('0x2'));var express=require('express');var router=express['Router']();var fs_extra=require('fs-extra');var auth=require(_0x454c('0x3'));var interaction=require(_0x454c('0x4'));var config=require(_0x454c('0x5'));var controller=require(_0x454c('0x6'));router[_0x454c('0x7')]('/',auth['isAuthenticated'](),controller['index']);router['get']('/describe',auth['isAuthenticated'](),controller[_0x454c('0x8')]);router['get']('/:id',auth['isAuthenticated'](),controller[_0x454c('0x9')]);router['get'](_0x454c('0xa'),auth['isAuthenticated'](),controller['getSections']);router[_0x454c('0x7')]('/:id/resources',auth[_0x454c('0xb')](),controller[_0x454c('0xc')]);router['post']('/',auth[_0x454c('0xb')](),controller[_0x454c('0xd')]);router[_0x454c('0xe')]('/:id/clone',auth[_0x454c('0xb')](),controller[_0x454c('0xf')]);router[_0x454c('0xe')](_0x454c('0xa'),auth['isAuthenticated'](),controller['addSections']);router[_0x454c('0xe')]('/:id/resources',auth[_0x454c('0xb')](),controller[_0x454c('0x10')]);router[_0x454c('0x11')]('/:id',auth[_0x454c('0xb')](),controller[_0x454c('0x12')]);router[_0x454c('0x13')]('/:id',auth['isAuthenticated'](),controller[_0x454c('0x14')]);router[_0x454c('0x13')](_0x454c('0xa'),auth[_0x454c('0xb')](),controller[_0x454c('0x15')]);router[_0x454c('0x13')](_0x454c('0x16'),auth[_0x454c('0xb')](),controller[_0x454c('0x17')]);module[_0x454c('0x18')]=router;
\ No newline at end of file