2025-12-10 16:08:34 +09:00
|
|
|
import { Module, forwardRef } from "@nestjs/common";
|
2025-12-25 13:20:45 +09:00
|
|
|
import { ServicesController } from "./services.controller.js";
|
|
|
|
|
import { ServicesHealthController } from "./services-health.controller.js";
|
2025-12-17 17:59:55 +09:00
|
|
|
import { InternetEligibilityController } from "./internet-eligibility.controller.js";
|
2025-12-25 15:48:57 +09:00
|
|
|
import { PublicServicesController } from "./public-services.controller.js";
|
|
|
|
|
import { AccountServicesController } from "./account-services.controller.js";
|
2025-12-10 16:08:34 +09:00
|
|
|
import { IntegrationsModule } from "@bff/integrations/integrations.module.js";
|
|
|
|
|
import { MappingsModule } from "@bff/modules/id-mappings/mappings.module.js";
|
2026-02-24 11:57:58 +09:00
|
|
|
import { ConfigModule } from "@nestjs/config";
|
2025-12-10 16:08:34 +09:00
|
|
|
import { CacheModule } from "@bff/infra/cache/cache.module.js";
|
2025-12-26 17:27:22 +09:00
|
|
|
import { QueueModule } from "@bff/infra/queue/queue.module.js";
|
2026-01-15 18:15:51 +09:00
|
|
|
import { WorkflowModule } from "@bff/modules/shared/workflow/index.js";
|
2025-08-20 18:02:50 +09:00
|
|
|
|
2026-01-13 16:19:39 +09:00
|
|
|
import { BaseServicesService } from "./application/base-services.service.js";
|
|
|
|
|
import { InternetServicesService } from "./application/internet-services.service.js";
|
|
|
|
|
import { InternetEligibilityService } from "./application/internet-eligibility.service.js";
|
|
|
|
|
import { SimServicesService } from "./application/sim-services.service.js";
|
|
|
|
|
import { VpnServicesService } from "./application/vpn-services.service.js";
|
|
|
|
|
import { ServicesCacheService } from "./application/services-cache.service.js";
|
2025-08-27 20:01:46 +09:00
|
|
|
|
2025-08-20 18:02:50 +09:00
|
|
|
@Module({
|
2025-12-10 16:08:34 +09:00
|
|
|
imports: [
|
|
|
|
|
forwardRef(() => IntegrationsModule),
|
|
|
|
|
MappingsModule,
|
2026-02-24 11:57:58 +09:00
|
|
|
ConfigModule,
|
2025-12-10 16:08:34 +09:00
|
|
|
CacheModule,
|
|
|
|
|
QueueModule,
|
2026-01-15 18:15:51 +09:00
|
|
|
WorkflowModule,
|
2025-12-10 16:08:34 +09:00
|
|
|
],
|
2025-12-25 15:48:57 +09:00
|
|
|
controllers: [
|
|
|
|
|
ServicesController,
|
|
|
|
|
PublicServicesController,
|
|
|
|
|
AccountServicesController,
|
|
|
|
|
ServicesHealthController,
|
|
|
|
|
InternetEligibilityController,
|
|
|
|
|
],
|
2025-10-27 17:24:53 +09:00
|
|
|
providers: [
|
2025-12-25 13:59:28 +09:00
|
|
|
BaseServicesService,
|
|
|
|
|
InternetServicesService,
|
2026-01-07 17:13:27 +09:00
|
|
|
InternetEligibilityService,
|
|
|
|
|
SimServicesService,
|
|
|
|
|
VpnServicesService,
|
|
|
|
|
ServicesCacheService,
|
|
|
|
|
],
|
|
|
|
|
exports: [
|
|
|
|
|
InternetServicesService,
|
|
|
|
|
InternetEligibilityService,
|
2025-12-25 13:59:28 +09:00
|
|
|
SimServicesService,
|
|
|
|
|
VpnServicesService,
|
|
|
|
|
ServicesCacheService,
|
2025-10-27 17:24:53 +09:00
|
|
|
],
|
2025-08-20 18:02:50 +09:00
|
|
|
})
|
2025-12-25 13:20:45 +09:00
|
|
|
export class ServicesModule {}
|