Skip to content

Commit

Permalink
feat: 알림 타입 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrevile committed Sep 13, 2024
1 parent 01fc500 commit 269b691
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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 =
| {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,8 @@ export const AlarmListContainer = () => {
/>
);
}

case 'HAND_WAVING_ACCEPTED':
case 'HAND_WAVING_REJECTED':
case 'QUESTION_REGISTERED':
case 'TARGET_MEMBER':
return <NotificationItem.AlarmItem alarm={notification} />;
Expand Down

0 comments on commit 269b691

Please sign in to comment.