Class: CommentaryAggregationService
Defined in: Services/StudyOverview/CommentaryAggregationService.ts:17
Default implementation of ICommentaryAggregationService.
Wraps ICommentaryRepository.getEntriesForRange for each module and flattens the results into the wire shape used by the study cache.
Implements
Constructors
Constructor
new CommentaryAggregationService():
CommentaryAggregationService
Returns
CommentaryAggregationService
Methods
getChapterOverview()
getChapterOverview(
book,chapter,modules):ChapterCommentaryOverview
Defined in: Services/StudyOverview/CommentaryAggregationService.ts:18
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>[]