Update Book create interfaces and tests.
continuous-integration/drone/push Build is passing

This commit is contained in:
2025-03-15 21:22:45 +02:00
parent c6ce8173b6
commit e23092d4d7
2 changed files with 26 additions and 26 deletions
+2 -1
View File
@@ -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