mobilizon/lib/federation/activity_pub/activity_stream/convertible.ex
2020-01-22 02:14:42 +01:00

11 lines
234 B
Elixir

defprotocol Mobilizon.Federation.ActivityPub.ActivityStream.Convertible do
@moduledoc """
Convertible protocol.
"""
@type activity_streams :: map
@spec model_to_as(t) :: activity_streams
def model_to_as(convertible)
end