import { Router, type IRouter } from 'express';
import { authenticate } from '../middlewares/auth.middleware.js';
import { tenantMiddleware } from '../middlewares/tenant.middleware.js';
import * as ctrl from '../controllers/metricas.controller.js';

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

router.get('/mensuales', ctrl.getMensuales);

export default router;
