mirror of
https://github.com/spacebarchat/server.git
synced 2026-10-22 21:53:46 +00:00
Gateway: add SB_SESSION_CLOSE and SB_SESSION_INVALIDATE events
This commit is contained in:
1 parent
bf778e5133
commit
3fdc6a54aa
3 files changed
+33
-12
No files matched your search
@@ -60,6 +60,7 @@ export interface Event {
|
||||
event: EVENT;
|
||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||
data?: any;
|
||||
reconnect_delay?: number;
|
||||
origin?: string;
|
||||
}
|
||||
|
||||
@@ -848,4 +849,4 @@ export type EVENT =
|
||||
| "THREAD_MEMBERS_UPDATE"
|
||||
| CUSTOMEVENTS;
|
||||
|
||||
export type CUSTOMEVENTS = "INVALIDATED" | "RATELIMIT";
|
||||
export type CUSTOMEVENTS = "INVALIDATED" | "RATELIMIT" | "SB_SESSION_REMOVE" | "SB_SESSION_CLOSE";
|
||||
Reference in new issue
Block a user