From 269b691658bef9783c378cb74e40a1a29f94f572 Mon Sep 17 00:00:00 2001 From: abg3000 Date: Sat, 14 Sep 2024 02:45:22 +0900 Subject: [PATCH] =?UTF-8?q?feat:=20=EC=95=8C=EB=A6=BC=20=ED=83=80=EC=9E=85?= =?UTF-8?q?=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/home/common/apis/schema/Notification.schema.ts | 7 ++++++- .../notification/containers/AlarmListContainer.tsx | 3 ++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/packages/web-domains/src/home/common/apis/schema/Notification.schema.ts b/packages/web-domains/src/home/common/apis/schema/Notification.schema.ts index 4e1147bb..7e3b86c4 100644 --- a/packages/web-domains/src/home/common/apis/schema/Notification.schema.ts +++ b/packages/web-domains/src/home/common/apis/schema/Notification.schema.ts @@ -3,7 +3,12 @@ export type NotificationType = { eventType: NotificationEventType; }; -export type NotificationEventType = 'QUESTION_REGISTERED' | 'TARGET_MEMBER' | 'HAND_WAVING_REQUESTED'; +export type NotificationEventType = + | 'QUESTION_REGISTERED' + | 'TARGET_MEMBER' + | 'HAND_WAVING_REQUESTED' + | 'HAND_WAVING_REJECTED' + | 'HAND_WAVING_ACCEPTED'; export type NotificationResponseType = | { diff --git a/packages/web-domains/src/home/features/notification/containers/AlarmListContainer.tsx b/packages/web-domains/src/home/features/notification/containers/AlarmListContainer.tsx index 26b2a7c3..7f7f0ddd 100644 --- a/packages/web-domains/src/home/features/notification/containers/AlarmListContainer.tsx +++ b/packages/web-domains/src/home/features/notification/containers/AlarmListContainer.tsx @@ -64,7 +64,8 @@ export const AlarmListContainer = () => { /> ); } - + case 'HAND_WAVING_ACCEPTED': + case 'HAND_WAVING_REJECTED': case 'QUESTION_REGISTERED': case 'TARGET_MEMBER': return ;