Built motion from commit 5ba5b610.|2.5.33
[motion2.git] / server / api / userProfile / index.js
index 9d72827..48dbe19 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x8688=['/:id/resources','getResources','post','create','/:id/clone','clone','addSections','addResources','put','/:id','update','delete','destroy','removeSections','removeResources','exports','multer','util','connect-timeout','express','Router','fs-extra','../../components/interaction/service','../../config/environment','./userProfile.controller','get','isAuthenticated','index','/describe','show','/:id/sections','getSections'];(function(_0xd816e2,_0x5edac2){var _0x1f5924=function(_0x1bcbf0){while(--_0x1bcbf0){_0xd816e2['push'](_0xd816e2['shift']());}};_0x1f5924(++_0x5edac2);}(_0x8688,0x1f0));var _0x8868=function(_0x4a231c,_0x232ce3){_0x4a231c=_0x4a231c-0x0;var _0x988ede=_0x8688[_0x4a231c];return _0x988ede;};'use strict';var multer=require(_0x8868('0x0'));var util=require(_0x8868('0x1'));var path=require('path');var timeout=require(_0x8868('0x2'));var express=require(_0x8868('0x3'));var router=express[_0x8868('0x4')]();var fs_extra=require(_0x8868('0x5'));var auth=require('../../components/auth/service');var interaction=require(_0x8868('0x6'));var config=require(_0x8868('0x7'));var controller=require(_0x8868('0x8'));router[_0x8868('0x9')]('/',auth[_0x8868('0xa')](),controller[_0x8868('0xb')]);router['get'](_0x8868('0xc'),auth['isAuthenticated'](),controller['describe']);router[_0x8868('0x9')]('/:id',auth[_0x8868('0xa')](),controller[_0x8868('0xd')]);router[_0x8868('0x9')](_0x8868('0xe'),auth[_0x8868('0xa')](),controller[_0x8868('0xf')]);router['get'](_0x8868('0x10'),auth[_0x8868('0xa')](),controller[_0x8868('0x11')]);router[_0x8868('0x12')]('/',auth['isAuthenticated'](),controller[_0x8868('0x13')]);router[_0x8868('0x12')](_0x8868('0x14'),auth['isAuthenticated'](),controller[_0x8868('0x15')]);router['post'](_0x8868('0xe'),auth[_0x8868('0xa')](),controller[_0x8868('0x16')]);router[_0x8868('0x12')](_0x8868('0x10'),auth[_0x8868('0xa')](),controller[_0x8868('0x17')]);router[_0x8868('0x18')](_0x8868('0x19'),auth[_0x8868('0xa')](),controller[_0x8868('0x1a')]);router[_0x8868('0x1b')](_0x8868('0x19'),auth[_0x8868('0xa')](),controller[_0x8868('0x1c')]);router[_0x8868('0x1b')](_0x8868('0xe'),auth[_0x8868('0xa')](),controller[_0x8868('0x1d')]);router[_0x8868('0x1b')](_0x8868('0x10'),auth[_0x8868('0xa')](),controller[_0x8868('0x1e')]);module[_0x8868('0x1f')]=router;
\ No newline at end of file
+var _0x751a=['isAuthenticated','index','/describe','describe','/:id','show','/:id/sections','getSections','getResources','post','create','/:id/clone','/:id/resources','addResources','put','update','delete','removeSections','exports','multer','path','connect-timeout','express','../../components/auth/service','../../config/environment','get'];(function(_0x2c8fe1,_0x42cda4){var _0x2f90a5=function(_0x1f124b){while(--_0x1f124b){_0x2c8fe1['push'](_0x2c8fe1['shift']());}};_0x2f90a5(++_0x42cda4);}(_0x751a,0x1e7));var _0xa751=function(_0x485c9f,_0x399a20){_0x485c9f=_0x485c9f-0x0;var _0x2ba76e=_0x751a[_0x485c9f];return _0x2ba76e;};'use strict';var multer=require(_0xa751('0x0'));var util=require('util');var path=require(_0xa751('0x1'));var timeout=require(_0xa751('0x2'));var express=require(_0xa751('0x3'));var router=express['Router']();var fs_extra=require('fs-extra');var auth=require(_0xa751('0x4'));var interaction=require('../../components/interaction/service');var config=require(_0xa751('0x5'));var controller=require('./userProfile.controller');router[_0xa751('0x6')]('/',auth[_0xa751('0x7')](),controller[_0xa751('0x8')]);router[_0xa751('0x6')](_0xa751('0x9'),auth[_0xa751('0x7')](),controller[_0xa751('0xa')]);router[_0xa751('0x6')](_0xa751('0xb'),auth[_0xa751('0x7')](),controller[_0xa751('0xc')]);router[_0xa751('0x6')](_0xa751('0xd'),auth[_0xa751('0x7')](),controller[_0xa751('0xe')]);router[_0xa751('0x6')]('/:id/resources',auth[_0xa751('0x7')](),controller[_0xa751('0xf')]);router[_0xa751('0x10')]('/',auth[_0xa751('0x7')](),controller[_0xa751('0x11')]);router[_0xa751('0x10')](_0xa751('0x12'),auth[_0xa751('0x7')](),controller['clone']);router[_0xa751('0x10')](_0xa751('0xd'),auth[_0xa751('0x7')](),controller['addSections']);router['post'](_0xa751('0x13'),auth[_0xa751('0x7')](),controller[_0xa751('0x14')]);router[_0xa751('0x15')](_0xa751('0xb'),auth['isAuthenticated'](),controller[_0xa751('0x16')]);router['delete']('/:id',auth[_0xa751('0x7')](),controller['destroy']);router[_0xa751('0x17')](_0xa751('0xd'),auth[_0xa751('0x7')](),controller[_0xa751('0x18')]);router[_0xa751('0x17')](_0xa751('0x13'),auth[_0xa751('0x7')](),controller['removeResources']);module[_0xa751('0x19')]=router;
\ No newline at end of file