mirror of
https://github.com/morluto/rea
synced 2026-10-27 06:33:32 -04:00
d1235fadc9
Validation: integrated changes passed formatting, typecheck, lint, resolved module-boundary verification and git diff --check. Tests and real-provider workflows were not run.
17 lines
597 B
TypeScript
17 lines
597 B
TypeScript
import type { AnalysisError } from "../../domain/analysisErrorBase.js";
|
|
import type { JavaScriptRecoveryInput } from "../../domain/javascript/javascriptRecovery.js";
|
|
import type { Result } from "../../domain/result.js";
|
|
import type {
|
|
AnalysisExecution,
|
|
ExecutionOptions,
|
|
} from "../AnalysisProvider.js";
|
|
|
|
/** Typed boundary for upstream source recovery without exposing its protocol. */
|
|
export interface JavaScriptRecoveryPort {
|
|
close?(): Promise<void>;
|
|
recover(
|
|
input: JavaScriptRecoveryInput,
|
|
options?: ExecutionOptions,
|
|
): Promise<Result<AnalysisExecution, AnalysisError>>;
|
|
}
|