mirror of
https://github.com/hcengineering/platform.git
synced 2026-09-13 21:27:46 +02:00
Add browser notifications sound (#8515)
Signed-off-by: Anton Alexeyev <alexeyev.anton@gmail.com>
This commit is contained in:
@@ -62,6 +62,7 @@ export interface BrowserNotification extends Doc {
|
||||
messageClass?: Ref<Class<ActivityMessage>>
|
||||
objectId: Ref<Doc>
|
||||
objectClass: Ref<Class<Doc>>
|
||||
soundAlert: boolean
|
||||
}
|
||||
|
||||
export interface PushData {
|
||||
@@ -405,6 +406,9 @@ const notification = plugin(notificationId, {
|
||||
Inbox: '' as Asset,
|
||||
BellCrossed: '' as Asset
|
||||
},
|
||||
sound: {
|
||||
InboxNotification: '' as Asset
|
||||
},
|
||||
string: {
|
||||
Notification: '' as IntlString,
|
||||
Notifications: '' as IntlString,
|
||||
|
||||
Reference in New Issue
Block a user