




















@@ -71,7 +71,7 @@ type DiagnosticSessionFileSummary = {
7171mtimeMs: number;
7272};
737374-export type DiagnosticMemoryPressureBundleEvidence = {
74+type DiagnosticMemoryPressureBundleEvidence = {
7575level: DiagnosticMemoryPressureEvent["level"];
7676reason: DiagnosticMemoryPressureEvent["reason"];
7777memory: DiagnosticMemoryUsage;
@@ -85,7 +85,7 @@ export type DiagnosticMemoryPressureBundleEvidence = {
8585topSessionFiles?: DiagnosticSessionFileSummary[];
8686};
878788-export type DiagnosticStabilityBundleEvidence = {
88+type DiagnosticStabilityBundleEvidence = {
8989memoryPressure?: DiagnosticMemoryPressureBundleEvidence;
9090};
9191@@ -134,7 +134,7 @@ type DiagnosticStabilityBundleLocationOptions = {
134134stateDir?: string;
135135};
136136137-export type DiagnosticStabilityBundleFile = {
137+type DiagnosticStabilityBundleFile = {
138138path: string;
139139mtimeMs: number;
140140};
@@ -144,17 +144,17 @@ export type ReadDiagnosticStabilityBundleResult =
144144| { status: "missing"; dir: string }
145145| { status: "failed"; path?: string; error: unknown };
146146147-export type DiagnosticStabilityBundleFailureWriteOutcome =
147+type DiagnosticStabilityBundleFailureWriteOutcome =
148148| { status: "written"; message: string; path: string }
149149| { status: "failed"; message: string; error: unknown }
150150| { status: "skipped"; reason: "empty" };
151151152-export type WriteDiagnosticStabilityBundleForFailureOptions = Omit<
152+type WriteDiagnosticStabilityBundleForFailureOptions = Omit<
153153WriteDiagnosticStabilityBundleOptions,
154154"error" | "includeEmpty" | "reason"
155155>;
156156157-export type WriteDiagnosticMemoryPressureBundleOptions = Omit<
157+type WriteDiagnosticMemoryPressureBundleOptions = Omit<
158158WriteDiagnosticStabilityBundleOptions,
159159"reason" | "error" | "evidence" | "includeEmpty"
160160> & {
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。