wire-api-federation-0.1.0: The Wire server-to-server API for federation
Safe HaskellSafe-Inferred
LanguageGHC2021

Wire.API.Federation.HasNotificationEndpoint

Synopsis

Documentation

class HasNotificationEndpoint t Source #

Associated Types

type Payload t = (p :: Type) | p -> t Source #

The type of the payload for this endpoint

type NotificationPath t :: Symbol Source #

The central path component of a notification endpoint, e.g., "on-conversation-updated".

type NotificationVersionTag t :: Maybe Version Source #

An optional version tag to distinguish different versions of the same endpoint.

type NotificationMods t :: [Type] Source #

type NotificationMods t = '[]

Instances

Instances details
HasNotificationEndpoint 'OnUserDeletedConnectionsTag Source # 
Instance details

Defined in Wire.API.Federation.API.Brig.Notifications

HasNotificationEndpoint 'OnClientRemovedTag Source # 
Instance details

Defined in Wire.API.Federation.API.Galley.Notifications

HasNotificationEndpoint 'OnConversationUpdatedTag Source # 
Instance details

Defined in Wire.API.Federation.API.Galley.Notifications

HasNotificationEndpoint 'OnConversationUpdatedTagV0 Source # 
Instance details

Defined in Wire.API.Federation.API.Galley.Notifications

HasNotificationEndpoint 'OnMLSMessageSentTag Source # 
Instance details

Defined in Wire.API.Federation.API.Galley.Notifications

HasNotificationEndpoint 'OnMessageSentTag Source # 
Instance details

Defined in Wire.API.Federation.API.Galley.Notifications

HasNotificationEndpoint 'OnUserDeletedConversationsTag Source # 
Instance details

Defined in Wire.API.Federation.API.Galley.Notifications

type HasVersionRange t = MkVersionRange (NotificationMods t) Source #

fedPath :: forall t. HasFedPath t => String Source #

versionRange :: forall t. HasVersionRange t => VersionRange Source #

The federation API version range this endpoint is supported in.