Add basic author form

This commit is contained in:
2025-11-25 14:14:24 +01:00
parent 3cbe9f909e
commit 624dfe0faa
10 changed files with 138 additions and 3 deletions

View File

@@ -41,6 +41,10 @@ export function getSearchBooks(data, error, searchterm, limit, offset) {
return useFetch(data, error, baseUrl + '/search/' + encodeURIComponent(searchterm) + "?" + queryParams.toString());
}
export function getAuthor(data, error, id) {
return useFetch(data, error, baseUrl + '/author/' + id);
}
export function getBook(data, error, id) {
return useFetch(data, error, baseUrl + '/book/' + id);
}