@sourceloop/notification-service / Exports / Notification
Class: Notification¶
Hierarchy¶
-
CoreEntity
<Notification
>↳
Notification
Implements¶
Message
Table of contents¶
Constructors¶
Properties¶
Constructors¶
constructor¶
• new Notification(data?
)
Parameters¶
Name | Type |
---|---|
data? |
Partial <Notification > |
Inherited from¶
CoreEntity<Notification>.constructor
Defined in¶
packages/core/dist/models/core-entity.d.ts:3
Properties¶
body¶
• body: string
Implementation of¶
Message.body
Defined in¶
services/notification-service/src/models/notification.model.ts:37
groupKey¶
• Optional
groupKey: string
Defined in¶
services/notification-service/src/models/notification.model.ts:70
id¶
• Optional
id: string
Defined in¶
services/notification-service/src/models/notification.model.ts:23
isCritical¶
• Optional
isCritical: boolean
Defined in¶
services/notification-service/src/models/notification.model.ts:76
isDraft¶
• Optional
isDraft: boolean
Defined in¶
services/notification-service/src/models/notification.model.ts:65
notificationUsers¶
• notificationUsers: NotificationUser
[]
Defined in¶
services/notification-service/src/models/notification.model.ts:79
options¶
• Optional
options: AnyObject
Implementation of¶
Message.options
Defined in¶
services/notification-service/src/models/notification.model.ts:60
receiver¶
• receiver: Receiver
Implementation of¶
Message.receiver
Defined in¶
services/notification-service/src/models/notification.model.ts:43
sentDate¶
• sentDate: Date
Implementation of¶
Message.sentDate
Defined in¶
services/notification-service/src/models/notification.model.ts:55
subject¶
• Optional
subject: string
Implementation of¶
Message.subject
Defined in¶
services/notification-service/src/models/notification.model.ts:31
type¶
• type: MessageType
Implementation of¶
Message.type
Defined in¶
services/notification-service/src/models/notification.model.ts:49