@sourceloop/notification-service / Exports / NotificationRepository
Class: NotificationRepository¶
Hierarchy¶
-
DefaultTransactionalRepository
<Notification
, typeofid
>↳
NotificationRepository
Table of contents¶
Constructors¶
Properties¶
Constructors¶
constructor¶
• new NotificationRepository(dataSource
, notificationUserRepositoryGetter
)
Parameters¶
Name | Type |
---|---|
dataSource |
DataSource |
notificationUserRepositoryGetter |
Getter <NotificationUserRepository > |
Overrides¶
DefaultTransactionalRepository< Notification, typeof Notification.prototype.id \>.constructor
Defined in¶
services/notification-service/src/repositories/notification.repository.ts:26
Properties¶
notificationUserRepositoryGetter¶
• Protected
notificationUserRepositoryGetter: Getter
<NotificationUserRepository
>
Defined in¶
services/notification-service/src/repositories/notification.repository.ts:30
notificationUsers¶
• Readonly
notificationUsers: HasManyRepositoryFactory
<NotificationUser
, undefined
| string
>
Defined in¶
services/notification-service/src/repositories/notification.repository.ts:21