type

Version

type Version struct { ID string DocumentID string Revision int Status Status Snapshot Document CreatedAt time.Time }

One retained version snapshot for a document.

Source store/store.go:134

IDstring
Version record identity.
DocumentIDstring
Owning document ID.
Revisionint
Retained revision number.
StatusStatus
Draft or published snapshot status.
SnapshotDocument
Stored document snapshot.
CreatedAttime.Time
Snapshot creation time.