woocommerce/plugins/woocommerce-admin/client/store/reports/stats/actions.js

20 lines
310 B
JavaScript

/** @format */
export default {
setReportStats( endpoint, report, query ) {
return {
type: 'SET_REPORT_STATS',
endpoint,
report,
query: query || {},
};
},
setReportStatsError( endpoint, query ) {
return {
type: 'SET_REPORT_STATS_ERROR',
endpoint,
query: query || {},
};
},
};