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
ID:string- Version record identity.
DocumentID:string- Owning document ID.
Revision:int- Retained revision number.
Status:Status- Draft or published snapshot status.
Snapshot:Document- Stored document snapshot.
CreatedAt:time.Time- Snapshot creation time.