2025-09-06 10:01:44 +09:00
|
|
|
import { Module } from "@nestjs/common";
|
|
|
|
|
import { ConfigModule } from "@nestjs/config";
|
2025-09-17 18:43:43 +09:00
|
|
|
import { IntegrationsModule } from "@bff/integrations/integrations.module";
|
2025-09-18 14:52:26 +09:00
|
|
|
import { OrdersModule } from "@bff/modules/orders/orders.module";
|
2025-11-06 16:32:29 +09:00
|
|
|
import { CatalogModule } from "@bff/modules/catalog/catalog.module";
|
|
|
|
|
import { CatalogCdcSubscriber } from "./catalog-cdc.subscriber";
|
|
|
|
|
import { OrderCdcSubscriber } from "./order-cdc.subscriber";
|
2025-09-06 10:01:44 +09:00
|
|
|
|
|
|
|
|
@Module({
|
2025-11-06 16:32:29 +09:00
|
|
|
imports: [ConfigModule, IntegrationsModule, OrdersModule, CatalogModule],
|
|
|
|
|
providers: [
|
|
|
|
|
CatalogCdcSubscriber, // CDC for catalog cache invalidation
|
|
|
|
|
OrderCdcSubscriber, // CDC for order cache invalidation
|
|
|
|
|
],
|
2025-09-06 10:01:44 +09:00
|
|
|
})
|
|
|
|
|
export class SalesforceEventsModule {}
|