incident v0.2.0 Incident.Event.PersistedEvent View Source

Defines the common data structure for any event that is persisted in the Event Store.

All fields are required.

Link to this section Summary

Link to this section Types

Link to this type

t() View Source
t() :: %Incident.Event.PersistedEvent{
  aggregate_id: String.t() | nil,
  event_data: map() | nil,
  event_date: DateTime.t() | nil,
  event_id: String.t() | nil,
  event_type: String.t() | nil,
  version: pos_integer() | nil
}