feat: add monthly export statistics aggregation for admin dashboard
The change introduces a new aggregation pipeline in the statistics module that computes monthly export counts grouped by file format and user role. It adds a `getMonthlyExportStats` function to the admin service, which queries the exports collection with a date range filter and returns structured data for the dashboard chart component. The function handles edge cases for empty result sets by returning a default zero-count object.
This commit is contained in:
Vendored
BIN
Binary file not shown.
Vendored
BIN
Binary file not shown.
Reference in New Issue
Block a user