From 900e21fb1ac6c8c3212dd241db8bfad57c2c717d Mon Sep 17 00:00:00 2001 From: Peter Steinberger Date: Sat, 2 May 2026 00:55:03 +0100 Subject: [PATCH] refactor: trim cli helper type exports --- src/cli/cli-utils.ts | 2 +- src/cli/command-secret-gateway.ts | 2 +- src/cli/native-hook-relay-cli.ts | 2 +- src/cli/nodes-canvas.ts | 2 +- src/cli/plugins-update-outcomes.ts | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/cli/cli-utils.ts b/src/cli/cli-utils.ts index c759223ea2d..f2309e00d77 100644 --- a/src/cli/cli-utils.ts +++ b/src/cli/cli-utils.ts @@ -3,7 +3,7 @@ import { formatErrorMessage } from "../infra/errors.js"; export { formatErrorMessage }; -export type ManagerLookupResult = { +type ManagerLookupResult = { manager: T | null; error?: string; }; diff --git a/src/cli/command-secret-gateway.ts b/src/cli/command-secret-gateway.ts index bb6726f63cc..21ab06e1b41 100644 --- a/src/cli/command-secret-gateway.ts +++ b/src/cli/command-secret-gateway.ts @@ -39,7 +39,7 @@ type CommandSecretResolutionModeInput = | CommandSecretResolutionMode | LegacyCommandSecretResolutionMode; -export type CommandSecretTargetState = +type CommandSecretTargetState = | "resolved_gateway" | "resolved_local" | "inactive_surface" diff --git a/src/cli/native-hook-relay-cli.ts b/src/cli/native-hook-relay-cli.ts index 62b3094ed73..37ed8e34790 100644 --- a/src/cli/native-hook-relay-cli.ts +++ b/src/cli/native-hook-relay-cli.ts @@ -16,7 +16,7 @@ export type NativeHookRelayCliOptions = { timeout?: string; }; -export type NativeHookRelayCliDeps = { +type NativeHookRelayCliDeps = { stdin?: NodeJS.ReadableStream; stdout?: NodeJS.WritableStream; stderr?: NodeJS.WritableStream; diff --git a/src/cli/nodes-canvas.ts b/src/cli/nodes-canvas.ts index 78c7a030299..25e8bd91f59 100644 --- a/src/cli/nodes-canvas.ts +++ b/src/cli/nodes-canvas.ts @@ -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; }; diff --git a/src/cli/plugins-update-outcomes.ts b/src/cli/plugins-update-outcomes.ts index 699fbf4e51c..9cf057d25df 100644 --- a/src/cli/plugins-update-outcomes.ts +++ b/src/cli/plugins-update-outcomes.ts @@ -1,6 +1,6 @@ import { theme } from "../terminal/theme.js"; -export type PluginUpdateCliOutcome = { +type PluginUpdateCliOutcome = { status: string; message: string; };