export const myRepresentationsActionTypes = { GETMYREPRESENTATIONS: "GETMYREPRESENTATIONS", SETMYREPRESENTATIONS: "SETMYREPRESENTATIONS", SETMYREPRESENTATIONSDETAILS: "SETMYREPRESENTATIONSDETAILS", UPDATEMYREPRESENTATIONS: "UPDATEMYREPRESENTATIONS", SETMYSUBMITTEDREPS: "SETMYSUBMITTEDREPS", SETMYSUBMITTEDREPSDETAILS: "SETMYSUBMITTEDREPSDETAILS", }; export const getMyRepresentationsObj = () => (dispatch) => { return dispatch({ type: myRepresentationsActionTypes.GETMYREPRESENTATIONS, }); }; export const setMyRepresentations = (myRepresentations) => (dispatch) => { return dispatch({ type: myRepresentationsActionTypes.SETMYREPRESENTATIONS, myRepresentations: myRepresentations, }); }; export const setMyRepresentationsDetails = (myRepresentationsDetails) => (dispatch) => { return dispatch({ type: myRepresentationsActionTypes.SETMYREPRESENTATIONSDETAILS, myRepresentationsDetails: myRepresentationsDetails, }); }; export const setMySubmittedReps = (mySubmittedReps) => (dispatch) => { return dispatch({ type: myRepresentationsActionTypes.SETMYSUBMITTEDREPS, mySubmittedReps: mySubmittedReps, }); }; export const setMySubmittedRepsDetails = (mySubmittedRepsDetails) => (dispatch) => { return dispatch({ type: myRepresentationsActionTypes.SETMYSUBMITTEDREPSDETAILS, mySubmittedRepsDetails: mySubmittedRepsDetails, }); };