Skip to main content

Class: EntityAggregationService

Defined in: Services/StudyOverview/EntityAggregationService.ts:17

Default implementation of IEntityAggregationService.

Wraps ITagGraphRepository.getEntityRangesForVerseRange and emits the verse-keyed dictionary used by the study cache. Each row is indexed under its start_verse_id (the client handles range expansion).

Implements

Constructors

Constructor

new EntityAggregationService(): EntityAggregationService

Returns

EntityAggregationService

Methods

getChapterEntities()

getChapterEntities(book, chapter, tagGraph): EntitiesByVerse

Defined in: Services/StudyOverview/EntityAggregationService.ts:18

Parameters

book

number

chapter

number

tagGraph

ITagGraphRepository | null | undefined

Returns

EntitiesByVerse

Implementation of

IEntityAggregationService.getChapterEntities