{"size": 1680, "ext": "js", "max_stars_repo_path": "client/actions/index.js", "max_stars_repo_name": "olegk101/tictactoe", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "client/actions/index.js", "max_issues_repo_name": "olegk101/tictactoe", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "client/actions/index.js", "max_forks_repo_name": "olegk101/tictactoe", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 16.9696969697, "max_line_length": 68, "alphanum_fraction": 0.5857142857}
export const clickField = (id, val, currentPlayer, roomId) => {
  return {
    type: 'server/CLICK_FIELD',
    id,
    val,
    currentPlayer,
    roomId,
  };
};
export const setRoomServer = (path) => {
  return {
    type: 'server/SET_ROOM_SERVER',
    path,
  };
};
export const newMessageServer = (nameId, name, message, roomId) => {
  return {
    type: 'server/NEW_MESSAGE',
    nameId,
    name,
    message,
    roomId,
  };
};
export const newMessage = (nameId, name, message) => {
  return {
    type: 'NEW_MESSAGE',
    nameId,
    name,
    message,
  };
};
export const isTypingToServer = (player, roomId) => {
  return {
    type: 'server/IS_TYPING',
		player,
		roomId,
  };
};
export const isTyping = (player) => {
  return {
    type: 'IS_TYPING',
		player,
  };
};
export const stopTypingToServer = (player, roomId) => {
  return {
    type: 'server/STOP_TYPING',
    player,
		roomId,
  };
};
export const stopTyping = () => {
  return {
    type: 'STOP_TYPING',
  };
};
export const setRoomClient = (path) => {
  return {
    type: 'SET_ROOM_CLIENT',
    path,
  };
};
export const userConnected = (path) => {
  return {
    type: 'server/USER_CONNECTED',
    path,
  };
};
export const setState = (id, val, currentPlayer) => {
  return {
    type: 'SET_STATE',
    id,
    val,
    currentPlayer,
  };
};
export const secondConnected = () => {
  return {
    type: 'SECOND_USER_CONNECTED',
  };
};
export const setPlayer = (path) => {
  return {
		type: 'SET_PLAYER',
		path,
  };
};
export const newRound = () => {
  return {
    type: 'NEW_ROUND',
  };
};
export const secondDisconnected = () => {
  return {
    type: 'SECOND_PLAYER_DISCONNECTED',
  };
};
