From c9163568391208c346a6ca0e04562d2931e8092a Mon Sep 17 00:00:00 2001 From: kaitranntt Date: Fri, 23 Jan 2026 15:44:04 -0500 Subject: [PATCH] fix(ui): add backend fields to CliproxyUpdateCheckResult type Sync UI type definition with server response that now includes backend and backendLabel fields for dynamic backend display. --- ui/src/lib/api-client.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ui/src/lib/api-client.ts b/ui/src/lib/api-client.ts index d2361016..445b9133 100644 --- a/ui/src/lib/api-client.ts +++ b/ui/src/lib/api-client.ts @@ -268,6 +268,10 @@ export interface CliproxyUpdateCheckResult { latestVersion: string; fromCache: boolean; checkedAt: number; // Unix timestamp of last check + // Backend info + backend: 'original' | 'plus'; + backendLabel: string; + // Stability fields isStable: boolean; // Whether current version is at or below max stable maxStableVersion: string; // Maximum stable version (e.g., "6.6.80") stabilityMessage?: string; // Warning message if running unstable version