X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fapi%2Fschedule%2Findex.js;h=61f4dec0a453bb7244553350958d48d7f0b57bb3;hb=3b6ec49862a5197d06e7453a43d40dcd68709ea0;hp=94dc29bb18f1457c01978c2c9f4161d927ea2ee6;hpb=ed368fdfe923471c0749d5720e7df57649e4ed09;p=motion2.git diff --git a/server/api/schedule/index.js b/server/api/schedule/index.js index 94dc29b..61f4dec 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 _0x4cc1=['update','delete','exports','multer','util','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','get','index','/:id','isAuthenticated','show','/:id/run','post','create','put'];(function(_0x344a3f,_0x579a22){var _0x264712=function(_0x34c9f0){while(--_0x34c9f0){_0x344a3f['push'](_0x344a3f['shift']());}};_0x264712(++_0x579a22);}(_0x4cc1,0xfa));var _0x14cc=function(_0x1ba43c,_0x5bd2e8){_0x1ba43c=_0x1ba43c-0x0;var _0x2f60eb=_0x4cc1[_0x1ba43c];return _0x2f60eb;};'use strict';var multer=require(_0x14cc('0x0'));var util=require(_0x14cc('0x1'));var path=require('path');var timeout=require('connect-timeout');var express=require(_0x14cc('0x2'));var router=express[_0x14cc('0x3')]();var fs_extra=require(_0x14cc('0x4'));var auth=require(_0x14cc('0x5'));var interaction=require(_0x14cc('0x6'));var config=require('../../config/environment');var controller=require('./schedule.controller');router[_0x14cc('0x7')]('/',auth['isAuthenticated'](),controller[_0x14cc('0x8')]);router[_0x14cc('0x7')](_0x14cc('0x9'),auth[_0x14cc('0xa')](),controller[_0x14cc('0xb')]);router[_0x14cc('0x7')](_0x14cc('0xc'),auth[_0x14cc('0xa')](),controller['run']);router[_0x14cc('0xd')]('/',auth[_0x14cc('0xa')](),controller[_0x14cc('0xe')]);router[_0x14cc('0xf')](_0x14cc('0x9'),auth[_0x14cc('0xa')](),controller[_0x14cc('0x10')]);router[_0x14cc('0x11')](_0x14cc('0x9'),auth[_0x14cc('0xa')](),controller['destroy']);module[_0x14cc('0x12')]=router; \ No newline at end of file +var _0xb776=['connect-timeout','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./schedule.controller','isAuthenticated','get','/:id','show','run','post','create','put','multer','util','path'];(function(_0x78b7b1,_0x1cef2b){var _0x2b2d82=function(_0x5ea24e){while(--_0x5ea24e){_0x78b7b1['push'](_0x78b7b1['shift']());}};_0x2b2d82(++_0x1cef2b);}(_0xb776,0x140));var _0x6b77=function(_0x4d9ee6,_0x21df64){_0x4d9ee6=_0x4d9ee6-0x0;var _0x1f6cb0=_0xb776[_0x4d9ee6];return _0x1f6cb0;};'use strict';var multer=require(_0x6b77('0x0'));var util=require(_0x6b77('0x1'));var path=require(_0x6b77('0x2'));var timeout=require(_0x6b77('0x3'));var express=require('express');var router=express['Router']();var fs_extra=require(_0x6b77('0x4'));var auth=require(_0x6b77('0x5'));var interaction=require(_0x6b77('0x6'));var config=require(_0x6b77('0x7'));var controller=require(_0x6b77('0x8'));router['get']('/',auth[_0x6b77('0x9')](),controller['index']);router[_0x6b77('0xa')](_0x6b77('0xb'),auth[_0x6b77('0x9')](),controller[_0x6b77('0xc')]);router[_0x6b77('0xa')]('/:id/run',auth['isAuthenticated'](),controller[_0x6b77('0xd')]);router[_0x6b77('0xe')]('/',auth[_0x6b77('0x9')](),controller[_0x6b77('0xf')]);router[_0x6b77('0x10')](_0x6b77('0xb'),auth[_0x6b77('0x9')](),controller['update']);router['delete'](_0x6b77('0xb'),auth[_0x6b77('0x9')](),controller['destroy']);module['exports']=router; \ No newline at end of file