FieldPathClient interface

Module @runic-artifex/views/generated in @runic-artifex/views 0.23.0

interface FieldPathClient

What a generated client with field paths offers their descriptors.

Methods

writePath

writePath<T>(member: string, path: readonly string[], write: BridgeFieldWriteRequest, decode: (wire: unknown) => T): Promise<FieldWriteReceipt<T>>;

A checked write of a field path below member (field-paths/1); the values are encoded as their wire types.

fieldPathVersion

fieldPathVersion(): number;

The version a field path write is based on: the revision of the state the client shows.