Add & improve some typespecs

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel
2021-09-30 09:26:57 +02:00
parent 35b83950d4
commit 0f8358b96a
2 changed files with 9 additions and 6 deletions

View File

@@ -45,7 +45,7 @@ defmodule Mobilizon.Actors.Actor do
suspended: boolean,
avatar: File.t() | nil,
banner: File.t() | nil,
user: User.t(),
user: User.t() | nil,
followers: [Follower.t()],
followings: [Follower.t()],
organized_events: [Event.t()],