Support for all event types (#212)

This commit is contained in:
czifumasa
2025-09-04 22:58:04 +02:00
committed by GitHub
parent 4d468b8d2e
commit 4d05cd9448
5 changed files with 169 additions and 48 deletions

View File

@@ -332,6 +332,10 @@ export function resolveDate(entry: GedcomEntry) {
return entry.tree.find((subEntry) => subEntry.tag === 'DATE');
}
export function resolveType(entry: GedcomEntry) {
return entry.tree.find((subEntry) => subEntry.tag === 'TYPE')?.data;
}
export function mapToSource(
sourceEntryReference: GedcomEntry,
gedcom: GedcomData,