Built motion from commit 355702c8.|2.5.41
[motion2.git] / server / api / interval / index.js
index 880b310..4508ecb 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xfd87=['delete','destroy','exports','multer','util','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./interval.controller','isAuthenticated','index','/:id','show','get','/:id/sub_intervals','getIntervals','post','/:id/sub_intervals/create_many','put','update'];(function(_0x24b773,_0x392c26){var _0x35f6c9=function(_0x37b5c3){while(--_0x37b5c3){_0x24b773['push'](_0x24b773['shift']());}};_0x35f6c9(++_0x392c26);}(_0xfd87,0x80));var _0x7fd8=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0xfd87[_0x3dd15e];return _0x231fd0;};'use strict';var multer=require(_0x7fd8('0x0'));var util=require(_0x7fd8('0x1'));var path=require(_0x7fd8('0x2'));var timeout=require(_0x7fd8('0x3'));var express=require(_0x7fd8('0x4'));var router=express[_0x7fd8('0x5')]();var fs_extra=require(_0x7fd8('0x6'));var auth=require(_0x7fd8('0x7'));var interaction=require(_0x7fd8('0x8'));var config=require(_0x7fd8('0x9'));var controller=require(_0x7fd8('0xa'));router['get']('/',auth[_0x7fd8('0xb')](),controller[_0x7fd8('0xc')]);router['get'](_0x7fd8('0xd'),auth[_0x7fd8('0xb')](),controller[_0x7fd8('0xe')]);router[_0x7fd8('0xf')](_0x7fd8('0x10'),auth['isAuthenticated'](),controller[_0x7fd8('0x11')]);router[_0x7fd8('0x12')]('/',auth[_0x7fd8('0xb')](),controller['create']);router['post']('/:id/sub_intervals',auth[_0x7fd8('0xb')](),controller['addInterval']);router[_0x7fd8('0x12')](_0x7fd8('0x13'),auth[_0x7fd8('0xb')](),controller['addIntervals']);router[_0x7fd8('0x14')](_0x7fd8('0xd'),auth[_0x7fd8('0xb')](),controller[_0x7fd8('0x15')]);router[_0x7fd8('0x16')]('/:id',auth[_0x7fd8('0xb')](),controller[_0x7fd8('0x17')]);module[_0x7fd8('0x18')]=router;
\ No newline at end of file
+var _0xfbf2=['../../config/environment','./interval.controller','get','isAuthenticated','index','/:id','getIntervals','post','create','/:id/sub_intervals','addInterval','/:id/sub_intervals/create_many','addIntervals','put','update','delete','destroy','multer','util','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service'];(function(_0x2df2e3,_0x5ded79){var _0x3cf49d=function(_0xc989ca){while(--_0xc989ca){_0x2df2e3['push'](_0x2df2e3['shift']());}};_0x3cf49d(++_0x5ded79);}(_0xfbf2,0xc0));var _0x2fbf=function(_0x2f7d73,_0x293262){_0x2f7d73=_0x2f7d73-0x0;var _0x493f99=_0xfbf2[_0x2f7d73];return _0x493f99;};'use strict';var multer=require(_0x2fbf('0x0'));var util=require(_0x2fbf('0x1'));var path=require(_0x2fbf('0x2'));var timeout=require(_0x2fbf('0x3'));var express=require(_0x2fbf('0x4'));var router=express[_0x2fbf('0x5')]();var fs_extra=require('fs-extra');var auth=require(_0x2fbf('0x6'));var interaction=require(_0x2fbf('0x7'));var config=require(_0x2fbf('0x8'));var controller=require(_0x2fbf('0x9'));router[_0x2fbf('0xa')]('/',auth[_0x2fbf('0xb')](),controller[_0x2fbf('0xc')]);router['get'](_0x2fbf('0xd'),auth[_0x2fbf('0xb')](),controller['show']);router[_0x2fbf('0xa')]('/:id/sub_intervals',auth[_0x2fbf('0xb')](),controller[_0x2fbf('0xe')]);router[_0x2fbf('0xf')]('/',auth[_0x2fbf('0xb')](),controller[_0x2fbf('0x10')]);router['post'](_0x2fbf('0x11'),auth['isAuthenticated'](),controller[_0x2fbf('0x12')]);router['post'](_0x2fbf('0x13'),auth[_0x2fbf('0xb')](),controller[_0x2fbf('0x14')]);router[_0x2fbf('0x15')]('/:id',auth[_0x2fbf('0xb')](),controller[_0x2fbf('0x16')]);router[_0x2fbf('0x17')]('/:id',auth[_0x2fbf('0xb')](),controller[_0x2fbf('0x18')]);module['exports']=router;
\ No newline at end of file