feat(update): 主机每日记录组件版本比对,面板更新页展示可用更新与应用命令

This commit is contained in:
Lemon-miaow committed 2026-09-25 21:50:49 +08:00
1 parent 24373823cc
commit 7f160e2feb
28 files changed
+994 -10

No files matched your search

+2
View File
@@ -33,6 +33,7 @@ import type {
SubmissionPage,
UpdateWindow,
DBBackupStatus,
UpdateReport,
} from "./types";
import { loadConfig } from "./config";
import i18next from "i18next";
@@ -755,6 +756,7 @@ export const api = rejectingSync({
// Freshness of the host's control-plane database backup (felis-db-backup.timer).
getDBBackup: () => request<DBBackupStatus>("GET", "/platform/db-backup"),
getUpdateReport: () => request<UpdateReport>("GET", "/updates/report"),
// ---- User admin (admin-tier, spec §7 user admin) ----