|
|
|
@ -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
|
|
|
|
|