Merge branch 'tests/openapi-everywhere' into 'develop'
[akkoma] / lib / pleroma / web / activity_pub / activity_pub / streaming.ex
index 30009f2fb8dc0f95d76f1a68b92d3f0d89f2b1f5..33c7bf2bca0f1a8a138ead003ff708f38b00d18e 100644 (file)
@@ -1,12 +1,8 @@
 # Pleroma: A lightweight social networking server
-# Copyright © 2017-2020 Pleroma Authors <https://pleroma.social/>
+# Copyright © 2017-2021 Pleroma Authors <https://pleroma.social/>
 # SPDX-License-Identifier: AGPL-3.0-only
 
 defmodule Pleroma.Web.ActivityPub.ActivityPub.Streaming do
-  alias Pleroma.Activity
-  alias Pleroma.Object
-  alias Pleroma.User
-
-  @callback stream_out(Activity.t()) :: any()
-  @callback stream_out_participations(Object.t(), User.t()) :: any()
+  @callback stream_out(struct()) :: any()
+  @callback stream_out_participations(struct(), struct()) :: any()
 end