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

Function generateStorageKey

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

Source from the content-addressed store, hash-verified

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

Callers 5

useDraftStorageFunction · 0.90
getHasSeenTagsStorageKeyFunction · 0.90
squads.tsFile · 0.90
useMarkdownInputFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected