API reference › @evolu/common › local‑first/Protocol › ApplyProtocolMessageAsClientOptions
Defined in: packages/common/src/local-first/Protocol.ts:1207
Properties
onChangeTooLarge?
readonly onChangeTooLarge?: (error: ProtocolChangeTooLargeError) => void;
Defined in: packages/common/src/local-first/Protocol.ts:1218
Called for each stored change that sync skipped as a
ProtocolChangeTooLargeError. Without it, the error is logged with
console.warn. It must not throw, because a throw is a defect that aborts
the Run.
rangesMaxSize?
readonly rangesMaxSize?: number & Brand<"NonNaN"> & Brand<"Finite"> & Brand<"Int"> & Brand<"Between3000-100000">;
Defined in: packages/common/src/local-first/Protocol.ts:1210
version?
readonly version?: number & Brand<"NonNaN"> & Brand<"Finite"> & Brand<"Int"> & Brand<"NonNegative">;
Defined in: packages/common/src/local-first/Protocol.ts:1221
For tests only.
writeKey?
readonly writeKey?: Uint8Array<ArrayBufferLike> & Brand<"Entropy"> & Brand<"Length16"> & Brand<"OwnerWriteKey">;
Defined in: packages/common/src/local-first/Protocol.ts:1208