diff --git a/src/application/InventoryProjectionEvidence.ts b/src/application/InventoryProjectionEvidence.ts
index eefc4a9d92..d027febb57 100644
--- a/src/application/InventoryProjectionEvidence.ts
+++ b/src/application/InventoryProjectionEvidence.ts
@@ -9,6 +9,7 @@ import {
type EvidenceSubjectTarget,
} from "../domain/evidence.js";
import { jsonValueSchema } from "../domain/jsonValue.js";
+import type { MobileApplicationProjectionWithSources } from "../domain/mobileApplicationGraphProjection.js";
import { err, ok, type Result } from "../domain/result.js";
import { requestInputError, workflowInputError } from "./workflowInputError.js";
@@ -23,13 +24,20 @@ interface InventoryProjectionResult {
readonly limitations: readonly string[];
}
+export interface InventoryProjectionEvidenceResult {
+ readonly evidence: Evidence;
+ readonly sources: readonly Evidence[];
+}
+
interface InventoryProjectionOptions<
Input extends InventoryProjectionInput,
Output extends InventoryProjectionResult,
> {
readonly rawInput: unknown;
readonly schema: z.ZodType;
- readonly project: (input: Input) => Output;
+ readonly project: (
+ input: Input,
+ ) => MobileApplicationProjectionWithSources