clientConnectionRoutes.js 953 B

12345678910111213
  1. "use strict";
  2. Object.defineProperty(exports, "__esModule", { value: true });
  3. const express_1 = require("express");
  4. const clientConnectionController_1 = require("../controllers/clientConnectionController");
  5. const router = (0, express_1.Router)();
  6. router.get('/', clientConnectionController_1.ClientConnectionController.getAllConnections);
  7. router.get('/client/:clientid', clientConnectionController_1.ClientConnectionController.getConnectionsByClientId);
  8. router.get('/event/:event', clientConnectionController_1.ClientConnectionController.getConnectionsByEvent);
  9. router.get('/timerange', clientConnectionController_1.ClientConnectionController.getConnectionsByTimeRange);
  10. router.get('/stats', clientConnectionController_1.ClientConnectionController.getConnectionStats);
  11. router.get('/stats/daily', clientConnectionController_1.ClientConnectionController.getDailyConnectionStats);
  12. exports.default = router;
  13. //# sourceMappingURL=clientConnectionRoutes.js.map