forked from potsda.mn/mobilizon
9c9f1385fb
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
12 lines
250 B
Elixir
12 lines
250 B
Elixir
defprotocol Mobilizon.Federation.ActivityStream.Convertible do
|
|
@moduledoc """
|
|
Convertible protocol.
|
|
"""
|
|
|
|
@type t :: struct()
|
|
@type activity_streams :: map()
|
|
|
|
@spec model_to_as(t()) :: activity_streams()
|
|
def model_to_as(convertible)
|
|
end
|