Add the Book interface to search book by a bid.

dev
KKlochko 3 months ago
parent 38cd8eff54
commit 4e8ce20bb0

@ -66,6 +66,7 @@ defmodule DecentralisedBookIndex.Metadata do
define :get_book_alternative_editions, args: [:book], action: :get_alternative_editions
define :get_author_books, args: [:author], action: :get_author_books
define :search_book, action: :search, args: [:query]
define :search_book_by_bid, action: :search_by_bid, args: [:type, :bid]
define :update_book, action: :update
define :assign_book_cover_image, args: [:cover_image_url], action: :assign_cover_image
define :destroy_book, action: :destroy

Loading…
Cancel
Save