Source

reports/reports-dashboard-actions.js

const FETCH = 'reportsDashboard/FETCH';
const MERGE_DATA = 'reportsDashboard/MERGE_DATA';
const REFRESH_VISIBILITY = 'reportsDashboard/REFRESH_VISIBILITY';

/**
 * @module reportsDashboard
 */
export default {
    FETCH,
    /**
     *
     * @property {string} type - FETCH
     */
    load: () => ({type: FETCH}),
    MERGE_DATA,
    /**
     *
     * @param dataFragment
     * @property {string} type - MERGE_DATA
     */
    mergeData: (dataFragment) => ({dataFragment, type: MERGE_DATA}),
    REFRESH_VISIBILITY,
    /**
     *
     * @property {string} type - REFRESH_VISIBILITY
     */
    refreshVisibility: () => ({type: REFRESH_VISIBILITY})
};