From 22553e5c898b78263888fae18108cf7de29b5e72 Mon Sep 17 00:00:00 2001 From: soufiane Date: Wed, 19 Nov 2025 15:27:18 +0100 Subject: [PATCH] fix: add ticket statistics properties to User type MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- types/index.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/types/index.ts b/types/index.ts index 811c095..b1004a6 100644 --- a/types/index.ts +++ b/types/index.ts @@ -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