MCPcopy Create free account
hub / github.com/monkeytypegame/monkeytype / getThemes

Function getThemes

backend/src/dal/user.ts:768–771  ·  view source on GitHub ↗
(uid: string)

Source from the content-addressed store, hash-verified

766export type DBCustomTheme = WithObjectId<CustomTheme>;
767
768export async function getThemes(uid: string): Promise<DBCustomTheme[]> {
769 const user = await getPartialUser(uid, "get themes", ["customThemes"]);
770 return user.customThemes ?? [];
771}
772
773export async function getPersonalBests(
774 uid: string,

Callers

nothing calls this directly

Calls 1

getPartialUserFunction · 0.85

Tested by

no test coverage detected