mirror of
https://framagit.org/framasoft/mobilizon.git
synced 2024-12-24 08:54:08 +00:00
2d087fb810
It's only used for ActivityPub stuff, nothing DB related. Signed-off-by: Thomas Citharel <tcit@tcit.fr>
21 lines
383 B
Elixir
21 lines
383 B
Elixir
defmodule Mobilizon.Service.ActivityPub.Activity do
|
|
@moduledoc """
|
|
Represents an activity.
|
|
"""
|
|
|
|
@type t :: %__MODULE__{
|
|
data: String.t(),
|
|
local: boolean,
|
|
actor: Actor.t(),
|
|
recipients: [String.t()]
|
|
# notifications: [???]
|
|
}
|
|
|
|
defstruct [
|
|
:data,
|
|
:local,
|
|
:actor,
|
|
:recipients
|
|
# :notifications
|
|
]
|
|
end
|