Pleroma v1.1.9-10-g42f76306+dev Pleroma.Activity View Source

Link to this section Summary

Link to this section Types

Link to this type

t()

View Source
t() :: %Pleroma.Activity{
  __meta__: term(),
  actor: term(),
  bookmark: term(),
  data: term(),
  expiration: term(),
  id: term(),
  inserted_at: term(),
  local: term(),
  notifications: term(),
  object: term(),
  recipients: term(),
  thread_muted?: term(),
  updated_at: term()
}

Link to this section Functions

Link to this function

all_by_actor_and_id(actor, status_ids \\ [])

View Source
Link to this function

all_by_ids_with_object(ids)

View Source
Link to this function

change(struct, params \\ %{})

View Source
Link to this function

create_by_object_ap_id(ap_id)

View Source
create_by_object_ap_id(String.t() | [String.t()]) :: Ecto.Queryable.t()

Accepts ap_id or list of ap_id. Returns a query.

Link to this function

create_by_object_ap_id_with_object(ap_id)

View Source
create_by_object_ap_id_with_object(String.t() | [String.t()]) ::
  Ecto.Queryable.t()

Accepts ap_id or list of ap_id. Returns a query.

Link to this function

follow_requests_for_actor(user)

View Source
Link to this function

from_mastodon_notification_type(type)

View Source
Link to this function

get_all_create_by_object_ap_id(ap_id)

View Source
Link to this function

get_bookmark(activity, user)

View Source
Link to this function

get_by_ap_id_with_object(ap_id)

View Source
Link to this function

get_by_id_with_object(id)

View Source
Link to this function

get_create_by_object_ap_id(ap_id)

View Source
Link to this function

get_create_by_object_ap_id_with_object(ap_id)

View Source
Link to this function

get_in_reply_to_activity(activity)

View Source
Link to this function

mastodon_notification_type(activity)

View Source
Link to this function

restrict_deactivated_users(query)

View Source
Link to this function

search(user, query, options \\ [])

View Source

See Pleroma.Activity.Search.search/3.

Link to this function

with_joined_object(query, join_type \\ :inner)

View Source
Link to this function

with_preloaded_bookmark(query, user)

View Source
Link to this function

with_preloaded_object(query, join_type \\ :inner)

View Source
Link to this function

with_set_thread_muted_field(query, user)

View Source