Built motion from commit 953226e6.|2.6.32
[motion2.git] / server / api / userProfile / index.js
index 4bc51e5..4e850f7 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x769b=['../../config/environment','get','isAuthenticated','index','/describe','describe','show','/:id/sections','getSections','/:id/resources','getResources','post','create','/:id/clone','clone','addSections','put','/:id','update','delete','exports','multer','util','path','connect-timeout','Router','../../components/auth/service'];(function(_0x267c52,_0x3c0df3){var _0x46c47b=function(_0x3c3740){while(--_0x3c3740){_0x267c52['push'](_0x267c52['shift']());}};_0x46c47b(++_0x3c0df3);}(_0x769b,0x123));var _0xb769=function(_0x27c2f8,_0x5948c1){_0x27c2f8=_0x27c2f8-0x0;var _0x5cc05f=_0x769b[_0x27c2f8];return _0x5cc05f;};'use strict';var multer=require(_0xb769('0x0'));var util=require(_0xb769('0x1'));var path=require(_0xb769('0x2'));var timeout=require(_0xb769('0x3'));var express=require('express');var router=express[_0xb769('0x4')]();var fs_extra=require('fs-extra');var auth=require(_0xb769('0x5'));var interaction=require('../../components/interaction/service');var config=require(_0xb769('0x6'));var controller=require('./userProfile.controller');router[_0xb769('0x7')]('/',auth[_0xb769('0x8')](),controller[_0xb769('0x9')]);router[_0xb769('0x7')](_0xb769('0xa'),auth[_0xb769('0x8')](),controller[_0xb769('0xb')]);router['get']('/:id',auth[_0xb769('0x8')](),controller[_0xb769('0xc')]);router['get'](_0xb769('0xd'),auth[_0xb769('0x8')](),controller[_0xb769('0xe')]);router[_0xb769('0x7')](_0xb769('0xf'),auth[_0xb769('0x8')](),controller[_0xb769('0x10')]);router[_0xb769('0x11')]('/',auth[_0xb769('0x8')](),controller[_0xb769('0x12')]);router['post'](_0xb769('0x13'),auth[_0xb769('0x8')](),controller[_0xb769('0x14')]);router[_0xb769('0x11')](_0xb769('0xd'),auth[_0xb769('0x8')](),controller[_0xb769('0x15')]);router[_0xb769('0x11')]('/:id/resources',auth[_0xb769('0x8')](),controller['addResources']);router[_0xb769('0x16')](_0xb769('0x17'),auth[_0xb769('0x8')](),controller[_0xb769('0x18')]);router[_0xb769('0x19')](_0xb769('0x17'),auth[_0xb769('0x8')](),controller['destroy']);router['delete'](_0xb769('0xd'),auth[_0xb769('0x8')](),controller['removeSections']);router[_0xb769('0x19')](_0xb769('0xf'),auth[_0xb769('0x8')](),controller['removeResources']);module[_0xb769('0x1a')]=router;
\ No newline at end of file
+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