{"size": 445, "ext": "js", "max_stars_repo_path": "plugin/src/services/index.js", "max_stars_repo_name": "dmihal/helena-burner-plugin", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "plugin/src/services/index.js", "max_issues_repo_name": "dmihal/helena-burner-plugin", "max_issues_repo_issues_event_min_datetime": "2021-05-10T11:03:23.000Z", "max_issues_repo_issues_event_max_datetime": "2021-05-10T11:03:23.000Z", "max_forks_repo_path": "plugin/src/services/index.js", "max_forks_repo_name": "dmihal/helena-burner-plugin", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": 1, "max_forks_count": null, "avg_line_length": 29.6666666667, "max_line_length": 73, "alphanum_fraction": 0.7617977528}
import HttpService from './Http';
import PMService from './PM';
import HelenaService from './Helena';

export let pmService;
export let helenaService;

export const initServices = async ({ name, tradingdb, helenaUsers }) => {
  const pmHttpService = new HttpService(tradingdb);
  const helenaHttpService = new HttpService(helenaUsers);

  helenaService = new HelenaService(helenaHttpService, name);
  pmService = new PMService(pmHttpService);
}
