Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/willow/src/store/types.ts

Exploring Willow in the most efficient and sound programming language
Go to Latest
import * as willow from "https://deno.land/x/willow@0.2.1/src/store/types.ts";

Interfaces

The parameter schemes required to instantiate a Store.

Type Aliases

Configures the AuthorisationToken and is_authorised_write parameters of the Willow data model, used to restrict write access to a Willow data store.

Compare two ValueType for equality.

Configures the Fingerprint and PreFingerprint parameters used by 3d range-based set reconciliation.

Emitted after entry ingestion.

Emitted after an entry fails to be ingested by a store, either due to error or entry invalidity.

Emitted after an entry is not ingested by a store due to it being obsoleted by a more recent entry.

Emitted after a successuful entry ingestion.

Emitted after payload entry.

Emitted after a payload fails to be ingested, either because there is no entry corresponding to it, or because the given payload did not match the entry's PayloadDigest.

Emitted after a payload is not ingested because it is already held by the Store.

Emitted after the succesful ingestion of a payload.

Describes an entry and the amount of locally available payload bytes. https://willowprotocol.org/specs/3d-range-based-set-reconciliation/index.html#LengthyEntry

Configures the NamespaceId parameter of the Willow data model, as well as some associated parameters for the Willow General Sync Protocol.

The (possibly partial) data associated with a SignedEntry.

Configures the PayloadDigest parameter of the Willow data model, as well as some associated parameters for the Willow General Sync Protocol.

THe order in which to return entries.

Configures the SubspaceId parameter of the Willow data model, as well as some associated parameters for the Willow General Sync Protocol.