View Source Mobilizon.Federation.ActivityStream.Converter.Flag (Mobilizon v5.0.0-beta.1)
Flag converter.
This module allows to convert reports from ActivityStream format to our own internal one, and back.
Note: Reports are named Flag in AS.
Summary
Functions
Converts an AP object data to our internal data structure.
Convert an event struct to an ActivityStream representation
Functions
Converts an AP object data to our internal data structure.
@spec model_to_as(Mobilizon.Reports.Report.t()) :: map()
Convert an event struct to an ActivityStream representation