webhooks: endpoint API, fan-out and delivery log43fa43f13 days ago23 lines · 955 B | 1 | import { Module } from '@nestjs/common'; |
| 2 | |
| 3 | import { OutboxService } |
| 4 | import { RepositoryAccessService } |
| 5 | import { NotifierService } |
| 6 | import { WebhookFanoutService } |
| 7 | import { IssuesModule } |
| 8 | import { NotificationsController } |
| 9 | import { NotificationsService } |
| 10 | import { SubscriptionsController } |
| 11 | |
| 12 | @Module({ |
| 13 | imports: [IssuesModule], |
| 14 | controllers: [NotificationsController, |
| 15 | providers: [ |
| 16 | NotificationsService, |
| 17 | NotifierService, |
| 18 | OutboxService, |
| 19 | RepositoryAccessService, |
| 20 | WebhookFanoutService, |
| 21 | ], |
| 22 | }) |
| 23 | export class NotificationsModule |
from
'
../../services/events/outbox.service.js
'
;
from
'
../../services/git/repository-access/repository-access.service.js
'
;
from
'
../../services/notifications/notifier.service.js
'
;
from
'
../../services/webhooks/webhook-fanout.service.js
'
;
from
'
../issues/issues.module.js
'
;
from
'
./notifications.controller.js
'
;
from
'
./notifications.service.js
'
;
from
'
./subscriptions.controller.js
'
;
SubscriptionsController
]
,
{}