Built motion from commit b0a9a629.|2.6.33
[motion2.git] / server / api / userProfile / index.js
index 59c092b..b567b02 100644 (file)
@@ -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 _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