interface
Version
A stored version snapshot; its wire keys intentionally use capital initials.
Properties
| Property | Type | Description |
|---|---|---|
ID | string | The ID value. |
DocumentID | string | The DocumentID value. |
Revision | number | The Revision value. |
Status | DocumentStatus< | The Status value. |
Snapshot | Document | The Snapshot value. |
CreatedAt | string | The CreatedAt value. |
How it works
Status follows the generated document _status literal when present and otherwise retains the draft | published compatibility union.
Full signature
interface Version<Document> { ... }