diff --git a/src/rdmErrors.ts b/src/rdmErrors.ts index d03ff86..b71d65e 100644 --- a/src/rdmErrors.ts +++ b/src/rdmErrors.ts @@ -5,9 +5,9 @@ // 400 + "unknown or disabled command"(cmdbus.go Dispatch),总线未挂载回 // 503 "commands disabled"(server.go execCommand)。 -export type RdmErrorKind = 'capability' | 'auth' | 'query' +type RdmErrorKind = 'capability' | 'auth' | 'query' -export interface RdmErrorView { +interface RdmErrorView { kind: RdmErrorKind message: string raw: string diff --git a/src/workspaces.ts b/src/workspaces.ts index 5ec5280..e455f24 100644 --- a/src/workspaces.ts +++ b/src/workspaces.ts @@ -49,7 +49,7 @@ function shortcutNum(raw?: string): number | null { return n >= 1 && n <= 9 ? n : null } -export interface BuildWorkspaceOptions { +interface BuildWorkspaceOptions { /** rdm.inspect.* 命令面探测通过(store.rdmAuditAvailable)。默认 false:能力未知/缺失不展示审计入口。 */ rdmAudit?: boolean }