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

Link to this section Summary

Link to this section Types

Link to this type

t()

View Source
t() :: %Pleroma.Bookmark{
  __meta__: term(),
  activity: term(),
  activity_id: term(),
  id: term(),
  inserted_at: term(),
  updated_at: term(),
  user: term(),
  user_id: term()
}

Link to this section Functions

Link to this function

create(user_id, activity_id)

View Source
create(FlakeId.Ecto.CompatType.t(), FlakeId.Ecto.CompatType.t()) ::
  {:ok, Pleroma.Bookmark.t()} | {:error, Changeset.t()}
Link to this function

destroy(user_id, activity_id)

View Source
destroy(FlakeId.Ecto.CompatType.t(), FlakeId.Ecto.CompatType.t()) ::
  {:ok, Pleroma.Bookmark.t()} | {:error, Changeset.t()}
Link to this function

get(user_id, activity_id)

View Source