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;