feat(stats): enhance admin and user statistics with additional metrics for revenue and user count

This commit is contained in:
2026-03-10 23:37:49 +08:00
parent 56bfdb4614
commit 984274bfb7
3 changed files with 318 additions and 84 deletions

View File

@@ -24,6 +24,9 @@ export type Stats = {
activeTransactions: number;
totalIdTags: number;
todayEnergyWh: number;
todayRevenue: number;
totalUsers: number;
todayTransactions: number;
};
export type UserStats = {
@@ -31,6 +34,8 @@ export type UserStats = {
totalBalance: number;
activeTransactions: number;
totalTransactions: number;
todayEnergyWh: number;
todayTransactions: number;
};
export type ConnectorSummary = {