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

Function getUserShortInfo

packages/shared/src/graphql/users.ts:562–568  ·  view source on GitHub ↗
(
  id: string,
)

Source from the content-addressed store, hash-verified

560`;
561
562export const getUserShortInfo = async (
563 id: string,
564): Promise<UserShortProfile> => {
565 const res = await gqlClient.request(GET_REFERRING_USER_QUERY, { id });
566
567 return res.user || null;
568};
569
570export enum UserPersonalizedDigestType {
571 Digest = 'digest',

Callers 4

MarkdownFunction · 0.90
ProfileTooltipFunction · 0.90
LazyUserEntityCardFunction · 0.90
getServerSidePropsFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected