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';