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:
parent
525662ea16
commit
31bbce13e6
1 changed files with 6 additions and 6 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue