{"size": 255, "ext": "js", "max_stars_repo_path": "client/src/app/state/ducks/dialog/actions.js", "max_stars_repo_name": "MediaNetwork/media-on-demand-webapp", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "client/src/app/state/ducks/dialog/actions.js", "max_issues_repo_name": "MediaNetwork/media-on-demand-webapp", "max_issues_repo_issues_event_min_datetime": "2018-06-19T02:29:16.000Z", "max_issues_repo_issues_event_max_datetime": "2018-11-14T03:50:50.000Z", "max_forks_repo_path": "client/src/app/state/ducks/dialog/actions.js", "max_forks_repo_name": "MediaNetwork/media-on-demand-webapp", "max_forks_repo_forks_event_min_datetime": "2018-06-01T06:53:46.000Z", "max_forks_repo_forks_event_max_datetime": "2018-09-19T17:33:07.000Z"}
{"max_stars_count": null, "max_issues_count": 5, "max_forks_count": 2, "avg_line_length": 21.25, "max_line_length": 52, "alphanum_fraction": 0.5490196078}
import * as types from './types'

export const hideDialog = (name) => ({
  type: `${ types.HIDE }:${ name }`,
  payload: { name }
})

export const showDialog = (name,  params = {}) => ({
  type: `${ types.SHOW }:${ name }`,
  payload: { name, params }
})
