View Source Statestores.Schemas.Lookup (spawn_statestores v1.2.2)

Lookup schema

Summary

Types

@type t() :: %Statestores.Schemas.Lookup{
  __meta__: term(),
  actor: term(),
  data: term(),
  id: term(),
  inserted_at: term(),
  node: term(),
  system: term(),
  updated_at: term()
}

Functions

Link to this function

changeset(event, attrs \\ %{})

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