Trace fillInMissingIDs

This commit is contained in:
Rory&
2026-05-22 22:38:12 +02:00
parent 6dda5bd401
commit 1fa3d392fa
2 changed files with 52 additions and 30 deletions
+3 -1
View File
@@ -153,7 +153,9 @@ export interface ReadyEventData {
_trace?: string[]; // trace of the request, used for debugging
}
export type TraceNode = { micros: number; calls: TraceNode[] } | { micros: number } | string;
export type TraceValue = { micros: number };
export type TraceSubTree = { micros: number; calls: TraceNode[] };
export type TraceNode = TraceSubTree | TraceValue | string;
export type TraceRoot = [string, { micros: number; calls: TraceNode[] }];