Skip to main content

Class: CrossRefAggregationService

Defined in: Services/StudyOverview/CrossRefAggregationService.ts:19

Default implementation of ICrossRefAggregationService.

Wraps ICrossReferenceRepository.getGroupsWithEntriesForRange so each module is queried with two SQL statements (groups + batched entries) per chapter, matching the legacy generation script byte-for-byte.

Implements

Constructors

Constructor

new CrossRefAggregationService(): CrossRefAggregationService

Returns

CrossRefAggregationService

Methods

getChapterCrossRefs()

getChapterCrossRefs(book, chapter, modules): CrossRefsByVerse

Defined in: Services/StudyOverview/CrossRefAggregationService.ts:20

Parameters

book

number

chapter

number

modules

AggregationModule<ICrossReferenceRepository>[]

Returns

CrossRefsByVerse

Implementation of

ICrossRefAggregationService.getChapterCrossRefs