chore: additional information

This commit is contained in:
molvqingtai 2024-10-13 06:16:57 +08:00
parent 653229c8fa
commit 1d3c92763b
3 changed files with 3 additions and 10 deletions

View file

@ -45,14 +45,6 @@ const NotificationDomain = Remesh.domain({
}
})
const ClearCommand = domain.command({
name: 'Notification.ClearCommand',
impl: (_, id: string) => {
notification.clear(id)
return [ClearEvent(id)]
}
})
const PushEvent = domain.event<TextMessage>({
name: 'Notification.PushEvent'
})
@ -96,8 +88,7 @@ const NotificationDomain = Remesh.domain({
command: {
EnableCommand,
DisableCommand,
PushCommand,
ClearCommand
PushCommand
},
event: {
PushEvent,

View file

@ -145,3 +145,4 @@ export const PeerRoomImpl = PeerRoomExtern.impl(peerRoom)
// https://github.com/w3c/webextensions/issues/72
// https://issues.chromium.org/issues/40251342
// https://github.com/w3c/webrtc-extensions/issues/77
// https://github.com/aklinker1/webext-core/pull/70

View file

@ -136,3 +136,4 @@ export const PeerRoomImpl = PeerRoomExtern.impl(peerRoom)
// https://github.com/w3c/webextensions/issues/72
// https://issues.chromium.org/issues/40251342
// https://github.com/w3c/webrtc-extensions/issues/77
// https://github.com/aklinker1/webext-core/pull/70