notificationConfig
@adamondo/backend / core/workflow/notificationConfig
core/workflow/notificationConfig
Type Aliases
NotificationChannelConfig
NotificationChannelConfig =
object
Defined in: src/core/workflow/notificationConfig.ts:11
Properties
push?
optionalpush:object
Defined in: src/core/workflow/notificationConfig.ts:12
title
title:
string
body
body:
string
email?
optionalemail:object
Defined in: src/core/workflow/notificationConfig.ts:16
type
type: keyof
EmailContentMap
socket?
optionalsocket: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?
optionalguest:NotificationChannelConfig
Defined in: src/core/workflow/notificationConfig.ts:27
host?
optionalhost:NotificationChannelConfig
Defined in: src/core/workflow/notificationConfig.ts:28
owner?
optionalowner:NotificationChannelConfig
Defined in: src/core/workflow/notificationConfig.ts:30
Used for document owner notifications
admin?
optionaladmin:NotificationChannelConfig
Defined in: src/core/workflow/notificationConfig.ts:32
Used for admin notifications
Variables
NotificationConfig
constNotificationConfig:Partial<Record<ReservationAction|DocumentApprovalAction,ActorNotificationConfig>>
Defined in: src/core/workflow/notificationConfig.ts:35