This commit is contained in:
@@ -21,12 +21,13 @@ defmodule DecentralisedBookIndex.Metadata do
|
||||
:description,
|
||||
:bids,
|
||||
:author_roles,
|
||||
:publisher_id,
|
||||
{:optional, :book_editions_registry_id}
|
||||
]
|
||||
|
||||
define :add_book_to_related_editions_registry,
|
||||
action: :add_book_to_related_editions_registry,
|
||||
args: [:title, :description, :bids, :author_roles, :related_book_id]
|
||||
args: [:title, :description, :bids, :author_roles, :publisher_id, :related_book_id]
|
||||
|
||||
define :list_books, action: :read
|
||||
define :get_book_by_id, args: [:id], action: :by_id
|
||||
|
||||
Reference in New Issue
Block a user