Add archive all button in inbox (#4870)

Signed-off-by: Kristina Fefelova <kristin.fefelova@gmail.com>
This commit is contained in:
Kristina
2024-03-05 02:31:45 +07:00
committed by GitHub
parent 1847ae6aaa
commit 423d6f044a
6 changed files with 39 additions and 8 deletions
+3 -1
View File
@@ -282,6 +282,7 @@ export interface InboxNotificationsClient {
readNotifications: (client: TxOperations, ids: Array<Ref<InboxNotification>>) => Promise<void>
unreadNotifications: (client: TxOperations, ids: Array<Ref<InboxNotification>>) => Promise<void>
deleteNotifications: (client: TxOperations, ids: Array<Ref<InboxNotification>>) => Promise<void>
deleteAllNotifications: () => Promise<void>
}
/**
@@ -388,7 +389,8 @@ const notification = plugin(notificationId, {
Pinned: '' as IntlString,
FlatList: '' as IntlString,
GroupedList: '' as IntlString,
All: '' as IntlString
All: '' as IntlString,
ArchiveAll: '' as IntlString
},
function: {
GetInboxNotificationsClient: '' as Resource<InboxNotificationsClientFactory>,