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