← Files NGS Analysis WorkbenchARCHIVED FILE
src/report/types.ts
868 Bytes · Sep 30, 2026 · 23:20 UTC
export type ReportTone = "neutral" | "success" | "warning" | "danger";
export interface ReportMetric {
label: string;
value: string;
detail?: string;
tone?: ReportTone;
}
export interface ReportArtifact {
id: string;
title: string;
path?: string;
openUrl?: string;
kind: string;
status: "created" | "not_available" | "blocked";
description: string;
size?: string;
}
export interface AnalysisReportData {
title: string;
description: string;
summary: string;
completedAt: string;
duration?: string;
runDirectory: string;
artifactCount: number;
artifactCountTruncated?: boolean;
metrics: ReportMetric[];
warnings: string[];
entries: ReportArtifact[];
notes: string[];
provenance: Array<{ label: string; value: string }>;
sources: ReportSource[];
}
export interface ReportSource {
label: string;
path: string;
}
SHA-256: e31d27fbe194fda76052e8a4a3962da07976a57c8dd6c96fca18bdecee45f54d