mirror of
https://github.com/morluto/rea.git
synced 2026-12-06 18:05:38 +08:00
refactor(evidence): share bundle inspection option types (#16509)
This commit is contained in:
@@ -29,7 +29,6 @@ import {
|
||||
evidenceBundleExportReceipt,
|
||||
} from "./EvidenceBundleFiles.js";
|
||||
import { inspectEvidenceBundle } from "./investigation/InspectEvidenceBundle.js";
|
||||
import type { EvidenceRecordFilters } from "../domain/evidenceRecordSummary.js";
|
||||
import {
|
||||
finalizedResult,
|
||||
runOwned,
|
||||
@@ -261,15 +260,8 @@ const projectWrite = (
|
||||
|
||||
/** Standalone bundle discovery shares the same read owner as import and comparison. */
|
||||
export const inspectEvidenceBundleCommand = async (
|
||||
input: {
|
||||
input: Parameters<typeof inspectEvidenceBundle>[1] & {
|
||||
readonly path: string;
|
||||
readonly detail: "complete" | "summary" | "records" | "links";
|
||||
readonly filters?: EvidenceRecordFilters | undefined;
|
||||
readonly offset?: number | undefined;
|
||||
readonly limit?: number | undefined;
|
||||
readonly traversal?: "direct" | "retained-closure" | undefined;
|
||||
readonly linked_evidence_id?: string | undefined;
|
||||
readonly link_status?: "missing" | "retained" | "all" | undefined;
|
||||
},
|
||||
signal?: AbortSignal,
|
||||
) => {
|
||||
|
||||
Reference in New Issue
Block a user