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

Function updateUserStack

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

Source from the content-addressed store, hash-verified

209};
210
211export const updateUserStack = async (
212 id: string,
213 input: UpdateUserStackInput,
214): Promise<UserStack> => {
215 const result = await gqlClient.request<{
216 updateUserStack: UserStack;
217 }>(UPDATE_USER_STACK_MUTATION, { id, input });
218 return result.updateUserStack;
219};
220
221export const deleteUserStack = async (id: string): Promise<void> => {
222 await gqlClient.request(DELETE_USER_STACK_MUTATION, { id });

Callers 1

useUserStackFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected