import ScanActionTypes from "./scan.types";

export const setScanLoading = () => ({
  type: ScanActionTypes.SET_SCAN_LOADING,
});

export const setScanEstimateList = (listOfEstimates) => ({
  type: ScanActionTypes.SET_LIST_OF_ESTIMATES,
  payload: listOfEstimates,
});

export const clearScanEstimateList = () => ({
  type: ScanActionTypes.CLEAR_LIST_OF_ESTIMATES,
});

export const scanStart = () => ({
  type: ScanActionTypes.SCAN_START,
});
