{"size": 246, "ext": "js", "max_stars_repo_path": "server/studio/utils/get-entity.js", "max_stars_repo_name": "WarpWorks/MonApp", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "server/studio/utils/get-entity.js", "max_issues_repo_name": "WarpWorks/MonApp", "max_issues_repo_issues_event_min_datetime": "2017-06-19T15:19:43.000Z", "max_issues_repo_issues_event_max_datetime": "2022-02-14T16:40:23.000Z", "max_forks_repo_path": "server/studio/utils/get-entity.js", "max_forks_repo_name": "WarpWorks/warpjs", "max_forks_repo_forks_event_min_datetime": "2017-02-27T19:24:12.000Z", "max_forks_repo_forks_event_max_datetime": "2017-02-27T19:24:12.000Z"}
{"max_stars_count": null, "max_issues_count": 334, "max_forks_count": 1, "avg_line_length": 27.3333333333, "max_line_length": 61, "alphanum_fraction": 0.6869918699}
const Promise = require('bluebird');

const getCoreDomain = require('./get-core-domain');

module.exports = (persistence, type) => Promise.resolve()
    .then(() => getCoreDomain())
    .then((domainModel) => domainModel.getEntityByName(type))
;
