MCPcopy Create free account
hub / github.com/tinyplex/tinybase / constructStorageKey

Function constructStorageKey

test/unit/persisters/common/mocks.ts:834–835  ·  view source on GitHub ↗
(type: string, ...ids: string[])

Source from the content-addressed store, hash-verified

832
833// Key construction matching the persister's format
834const constructStorageKey = (type: string, ...ids: string[]) =>
835 STORAGE_PREFIX + type + JSON.stringify(ids).slice(1, -1);
836
837export const mockDurableObjectStorage: Persistable<MockDurableObjectStorage> = {
838 autoLoadPause: 10,

Callers 1

mocks.tsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…