feat(support-info): add app support information

This commit is contained in:
二丫讲梵 authored and GitHub committed 2026-07-09 09:52:45 +08:00
1 parent 328147b559
commit 28db8bc1b8
16 files changed
+564 -3

No files matched your search

+12
View File
@@ -200,6 +200,14 @@ export interface WebDavSyncSecretsStatus {
hasSavedPassphrase: boolean;
}
export interface AppSupportInfo {
appVersion: string;
runtime: "desktop" | "web";
osName: string;
osVersion?: string | null;
arch: string;
}
export interface QueryPagination {
limit: number;
offset: number;
@@ -1301,6 +1309,10 @@ export async function getAppVersion(): Promise<string> {
return getVersion();
}
export async function getAppSupportInfo(): Promise<AppSupportInfo> {
return invoke<AppSupportInfo>("get_app_support_info");
}
// --- Redis ---
export interface RedisKeyInfo {
key_display: string;