Skip to main content
zerotal

Documentation


Documentation / @zerotal/notifications / OnDemandRoutes

Interface: OnDemandRoutes

Defined in: notifications/src/OnDemandNotifiable.ts:4

Per-channel destinations for a recipient with no model behind it.

Indexable

[channel: string]: string | undefined

Destination for a channel registered with extend().

Properties

mail?

optional mail?: string

Defined in: notifications/src/OnDemandNotifiable.ts:6

Email address for the mail channel.


sms?

optional sms?: string

Defined in: notifications/src/OnDemandNotifiable.ts:8

E.164 phone number for the sms channel.


slack?

optional slack?: string

Defined in: notifications/src/OnDemandNotifiable.ts:10

Incoming webhook URL for the slack channel.


broadcast?

optional broadcast?: string

Defined in: notifications/src/OnDemandNotifiable.ts:12

Broadcast channel name for the broadcast channel.