(
req: FastifyRequest<{ Params: { projectId?: string }; Querystring: z.infer<typeof zEventsQuery> }>,
reply: FastifyReply
)
| 467 | }); |
| 468 | |
| 469 | export async function queryEvents( |
| 470 | req: FastifyRequest<{ Params: { projectId?: string }; Querystring: z.infer<typeof zEventsQuery> }>, |
| 471 | reply: FastifyReply |
| 472 | ) { |
| 473 | const projectId = await getProjectId(req as RequestWithProjectParam); |
| 474 | return reply.send(await queryEventsCore({ projectId, ...req.query })); |
| 475 | } |
| 476 | |
| 477 | export async function listEventNames( |
| 478 | req: FastifyRequest<{ Params: { projectId?: string } }>, |
nothing calls this directly
no test coverage detected