resolve issues with new features

This commit is contained in:
Matthias Hochmeister
2026-03-12 16:42:21 +01:00
parent 5aa309b97a
commit 68586b01dc
19 changed files with 526 additions and 109 deletions

View File

@@ -28,4 +28,12 @@ export const notificationsApi = {
async markAllRead(): Promise<void> {
await api.post('/api/notifications/mark-all-read');
},
async dismissByType(quellTyp: string): Promise<void> {
await api.post('/api/notifications/dismiss-by-type', { quellTyp });
},
async deleteAllRead(): Promise<void> {
await api.delete('/api/notifications/read');
},
};