From 5531a1fdf21926bb1801b0d8e02fb88680332358 Mon Sep 17 00:00:00 2001 From: syuilo Date: Thu, 3 Feb 2022 02:24:42 +0900 Subject: [PATCH] =?UTF-8?q?NoteUpdatedEvent=20=E3=81=AB=20unreacted=20?= =?UTF-8?q?=E3=82=92=E8=BF=BD=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fix #43 --- src/streaming.types.ts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/streaming.types.ts b/src/streaming.types.ts index 947e55e25f..f711b8d6eb 100644 --- a/src/streaming.types.ts +++ b/src/streaming.types.ts @@ -122,6 +122,13 @@ export type NoteUpdatedEvent = { reaction: string; userId: User['id']; }; +} | { + id: Note['id']; + type: 'unreacted'; + body: { + reaction: string; + userId: User['id']; + }; } | { id: Note['id']; type: 'deleted';