The alert application service used to fulfill requests.
The SSE sender used for streaming alerts to clients.
Deletes all alerts.
The incoming request (unused).
The response used to send the deletion result.
The next middleware function for error handling.
Deletes a single alert by identifier.
The incoming request.
The response used to send the deletion result.
The next middleware function for error handling.
Retrieves all alerts and returns their representations.
The incoming request (unused).
The response used to send the alerts payload.
The next middleware function for error handling.
Retrieves a single alert by identifier and returns its representation.
The incoming request.
The response used to send the alert payload.
The next middleware function for error handling.
Returns the count of unread alerts.
The incoming request (unused).
The response used to send the count.
The next middleware function for error handling.
Registers the response as an SSE client for real-time alerts.
The incoming request (unused).
The response registered as an SSE client.
The next middleware function for error handling.
Updates the read state of an alert based on request payload.
The incoming request containing the read DTO.
The response used to send the result.
The next middleware function for error handling.
Exposes public HTTP endpoints for alert operations.