Built motion from commit b5996064.|2.6.21
[motion2.git] / server / api / userProfile / index.js
index 2e9ac59..d5a234f 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xafb9=['../../config/environment','isAuthenticated','get','describe','/:id','show','/:id/sections','getSections','getResources','post','create','/:id/clone','clone','/:id/resources','addResources','put','update','destroy','delete','removeSections','multer','util','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service'];(function(_0x2272c2,_0x354eb4){var _0x2910a3=function(_0x237a98){while(--_0x237a98){_0x2272c2['push'](_0x2272c2['shift']());}};_0x2910a3(++_0x354eb4);}(_0xafb9,0x68));var _0x9afb=function(_0x471c23,_0x52d914){_0x471c23=_0x471c23-0x0;var _0x39cd4e=_0xafb9[_0x471c23];return _0x39cd4e;};'use strict';var multer=require(_0x9afb('0x0'));var util=require(_0x9afb('0x1'));var path=require(_0x9afb('0x2'));var timeout=require(_0x9afb('0x3'));var express=require(_0x9afb('0x4'));var router=express[_0x9afb('0x5')]();var auth=require(_0x9afb('0x6'));var interaction=require(_0x9afb('0x7'));var config=require(_0x9afb('0x8'));var controller=require('./userProfile.controller');router['get']('/',auth[_0x9afb('0x9')](),controller['index']);router[_0x9afb('0xa')]('/describe',auth['isAuthenticated'](),controller[_0x9afb('0xb')]);router[_0x9afb('0xa')](_0x9afb('0xc'),auth['isAuthenticated'](),controller[_0x9afb('0xd')]);router[_0x9afb('0xa')](_0x9afb('0xe'),auth[_0x9afb('0x9')](),controller[_0x9afb('0xf')]);router['get']('/:id/resources',auth[_0x9afb('0x9')](),controller[_0x9afb('0x10')]);router[_0x9afb('0x11')]('/',auth[_0x9afb('0x9')](),controller[_0x9afb('0x12')]);router[_0x9afb('0x11')](_0x9afb('0x13'),auth[_0x9afb('0x9')](),controller[_0x9afb('0x14')]);router[_0x9afb('0x11')]('/:id/sections',auth[_0x9afb('0x9')](),controller['addSections']);router['post'](_0x9afb('0x15'),auth[_0x9afb('0x9')](),controller[_0x9afb('0x16')]);router[_0x9afb('0x17')](_0x9afb('0xc'),auth[_0x9afb('0x9')](),controller[_0x9afb('0x18')]);router['delete'](_0x9afb('0xc'),auth[_0x9afb('0x9')](),controller[_0x9afb('0x19')]);router[_0x9afb('0x1a')](_0x9afb('0xe'),auth['isAuthenticated'](),controller[_0x9afb('0x1b')]);router['delete'](_0x9afb('0x15'),auth[_0x9afb('0x9')](),controller['removeResources']);module['exports']=router;
\ No newline at end of file
+var _0x8da6=['isAuthenticated','describe','/:id','getSections','getResources','post','create','/:id/clone','clone','/:id/sections','/:id/resources','addResources','put','update','removeResources','exports','multer','util','path','connect-timeout','Router','fs-extra','../../components/auth/service','../../components/interaction/service','get'];(function(_0x20a584,_0xe384a5){var _0x4b41a8=function(_0x2127c6){while(--_0x2127c6){_0x20a584['push'](_0x20a584['shift']());}};_0x4b41a8(++_0xe384a5);}(_0x8da6,0x8d));var _0x68da=function(_0x482be9,_0x3e7d47){_0x482be9=_0x482be9-0x0;var _0x1ab4c6=_0x8da6[_0x482be9];return _0x1ab4c6;};'use strict';var multer=require(_0x68da('0x0'));var util=require(_0x68da('0x1'));var path=require(_0x68da('0x2'));var timeout=require(_0x68da('0x3'));var express=require('express');var router=express[_0x68da('0x4')]();var fs_extra=require(_0x68da('0x5'));var auth=require(_0x68da('0x6'));var interaction=require(_0x68da('0x7'));var config=require('../../config/environment');var controller=require('./userProfile.controller');router[_0x68da('0x8')]('/',auth[_0x68da('0x9')](),controller['index']);router[_0x68da('0x8')]('/describe',auth[_0x68da('0x9')](),controller[_0x68da('0xa')]);router[_0x68da('0x8')](_0x68da('0xb'),auth[_0x68da('0x9')](),controller['show']);router[_0x68da('0x8')]('/:id/sections',auth[_0x68da('0x9')](),controller[_0x68da('0xc')]);router['get']('/:id/resources',auth['isAuthenticated'](),controller[_0x68da('0xd')]);router[_0x68da('0xe')]('/',auth[_0x68da('0x9')](),controller[_0x68da('0xf')]);router[_0x68da('0xe')](_0x68da('0x10'),auth[_0x68da('0x9')](),controller[_0x68da('0x11')]);router[_0x68da('0xe')](_0x68da('0x12'),auth[_0x68da('0x9')](),controller['addSections']);router[_0x68da('0xe')](_0x68da('0x13'),auth[_0x68da('0x9')](),controller[_0x68da('0x14')]);router[_0x68da('0x15')](_0x68da('0xb'),auth[_0x68da('0x9')](),controller[_0x68da('0x16')]);router['delete']('/:id',auth['isAuthenticated'](),controller['destroy']);router['delete'](_0x68da('0x12'),auth[_0x68da('0x9')](),controller['removeSections']);router['delete'](_0x68da('0x13'),auth[_0x68da('0x9')](),controller[_0x68da('0x17')]);module[_0x68da('0x18')]=router;
\ No newline at end of file