20 lines
564 B
TypeScript
20 lines
564 B
TypeScript
/**
|
|
|
|
* Overview controller — HTTP handler for the admin dashboard aggregate statistics.
|
|
|
|
* Delegates to [overviewService].
|
|
|
|
*/
|
|
import { Response } from 'express';
|
|
import { AuthRequest } from '../middleware/auth';
|
|
/**
|
|
|
|
* Returns aggregate user counts and platform flags for the admin overview dashboard.
|
|
|
|
* @param req - Authenticated admin request.
|
|
|
|
* @param res - JSON overview object on success, 500 on failure.
|
|
|
|
*/
|
|
export declare function getAdminOverview(req: AuthRequest, res: Response): Promise<void>;
|
|
//# sourceMappingURL=overviewController.d.ts.map
|