summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorsyuilo <Syuilotan@yahoo.co.jp>2022-02-03 02:24:42 +0900
committersyuilo <Syuilotan@yahoo.co.jp>2022-02-03 02:24:42 +0900
commit5531a1fdf21926bb1801b0d8e02fb88680332358 (patch)
tree969e8288fbbf448b7536899180b89d99cfb83007 /src
parentUpdate .eslintrc.js (diff)
downloadmisskey-5531a1fdf21926bb1801b0d8e02fb88680332358.tar.gz
misskey-5531a1fdf21926bb1801b0d8e02fb88680332358.tar.bz2
misskey-5531a1fdf21926bb1801b0d8e02fb88680332358.zip
NoteUpdatedEvent に unreacted を追加
Fix #43
Diffstat (limited to 'src')
-rw-r--r--src/streaming.types.ts7
1 files changed, 7 insertions, 0 deletions
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
@@ -124,6 +124,13 @@ export type NoteUpdatedEvent = {
};
} | {
id: Note['id'];
+ type: 'unreacted';
+ body: {
+ reaction: string;
+ userId: User['id'];
+ };
+} | {
+ id: Note['id'];
type: 'deleted';
body: {
deletedAt: string;