refactor: trim gateway transcript helpers

This commit is contained in:
Peter Steinberger
2026-05-02 04:13:33 +01:00
parent 9fdcc03ff8
commit 9a814bcec2
2 changed files with 2 additions and 6 deletions

View File

@@ -28,7 +28,7 @@ export type CapturedCompactionCheckpointSnapshot = {
leafId: string;
};
export type ForkedCompactionCheckpointTranscript = {
type ForkedCompactionCheckpointTranscript = {
sessionId: string;
sessionFile: string;
};

View File

@@ -14,7 +14,7 @@ export type IndexedTranscriptEntry = {
record: ParsedTranscriptRecord;
};
export type SessionTranscriptIndex = {
type SessionTranscriptIndex = {
filePath: string;
mtimeMs: number;
size: number;
@@ -64,10 +64,6 @@ function setCachedIndex(filePath: string, entry: CacheEntry): void {
}
}
export function invalidateSessionTranscriptIndex(filePath: string): void {
transcriptIndexCache.delete(filePath);
}
export function clearSessionTranscriptIndexCache(): void {
transcriptIndexCache.clear();
}