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";
|
|
|
|
|
import { CoreConfigModule } from "@bff/core/config/config.module.js";
|
|
|
|
|
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";
|
2025-08-20 18:02:50 +09:00
|
|
|
|
2025-12-25 13:59:28 +09:00
|
|
|
import { BaseServicesService } from "./services/base-services.service.js";
|
|
|
|
|
import { InternetServicesService } from "./services/internet-services.service.js";
|
|
|
|
|
import { SimServicesService } from "./services/sim-services.service.js";
|
|
|
|
|
import { VpnServicesService } from "./services/vpn-services.service.js";
|
|
|
|
|
import { ServicesCacheService } from "./services/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,
|
|
|
|
|
CoreConfigModule,
|
|
|
|
|
CacheModule,
|
|
|
|
|
QueueModule,
|
|
|
|
|
],
|
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,
|
|
|
|
|
SimServicesService,
|
|
|
|
|
VpnServicesService,
|
|
|
|
|
ServicesCacheService,
|
2025-10-27 17:24:53 +09:00
|
|
|
],
|
2025-12-25 13:59:28 +09:00
|
|
|
exports: [InternetServicesService, SimServicesService, VpnServicesService, ServicesCacheService],
|
2025-08-20 18:02:50 +09:00
|
|
|
})
|
2025-12-25 13:20:45 +09:00
|
|
|
export class ServicesModule {}
|