X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fapi%2Fschedule%2Findex.js;h=3a58505d5fb0f3dfbc1062f407c9ce56f10b1821;hb=4baefdac9c37d4300115b8e539c5781a6d78e036;hp=102e8c5c2c86e0178fd2ef88baa8f8a1869de98b;hpb=8cdeeda1196ee7d2ad7723378ea9a4f6c5d1e83a;p=motion2.git diff --git a/server/api/schedule/index.js b/server/api/schedule/index.js index 102e8c5..3a58505 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 _0xe0c2=['Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./schedule.controller','isAuthenticated','index','/:id','show','get','/:id/run','run','create','delete','destroy','multer','path','connect-timeout'];(function(_0x5d7c9f,_0x3fa808){var _0x22f332=function(_0x8b0aeb){while(--_0x8b0aeb){_0x5d7c9f['push'](_0x5d7c9f['shift']());}};_0x22f332(++_0x3fa808);}(_0xe0c2,0x95));var _0x2e0c=function(_0x497287,_0x11d321){_0x497287=_0x497287-0x0;var _0x6764a1=_0xe0c2[_0x497287];return _0x6764a1;};'use strict';var multer=require(_0x2e0c('0x0'));var util=require('util');var path=require(_0x2e0c('0x1'));var timeout=require(_0x2e0c('0x2'));var express=require('express');var router=express[_0x2e0c('0x3')]();var fs_extra=require(_0x2e0c('0x4'));var auth=require(_0x2e0c('0x5'));var interaction=require(_0x2e0c('0x6'));var config=require(_0x2e0c('0x7'));var controller=require(_0x2e0c('0x8'));router['get']('/',auth[_0x2e0c('0x9')](),controller[_0x2e0c('0xa')]);router['get'](_0x2e0c('0xb'),auth['isAuthenticated'](),controller[_0x2e0c('0xc')]);router[_0x2e0c('0xd')](_0x2e0c('0xe'),auth[_0x2e0c('0x9')](),controller[_0x2e0c('0xf')]);router['post']('/',auth[_0x2e0c('0x9')](),controller[_0x2e0c('0x10')]);router['put']('/:id',auth[_0x2e0c('0x9')](),controller['update']);router[_0x2e0c('0x11')](_0x2e0c('0xb'),auth[_0x2e0c('0x9')](),controller[_0x2e0c('0x12')]);module['exports']=router; \ No newline at end of file +var _0xe8b4=['show','/:id/run','run','put','update','destroy','multer','util','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./schedule.controller','get','isAuthenticated','index','/:id'];(function(_0x3fa7d3,_0x37f83c){var _0x4c51bd=function(_0x59e85b){while(--_0x59e85b){_0x3fa7d3['push'](_0x3fa7d3['shift']());}};_0x4c51bd(++_0x37f83c);}(_0xe8b4,0x196));var _0x4e8b=function(_0x29321f,_0x438926){_0x29321f=_0x29321f-0x0;var _0x5435b1=_0xe8b4[_0x29321f];return _0x5435b1;};'use strict';var multer=require(_0x4e8b('0x0'));var util=require(_0x4e8b('0x1'));var path=require(_0x4e8b('0x2'));var timeout=require(_0x4e8b('0x3'));var express=require(_0x4e8b('0x4'));var router=express[_0x4e8b('0x5')]();var fs_extra=require('fs-extra');var auth=require(_0x4e8b('0x6'));var interaction=require(_0x4e8b('0x7'));var config=require(_0x4e8b('0x8'));var controller=require(_0x4e8b('0x9'));router[_0x4e8b('0xa')]('/',auth[_0x4e8b('0xb')](),controller[_0x4e8b('0xc')]);router[_0x4e8b('0xa')](_0x4e8b('0xd'),auth[_0x4e8b('0xb')](),controller[_0x4e8b('0xe')]);router[_0x4e8b('0xa')](_0x4e8b('0xf'),auth[_0x4e8b('0xb')](),controller[_0x4e8b('0x10')]);router['post']('/',auth[_0x4e8b('0xb')](),controller['create']);router[_0x4e8b('0x11')](_0x4e8b('0xd'),auth[_0x4e8b('0xb')](),controller[_0x4e8b('0x12')]);router['delete']('/:id',auth[_0x4e8b('0xb')](),controller[_0x4e8b('0x13')]);module['exports']=router; \ No newline at end of file