added some mocked data calls

This commit is contained in:
robert
2021-07-06 12:27:18 +01:00
parent 5f7a572b91
commit 2c716ff5c5
21 changed files with 828 additions and 11590 deletions
+18
View File
@@ -0,0 +1,18 @@
export const searchResultsActionTypes = {
GETSEARCHRESULTS: "GETSEARCHRESULTS",
SETSEARCHRESULTS: "SETSEARCHRESULTS",
UPDATESEARCHRESULTS: "UPDATESEARCHRESULTS",
};
export const getSearchResultshObj = () => (dispatch) => {
return dispatch({
type: searchResultsActionTypes.GETSEARCHRESULTS,
});
};
export const setSearchResults = (searchResults) => (dispatch) => {
return dispatch({
type: searchResultsActionTypes.SETSEARCHRESULTS,
searchResultsObj: searchResults,
});
};