Function
getUserStack
(
userId: string,
first = MAX_STACK_ITEMS,
)
Source from the content-addressed store, hash-verified
| 167 | `; |
| 168 | |
| 169 | export 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 | |
| 179 | export const searchTools = async ( |
| 180 | query: string, |
Tested by
no test coverage detected