reactiveCollectionChangeFrame()
Build a D161 strict-JSON change frame before validation/encoding.
Import
Section titled “Import”import { reactiveCollectionChangeFrame } from "@graphrefly/ts/storage";Signature
Section titled “Signature”function reactiveCollectionChangeFrame( kind: K, change: C,): ReactiveCollectionChangeFrame<K, C>Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
kind | K | kind value used by the helper. |
change | C | change value used by the helper. |
Returns
Section titled “Returns”A ReactiveCollectionChangeFrame<K, C> value.
Example
Section titled “Example”import { reactiveCollectionChangeFrame } from "@graphrefly/ts/storage";Source
Section titled “Source”packages/ts/src/storage/reactive-collection.ts