Storage representation for semantic session events.
Summary
Types
@type t() :: %Vibe.Storage.Representation.Event{ at: DateTime.t(), data: map(), id: String.t(), seq: non_neg_integer() | nil, session_id: String.t(), type: atom() }
Functions
@spec decode_line(String.t()) :: [{non_neg_integer(), Vibe.Event.t()}]
@spec decode_map(map()) :: {:ok, {non_neg_integer(), Vibe.Event.t()}} | :error
@spec encode(Vibe.Event.t(), non_neg_integer()) :: map()