(
req: FastifyRequest<{ Params: { projectId?: string }; Querystring: z.infer<typeof zUserFlowQuery> }>,
reply: FastifyReply
)
| 429 | }); |
| 430 | |
| 431 | export async function getUserFlow( |
| 432 | req: FastifyRequest<{ Params: { projectId?: string }; Querystring: z.infer<typeof zUserFlowQuery> }>, |
| 433 | reply: FastifyReply |
| 434 | ) { |
| 435 | const projectId = await getProjectId(req as RequestWithProjectParam); |
| 436 | const { startDate, endDate } = await resolveDates(projectId, req.query); |
| 437 | return reply.send(await getUserFlowCore({ projectId, startDate, endDate, ...req.query })); |
| 438 | } |
| 439 | |
| 440 | export async function getEngagement( |
| 441 | req: FastifyRequest<{ Params: { projectId?: string } }>, |
nothing calls this directly
no test coverage detected