Skip to main content

notificationConfig

@adamondo/backend


@adamondo/backend / core/workflow/notificationConfig

core/workflow/notificationConfig

Type Aliases

NotificationChannelConfig

NotificationChannelConfig = object

Defined in: src/core/workflow/notificationConfig.ts:11

Properties

push?

optional push: object

Defined in: src/core/workflow/notificationConfig.ts:12

title

title: string

body

body: string

email?

optional email: object

Defined in: src/core/workflow/notificationConfig.ts:16

type

type: keyof EmailContentMap

socket?

optional socket: object

Defined in: src/core/workflow/notificationConfig.ts:19

type

type: string

title

title: string

message

message: string


ActorNotificationConfig

ActorNotificationConfig = object

Defined in: src/core/workflow/notificationConfig.ts:26

Properties

guest?

optional guest: NotificationChannelConfig

Defined in: src/core/workflow/notificationConfig.ts:27

host?

optional host: NotificationChannelConfig

Defined in: src/core/workflow/notificationConfig.ts:28

owner?

optional owner: NotificationChannelConfig

Defined in: src/core/workflow/notificationConfig.ts:30

Used for document owner notifications

admin?

optional admin: NotificationChannelConfig

Defined in: src/core/workflow/notificationConfig.ts:32

Used for admin notifications

Variables

NotificationConfig

const NotificationConfig: Partial<Record<ReservationAction | DocumentApprovalAction, ActorNotificationConfig>>

Defined in: src/core/workflow/notificationConfig.ts:35