feat(backend): add responsable historique endpoint

This commit is contained in:
SaidSoighiri94
2026-07-16 16:45:41 +02:00
parent 832aa51e23
commit 92e25356bf
6 changed files with 254 additions and 1 deletions
@@ -3,6 +3,8 @@ import {
getAnomalies,
getDashboard,
getEmprunts,
getHistorique,
getHistoriqueCsv,
getMateriels,
getNotifications,
patchNotificationLue,
@@ -18,3 +20,5 @@ responsableRoutes.get('/anomalies', getAnomalies);
responsableRoutes.get('/notifications', getNotifications);
responsableRoutes.patch('/notifications/lu-toutes', patchNotificationsLues);
responsableRoutes.patch('/notifications/:id/lu', patchNotificationLue);
responsableRoutes.get('/historique', getHistorique);
responsableRoutes.get('/historique/export.csv', getHistoriqueCsv);