feat(timeline): compute a letter's linkedEventId in TimelineService

For each LETTER entry, resolve the curated event whose documents set
contains the letter, in one batched pass over the events already loaded
(no per-letter query, no new column). The DTO gains a nullable
linkedEventId; non-letter entries keep null.

Refs #850
This commit is contained in:
Marcel
2026-06-15 20:29:57 +02:00
parent f57e59b53c
commit d01f2e2edf
5 changed files with 95 additions and 11 deletions

View File

@@ -2467,6 +2467,8 @@ export interface components {
rootTagId?: string;
rootTagName?: string;
rootTagColor?: string;
/** Format: uuid */
linkedEventId?: string;
};
TimelineYearDTO: {
/** Format: int32 */