fix: add ticket statistics properties to User type

Added optional ticketsCount, pendingTickets, and claimedTickets properties
to User interface to fix TypeScript build error in user details page. These
properties are populated by the getUserById API endpoint.

Fixes: TypeScript compilation error preventing deployment

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
soufiane 2025-11-19 15:27:18 +01:00
parent 3456657ae5
commit 22553e5c89

View File

@ -14,6 +14,10 @@ export interface User {
isVerified: boolean;
createdAt: string;
updatedAt?: string;
// Ticket statistics (populated in getUserById)
ticketsCount?: number;
pendingTickets?: number;
claimedTickets?: number;
}
// Auth Types