feat: add monthly export statistics aggregation for user activity reports
Implement a new aggregation pipeline in the statistics module that groups export events by month and user ID, enabling generation of monthly activity reports for the admin dashboard. The change includes a new `getMonthlyExportStats` function that queries the exports collection with a date range filter and returns aggregated counts per user.
This commit is contained in:
Vendored
BIN
Binary file not shown.
Vendored
BIN
Binary file not shown.
Reference in New Issue
Block a user