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 <noreply@anthropic.com>
This commit is contained in:
Marcel
2026-04-23 14:28:35 +02:00
committed by marcel
parent e6d55e47b1
commit 22ce705bb0

View File

@@ -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";