(sessionId: string, hints: Hint[])
| 101 | } |
| 102 | |
| 103 | async updateHints(sessionId: string, hints: Hint[]): Promise<Hint[]> { |
| 104 | const session = this.getOrCreateSession(sessionId); |
| 105 | session.hints = hints.map(h => ({ ...h })); |
| 106 | return session.hints; |
| 107 | } |
| 108 | } |
| 109 | |
| 110 | export const storage = new MemStorage(); |
nothing calls this directly
no test coverage detected