mirror of
https://github.com/openclaw/openclaw.git
synced 2026-06-25 05:29:34 +00:00
refactor(commands): hide doctor repair helper types
This commit is contained in:
@@ -73,7 +73,7 @@ type RawAuthProfileImportStore = {
|
||||
order?: Record<string, string[]>;
|
||||
};
|
||||
|
||||
export type LegacyFlatAuthProfileRepairResult = {
|
||||
type LegacyFlatAuthProfileRepairResult = {
|
||||
detected: string[];
|
||||
changes: string[];
|
||||
configChanged?: boolean;
|
||||
|
||||
@@ -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 };
|
||||
|
||||
@@ -16,7 +16,7 @@ const AUTH_PROFILE_MODES = new Set<AuthProfileConfig["mode"]>([
|
||||
"token",
|
||||
]);
|
||||
|
||||
export type AuthProfileConfigProtectionResult = {
|
||||
type AuthProfileConfigProtectionResult = {
|
||||
config: OpenClawConfig;
|
||||
repairs: string[];
|
||||
warnings: string[];
|
||||
|
||||
@@ -21,7 +21,7 @@ type BrowserDoctorDeps = {
|
||||
pathExists?: (targetPath: string) => boolean;
|
||||
};
|
||||
|
||||
export type BrowserDoctorRepairDeps = {
|
||||
type BrowserDoctorRepairDeps = {
|
||||
env?: NodeJS.ProcessEnv;
|
||||
configDir?: string;
|
||||
pathExists?: (targetPath: string) => boolean;
|
||||
|
||||
Reference in New Issue
Block a user