summary refs log tree commit diff
path: root/util/src/interfaces/Event.ts
diff options
context:
space:
mode:
authorMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2022-04-05 19:58:34 +1000
committerGitHub <noreply@github.com>2022-04-05 12:58:34 +0300
commitecf59d30c55181b25493c170819d2bb223ef28ba (patch)
tree4a95d7e58e31e08933fb599cd4d1ffef42ee8c34 /util/src/interfaces/Event.ts
parentRevert "Make member.premium_since ISO8601 timestamp" (#710) (diff)
downloadserver-ecf59d30c55181b25493c170819d2bb223ef28ba.tar.xz
User Notes (#707)
* Notes implementation.
Bug: Client does not save note locally after uploading to server. Client does save after reloading page. Is this due to the response being sent by PUT?

* I don't know why the client doesn't do optimistic UI updates with this, or any updates at all without reloading the page

* Added USER_NOTE_UPDATE event, thanks @TheRealGeoDash2019 !
Diffstat (limited to 'util/src/interfaces/Event.ts')
-rw-r--r--util/src/interfaces/Event.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/util/src/interfaces/Event.ts b/util/src/interfaces/Event.ts

index a5253c09..416082ed 100644 --- a/util/src/interfaces/Event.ts +++ b/util/src/interfaces/Event.ts
@@ -623,6 +623,7 @@ export type EVENT = | "PRESENCE_UPDATE" | "TYPING_START" | "USER_UPDATE" + | "USER_NOTE_UPDATE" | "WEBHOOKS_UPDATE" | "INTERACTION_CREATE" | "VOICE_STATE_UPDATE"