Skip to content
PACKAGES

collectionSnapshotKey()

Build the default D161 snapshot key for a storage prefix.

import { collectionSnapshotKey } from "@graphrefly/ts/storage";
function collectionSnapshotKey(storagePrefix = "reactive-collection"): string
ParameterTypeDescription
storagePrefixunknownstorage prefix value used by the helper.

The stable key or reference string.

import { collectionSnapshotKey } from "@graphrefly/ts/storage";

packages/ts/src/storage/reactive-collection.ts