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

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

router.get('/catalogo', ctrl.listCatalogo);
router.put('/catalogo/:id', ctrl.updateCatalogoItem);

export default router;
