refactor: trim cli helper type exports · openclaw/openclaw@900e21f
steipete
·
2026-05-02
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -3,7 +3,7 @@ import { formatErrorMessage } from "../infra/errors.js";
|
3 | 3 | |
4 | 4 | export { formatErrorMessage }; |
5 | 5 | |
6 | | -export type ManagerLookupResult<T> = { |
| 6 | +type ManagerLookupResult<T> = { |
7 | 7 | manager: T | null; |
8 | 8 | error?: string; |
9 | 9 | }; |
|
| Original file line number | Diff line number | Diff line change |
|---|
@@ -39,7 +39,7 @@ type CommandSecretResolutionModeInput =
|
39 | 39 | | CommandSecretResolutionMode |
40 | 40 | | LegacyCommandSecretResolutionMode; |
41 | 41 | |
42 | | -export type CommandSecretTargetState = |
| 42 | +type CommandSecretTargetState = |
43 | 43 | | "resolved_gateway" |
44 | 44 | | "resolved_local" |
45 | 45 | | "inactive_surface" |
|
| Original file line number | Diff line number | Diff line change |
|---|
@@ -16,7 +16,7 @@ export type NativeHookRelayCliOptions = {
|
16 | 16 | timeout?: string; |
17 | 17 | }; |
18 | 18 | |
19 | | -export type NativeHookRelayCliDeps = { |
| 19 | +type NativeHookRelayCliDeps = { |
20 | 20 | stdin?: NodeJS.ReadableStream; |
21 | 21 | stdout?: NodeJS.WritableStream; |
22 | 22 | stderr?: NodeJS.WritableStream; |
|
| Original file line number | Diff line number | Diff line change |
|---|
@@ -2,7 +2,7 @@ import * as path from "node:path";
|
2 | 2 | import { resolveCliName } from "./cli-name.js"; |
3 | 3 | import { asRecord, asString, resolveTempPathParts } from "./nodes-media-utils.js"; |
4 | 4 | |
5 | | -export type CanvasSnapshotPayload = { |
| 5 | +type CanvasSnapshotPayload = { |
6 | 6 | format: string; |
7 | 7 | base64: string; |
8 | 8 | }; |
|
| Original file line number | Diff line number | Diff line change |
|---|
|
1 | 1 | import { theme } from "../terminal/theme.js"; |
2 | 2 | |
3 | | -export type PluginUpdateCliOutcome = { |
| 3 | +type PluginUpdateCliOutcome = { |
4 | 4 | status: string; |
5 | 5 | message: string; |
6 | 6 | }; |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。