Documentation / @etherfold/browser / PublishedStateSnapshot
Type Alias: PublishedStateSnapshot ​
PublishedStateSnapshot =
object
Defined in: packages/core/dist/publication.d.ts:20
ONE STATE SNAPSHOT a publication names: the latest one published for ONE generation, keyed in the index by that generation's digest (generationDigestOf).
Carries the generation's two halves apart (stream, processor) so a tab can find the entry for its own processor on ANOTHER stream and say why it cannot use it, rather than silently finding nothing.
Properties ​
body ​
readonlybody:string
Defined in: packages/core/dist/publication.d.ts:26
The body's file name, relative to the index. Content-addressed, so it never changes.
contentHash ​
readonlycontentHash:string
Defined in: packages/core/dist/publication.d.ts:28
The content hash of the DECOMPRESSED document, as ADR-0066 defines and renders one.
cut ​
readonlycut:number
Defined in: packages/core/dist/publication.d.ts:42
The cut: tip - finality, and the lastToBlock of the resume position the body carries.
floor ​
readonlyfloor:number
Defined in: packages/core/dist/publication.d.ts:40
The history floor the installed store reports: the body carries the rows live at it and every later block's changes up to takenAt. Equal to takenAt.number for history none.
processor ​
readonlyprocessor:string
Defined in: packages/core/dist/publication.d.ts:24
The processor identity of that generation (ADR-0086): the SHA-256 of its bundle's bytes.
savedAt ​
readonlysavedAt:string
Defined in: packages/core/dist/publication.d.ts:44
When it was produced. Informational.
stream ​
readonlystream:string
Defined in: packages/core/dist/publication.d.ts:22
The stream digest of the generation that computed the rows: its source and stream config.
takenAt ​
readonlytakenAt:object
Defined in: packages/core/dist/publication.d.ts:30
The block the rows are AS OF: the highest recorded block at or below the cut.
hash ​
readonlyhash:string
number ​
readonlynumber:number
timestamp ​
readonlytimestamp:number