import { Router, type IRouter } from 'express';
import { authenticate } from '../middlewares/auth.middleware.js';
import * as ctrl from '../controllers/admin-dashboard.controller.js';

const router: IRouter = Router();
router.use(authenticate);

router.get('/metrics', ctrl.getMetrics);
router.get('/despachos', ctrl.listDespachos);
router.get('/activity', ctrl.getActivity);

export default router;
