implemented frontend including separate message system; started to implement backend

This commit is contained in:
User
2026-03-10 14:48:48 +01:00
committed by Jannik Luboeinski
parent 4275cbd795
commit 78d5352a48
1058 changed files with 101527 additions and 1 deletions

38
yjs-poll/node_modules/lib0/websocket.d.ts generated vendored Normal file
View File

@@ -0,0 +1,38 @@
/**
* @deprecated
* @extends Observable<string>
*/
export class WebsocketClient extends Observable<string> {
/**
* @param {string} url
* @param {object} opts
* @param {'arraybuffer' | 'blob' | null} [opts.binaryType] Set `ws.binaryType`
*/
constructor(url: string, { binaryType }?: {
binaryType?: "arraybuffer" | "blob" | null | undefined;
});
url: string;
/**
* @type {WebSocket?}
*/
ws: WebSocket | null;
binaryType: "arraybuffer" | "blob" | null;
connected: boolean;
connecting: boolean;
unsuccessfulReconnects: number;
lastMessageReceived: number;
/**
* Whether to connect to other peers or not
* @type {boolean}
*/
shouldConnect: boolean;
_checkInterval: NodeJS.Timeout;
/**
* @param {any} message
*/
send(message: any): void;
disconnect(): void;
connect(): void;
}
import { Observable } from './observable.js';
//# sourceMappingURL=websocket.d.ts.map