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

Function getInbox

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

Source from the content-addressed store, hash-verified

947}
948
949export async function getInbox(
950 uid: string,
951): Promise<NonNullable<DBUser["inbox"]>> {
952 const user = await getPartialUser(uid, "get inbox", ["inbox"]);
953 return user.inbox ?? [];
954}
955
956type AddToInboxBulkEntry = {
957 uid: string;

Callers

nothing calls this directly

Calls 1

getPartialUserFunction · 0.85

Tested by

no test coverage detected