import { Router } from "express";
import { authenticateToken } from "../middleware/authMiddleware";
import {
  listPresets,
  createPreset,
  updatePreset,
  deletePreset,
} from "../controllers/reportPresetController";

const router = Router();

router.get("/", authenticateToken, listPresets);
router.post("/", authenticateToken, createPreset);
router.put("/:id", authenticateToken, updatePreset);
router.delete("/:id", authenticateToken, deletePreset);

export default router;
