import { Global, Module } from '@nestjs/common';

/**
 * Composition root for cross-bounded-context dependencies (zero-leak variant).
 *
 * Imports the supplier modules where the cross-BC adapters live (registered in their
 * own @app/<supplier-bc>/<module>/cross-bc/ folders and exported from each supplier module).
 * Registers ONLY the bridge entries — the provider mappings that bind port tokens to the
 * adapter instances via `useExisting`. The adapters themselves are NOT providers of this
 * module; they are imported transitively through the supplier modules.
 *
 * Consumers inject ports via `@Inject(<TOKEN>)` without their own NestJS module importing
 * the supplier module — this stays true under the zero-leak variant.
 *
 * See `.claude/skills/catalyst-cross-bounded-context-ports/SKILL.md` for the full pattern,
 * including the "Alternative pattern: zero-leak" section that documents the trade-offs
 * vs. the canonical (curated-export) variant.
 */
@Global()
@Module({
  imports: [],
  providers: [
],
  exports: [
],
})
export class BridgesModule {}
