From dd57b6eadcd7782eb998c07a753350d181f1b654 Mon Sep 17 00:00:00 2001 From: Mamalizz Date: Sun, 25 May 2025 00:20:13 +0330 Subject: [PATCH] added notification type --- frontend/types/global.d.ts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/frontend/types/global.d.ts b/frontend/types/global.d.ts index 76a4f15..f98539f 100644 --- a/frontend/types/global.d.ts +++ b/frontend/types/global.d.ts @@ -287,4 +287,12 @@ declare global { status_detail: string | null; }; }; + + type Notification = { + title: string; + content: string; + created_at: string; + notif_type: "NEWS" | "USER_NOTIF"; + is_read?: string; + }; }