2020-01-22 02:14:42 +01:00
|
|
|
defprotocol Mobilizon.Federation.ActivityPub.ActivityStream.Convertible do
|
2019-09-22 18:29:13 +02:00
|
|
|
@moduledoc """
|
|
|
|
Convertible protocol.
|
|
|
|
"""
|
|
|
|
|
|
|
|
@type activity_streams :: map
|
|
|
|
|
|
|
|
@spec model_to_as(t) :: activity_streams
|
|
|
|
def model_to_as(convertible)
|
|
|
|
end
|