(sessionId: string)
| 9 | const EXPORT_MESSAGE_LIMIT = 100_000 |
| 10 | |
| 11 | async function ensureSession(sessionId: string) { |
| 12 | const session = await worker.getSession(sessionId) |
| 13 | if (!session) throw sessionNotFound(sessionId) |
| 14 | return session |
| 15 | } |
| 16 | |
| 17 | export function registerSessionRoutes(server: FastifyInstance): void { |
| 18 | // GET /api/v1/sessions — List all sessions |
no test coverage detected