X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fapi%2FintDeskField%2Findex.js;h=f5a114eadd06733f1bdf7ba9d05574732718c24c;hb=d56da45b6e1f0bbf558177cd907ef61f0b9840c2;hp=1fc283610d867cea52a751fb6b741b6d22207ee0;hpb=d49944cc2e95578bfbd15d79d46896f71a145821;p=motion2.git diff --git a/server/api/intDeskField/index.js b/server/api/intDeskField/index.js index 1fc2836..f5a114e 100644 --- a/server/api/intDeskField/index.js +++ b/server/api/intDeskField/index.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -var _0xed48=['util','connect-timeout','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./intDeskField.controller','get','/:id','isAuthenticated','show','create','update','delete','destroy','exports'];(function(_0x17f60d,_0x5c4756){var _0x47eba1=function(_0x55c8d1){while(--_0x55c8d1){_0x17f60d['push'](_0x17f60d['shift']());}};_0x47eba1(++_0x5c4756);}(_0xed48,0x90));var _0x8ed4=function(_0x27c24e,_0x5db1c7){_0x27c24e=_0x27c24e-0x0;var _0x39004a=_0xed48[_0x27c24e];return _0x39004a;};'use strict';var multer=require('multer');var util=require(_0x8ed4('0x0'));var path=require('path');var timeout=require(_0x8ed4('0x1'));var express=require('express');var router=express['Router']();var fs_extra=require(_0x8ed4('0x2'));var auth=require(_0x8ed4('0x3'));var interaction=require(_0x8ed4('0x4'));var config=require(_0x8ed4('0x5'));var controller=require(_0x8ed4('0x6'));router['get']('/',auth['isAuthenticated'](),controller['index']);router[_0x8ed4('0x7')](_0x8ed4('0x8'),auth[_0x8ed4('0x9')](),controller[_0x8ed4('0xa')]);router['post']('/',auth[_0x8ed4('0x9')](),controller[_0x8ed4('0xb')]);router['put'](_0x8ed4('0x8'),auth[_0x8ed4('0x9')](),controller[_0x8ed4('0xc')]);router[_0x8ed4('0xd')](_0x8ed4('0x8'),auth[_0x8ed4('0x9')](),controller[_0x8ed4('0xe')]);module[_0x8ed4('0xf')]=router; \ No newline at end of file +var _0xa4fc=['express','Router','fs-extra','../../config/environment','./intDeskField.controller','get','isAuthenticated','index','/:id','put','update','delete','exports','multer','path'];(function(_0x1a0568,_0x1846d5){var _0xd76866=function(_0x48947e){while(--_0x48947e){_0x1a0568['push'](_0x1a0568['shift']());}};_0xd76866(++_0x1846d5);}(_0xa4fc,0x12a));var _0xca4f=function(_0x3d830e,_0x45886a){_0x3d830e=_0x3d830e-0x0;var _0xb7c7c9=_0xa4fc[_0x3d830e];return _0xb7c7c9;};'use strict';var multer=require(_0xca4f('0x0'));var util=require('util');var path=require(_0xca4f('0x1'));var timeout=require('connect-timeout');var express=require(_0xca4f('0x2'));var router=express[_0xca4f('0x3')]();var fs_extra=require(_0xca4f('0x4'));var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0xca4f('0x5'));var controller=require(_0xca4f('0x6'));router[_0xca4f('0x7')]('/',auth[_0xca4f('0x8')](),controller[_0xca4f('0x9')]);router[_0xca4f('0x7')](_0xca4f('0xa'),auth['isAuthenticated'](),controller['show']);router['post']('/',auth[_0xca4f('0x8')](),controller['create']);router[_0xca4f('0xb')](_0xca4f('0xa'),auth[_0xca4f('0x8')](),controller[_0xca4f('0xc')]);router[_0xca4f('0xd')](_0xca4f('0xa'),auth[_0xca4f('0x8')](),controller['destroy']);module[_0xca4f('0xe')]=router; \ No newline at end of file