@textea/y-socket.io
Version:
Socket.io Connector for Yjs
15 lines (12 loc) • 395 B
TypeScript
import { Room } from 'socket.io-adapter';
import { Awareness } from 'y-protocols/awareness';
declare type RoomName = Room;
declare type ClientId = Awareness['clientID'];
interface DefaultClientData {
}
interface QueryParameters {
[key: string]: string | string[] | undefined;
roomName: string;
clientId: string;
}
export { ClientId, DefaultClientData, QueryParameters, RoomName };