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

Function bonesGivenKey

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

Source from the content-addressed store, hash-verified

8
9const freeBoneKey = (userId: string) => `patchy_free_bone:${userId}`;
10const bonesGivenKey = (userId: string) => `patchy_bones_given:${userId}`;
11
12const readBonesGiven = (userId: string): number => {
13 const count = Number(storageWrapper.getItem(bonesGivenKey(userId)));

Callers 2

readBonesGivenFunction · 0.85
usePatchyBoneFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected