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

Function clientOnlyFlagsKey

packages/shared/src/contexts/SettingsContext.tsx:180–185  ·  view source on GitHub ↗
(userId?: string)

Source from the content-addressed store, hash-verified

178// store is keyed by account: without it a second login on the same machine
179// inherits the first one's rail density and pinned dock.
180const clientOnlyFlagsKey = (userId?: string): string =>
181 generateStorageKey(
182 StorageTopic.Settings,
183 'clientOnlyFlags',
184 userId ?? 'anonymous',
185 );
186
187const legacyClientOnlyFlagsKey = generateStorageKey(
188 StorageTopic.Settings,

Callers 4

readStoredFlagsFunction · 0.85
writeStoredFlagsFunction · 0.85
dropGraduatedStoredFlagsFunction · 0.85
adoptLegacyStoredFlagsFunction · 0.85

Calls 1

generateStorageKeyFunction · 0.90

Tested by

no test coverage detected