add websocket functionality

This commit is contained in:
2025-07-01 15:25:00 -04:00
parent 9145b07da7
commit b295777041
7 changed files with 95 additions and 30 deletions

6
types.d.ts vendored
View File

@ -64,3 +64,9 @@ export interface Mention {
url: string;
username: string;
}
export interface WSEvent {
event: "update" | "status.update" | "notification";
payload: string;
stream: "user" | "direct";
}