Creates the transport for a channel configuration.
For 'mail', resolves IMailer from the context service registry. For
'twilio', 'fcm', and 'slack', constructs the corresponding HTTP provider
from the config's options, which each provider validates.
The overloads bind each config arm to the transport port it produces, so a caller never has to narrow or cast the result.
The channel configuration
Optionalctx: IPluginContext
The plugin context (for resolving IMailer when provider is 'mail')
The transport for this configuration
Creates the transport for a channel configuration.
For 'mail', resolves IMailer from the context service registry. For
'twilio', 'fcm', and 'slack', constructs the corresponding HTTP provider
from the config's options, which each provider validates.
The overloads bind each config arm to the transport port it produces, so a caller never has to narrow or cast the result.
The channel configuration
The transport for this configuration
Creates the transport for a channel configuration.
For 'mail', resolves IMailer from the context service registry. For
'twilio', 'fcm', and 'slack', constructs the corresponding HTTP provider
from the config's options, which each provider validates.
The overloads bind each config arm to the transport port it produces, so a caller never has to narrow or cast the result.
The channel configuration
Optionalctx: IPluginContext
The plugin context (for resolving IMailer when provider is 'mail')
The transport for this configuration
Creates the transport for a channel configuration.
For 'mail', resolves IMailer from the context service registry. For
'twilio', 'fcm', and 'slack', constructs the corresponding HTTP provider
from the config's options, which each provider validates.
The overloads bind each config arm to the transport port it produces, so a caller never has to narrow or cast the result.
The channel configuration
The transport for this configuration
Creates the transport for a channel configuration.
For 'mail', resolves IMailer from the context service registry. For
'twilio', 'fcm', and 'slack', constructs the corresponding HTTP provider
from the config's options, which each provider validates.
The overloads bind each config arm to the transport port it produces, so a caller never has to narrow or cast the result.
The channel configuration
Optionalctx: IPluginContext
The plugin context (for resolving IMailer when provider is 'mail')
The transport for this configuration
NotificationPlugin factory — registers an
INotifierunderCAPABILITIES.NOTIFICATION.Example
Since
0.1.0