summaryrefslogtreecommitdiff
path: root/lib/pleroma/web/activity_pub/activity_pub/persisting.ex
blob: 5ec8b7bab04912457ee805a53671a542471dd3e8 (plain)
1
2
3
4
5
6
7
# Pleroma: A lightweight social networking server
# Copyright © 2017-2021 Pleroma Authors <https://pleroma.social/>
# SPDX-License-Identifier: AGPL-3.0-only

defmodule Pleroma.Web.ActivityPub.ActivityPub.Persisting do
  @callback persist(map(), keyword()) :: {:ok, Activity.t() | Object.t()}
end