MCPcopy
hub / github.com/tinyplex/tinybase / constructStorageKey

Function constructStorageKey

src/persisters/persister-partykit-server/index.ts:221–225  ·  view source on GitHub ↗
(
  storagePrefix: string,
  type: StorageKeyType,
  ...ids: Ids
)

Source from the content-addressed store, hash-verified

219};
220
221const constructStorageKey = (
222 storagePrefix: string,
223 type: StorageKeyType,
224 ...ids: Ids
225) => construct(storagePrefix, type, slice(jsonStringWithMap(ids), 1, -1));
226
227const createResponse = async (
228 that: TinyBasePartyKitServer,

Callers 1

saveStoreFunction · 0.70

Calls 3

constructFunction · 0.90
sliceFunction · 0.90
jsonStringWithMapFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…