-
Notifications
You must be signed in to change notification settings - Fork 3.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Nv 2578 add removeallnotifications method in headless package #3829
Nv 2578 add removeallnotifications method in headless package #3829
Conversation
NV-2578 Add removeAllNotifications method in headless package
What?We recently added https://docs.novu.co/notification-center/react/api-reference#useremoveallnotifications https://docs.novu.co/notification-center/react/api-reference#the-hook-return-interface Why? (Context)This method is missing in Definition of Done
|
@@ -1149,11 +1145,6 @@ describe('headless.service', () => { | |||
|
|||
describe('markAllMessagesAsSeen', () => { | |||
test('calls markAllMessagesAsSeen successfully', async () => { | |||
const updatedNotification = { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
removed unused variable
@@ -1085,11 +1086,6 @@ describe('headless.service', () => { | |||
|
|||
describe('markAllMessagesAsRead', () => { | |||
test('calls markAllMessagesAsRead successfully', async () => { | |||
const updatedNotification = { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
removed unused variable
@@ -1 +1,2 @@ | |||
export * from './headless.service'; | |||
export * from './types'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Exported the types to be accessible in the package imports
@@ -1 +1,2 @@ | |||
export * from './query-keys'; | |||
export * from './types'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Exported the types to be accessible in the package imports
…-headless-package
…-headless-package
…-headless-package
What change does this PR introduce?
removeAllNotifications
method to the Headless serviceremoveAllNotifications
Why was this change needed?
Other information (Screenshots)