mirror of
https://github.com/tiennm99/ccs.git
synced 2026-10-12 22:14:22 +00:00
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.
This commit is contained in:
1 parent
f0c845c32e
commit
c916356839
1 file changed
+4
@@ -268,6 +268,10 @@ export interface CliproxyUpdateCheckResult {
|
|||||||
latestVersion: string;
|
latestVersion: string;
|
||||||
fromCache: boolean;
|
fromCache: boolean;
|
||||||
checkedAt: number; // Unix timestamp of last check
|
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
|
isStable: boolean; // Whether current version is at or below max stable
|
||||||
maxStableVersion: string; // Maximum stable version (e.g., "6.6.80")
|
maxStableVersion: string; // Maximum stable version (e.g., "6.6.80")
|
||||||
stabilityMessage?: string; // Warning message if running unstable version
|
stabilityMessage?: string; // Warning message if running unstable version
|
||||||
|
|||||||
Reference in new issue
Block a user