X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fapi%2Fschedule%2Findex.js;h=1b1c95941c3f9d0f873f66398bc7e47b50dd3e0d;hb=110da1ff22cb856a228cc5d87556e5aa36ca0d22;hp=13c5cf323aaa2f354fcef08ee4096ca0d6694cf2;hpb=ebe00679b2d367c1cf2b2b91609ee1ce4bd8fb94;p=motion2.git diff --git a/server/api/schedule/index.js b/server/api/schedule/index.js index 13c5cf3..1b1c959 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 _0xf6c6=['run','create','put','/:id','update','delete','destroy','exports','multer','util','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./schedule.controller','isAuthenticated','index','get','show','/:id/run'];(function(_0x2216c3,_0x42e341){var _0x56fd3d=function(_0x5ac34d){while(--_0x5ac34d){_0x2216c3['push'](_0x2216c3['shift']());}};_0x56fd3d(++_0x42e341);}(_0xf6c6,0x1e8));var _0x6f6c=function(_0x22b68a,_0x2bffc3){_0x22b68a=_0x22b68a-0x0;var _0x1ac67a=_0xf6c6[_0x22b68a];return _0x1ac67a;};'use strict';var multer=require(_0x6f6c('0x0'));var util=require(_0x6f6c('0x1'));var path=require(_0x6f6c('0x2'));var timeout=require(_0x6f6c('0x3'));var express=require(_0x6f6c('0x4'));var router=express[_0x6f6c('0x5')]();var fs_extra=require(_0x6f6c('0x6'));var auth=require(_0x6f6c('0x7'));var interaction=require(_0x6f6c('0x8'));var config=require(_0x6f6c('0x9'));var controller=require(_0x6f6c('0xa'));router['get']('/',auth[_0x6f6c('0xb')](),controller[_0x6f6c('0xc')]);router[_0x6f6c('0xd')]('/:id',auth[_0x6f6c('0xb')](),controller[_0x6f6c('0xe')]);router[_0x6f6c('0xd')](_0x6f6c('0xf'),auth[_0x6f6c('0xb')](),controller[_0x6f6c('0x10')]);router['post']('/',auth[_0x6f6c('0xb')](),controller[_0x6f6c('0x11')]);router[_0x6f6c('0x12')](_0x6f6c('0x13'),auth['isAuthenticated'](),controller[_0x6f6c('0x14')]);router[_0x6f6c('0x15')](_0x6f6c('0x13'),auth[_0x6f6c('0xb')](),controller[_0x6f6c('0x16')]);module[_0x6f6c('0x17')]=router; \ No newline at end of file +var _0xb8a3=['/:id','show','/:id/run','run','post','put','update','delete','destroy','exports','multer','path','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','get','isAuthenticated','index'];(function(_0x3054be,_0x1bdc8b){var _0x3df150=function(_0x56cfbf){while(--_0x56cfbf){_0x3054be['push'](_0x3054be['shift']());}};_0x3df150(++_0x1bdc8b);}(_0xb8a3,0x101));var _0x3b8a=function(_0x13a3cb,_0x3373fc){_0x13a3cb=_0x13a3cb-0x0;var _0x293f42=_0xb8a3[_0x13a3cb];return _0x293f42;};'use strict';var multer=require(_0x3b8a('0x0'));var util=require('util');var path=require(_0x3b8a('0x1'));var timeout=require('connect-timeout');var express=require('express');var router=express['Router']();var fs_extra=require(_0x3b8a('0x2'));var auth=require(_0x3b8a('0x3'));var interaction=require(_0x3b8a('0x4'));var config=require(_0x3b8a('0x5'));var controller=require('./schedule.controller');router[_0x3b8a('0x6')]('/',auth[_0x3b8a('0x7')](),controller[_0x3b8a('0x8')]);router['get'](_0x3b8a('0x9'),auth[_0x3b8a('0x7')](),controller[_0x3b8a('0xa')]);router['get'](_0x3b8a('0xb'),auth[_0x3b8a('0x7')](),controller[_0x3b8a('0xc')]);router[_0x3b8a('0xd')]('/',auth[_0x3b8a('0x7')](),controller['create']);router[_0x3b8a('0xe')](_0x3b8a('0x9'),auth[_0x3b8a('0x7')](),controller[_0x3b8a('0xf')]);router[_0x3b8a('0x10')](_0x3b8a('0x9'),auth[_0x3b8a('0x7')](),controller[_0x3b8a('0x11')]);module[_0x3b8a('0x12')]=router; \ No newline at end of file