
import express from 'express';
import { getHSEIncidents, createHSEIncident, updateHSEIncident, deleteHSEIncident } from '../controllers/compliance.controller';
import { authenticate } from '../middleware/auth.middleware';

const router = express.Router();

router.get('/', authenticate, getHSEIncidents);
router.post('/', authenticate, createHSEIncident);
router.put('/:id', authenticate, updateHSEIncident);
router.delete('/:id', authenticate, deleteHSEIncident);

export default router;
