Workspaces refactor #86
1 changed files with 7 additions and 0 deletions
|
@ -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';
|
||||
|
|
Loading…
Reference in a new issue