mobilizon/lib/service/global_search/event_result.ex
Thomas Citharel 6f7d5f649b
Add participant info in event search results
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-09-26 10:29:58 +02:00

20 lines
346 B
Elixir

defmodule Mobilizon.Service.GlobalSearch.EventResult do
@moduledoc """
The structure holding search result information about an event
"""
defstruct [
:id,
:uuid,
:url,
:title,
:begins_on,
:ends_on,
:picture,
:category,
:tags,
:organizer_actor,
:participant_stats,
:physical_address
]
end