ChainHead
Defined in: src/schema.ts:190
The current head of one tenant’s chain.
Properties
Section titled “Properties”| Property | Type | Description | Defined in |
|---|---|---|---|
baseHash? |
string |
prevHash of the first retained event (genesis when never pruned). |
src/schema.ts:199 |
baseSeq? |
number |
First retained seq after pruning (1 when never pruned). | src/schema.ts:197 |
hash |
string |
Hash of the event at seq (genesis when empty). |
src/schema.ts:195 |
seq |
number |
Last assigned seq (0 when empty). | src/schema.ts:193 |
tenant |
string |
- | src/schema.ts:191 |
updatedAt? |
string |
ISO-8601 time of the last append. | src/schema.ts:201 |