From a6c5d5b65b8a0a55aa28a75a3726dbccd3dacbc6 Mon Sep 17 00:00:00 2001 From: Mamalizz Date: Fri, 28 Feb 2025 23:12:51 +0330 Subject: [PATCH] added ticket status types --- frontend/types/global.d.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/frontend/types/global.d.ts b/frontend/types/global.d.ts index 10f0cb4..7abb872 100644 --- a/frontend/types/global.d.ts +++ b/frontend/types/global.d.ts @@ -189,6 +189,7 @@ declare global { type TicketMessage = { id: number; + is_user: boolean; content: string; created_at: string; attachments: ServerFile[]; @@ -199,7 +200,7 @@ declare global { messages: TicketMessage[]; subject: string; ticket_category: string; - status: string; + status: "در انتظار پاسخ" | "پاسخ داده شده" | "بسته شده"; created_at: string; updated_at: string; order: Order;