X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fapi%2Fschedule%2Findex.js;h=836039efbb6968b0617cd0e4ea0e576d65dc1c53;hb=43db2c329c99249300a38f3296ebfb46ac71947b;hp=0846a913923a99b2f9ba421a5758089eae74970a;hpb=7aaa08bda9320d80c8205d0e34514094571b4d43;p=motion2.git diff --git a/server/api/schedule/index.js b/server/api/schedule/index.js index 0846a91..836039e 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 _0xacdb=['update','destroy','exports','multer','path','express','../../components/auth/service','../../components/interaction/service','../../config/environment','./schedule.controller','get','index','/:id','isAuthenticated','/:id/run','run','post','put'];(function(_0x12f028,_0x43d023){var _0x278cc3=function(_0x159156){while(--_0x159156){_0x12f028['push'](_0x12f028['shift']());}};_0x278cc3(++_0x43d023);}(_0xacdb,0x147));var _0xbacd=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0xacdb[_0x3dd15e];return _0x231fd0;};'use strict';var multer=require(_0xbacd('0x0'));var util=require('util');var path=require(_0xbacd('0x1'));var timeout=require('connect-timeout');var express=require(_0xbacd('0x2'));var router=express['Router']();var fs_extra=require('fs-extra');var auth=require(_0xbacd('0x3'));var interaction=require(_0xbacd('0x4'));var config=require(_0xbacd('0x5'));var controller=require(_0xbacd('0x6'));router[_0xbacd('0x7')]('/',auth['isAuthenticated'](),controller[_0xbacd('0x8')]);router['get'](_0xbacd('0x9'),auth[_0xbacd('0xa')](),controller['show']);router['get'](_0xbacd('0xb'),auth[_0xbacd('0xa')](),controller[_0xbacd('0xc')]);router[_0xbacd('0xd')]('/',auth[_0xbacd('0xa')](),controller['create']);router[_0xbacd('0xe')](_0xbacd('0x9'),auth[_0xbacd('0xa')](),controller[_0xbacd('0xf')]);router['delete'](_0xbacd('0x9'),auth[_0xbacd('0xa')](),controller[_0xbacd('0x10')]);module[_0xbacd('0x11')]=router; \ No newline at end of file +var _0xbc4b=['put','update','delete','exports','multer','util','path','express','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','get','isAuthenticated','index','/:id','show','/:id/run','post','create'];(function(_0x1054f4,_0x23592f){var _0x329d9b=function(_0x29d8c5){while(--_0x29d8c5){_0x1054f4['push'](_0x1054f4['shift']());}};_0x329d9b(++_0x23592f);}(_0xbc4b,0xf4));var _0xbbc4=function(_0x290665,_0x1fbc17){_0x290665=_0x290665-0x0;var _0x2e2322=_0xbc4b[_0x290665];return _0x2e2322;};'use strict';var multer=require(_0xbbc4('0x0'));var util=require(_0xbbc4('0x1'));var path=require(_0xbbc4('0x2'));var timeout=require('connect-timeout');var express=require(_0xbbc4('0x3'));var router=express['Router']();var fs_extra=require(_0xbbc4('0x4'));var auth=require(_0xbbc4('0x5'));var interaction=require(_0xbbc4('0x6'));var config=require(_0xbbc4('0x7'));var controller=require('./schedule.controller');router[_0xbbc4('0x8')]('/',auth[_0xbbc4('0x9')](),controller[_0xbbc4('0xa')]);router[_0xbbc4('0x8')](_0xbbc4('0xb'),auth[_0xbbc4('0x9')](),controller[_0xbbc4('0xc')]);router['get'](_0xbbc4('0xd'),auth[_0xbbc4('0x9')](),controller['run']);router[_0xbbc4('0xe')]('/',auth[_0xbbc4('0x9')](),controller[_0xbbc4('0xf')]);router[_0xbbc4('0x10')](_0xbbc4('0xb'),auth[_0xbbc4('0x9')](),controller[_0xbbc4('0x11')]);router[_0xbbc4('0x12')](_0xbbc4('0xb'),auth[_0xbbc4('0x9')](),controller['destroy']);module[_0xbbc4('0x13')]=router; \ No newline at end of file