View Source Statestores.Schemas.Event (spawn_statestores v0.5.3)

App schema

Link to this section Summary

Link to this section Types

@type t() :: %Statestores.Schemas.Event{
  __meta__: term(),
  actor: term(),
  data: term(),
  data_type: term(),
  inserted_at: term(),
  revision: term(),
  system: term(),
  tags: term(),
  updated_at: term()
}

Link to this section Functions

Link to this function

changeset(event, attrs \\ %{})

View Source
@spec changeset(
  %Statestores.Schemas.Event{
    __meta__: term(),
    actor: term(),
    data: term(),
    data_type: term(),
    inserted_at: term(),
    revision: term(),
    system: term(),
    tags: term(),
    updated_at: term()
  },
  map()
) :: Ecto.Changeset.t() | {:error, Ecto.Changeset.t()}