mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 05:20:43 +00:00
refactor: trim cli helper type exports
This commit is contained in:
@@ -3,7 +3,7 @@ import { formatErrorMessage } from "../infra/errors.js";
|
||||
|
||||
export { formatErrorMessage };
|
||||
|
||||
export type ManagerLookupResult<T> = {
|
||||
type ManagerLookupResult<T> = {
|
||||
manager: T | null;
|
||||
error?: string;
|
||||
};
|
||||
|
||||
@@ -39,7 +39,7 @@ type CommandSecretResolutionModeInput =
|
||||
| CommandSecretResolutionMode
|
||||
| LegacyCommandSecretResolutionMode;
|
||||
|
||||
export type CommandSecretTargetState =
|
||||
type CommandSecretTargetState =
|
||||
| "resolved_gateway"
|
||||
| "resolved_local"
|
||||
| "inactive_surface"
|
||||
|
||||
@@ -16,7 +16,7 @@ export type NativeHookRelayCliOptions = {
|
||||
timeout?: string;
|
||||
};
|
||||
|
||||
export type NativeHookRelayCliDeps = {
|
||||
type NativeHookRelayCliDeps = {
|
||||
stdin?: NodeJS.ReadableStream;
|
||||
stdout?: NodeJS.WritableStream;
|
||||
stderr?: NodeJS.WritableStream;
|
||||
|
||||
@@ -2,7 +2,7 @@ import * as path from "node:path";
|
||||
import { resolveCliName } from "./cli-name.js";
|
||||
import { asRecord, asString, resolveTempPathParts } from "./nodes-media-utils.js";
|
||||
|
||||
export type CanvasSnapshotPayload = {
|
||||
type CanvasSnapshotPayload = {
|
||||
format: string;
|
||||
base64: string;
|
||||
};
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { theme } from "../terminal/theme.js";
|
||||
|
||||
export type PluginUpdateCliOutcome = {
|
||||
type PluginUpdateCliOutcome = {
|
||||
status: string;
|
||||
message: string;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user