(
req: FastifyRequest<{ Params: { projectId?: string }; Querystring: z.infer<typeof zProfilesQuery> }>,
reply: FastifyReply
)
| 522 | }); |
| 523 | |
| 524 | export async function findProfiles( |
| 525 | req: FastifyRequest<{ Params: { projectId?: string }; Querystring: z.infer<typeof zProfilesQuery> }>, |
| 526 | reply: FastifyReply |
| 527 | ) { |
| 528 | const projectId = await getProjectId(req as RequestWithProjectParam); |
| 529 | return reply.send(await findProfilesCore({ projectId, ...req.query })); |
| 530 | } |
| 531 | |
| 532 | export const zGetProfileQuery = z.object({ eventLimit: z.number().int().min(1).max(100).default(20) }); |
| 533 |
nothing calls this directly
no test coverage detected