mirror of
https://github.com/standardnotes/server
synced 2026-10-11 21:13:12 -04:00
fix(syncing-server): remove notifications after adding item to vault (#672)
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { Uuid } from '@standardnotes/domain-core'
|
||||
import { NotificationType, Uuid } from '@standardnotes/domain-core'
|
||||
|
||||
import { Notification } from './Notification'
|
||||
|
||||
@@ -6,4 +6,6 @@ export interface NotificationRepositoryInterface {
|
||||
save(notification: Notification): Promise<void>
|
||||
findByUserUuidUpdatedAfter(userUuid: Uuid, lastSyncTime: number): Promise<Notification[]>
|
||||
findByUserUuid(userUuid: Uuid): Promise<Notification[]>
|
||||
findByUserUuidAndType(userUuid: Uuid, type: NotificationType): Promise<Notification[]>
|
||||
remove(notification: Notification): Promise<void>
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user