test(panel): 加组件测试与浏览器冒烟、hooks lint、OpenAPI 双向类型对齐,修复 CI 类型检查空转、列表不显示服务器名称与玩家停服不确认
This commit is contained in:
44 files changed
+10578
-216
No files matched your search
@@ -20,7 +20,7 @@ import type {
|
||||
QuotaView,
|
||||
ServerFileEntry,
|
||||
ServerJob,
|
||||
ServerInfo,
|
||||
MyServerView,
|
||||
ServerStatus,
|
||||
SessionView,
|
||||
UserDetail,
|
||||
@@ -300,7 +300,7 @@ export const api = rejectingSync({
|
||||
me: () => request<Identity>("GET", "/me"),
|
||||
|
||||
myServers: () =>
|
||||
request<{ servers: ServerInfo[] }>("GET", "/me/servers").then((r) => r.servers ?? []),
|
||||
request<{ servers: MyServerView[] }>("GET", "/me/servers").then((r) => r.servers ?? []),
|
||||
|
||||
// fleet is the SysAdmin cockpit's fleet-wide read (admin-tier GET /fleet): every
|
||||
// server's CRD lifecycle view plus its owner. It 403s for a non-admin principal —
|
||||
|
||||
Reference in new issue
Block a user