From 4a13508da0a5d930b4d73bb4208df39a578e7796 Mon Sep 17 00:00:00 2001 From: Marie Date: Tue, 20 Feb 2024 15:10:41 +0000 Subject: Note Edited notification type --- packages/backend/src/models/Notification.ts | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'packages/backend/src/models/Notification.ts') diff --git a/packages/backend/src/models/Notification.ts b/packages/backend/src/models/Notification.ts index df88b99636..4ed71a106c 100644 --- a/packages/backend/src/models/Notification.ts +++ b/packages/backend/src/models/Notification.ts @@ -107,6 +107,12 @@ export type MiNotification = { type: 'test'; id: string; createdAt: string; +} | { + type: 'edited'; + id: string; + createdAt: string; + notifierId: MiUser['id']; + noteId: MiNote['id']; }; export type MiGroupedNotification = MiNotification | { -- cgit v1.2.3-freya