mirror of
https://github.com/standardnotes/server
synced 2026-08-01 08:16:44 -04:00
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:
@@ -1,5 +1,9 @@
|
||||
import { Uuid } from '@standardnotes/domain-core'
|
||||
|
||||
import { Notification } from './Notification'
|
||||
|
||||
export interface NotificationRepositoryInterface {
|
||||
save(notification: Notification): Promise<void>
|
||||
findByUserUuidUpdatedAfter(userUuid: Uuid, lastSyncTime: number): Promise<Notification[]>
|
||||
findByUserUuid(userUuid: Uuid): Promise<Notification[]>
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user