Skip to main content

Interface: ICommentaryAggregationService

Defined in: Services/StudyOverview/ICommentaryAggregationService.ts:9

Aggregates commentary entry metadata across multiple commentary modules for a given (book, chapter). Returns the same wire shape used by study_cache.db.

Methods

getChapterOverview()

getChapterOverview(book, chapter, modules): ChapterCommentaryOverview

Defined in: Services/StudyOverview/ICommentaryAggregationService.ts:15

Build a chapter-scoped overview of commentary entries from the given modules. Each entry carries verse range, level, and word count — but no body text. Modules are visited in array order; output preserves that order.

Parameters

book

number

chapter

number

modules

AggregationModule<ICommentaryRepository>[]

Returns

ChapterCommentaryOverview