export const APP_NAME = "Tessera"; export interface HealthResponse { status: string; timestamp: string; } /** * Antwort von `GET /health/version` (quick-260914-ku1). * `channel` ist in der Praxis `beta` | `live` | `dev`; die Wahrheit der * Version ist der Git-Tag (`git describe`), nicht eine package.json. */ export interface VersionResponse { name: string; version: string; channel: string; commit: string; buildTime: string; } /** * Desktop-Pakete (Phase 18, D-08): Quelle ist ausschliesslich `manifest.json`, * geschrieben nur von `.gitea/scripts/desktop-collect.sh` im CI. `platform` ist * ein geschlossener Wertevorrat -- eine dritte Plattform waere eine bewusste * Erweiterung hier und an der Konstante `PLATFORMS` im API-Dienst. */ export type DesktopPlatform = 'windows' | 'linux'; export interface DesktopManifestFile { name: string; size: number; sha256: string; } export interface DesktopManifest { version: string; channel: string; commit: string; buildTime: string; files: Partial>; } export interface DesktopLatestFile extends DesktopManifestFile { url: string; } export interface DesktopLatestResponse { version: string; channel: string; commit: string; buildTime: string; files: Partial>; }