mirror of
https://github.com/logos-messaging/logos-delivery.git
synced 2026-08-05 11:23:12 +00:00
Squash of the initial structured-API POC work (1d684bf8..c37dcf84): - WIP: structured Broker API interface + impl (Logos Delivery facade) - Restructured folders; interfaces under logos_delivery/api; MessagingClient and ReliableChannelManager reworked as BrokerInterface/BrokerImplement - API types elevated under logos_delivery/api/types.nim - onelogosdelivery target; wakunode2 / FFI lib build fixes - nim-brokers integration + version bumps; git_version into FFI lib version - compile fixes for tests
20 lines
818 B
Nim
20 lines
818 B
Nim
## Reliable Channel event types emitted to API consumers.
|
|
##
|
|
## Lifecycle events for individual segments (sent / propagated / errored)
|
|
## are the same as the network-level ones the MessagingClient already
|
|
## emits — `requestId` is shared across layers — so we just re-export
|
|
## `waku/events/message_events` and avoid declaring duplicates.
|
|
##
|
|
## Only the channel-level `MessageReceivedEvent` carries data that has
|
|
## no analogue in the lower layer (reassembled application payload,
|
|
## senderId, channelId), so it lives here.
|
|
|
|
import logos_delivery/waku/events/message_events as waku_message_events
|
|
import brokers/event_broker
|
|
|
|
import ./types as channel_types
|
|
import logos_delivery/api/reliable_channel_manager_interface
|
|
|
|
export
|
|
waku_message_events, channel_types, event_broker, reliable_channel_manager_interface
|