mirror of
https://github.com/morluto/rea.git
synced 2026-12-06 14:59:05 +00:00
refactor(workflow): reuse composed observation typing (#17039)
This commit is contained in:
1 parent
ca665ed83f
commit
6f8b1d3548
1 file changed
+1
-6
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user