Current section

Files

Jump to
commanded lib commanded event_store snapshot_data.ex
Raw

lib/commanded/event_store/snapshot_data.ex

defmodule Commanded.EventStore.SnapshotData do
@moduledoc """
Snapshot data
"""
@type t :: %Commanded.EventStore.SnapshotData{
source_uuid: String.t,
source_version: non_neg_integer,
source_type: String.t,
data: binary,
metadata: binary,
created_at: NaiveDateTime.t,
}
defstruct [
source_uuid: nil,
source_version: nil,
source_type: nil,
data: nil,
metadata: nil,
created_at: nil,
]
end