Refactor Mobilizon.Federation.ActivityPub and add typespecs
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
@@ -3,5 +3,5 @@ defmodule Mobilizon.Federation.ActivityStream do
|
||||
The ActivityStream Type
|
||||
"""
|
||||
|
||||
@type t :: map()
|
||||
@type t :: %{String.t() => String.t() | list(String.t()) | map() | nil}
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user