Skip to content

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 ​

readonly body: 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 ​

readonly contentHash: 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 ​

readonly cut: 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 ​

readonly floor: 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 ​

readonly processor: 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 ​

readonly savedAt: string

Defined in: packages/core/dist/publication.d.ts:44

When it was produced. Informational.


stream ​

readonly stream: 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 ​

readonly takenAt: 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 ​

readonly hash: string

number ​

readonly number: number

timestamp ​

readonly timestamp: number