Refactor Mobilizon.Federation.ActivityPub and add typespecs
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
@@ -23,6 +23,7 @@ defmodule Mobilizon.Actors.Actor do
|
||||
require Logger
|
||||
|
||||
@type t :: %__MODULE__{
|
||||
id: integer(),
|
||||
url: String.t(),
|
||||
outbox_url: String.t(),
|
||||
inbox_url: String.t(),
|
||||
|
||||
Reference in New Issue
Block a user