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:
bot
2024-12-17 10:49:35 +00:00
parent cda51c5ae9
commit 932a44dcfb
3 changed files with 5 additions and 0 deletions
Binary file not shown.
BIN
View File
Binary file not shown.