(
req: FastifyRequest<{
Params: { projectId?: string };
Querystring: z.infer<typeof zActiveUsersQuery>;
}>,
reply: FastifyReply
)
| 186 | }); |
| 187 | |
| 188 | export async function getActiveUsers( |
| 189 | req: FastifyRequest<{ |
| 190 | Params: { projectId?: string }; |
| 191 | Querystring: z.infer<typeof zActiveUsersQuery>; |
| 192 | }>, |
| 193 | reply: FastifyReply |
| 194 | ) { |
| 195 | const projectId = await getProjectId(req as RequestWithProjectParam); |
| 196 | return reply.send(await getRollingActiveUsersCore({ projectId, days: req.query.days })); |
| 197 | } |
| 198 | |
| 199 | // --------------------------------------------------------------------------- |
| 200 | // Analytics — retention |
nothing calls this directly
no test coverage detected