async function sendMonitorTypeList(socket) {
    const result = Object.entries(UptimeKumaServer.monitorTypeList).map(([ key, type ]) => {
        return [ key, {
            supportsConditions: type.supportsConditions,
            conditionVariables: type.conditionVariables.map(v => {
                return {
                    id: v.id,
                    operators: v.operators.map(o => {
                        return {
                            id: o.id,
                            caption: o.caption,
                        };
                    }),
                };
            }),
        }];
    });

    io.to(socket.userID).emit("monitorTypeList", Object.fromEntries(result));
}
Send list of monitor types to client
@param {Socket} socket Socket.io socket instance
@returns {Promise<void>}