refactor(workflow): reuse composed observation typing (#17039)

This commit is contained in:
Vincent Koc authored and GitHub committed 2026-12-05 18:59:54 +08:00
1 parent ca665ed83f
commit 6f8b1d3548
1 file changed
+1 -6
+1 -6
View File
@@ -391,12 +391,7 @@ export const retainComposedWorkflowSources = (
admitRecovery: RecoveryAdmission = (input, operation, additional) =>
admitInvestigationAuthentication(input, operation, {}, additional),
): ReturnType<
typeof retainAnalysisResultSources<{
readonly result: JsonValue;
readonly limitations: readonly string[];
readonly cachePolicy?: "live";
readonly evidenceLinks?: readonly string[];
}>
typeof retainAnalysisResultSources<Readonly<ComposedWorkflowObservation>>
> => {
const retained = retainAnalysisResultSources(
evidenceInput.operation,