X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fapi%2Fschedule%2Findex.js;h=c0ca56aae2ba31f37d8243475c82546c0dc975da;hb=d2fd33d6b242a53e18c7b82fe692ff8c6c0965a8;hp=6f7bb7f9b2bae62e4faa58243e346083edf3d9a3;hpb=91492537a7b94b14914d0db658458118de1ea819;p=motion2.git diff --git a/server/api/schedule/index.js b/server/api/schedule/index.js index 6f7bb7f..c0ca56a 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 _0x20f1=['update','delete','destroy','exports','multer','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','./schedule.controller','get','isAuthenticated','/:id','show','/:id/run','post','create'];(function(_0x174278,_0x1322e){var _0x52a098=function(_0x2f8dbc){while(--_0x2f8dbc){_0x174278['push'](_0x174278['shift']());}};_0x52a098(++_0x1322e);}(_0x20f1,0xe0));var _0x120f=function(_0x4eeccc,_0x12a356){_0x4eeccc=_0x4eeccc-0x0;var _0x8f2e8=_0x20f1[_0x4eeccc];return _0x8f2e8;};'use strict';var multer=require(_0x120f('0x0'));var util=require('util');var path=require(_0x120f('0x1'));var timeout=require(_0x120f('0x2'));var express=require(_0x120f('0x3'));var router=express[_0x120f('0x4')]();var fs_extra=require(_0x120f('0x5'));var auth=require(_0x120f('0x6'));var interaction=require(_0x120f('0x7'));var config=require('../../config/environment');var controller=require(_0x120f('0x8'));router[_0x120f('0x9')]('/',auth[_0x120f('0xa')](),controller['index']);router[_0x120f('0x9')](_0x120f('0xb'),auth['isAuthenticated'](),controller[_0x120f('0xc')]);router[_0x120f('0x9')](_0x120f('0xd'),auth[_0x120f('0xa')](),controller['run']);router[_0x120f('0xe')]('/',auth[_0x120f('0xa')](),controller[_0x120f('0xf')]);router['put'](_0x120f('0xb'),auth[_0x120f('0xa')](),controller[_0x120f('0x10')]);router[_0x120f('0x11')](_0x120f('0xb'),auth[_0x120f('0xa')](),controller[_0x120f('0x12')]);module[_0x120f('0x13')]=router; \ No newline at end of file +var _0xe217=['util','path','connect-timeout','express','Router','fs-extra','../../config/environment','./schedule.controller','index','get','isAuthenticated','show','/:id/run','run','post','create','put','/:id','destroy','exports','multer'];(function(_0x196346,_0xabe496){var _0x8548b5=function(_0x10f8f4){while(--_0x10f8f4){_0x196346['push'](_0x196346['shift']());}};_0x8548b5(++_0xabe496);}(_0xe217,0x1cd));var _0x7e21=function(_0x327d30,_0x4fe81c){_0x327d30=_0x327d30-0x0;var _0x5121f9=_0xe217[_0x327d30];return _0x5121f9;};'use strict';var multer=require(_0x7e21('0x0'));var util=require(_0x7e21('0x1'));var path=require(_0x7e21('0x2'));var timeout=require(_0x7e21('0x3'));var express=require(_0x7e21('0x4'));var router=express[_0x7e21('0x5')]();var fs_extra=require(_0x7e21('0x6'));var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0x7e21('0x7'));var controller=require(_0x7e21('0x8'));router['get']('/',auth['isAuthenticated'](),controller[_0x7e21('0x9')]);router[_0x7e21('0xa')]('/:id',auth[_0x7e21('0xb')](),controller[_0x7e21('0xc')]);router[_0x7e21('0xa')](_0x7e21('0xd'),auth[_0x7e21('0xb')](),controller[_0x7e21('0xe')]);router[_0x7e21('0xf')]('/',auth[_0x7e21('0xb')](),controller[_0x7e21('0x10')]);router[_0x7e21('0x11')](_0x7e21('0x12'),auth['isAuthenticated'](),controller['update']);router['delete'](_0x7e21('0x12'),auth['isAuthenticated'](),controller[_0x7e21('0x13')]);module[_0x7e21('0x14')]=router; \ No newline at end of file