add handle_syndicate_to_query, fix handle_undelete signature

Esse commit está contido em:
Inhji 2019-04-17 20:36:43 +02:00
commit 7d93f0b277
1 arquivos alterados com 5 adições e 2 exclusões

Ver arquivo

@ -30,8 +30,7 @@ defmodule PlugMicropub.HandlerBehaviour do
@callback handle_undelete(url :: String.t(), access_token) ::
:ok
| {:ok, url :: String.t()}
| {:error, handler_error}
| {:error, handler_error, error_description :: String.t()}
| handler_error
@callback handle_config_query(access_token) ::
{:ok, map}
@ -41,6 +40,10 @@ defmodule PlugMicropub.HandlerBehaviour do
{:ok, map}
| handler_error
@callback handle_syndicate_to_query(access_token) ::
{:ok, map}
| handler_error
@callback handle_source_query(
url :: String.t(),
properties :: [String.t()],