# `Decree.EventStore.SnapshotData`
[🔗](https://github.com/sparkle-space/decree/blob/v0.1.0/lib/decree/event_store/snapshot_data.ex#L1)

Snapshot data

`snapshot_version` is the version of the snapshot's shape, and with the source names its
row: code at two versions keeps two rows. A nil `snapshot_version` is refused with
`{:error, :invalid_snapshot_version}`.

# `t`

```elixir
@type t() :: %Decree.EventStore.SnapshotData{
  created_at: DateTime.t(),
  data: binary(),
  metadata: binary(),
  snapshot_version: non_neg_integer() | nil,
  source_type: String.t(),
  source_uuid: String.t(),
  source_version: non_neg_integer()
}
```

---

*Consult [api-reference.md](api-reference.md) for complete listing*
