refactor(commands): hide doctor repair helper types

This commit is contained in:
Vincent Koc
2026-06-17 11:46:15 +08:00
parent d2bf67f4b7
commit ee2d4e1f79
4 changed files with 4 additions and 5 deletions

View File

@@ -73,7 +73,7 @@ type RawAuthProfileImportStore = {
order?: Record<string, string[]>;
};
export type LegacyFlatAuthProfileRepairResult = {
type LegacyFlatAuthProfileRepairResult = {
detected: string[];
changes: string[];
configChanged?: boolean;

View File

@@ -45,7 +45,7 @@ type LegacyOAuthUnreferencedSidecar = {
sidecarPath: string;
};
export type LegacyOAuthSidecarRepairResult = {
type LegacyOAuthSidecarRepairResult = {
detected: string[];
changes: string[];
warnings: string[];
@@ -334,4 +334,3 @@ export const testing = {
buildLegacyOAuthSecretAad: legacyOAuthSidecarTestUtils.buildLegacyOAuthSecretAad,
buildLegacyOAuthSecretKey: legacyOAuthSidecarTestUtils.buildLegacyOAuthSecretKey,
};
export { testing as __testing };

View File

@@ -16,7 +16,7 @@ const AUTH_PROFILE_MODES = new Set<AuthProfileConfig["mode"]>([
"token",
]);
export type AuthProfileConfigProtectionResult = {
type AuthProfileConfigProtectionResult = {
config: OpenClawConfig;
repairs: string[];
warnings: string[];

View File

@@ -21,7 +21,7 @@ type BrowserDoctorDeps = {
pathExists?: (targetPath: string) => boolean;
};
export type BrowserDoctorRepairDeps = {
type BrowserDoctorRepairDeps = {
env?: NodeJS.ProcessEnv;
configDir?: string;
pathExists?: (targetPath: string) => boolean;