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

Function getUserStack

packages/shared/src/graphql/user/userStack.ts:169–177  ·  view source on GitHub ↗
(
  userId: string,
  first = MAX_STACK_ITEMS,
)

Source from the content-addressed store, hash-verified

167`;
168
169export const getUserStack = async (
170 userId: string,
171 first = MAX_STACK_ITEMS,
172): Promise<Connection<UserStack>> => {
173 const result = await gqlClient.request<{
174 userStack: Connection<UserStack>;
175 }>(USER_STACK_QUERY, { userId, first });
176 return result.userStack;
177};
178
179export const searchTools = async (
180 query: string,

Callers 1

getStaticPropsFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected