mirror of
https://framagit.org/framasoft/mobilizon.git
synced 2024-12-24 08:54:08 +00:00
10 lines
216 B
Elixir
10 lines
216 B
Elixir
defprotocol Mobilizon.Service.ActivityPub.Convertible do
|
|
@moduledoc """
|
|
Convertible protocol.
|
|
"""
|
|
|
|
@type activity_streams :: map
|
|
|
|
@spec model_to_as(t) :: activity_streams
|
|
def model_to_as(convertible)
|
|
end
|