EventSourcingDB.EventType (EventSourcingDB v1.0.1)

Copy Markdown View Source

Custom event type defined through a schema.

Summary

Types

t()

@type t() :: %EventSourcingDB.EventType{
  event_type: String.t(),
  is_phantom: boolean(),
  schema: map() | nil
}

Functions

new(value \\ %{})

@spec new(map()) :: t()