X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fapi%2Fschedule%2Findex.js;h=cd895f831734211313c371a87b6961682769047e;hb=c5ec4f3be0e7f1f893000f685661edf16381041e;hp=88c46eaa6e5d9fc94048756c7f1324bb97662aba;hpb=bb1bc459ff51c9e3d02337b05bd35dbdea7e939d;p=motion2.git diff --git a/server/api/schedule/index.js b/server/api/schedule/index.js index 88c46ea..cd895f8 100644 --- a/server/api/schedule/index.js +++ b/server/api/schedule/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xb65f=['../../config/environment','./schedule.controller','get','isAuthenticated','/:id','show','/:id/run','run','post','create','put','delete','destroy','exports','util','path','connect-timeout','express','fs-extra','../../components/auth/service'];(function(_0xdbff26,_0xfc8995){var _0x4adb23=function(_0x291780){while(--_0x291780){_0xdbff26['push'](_0xdbff26['shift']());}};_0x4adb23(++_0xfc8995);}(_0xb65f,0x126));var _0xfb65=function(_0x5d60d1,_0x325ad0){_0x5d60d1=_0x5d60d1-0x0;var _0x5e94a7=_0xb65f[_0x5d60d1];return _0x5e94a7;};'use strict';var multer=require('multer');var util=require(_0xfb65('0x0'));var path=require(_0xfb65('0x1'));var timeout=require(_0xfb65('0x2'));var express=require(_0xfb65('0x3'));var router=express['Router']();var fs_extra=require(_0xfb65('0x4'));var auth=require(_0xfb65('0x5'));var interaction=require('../../components/interaction/service');var config=require(_0xfb65('0x6'));var controller=require(_0xfb65('0x7'));router[_0xfb65('0x8')]('/',auth[_0xfb65('0x9')](),controller['index']);router['get'](_0xfb65('0xa'),auth[_0xfb65('0x9')](),controller[_0xfb65('0xb')]);router[_0xfb65('0x8')](_0xfb65('0xc'),auth[_0xfb65('0x9')](),controller[_0xfb65('0xd')]);router[_0xfb65('0xe')]('/',auth[_0xfb65('0x9')](),controller[_0xfb65('0xf')]);router[_0xfb65('0x10')](_0xfb65('0xa'),auth[_0xfb65('0x9')](),controller['update']);router[_0xfb65('0x11')](_0xfb65('0xa'),auth['isAuthenticated'](),controller[_0xfb65('0x12')]);module[_0xfb65('0x13')]=router; \ No newline at end of file +var _0xbf32=['path','connect-timeout','express','Router','fs-extra','../../config/environment','isAuthenticated','index','/:id','show','get','/:id/run','run','post','create','put','update','delete','destroy','exports'];(function(_0x3492b3,_0x952ecd){var _0x30dd2c=function(_0x2b189b){while(--_0x2b189b){_0x3492b3['push'](_0x3492b3['shift']());}};_0x30dd2c(++_0x952ecd);}(_0xbf32,0x190));var _0x2bf3=function(_0x25249f,_0x1f95e6){_0x25249f=_0x25249f-0x0;var _0x219846=_0xbf32[_0x25249f];return _0x219846;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0x2bf3('0x0'));var timeout=require(_0x2bf3('0x1'));var express=require(_0x2bf3('0x2'));var router=express[_0x2bf3('0x3')]();var fs_extra=require(_0x2bf3('0x4'));var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0x2bf3('0x5'));var controller=require('./schedule.controller');router['get']('/',auth[_0x2bf3('0x6')](),controller[_0x2bf3('0x7')]);router['get'](_0x2bf3('0x8'),auth[_0x2bf3('0x6')](),controller[_0x2bf3('0x9')]);router[_0x2bf3('0xa')](_0x2bf3('0xb'),auth[_0x2bf3('0x6')](),controller[_0x2bf3('0xc')]);router[_0x2bf3('0xd')]('/',auth[_0x2bf3('0x6')](),controller[_0x2bf3('0xe')]);router[_0x2bf3('0xf')](_0x2bf3('0x8'),auth[_0x2bf3('0x6')](),controller[_0x2bf3('0x10')]);router[_0x2bf3('0x11')](_0x2bf3('0x8'),auth[_0x2bf3('0x6')](),controller[_0x2bf3('0x12')]);module[_0x2bf3('0x13')]=router; \ No newline at end of file