spmcbride1201/keypunch-electron

View on GitHub
app/actions/jobs.js

Summary

Maintainability
A
0 mins
Test Coverage
import { REFRESH_JOBS, LOAD_JOB_RESULTS } from '../constants';

export const refreshJobs = jobsState => ({
  type: REFRESH_JOBS,
  jobsState
});

export const loadJobResults = (jobID, results) => ({
  type: LOAD_JOB_RESULTS,
  jobID,
  results
})