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:
parent
3456657ae5
commit
22553e5c89
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user