mirror of
https://github.com/hcengineering/platform.git
synced 2026-09-23 10:05:01 +02:00
Add archive all button in inbox (#4870)
Signed-off-by: Kristina Fefelova <kristin.fefelova@gmail.com>
This commit is contained in:
@@ -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>,
|
||||
|
||||
Reference in New Issue
Block a user