Expand description
Notification management module for handling CRUD operations on notifications.
This module provides functionality to create, read, update, and delete notifications in the system. It includes endpoints for managing both user notifications and role-based notifications.
Structs§
Functions§
- acknowledge_
notification - Acknowledge a notification
- count_
unread_ user_ notifications - Count unread notifications for a user (for badges)
- create_
role_ notification - Create a new notification for a role
- create_
user_ notification - Create a new notification for a user
- delete_
read_ user_ notifications - Delete all read notifications for a user
- delete_
user_ notification - Delete a notification
- get_
all_ user_ notifications_ with_ count - Get all notifications for a user including role notifications
- get_
user_ notification_ by_ id - Get a specific notification by ID
- list_
role_ notifications - Get a paginated list of role notifications
- list_
user_ notifications - Get a paginated list of notifications for a user
- mark_
all_ user_ notifications_ as_ read - Mark all notifications for a user as read
- mark_
user_ notification_ as_ read - Mark a notification as read