feat(syncing-server): add shared vaults, invites, messages and notifications to sync response (#665)

* feat(syncing-server): add shared vaults, invites, messages and notifications to sync response

* fix(syncing-server): migration timestamps

* fix: issue with migrations for notifications
This commit is contained in:
Karol Sójko
2023-07-20 11:52:45 +02:00
committed by GitHub
parent f714aaa0e9
commit efa4d7fc60
41 changed files with 545 additions and 113 deletions
@@ -5,6 +5,7 @@ import { Message } from './Message'
export interface MessageRepositoryInterface {
findByUuid: (uuid: Uuid) => Promise<Message | null>
findByRecipientUuid: (uuid: Uuid) => Promise<Message[]>
findByRecipientUuidUpdatedAfter: (uuid: Uuid, updatedAtTimestamp: number) => Promise<Message[]>
findBySenderUuid: (uuid: Uuid) => Promise<Message[]>
findByRecipientUuidAndReplaceabilityIdentifier: (dto: {
recipientUuid: Uuid