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

Function getStats

backend/src/dal/user.ts:790–800  ·  view source on GitHub ↗
(
  uid: string,
)

Source from the content-addressed store, hash-verified

788}
789
790export async function getStats(
791 uid: string,
792): Promise<Pick<DBUser, "startedTests" | "completedTests" | "timeTyping">> {
793 const user = await getPartialUser(uid, "get stats", [
794 "startedTests",
795 "completedTests",
796 "timeTyping",
797 ]);
798
799 return user;
800}
801
802export async function getFavoriteQuotes(
803 uid: string,

Callers

nothing calls this directly

Calls 1

getPartialUserFunction · 0.85

Tested by

no test coverage detected