fix(types): Make genealogiewerkbalk nested fields optional

Fixes TypeScript error where parseGenealogiewerkbalk returns optional
fields but Institution interface expected required fields.
This commit is contained in:
kempersc 2025-12-15 09:04:09 +01:00
parent 525662ea16
commit 31bbce13e6

View file

@ -294,20 +294,20 @@ export interface Institution {
successor_organization?: SuccessorOrganization;
genealogiewerkbalk?: {
municipality?: {
name: string;
code: string;
name?: string;
code?: string;
};
municipal_archive?: {
name: string;
name?: string;
website?: string;
isil?: string;
};
province?: {
name: string;
code: string;
name?: string;
code?: string;
};
provincial_archive?: {
name: string;
name?: string;
website?: string;
};
match_confidence?: number;