AppRecorder.Events (app_recorder v0.4.2) View Source
The requests context.
Link to this section Summary
Link to this section Functions
Specs
event_queryable(keyword()) :: Ecto.Queryable.t()
Specs
get_event( binary(), keyword() ) :: AppRecorder.Events.Event.t() | nil
Specs
get_event!( binary(), keyword() ) :: AppRecorder.Events.Event.t()
Specs
list_events(keyword()) :: [AppRecorder.Events.Event.t()]
List all events
Specs
paginate_events(pos_integer(), pos_integer(), keyword()) :: %{ data: [AppRecorder.Events.Event.t()], total: integer(), page_size: integer(), page_number: integer() }
Paginate events
Specs
record_event!( map(), keyword() ) :: AppRecorder.Events.Event.t()
Record an event
Options
:allowed_event_types
- List of allowed event types
Specs
record_event_multi(Ecto.Multi.t(), map() | function(), keyword()) :: Ecto.Multi.t()
Return an record event multi
Options
:allowed_event_types
- List of allowed event types