(
req: FastifyRequest<{ Params: { projectId?: string }; Querystring: z.infer<typeof zGroupsQuery> }>,
reply: FastifyReply
)
| 606 | }); |
| 607 | |
| 608 | export async function findGroups( |
| 609 | req: FastifyRequest<{ Params: { projectId?: string }; Querystring: z.infer<typeof zGroupsQuery> }>, |
| 610 | reply: FastifyReply |
| 611 | ) { |
| 612 | const projectId = await getProjectId(req as RequestWithProjectParam); |
| 613 | return reply.send(await findGroupsCore({ projectId, ...req.query })); |
| 614 | } |
| 615 | |
| 616 | export const zGetGroupQuery = z.object({ memberLimit: z.number().int().min(1).max(50).default(10) }); |
| 617 |
nothing calls this directly
no test coverage detected