corvix.notifications.models¶
Domain event models for notification delivery.
Classes¶
Canonical event produced when a new unread notification is detected. |
|
Result of a single target's delivery attempt. |
|
Aggregated result of a fan-out dispatch to all enabled targets. |
Module Contents¶
- class corvix.notifications.models.NotificationEvent[source][source]¶
Canonical event produced when a new unread notification is detected.
This is the payload passed to every delivery target. It is deliberately decoupled from the internal
NotificationRecordso targets only depend on this stable interface.- updated_at: datetime.datetime[source][source]¶
- class corvix.notifications.models.DeliveryResult[source][source]¶
Result of a single target’s delivery attempt.