import { ISocket, SocketEvent, SocketEventHandler } from "../../utils/types"

const userSockets = {} as Record<SocketEvent, SocketEventHandler>

// userSockets['message-sent'] = async (socket: ISocket, data: object) => {
//   console.log('message-sent', data)
// }

// userSockets['message-read'] = async (socket: ISocket, data: object) => {
//   console.log('message-read', data)
// }

export default userSockets
