fix: signing volume query (#1753)

This pull request updates the implementation of the admin leaderboard,
enhancing data handling and improving type safety. It introduces clearer
differentiation between users and teams, adds additional fields to track
more relevant information, and refactors the querying logic to optimize
performance and maintainability.
This commit is contained in:
Ephraim Duncan
2025-04-24 06:14:38 +00:00
committed by GitHub
parent 6540291055
commit f0dcf7e9bf
3 changed files with 195 additions and 85 deletions

View File

@ -14,9 +14,13 @@ import { Input } from '@documenso/ui/primitives/input';
export type SigningVolume = {
id: number;
name: string;
email: string;
signingVolume: number;
createdAt: Date;
planId: string;
userId?: number | null;
teamId?: number | null;
isTeam: boolean;
};
type LeaderboardTableProps = {