1
0
mirror of https://github.com/hotomoe/hotomoe synced 2024-12-26 04:28:07 +09:00

NoteUpdatedEvent に unreacted を追加

Fix #43
This commit is contained in:
syuilo 2022-02-03 02:24:42 +09:00
parent 78ee600752
commit 5531a1fdf2

View File

@ -122,6 +122,13 @@ export type NoteUpdatedEvent = {
reaction: string; reaction: string;
userId: User['id']; userId: User['id'];
}; };
} | {
id: Note['id'];
type: 'unreacted';
body: {
reaction: string;
userId: User['id'];
};
} | { } | {
id: Note['id']; id: Note['id'];
type: 'deleted'; type: 'deleted';