From 0ce803c7f194b60e72dd585459e61cd41ab88972 Mon Sep 17 00:00:00 2001 From: Marcel Date: Wed, 8 Apr 2026 12:06:38 +0200 Subject: [PATCH] build(frontend): regenerate API types for Person changes Person type now includes displayName (readonly, required), title, personType (required enum), and firstName is optional. Co-Authored-By: Claude Sonnet 4.6 --- frontend/src/lib/generated/api.ts | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/frontend/src/lib/generated/api.ts b/frontend/src/lib/generated/api.ts index 534c8066..a994b73b 100644 --- a/frontend/src/lib/generated/api.ts +++ b/frontend/src/lib/generated/api.ts @@ -952,14 +952,18 @@ export interface components { Person: { /** Format: uuid */ id: string; - firstName: string; + title?: string; + firstName?: string; lastName: string; + /** @enum {string} */ + personType: "PERSON" | "INSTITUTION" | "GROUP" | "UNKNOWN" | "SKIP"; alias?: string; notes?: string; /** Format: int32 */ birthYear?: number; /** Format: int32 */ deathYear?: number; + readonly displayName: string; }; DocumentUpdateDTO: { title?: string; @@ -1047,19 +1051,18 @@ export interface components { newPassword?: string; }; PersonNameAliasDTO: { - lastName?: string; + lastName: string; firstName?: string; /** @enum {string} */ - type?: "BIRTH" | "WIDOWED" | "DIVORCED" | "OTHER"; + type: "BIRTH" | "WIDOWED" | "DIVORCED" | "MAIDEN_NAME" | "OTHER"; }; PersonNameAlias: { /** Format: uuid */ id: string; - person?: components["schemas"]["Person"]; lastName: string; firstName?: string; /** @enum {string} */ - type: "BIRTH" | "WIDOWED" | "DIVORCED" | "OTHER"; + type: "BIRTH" | "WIDOWED" | "DIVORCED" | "MAIDEN_NAME" | "OTHER"; /** Format: int32 */ sortOrder: number; /** Format: date-time */ @@ -1228,10 +1231,10 @@ export interface components { /** Format: int32 */ number?: number; sort?: components["schemas"]["SortObject"]; - /** Format: int32 */ - numberOfElements?: number; first?: boolean; last?: boolean; + /** Format: int32 */ + numberOfElements?: number; empty?: boolean; }; PageableObject: {