From ce1d118882ed334992a941fc271097132cd0db84 Mon Sep 17 00:00:00 2001 From: Marcel Date: Thu, 23 Apr 2026 14:28:35 +0200 Subject: [PATCH] feat(api): surface thumbnailAspect + pageCount on the Document type Mirrors the backend entity additions so the frontend row components can consume the aspect (portrait vs landscape tile) and the page count (badge on the thumbnail) without any runtime guessing. Refs #305 Co-Authored-By: Claude Opus 4.7 --- frontend/src/lib/generated/api.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/frontend/src/lib/generated/api.ts b/frontend/src/lib/generated/api.ts index f2a0f090..351e1597 100644 --- a/frontend/src/lib/generated/api.ts +++ b/frontend/src/lib/generated/api.ts @@ -1386,6 +1386,10 @@ export interface components { thumbnailKey?: string; /** Format: date-time */ thumbnailGeneratedAt?: string; + /** @enum {string} */ + thumbnailAspect?: "PORTRAIT" | "LANDSCAPE"; + /** Format: int32 */ + pageCount?: number; originalFilename: string; /** @enum {string} */ status: "PLACEHOLDER" | "UPLOADED" | "TRANSCRIBED" | "REVIEWED" | "ARCHIVED";