{"size": 1008, "ext": "js", "max_stars_repo_path": "app/containers/HomePage/selectors.js", "max_stars_repo_name": "juanpale/rent-a-coder-React", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "app/containers/HomePage/selectors.js", "max_issues_repo_name": "juanpale/rent-a-coder-React", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "app/containers/HomePage/selectors.js", "max_forks_repo_name": "juanpale/rent-a-coder-React", "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": 25.8461538462, "max_line_length": 62, "alphanum_fraction": 0.7599206349}
import { createSelector } from 'reselect';

const selectHomePageDomain = (state) => state.get('homePage');

const makeSelectProjects = () =>
createSelector(selectHomePageDomain, (substate) =>
  substate.get('responseProjects')
);
const makeSelectProjectsLoading = () =>
createSelector(selectHomePageDomain, (substate) =>
  substate.get('loadingProjects')
);
const makeSelectProjectsError = () =>
createSelector(selectHomePageDomain, (substate) =>
  substate.get('errorProjects')
);

const makeSelectOffer = () =>
createSelector(selectHomePageDomain, (substate) =>
  substate.get('responsePutOffer')
);
const makeSelectOfferLoading = () =>
createSelector(selectHomePageDomain, (substate) =>
  substate.get('loadingPutOffer')
);
const makeSelectOfferError = () =>
createSelector(selectHomePageDomain, (substate) =>
  substate.get('errorPutOffer')
);

export {
  makeSelectProjects,
  makeSelectProjectsLoading,
  makeSelectProjectsError,
  makeSelectOffer,
  makeSelectOfferLoading,
  makeSelectOfferError,
};
