Add the Book interface to search book by a bid.
This commit is contained in:
@@ -66,6 +66,7 @@ defmodule DecentralisedBookIndex.Metadata do
|
|||||||
define :get_book_alternative_editions, args: [:book], action: :get_alternative_editions
|
define :get_book_alternative_editions, args: [:book], action: :get_alternative_editions
|
||||||
define :get_author_books, args: [:author], action: :get_author_books
|
define :get_author_books, args: [:author], action: :get_author_books
|
||||||
define :search_book, action: :search, args: [:query]
|
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 :update_book, action: :update
|
||||||
define :assign_book_cover_image, args: [:cover_image_url], action: :assign_cover_image
|
define :assign_book_cover_image, args: [:cover_image_url], action: :assign_cover_image
|
||||||
define :destroy_book, action: :destroy
|
define :destroy_book, action: :destroy
|
||||||
|
|||||||
Reference in New Issue
Block a user