View Source Mobilizon.Service.Export.Participants.Common (Mobilizon v5.0.0-beta.1)
Common functions for managing participants export
Summary
Functions
Clean outdated files in export folder
@spec columns() :: [String.t()]
@spec enabled_formats() :: [String.t()]
@spec export_modules() :: [module()]
@spec save_upload(String.t(), String.t(), String.t(), String.t(), String.t()) :: {:ok, Mobilizon.Export.t()} | {:error, atom() | Ecto.Changeset.t()}
@spec to_list({Mobilizon.Events.Participant.t(), Mobilizon.Actors.Actor.t()}) :: [ String.t() ]
Match a participant role to it's translated version