Skip to main content

Variable: nodes

const nodes: object

Node clients that need no registry: the internal nodes and custom().

Type Declaration​

custom​

readonly custom: (nodeType, operation?, version?) => Operation<Record<string, Json>, Json>

Any node type, including ones the registry snapshot does not know. Typed as JSON in and out.

Parameters​

nodeType​

string

operation?​

string

version?​

string

Returns​

Operation<Record<string, Json>, Json>

internal​

readonly internal: InternalNodes