2025-08-21 15:24:40 +09:00
|
|
|
import { Module } from "@nestjs/common";
|
|
|
|
|
import { CatalogController } from "./catalog.controller";
|
2025-11-06 13:26:30 +09:00
|
|
|
import { CatalogHealthController } from "./catalog-health.controller";
|
2025-09-17 18:43:43 +09:00
|
|
|
import { IntegrationsModule } from "@bff/integrations/integrations.module";
|
|
|
|
|
import { MappingsModule } from "@bff/modules/id-mappings/mappings.module";
|
2025-09-26 15:51:07 +09:00
|
|
|
import { CoreConfigModule } from "@bff/core/config/config.module";
|
2025-10-27 17:24:53 +09:00
|
|
|
import { CacheModule } from "@bff/infra/cache/cache.module";
|
2025-08-20 18:02:50 +09:00
|
|
|
|
2025-08-27 20:01:46 +09:00
|
|
|
import { BaseCatalogService } from "./services/base-catalog.service";
|
|
|
|
|
import { InternetCatalogService } from "./services/internet-catalog.service";
|
|
|
|
|
import { SimCatalogService } from "./services/sim-catalog.service";
|
|
|
|
|
import { VpnCatalogService } from "./services/vpn-catalog.service";
|
2025-10-27 17:24:53 +09:00
|
|
|
import { CatalogCacheService } from "./services/catalog-cache.service";
|
2025-08-27 20:01:46 +09:00
|
|
|
|
2025-08-20 18:02:50 +09:00
|
|
|
@Module({
|
2025-10-27 17:24:53 +09:00
|
|
|
imports: [IntegrationsModule, MappingsModule, CoreConfigModule, CacheModule],
|
2025-11-06 13:26:30 +09:00
|
|
|
controllers: [CatalogController, CatalogHealthController],
|
2025-10-27 17:24:53 +09:00
|
|
|
providers: [
|
|
|
|
|
BaseCatalogService,
|
|
|
|
|
InternetCatalogService,
|
|
|
|
|
SimCatalogService,
|
|
|
|
|
VpnCatalogService,
|
|
|
|
|
CatalogCacheService,
|
|
|
|
|
],
|
2025-08-28 16:57:57 +09:00
|
|
|
exports: [InternetCatalogService, SimCatalogService, VpnCatalogService],
|
2025-08-20 18:02:50 +09:00
|
|
|
})
|
2025-08-28 16:57:57 +09:00
|
|
|
export class CatalogModule {}
|