refactor: trim command helper type exports

This commit is contained in:
Peter Steinberger
2026-05-02 00:57:18 +01:00
parent 2be441062d
commit b37234ff4e
5 changed files with 7 additions and 7 deletions

View File

@@ -19,7 +19,7 @@ type ProviderAccountStatus = {
visibleInConfiguredLists?: boolean;
};
export type ProviderSummaryMetadata = {
type ProviderSummaryMetadata = {
label: string;
defaultAccountId: string;
visibleInConfiguredLists: boolean;

View File

@@ -5,7 +5,7 @@ import type { OpenClawConfig } from "../config/types.openclaw.js";
import { formatErrorMessage } from "../infra/errors.js";
import { isRecord } from "../utils.js";
export type ChannelDefaultAccountContext = {
type ChannelDefaultAccountContext = {
accountIds: string[];
defaultAccountId: string;
account: unknown;
@@ -19,7 +19,7 @@ export type ChannelDefaultAccountContext = {
degraded: boolean;
};
export type ChannelAccountContextMode = "strict" | "read_only";
type ChannelAccountContextMode = "strict" | "read_only";
function getBooleanField(value: unknown, key: string): boolean | undefined {
const record = isRecord(value) ? value : null;

View File

@@ -5,12 +5,12 @@ import type { OpenClawConfig } from "../config/types.openclaw.js";
import type { RuntimeEnv } from "../runtime.js";
import { resolveHomeDir, resolveUserPath, shortenHomeInString } from "../utils.js";
export type RemovalResult = {
type RemovalResult = {
ok: boolean;
skipped?: boolean;
};
export type CleanupResolvedPaths = {
type CleanupResolvedPaths = {
stateDir: string;
configPath: string;
oauthDir: string;

View File

@@ -15,7 +15,7 @@ import {
formatTrajectoryCommandExportSummary,
} from "../trajectory/command-export.js";
export type ExportTrajectoryCommandOptions = {
type ExportTrajectoryCommandOptions = {
sessionKey?: string;
output?: string;
store?: string;

View File

@@ -2,7 +2,7 @@ import type { AuthChoice, OnboardOptions } from "./onboard-types.js";
type OnboardCoreAuthOptionKey = Extract<keyof OnboardOptions, string>;
export type OnboardCoreAuthFlag = {
type OnboardCoreAuthFlag = {
optionKey: OnboardCoreAuthOptionKey;
authChoice: AuthChoice;
cliFlag: `--${string}`;