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

+3
View File
@@ -8,6 +8,7 @@ import (
"testing"
"felis.lolicon.best/internal/build"
"felis.lolicon.best/internal/updates"
"sigs.k8s.io/yaml"
)
@@ -51,6 +52,8 @@ func TestOpenAPISchemasMatchWireStructs(t *testing.T) {
"PasskeyCredential": passkeyCredentialView{},
"UpdateWindow": updateWindow{},
"DBBackupStatus": dbBackupView{},
"UpdateReport": updateReportView{},
"UpdateComponent": updates.ComponentStatus{},
}
for name, v := range pairs {
s, ok := doc.Components.Schemas[name]