refactor(lbug): drop the unused WriteStreamFactory re-export (#2215 review)

The type was re-exported from lbug-adapter 'to preserve this module's surface,'
but no external code imports it by name from here (the only test reference is a
comment). Keep the import from rel-pair-routing.ts (its canonical home, still
used by splitRelCsvByLabelPair's signature) and drop the dead re-export.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
Gergo Magyar 2026-06-15 18:17:09 +00:00
parent 11ae8cb713
commit de1071d0b1

View file

@ -49,11 +49,9 @@ import { logger } from '../logger.js';
// ---------------------------------------------------------------------------
// Relationship CSV splitting — extracted for testability (PR #818)
// ---------------------------------------------------------------------------
/** Factory for creating WriteStreams — injectable for testing. Canonical
* definition lives in rel-pair-routing.ts (imported above for local use by
* splitRelCsvByLabelPair); re-exported here to preserve this module's surface. */
export type { WriteStreamFactory };
// WriteStreamFactory is imported above from rel-pair-routing.ts (its canonical
// home) for splitRelCsvByLabelPair's signature; no external code imports it from
// here, so it is not re-exported.
/** Result of splitting the relationship CSV into per-label-pair files. */
export interface RelCsvSplitResult {