From b4f24f4965725d6ee3df76a4d8b11eedac767d94 Mon Sep 17 00:00:00 2001 From: Marcel Date: Fri, 8 May 2026 12:36:54 +0200 Subject: [PATCH] fix(api): mark StatsDTO totalPersons + totalDocuments as required Mirrors what npm run generate:api would emit against the StatsDTO record (all three @Schema(REQUIRED) annotations). Round-1 fix only updated totalStories; this brings the other two into line. Co-Authored-By: Claude Opus 4.7 --- frontend/src/lib/generated/api.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/lib/generated/api.ts b/frontend/src/lib/generated/api.ts index 9bc0e625..3bf2833d 100644 --- a/frontend/src/lib/generated/api.ts +++ b/frontend/src/lib/generated/api.ts @@ -2138,9 +2138,9 @@ export interface components { }; StatsDTO: { /** Format: int64 */ - totalPersons?: number; + totalPersons: number; /** Format: int64 */ - totalDocuments?: number; + totalDocuments: number; /** Format: int64 */ totalStories: number; };