import { Module } from "@nestjs/common";
import { MappingsModule } from "@bff/modules/id-mappings/mappings.module.js";
import { SalesforceModule } from "@bff/integrations/salesforce/salesforce.module.js";
import { SubscriptionValidationCoordinator } from "./subscription-validation-coordinator.service.js";

/**
 * Shared Subscriptions Module
 *
 * Provides shared services for subscription management across all sub-modules.
 * Import this module wherever you need the SubscriptionValidationCoordinator.
 */
@Module({
  imports: [MappingsModule, SalesforceModule],
  providers: [SubscriptionValidationCoordinator],
  exports: [SubscriptionValidationCoordinator],
})
export class SharedSubscriptionsModule {}
