(id: string)
| 95 | }, |
| 96 | |
| 97 | getSessionWithAnnotations(id: string): SessionWithAnnotations | undefined { |
| 98 | const session = sessions.get(id); |
| 99 | if (!session) return undefined; |
| 100 | |
| 101 | const sessionAnnotations = Array.from(annotations.values()).filter( |
| 102 | (a) => a.sessionId === id |
| 103 | ); |
| 104 | |
| 105 | return { |
| 106 | ...session, |
| 107 | annotations: sessionAnnotations, |
| 108 | }; |
| 109 | }, |
| 110 | |
| 111 | updateSessionStatus(id: string, status: SessionStatus): Session | undefined { |
| 112 | const session = sessions.get(id); |
no test coverage detected
searching dependent graphs…