diff --git a/logos_delivery/api/logos_delivery_api.nim b/logos_delivery/api/logos_delivery_api.nim index acdd3725b..162159d8e 100644 --- a/logos_delivery/api/logos_delivery_api.nim +++ b/logos_delivery/api/logos_delivery_api.nim @@ -13,17 +13,16 @@ import results, chronos import brokers/event_broker import types as api_types -# `EventConnectionStatusChange` lives in the decomposed health-events module. -# Re-export it here so the orchestrator surfaces it without duplicating the type. -import logos_delivery/waku/api/events/health_events as health_events - export api_types, event_broker -export health_events type ## Entry point. Holds one instance of each API layer. ILogosDelivery* = ref object of RootObj +EventBroker: + type EventConnectionStatusChange* = object + connectionStatus*: ConnectionStatus + method start*(self: ILogosDelivery): Future[Result[void, string]] {.async, base.} = return err("ILogosDelivery.start not implemented") diff --git a/logos_delivery/waku/api/events/message_events.nim b/logos_delivery/waku/api/events/message_events.nim deleted file mode 100644 index 638d4f38a..000000000 --- a/logos_delivery/waku/api/events/message_events.nim +++ /dev/null @@ -1,10 +0,0 @@ -import brokers/event_broker -import logos_delivery/api/types -import logos_delivery/waku/[waku_core/message, waku_core/topics] -export event_broker, types - -EventBroker: - # Internal event emitted when a message arrives from the network via any protocol - type MessageSeenEvent* = object - topic*: PubsubTopic - message*: WakuMessage