X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fapi%2Fvariable%2Findex.js;h=1e2b422d96da30e8010056770e5a3440e89ee03e;hb=fef0b697be1412fa067cb7edc64691337a3866f3;hp=c2f800c27eb2e809a0bab900fd104163028585d3;hpb=b9d8fb89c04e2712a06e4d6666f975c8e677d46a;p=motion2.git diff --git a/server/api/variable/index.js b/server/api/variable/index.js index c2f800c..1e2b422 100644 --- a/server/api/variable/index.js +++ b/server/api/variable/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xa0fb=['../../components/auth/service','../../components/interaction/service','../../config/environment','./variable.controller','get','isAuthenticated','index','/:id','show','post','update','delete','exports','multer','util','path','express','Router','fs-extra'];(function(_0x3ab51d,_0x2fa01d){var _0x29a04e=function(_0x7807b0){while(--_0x7807b0){_0x3ab51d['push'](_0x3ab51d['shift']());}};_0x29a04e(++_0x2fa01d);}(_0xa0fb,0x19c));var _0xba0f=function(_0x18b4cf,_0xb2b103){_0x18b4cf=_0x18b4cf-0x0;var _0x3c2a0e=_0xa0fb[_0x18b4cf];return _0x3c2a0e;};'use strict';var multer=require(_0xba0f('0x0'));var util=require(_0xba0f('0x1'));var path=require(_0xba0f('0x2'));var timeout=require('connect-timeout');var express=require(_0xba0f('0x3'));var router=express[_0xba0f('0x4')]();var fs_extra=require(_0xba0f('0x5'));var auth=require(_0xba0f('0x6'));var interaction=require(_0xba0f('0x7'));var config=require(_0xba0f('0x8'));var controller=require(_0xba0f('0x9'));router[_0xba0f('0xa')]('/',auth[_0xba0f('0xb')](),controller[_0xba0f('0xc')]);router[_0xba0f('0xa')](_0xba0f('0xd'),auth['isAuthenticated'](),controller[_0xba0f('0xe')]);router[_0xba0f('0xf')]('/',auth[_0xba0f('0xb')](),controller['create']);router['put'](_0xba0f('0xd'),auth[_0xba0f('0xb')](),controller[_0xba0f('0x10')]);router[_0xba0f('0x11')](_0xba0f('0xd'),auth[_0xba0f('0xb')](),controller['destroy']);module[_0xba0f('0x12')]=router; \ No newline at end of file +var _0x6c96=['index','/:id','post','isAuthenticated','create','put','destroy','multer','path','connect-timeout','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./variable.controller','get'];(function(_0x7aa744,_0x450c0d){var _0x3ef3cb=function(_0x44cc93){while(--_0x44cc93){_0x7aa744['push'](_0x7aa744['shift']());}};_0x3ef3cb(++_0x450c0d);}(_0x6c96,0x1c1));var _0x66c9=function(_0x3d3509,_0x52d474){_0x3d3509=_0x3d3509-0x0;var _0x391e1c=_0x6c96[_0x3d3509];return _0x391e1c;};'use strict';var multer=require(_0x66c9('0x0'));var util=require('util');var path=require(_0x66c9('0x1'));var timeout=require(_0x66c9('0x2'));var express=require('express');var router=express[_0x66c9('0x3')]();var fs_extra=require(_0x66c9('0x4'));var auth=require(_0x66c9('0x5'));var interaction=require(_0x66c9('0x6'));var config=require(_0x66c9('0x7'));var controller=require(_0x66c9('0x8'));router[_0x66c9('0x9')]('/',auth['isAuthenticated'](),controller[_0x66c9('0xa')]);router['get'](_0x66c9('0xb'),auth['isAuthenticated'](),controller['show']);router[_0x66c9('0xc')]('/',auth[_0x66c9('0xd')](),controller[_0x66c9('0xe')]);router[_0x66c9('0xf')]('/:id',auth['isAuthenticated'](),controller['update']);router['delete'](_0x66c9('0xb'),auth[_0x66c9('0xd')](),controller[_0x66c9('0x10')]);module['exports']=router; \ No newline at end of file