24 lines
524 B
Python
24 lines
524 B
Python
|
|
"""Доменные сущности и шина событий (задел под модули)."""
|
||
|
|
|
||
|
|
from onguard24.domain.entities import Alert, EscalationPolicy, EscalationStep, Incident, Severity
|
||
|
|
from onguard24.domain.events import (
|
||
|
|
AlertReceived,
|
||
|
|
DomainEvent,
|
||
|
|
EventBus,
|
||
|
|
InMemoryEventBus,
|
||
|
|
Module,
|
||
|
|
)
|
||
|
|
|
||
|
|
__all__ = [
|
||
|
|
"Severity",
|
||
|
|
"Alert",
|
||
|
|
"Incident",
|
||
|
|
"EscalationPolicy",
|
||
|
|
"EscalationStep",
|
||
|
|
"DomainEvent",
|
||
|
|
"AlertReceived",
|
||
|
|
"Module",
|
||
|
|
"EventBus",
|
||
|
|
"InMemoryEventBus",
|
||
|
|
]
|