MCPcopy Create free account
hub / github.com/dailydotdev/apps / storageKey

Function storageKey

packages/shared/src/features/patchy/patchyDay.ts:81–81  ·  view source on GitHub ↗
(userId: string)

Source from the content-addressed store, hash-verified

79};
80
81const storageKey = (userId: string) => `patchy_day:${userId}`;
82
83export const readPatchyDay = (userId: string, now = new Date()): PatchyDay =>
84 parsePatchyDay(storageWrapper.getItem(storageKey(userId)), now);

Callers 2

readPatchyDayFunction · 0.70
recordPatchyActivityFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected