|
|
@ -10,6 +10,7 @@ defmodule DecentralisedBookIndex.Metadata do
|
|
|
|
define :add_author_to_related_alias_registry, action: :add_author_to_related_alias_registry, args: [:name, :description, :related_author_id]
|
|
|
|
define :add_author_to_related_alias_registry, action: :add_author_to_related_alias_registry, args: [:name, :description, :related_author_id]
|
|
|
|
define :list_authors, action: :read
|
|
|
|
define :list_authors, action: :read
|
|
|
|
define :get_author_by_id, args: [:id], action: :by_id
|
|
|
|
define :get_author_by_id, args: [:id], action: :by_id
|
|
|
|
|
|
|
|
define :get_author_alternative_names, args: [:author], action: :get_alternative_names
|
|
|
|
define :update_author, action: :update
|
|
|
|
define :update_author, action: :update
|
|
|
|
define :destroy_author, action: :destroy
|
|
|
|
define :destroy_author, action: :destroy
|
|
|
|
end
|
|
|
|
end
|
|
|
|