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

Function updateUserStack

packages/shared/src/graphql/user/userStack.ts:191–199  ·  view source on GitHub ↗
(
  id: string,
  input: UpdateUserStackInput,
)

Source from the content-addressed store, hash-verified

189};
190
191export const updateUserStack = async (
192 id: string,
193 input: UpdateUserStackInput,
194): Promise<UserStack> => {
195 const result = await gqlClient.request<{
196 updateUserStack: UserStack;
197 }>(UPDATE_USER_STACK_MUTATION, { id, input });
198 return result.updateUserStack;
199};
200
201export const deleteUserStack = async (id: string): Promise<void> => {
202 await gqlClient.request(DELETE_USER_STACK_MUTATION, { id });

Callers 1

useUserStackFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected