🎮 Wiring up ComicVine API match call

This commit is contained in:
2021-06-20 22:14:09 -07:00
parent 64d6f59a9d
commit bc7961ba00
5 changed files with 1836 additions and 1814 deletions

View File

@@ -7,6 +7,7 @@ import {
IMS_SOCKET_CONNECTION_CONNECTED,
IMS_RECENT_COMICS_FETCHED,
} from "../constants/action-types";
import { tokenize } from "../shared/utils/nlp.utils";
export async function walkFolder(path: string): Promise<Array<IFolderData>> {
return axios
@@ -25,7 +26,8 @@ export async function walkFolder(path: string): Promise<Array<IFolderData>> {
.catch((error) => error);
}
/**
* Renders an entire login page with email and password fields
* Fetches comic book covers along with some metadata
*
* using {@link Renderer}.
*
* Used by external plugins
@@ -97,3 +99,7 @@ export const getRecentlyImportedComicBooks = (options) => async (dispatch) => {
});
});
};
export const fetchComicVineMatches = (searchPayload, options) => (dispatch) => {
console.log(searchPayload);
};