moar unit test !
All checks were successful
Deploy to Web Server flyer-crawler.projectium.com / deploy (push) Successful in 6m42s

This commit is contained in:
2025-12-08 10:06:13 -08:00
parent 66a2585efc
commit e022a4a2cc
19 changed files with 1486 additions and 105 deletions

View File

@@ -831,4 +831,17 @@ export interface LeaderboardUser {
avatar_url: string | null;
points: number;
rank: string; // RANK() returns a bigint, which the pg driver returns as a string.
}
/**
* Defines the shape of the user data returned for the admin user list.
* This is a public-facing type and does not include sensitive fields.
*/
export interface AdminUserView {
user_id: string;
email: string;
created_at: string;
role: 'admin' | 'user';
full_name: string | null;
avatar_url: string | null;
}