fix: transfer notifications from auth to syncing-server. (#648)

* fix: transfer notifications from auth to syncing-server.

Co-authored-by: Mo <[email protected]>

* fix: add notification to data source init

---------

Co-authored-by: Mo <[email protected]>
This commit is contained in:
Karol Sójko
2023-07-07 15:12:27 +02:00
committed by GitHub
co-authored by Mo
parent 4b76d4b71e
commit c288e5d8dc
28 changed files with 364 additions and 85 deletions
@@ -3,12 +3,10 @@ import {
EmailRequestedEvent,
ItemDumpedEvent,
ItemRevisionCreationRequestedEvent,
NotificationRequestedEvent,
RevisionsCopyRequestedEvent,
} from '@standardnotes/domain-events'
export interface DomainEventFactoryInterface {
createNotificationRequestedEvent(dto: { userUuid: string; type: string; payload: string }): NotificationRequestedEvent
createEmailRequestedEvent(dto: {
userEmail: string
messageIdentifier: string