forked from potsda.mn/mobilizon
11 lines
222 B
Elixir
11 lines
222 B
Elixir
defprotocol Mobilizon.Federation.ActivityStream.Convertible do
|
|
@moduledoc """
|
|
Convertible protocol.
|
|
"""
|
|
|
|
@type activity_streams :: map
|
|
|
|
@spec model_to_as(t) :: activity_streams
|
|
def model_to_as(convertible)
|
|
end
|