Add browser notifications sound (#8515)

Signed-off-by: Anton Alexeyev <alexeyev.anton@gmail.com>
This commit is contained in:
utkaka
2025-04-10 19:47:48 +05:00
committed by GitHub
parent 601fabd712
commit afbaf26078
11 changed files with 77 additions and 27 deletions
+4
View File
@@ -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,