File size: 1,285 Bytes
6abfd9d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
import { forwardRef, Module } from "@nestjs/common";
import { IntegrationsService } from "./integrations.service";
import { IntegrationsRouter } from "./integrations.router";
import { IntegrationsController } from "./integrations.controller";
import { IntegrationsWebhookController } from "./integrations-webhook.controller";
import { IntegrationHealthController } from "./integration-health.controller";
import { IntegrationHealthService } from "./integration-health.service";
import { WebhookIdempotencyService } from "./webhook-idempotency.service";
import { BillingModule } from "../billing/billing.module";
import { SelfHostedClientsModule } from "./clients/self-hosted-clients.module";
import { SupportModule } from "../support/support.module";
import { WebsocketModule } from "../websocket/websocket.module";

@Module({
  imports: [BillingModule, SelfHostedClientsModule, forwardRef(() => SupportModule), WebsocketModule],
  providers: [IntegrationsService, IntegrationsRouter, IntegrationHealthService, WebhookIdempotencyService],
  controllers: [IntegrationsController, IntegrationsWebhookController, IntegrationHealthController],
  exports: [IntegrationsService, IntegrationsRouter, IntegrationHealthService, WebhookIdempotencyService],
})
export class IntegrationsModule {}