View Source Mobilizon.Federation.ActivityPub.Types.Ownable protocol (Mobilizon v4.1.0-alpha.1)
Summary
Functions
Returns the actor for the entity
Returns an eventual group for the entity
Returns the list of permissions for an entity
Types
@type t() :: term()
All the types that implement this protocol.
Functions
@spec actor(Mobilizon.Federation.ActivityPub.Types.Entity.t()) :: Mobilizon.Actors.Actor.t() | nil
Returns the actor for the entity
@spec group_actor(Mobilizon.Federation.ActivityPub.Types.Entity.t()) :: Mobilizon.Actors.Actor.t() | nil
Returns an eventual group for the entity
@spec permissions(Mobilizon.Federation.ActivityPub.Types.Entity.t()) :: Mobilizon.Federation.ActivityPub.Permission.t()
Returns the list of permissions for an entity