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

Function updateSourceStack

packages/shared/src/graphql/source/sourceStack.ts:136–144  ·  view source on GitHub ↗
(
  id: string,
  input: UpdateSourceStackInput,
)

Source from the content-addressed store, hash-verified

134};
135
136export const updateSourceStack = async (
137 id: string,
138 input: UpdateSourceStackInput,
139): Promise<SourceStack> => {
140 const result = await gqlClient.request<{
141 updateSourceStack: SourceStack;
142 }>(UPDATE_SOURCE_STACK_MUTATION, { id, input });
143 return result.updateSourceStack;
144};
145
146export const deleteSourceStack = async (id: string): Promise<void> => {
147 await gqlClient.request(DELETE_SOURCE_STACK_MUTATION, { id });

Callers 1

useSourceStackFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected