summary refs log tree commit diff
path: root/src/util/interfaces/Event.ts
diff options
context:
space:
mode:
authorRory& <root@rory.gay>2026-05-22 22:38:12 +0200
committerRory& <root@rory.gay>2026-05-26 07:48:10 +0200
commit1fa3d392fa01dc1cc7d208521bd83e97e833136d (patch)
treea87a350ce668e0b9f9880ea9a00020591dc357a9 /src/util/interfaces/Event.ts
parentBulk insert missing ReadStates (diff)
downloadserver-ts-1fa3d392fa01dc1cc7d208521bd83e97e833136d.tar.xz
Trace fillInMissingIDs
Diffstat (limited to 'src/util/interfaces/Event.ts')
-rw-r--r--src/util/interfaces/Event.ts4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/util/interfaces/Event.ts b/src/util/interfaces/Event.ts

index 087f0a59..6152f70a 100644 --- a/src/util/interfaces/Event.ts +++ b/src/util/interfaces/Event.ts
@@ -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[] }];