interface BridgeCollections The keyed collections of one generated client, passed to connectView as collections. A View without keyed collections does not bundle this code.
Methods
validate
validate(state: unknown): void; Throws when a decoded state has a missing collection or invalid keys.
apply
apply(state: unknown, changes: unknown): unknown; Applies a collection change frame to a decoded state. Throws for an unusable frame.
applyWire
applyWire(wire: unknown, changes: readonly unknown[]): Record<string, unknown>; Applies a frame that apply accepted to the wire state.