mirror of
https://github.com/hcengineering/platform.git
synced 2026-09-08 02:37:44 +02:00
Create global inbox actions (#4903)
Signed-off-by: Kristina Fefelova <kristin.fefelova@gmail.com>
This commit is contained in:
@@ -284,6 +284,7 @@ export interface InboxNotificationsClient {
|
||||
deleteNotifications: (client: TxOperations, ids: Array<Ref<InboxNotification>>) => Promise<void>
|
||||
deleteAllNotifications: () => Promise<void>
|
||||
readAllNotifications: () => Promise<void>
|
||||
unreadAllNotifications: () => Promise<void>
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -374,7 +375,9 @@ const notification = plugin(notificationId, {
|
||||
Inbox: '' as Asset,
|
||||
Track: '' as Asset,
|
||||
DontTrack: '' as Asset,
|
||||
Hide: '' as Asset
|
||||
Hide: '' as Asset,
|
||||
ReadAll: '' as Asset,
|
||||
UnreadAll: '' as Asset
|
||||
},
|
||||
space: {
|
||||
Notifications: '' as Ref<Space>
|
||||
@@ -395,7 +398,8 @@ const notification = plugin(notificationId, {
|
||||
GroupedList: '' as IntlString,
|
||||
All: '' as IntlString,
|
||||
ArchiveAll: '' as IntlString,
|
||||
ReadAll: '' as IntlString,
|
||||
MarkReadAll: '' as IntlString,
|
||||
MarkUnreadAll: '' as IntlString,
|
||||
ArchiveAllConfirmationTitle: '' as IntlString,
|
||||
ArchiveAllConfirmationMessage: '' as IntlString
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user