Skip to content

Documentation / @etherfold/browser / PublishedStreamSeed

Type Alias: PublishedStreamSeed ​

PublishedStreamSeed = object

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

ONE STREAM SEED a publication names: the latest one published for ONE STREAM, keyed in the index by that stream's digest.

Keyed by stream and not by generation, because a seed belongs to a stream and not to a processor: an old build on the same stream still takes the newest seed (ADR-0095). The body is the seed envelope (StreamSeed, ADR-0063 to ADR-0066), gzipped.

Properties ​

body ​

readonly body: string

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

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:64

The content hash of the DECOMPRESSED payload (ADR-0066): the value streamSeedContentHash computes and an install's expectedContentHash pins.


coverage ​

readonly coverage: StreamSeedCoverage

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

How far the seed reaches: the stream's start block up to the cut the state snapshot was taken at.


events ​

readonly events: number

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

How many stored events it carries. Informational: what a tab downloads is proportional to it.


savedAt ​

readonly savedAt: string

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

When it was produced. Informational, and NOT inside the body, so the body stays deterministic.


stream ​

readonly stream: string

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

The stream digest the seed is for, as a client recomputes it (ADR-0064). Also its key.