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

Function generateStorageKey

packages/shared/src/lib/storage.ts:14–18  ·  view source on GitHub ↗
(
  topic: StorageTopic,
  key: string,
  identifier = 'global',
)

Source from the content-addressed store, hash-verified

12export const APP_KEY_PREFIX = 'dailydev';
13
14export const generateStorageKey = (
15 topic: StorageTopic,
16 key: string,
17 identifier = 'global',
18): string => `${APP_KEY_PREFIX}:${topic}:${key}:${identifier}`;

Callers 13

storageKeyFunction · 0.90
getCommentDraftKeyFunction · 0.90
getHasSeenTagsStorageKeyFunction · 0.90
getStreakGoalHitKeyFunction · 0.90
getStreakCelebratedKeyFunction · 0.90
streakViewQueue.tsFile · 0.90
clientOnlyFlagsKeyFunction · 0.90
squads.tsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected