export const myRepresentationsActionTypes = { GETMYREPRESENTATIONS: "GETMYREPRESENTATIONS", SETMYREPRESENTATIONS: "SETMYREPRESENTATIONS", SETMYREPRESENTATIONSDETAILS: "SETMYREPRESENTATIONSDETAILS", UPDATEMYREPRESENTATIONS: "UPDATEMYREPRESENTATIONS", }; 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, }); };