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

Function updateSourceStack

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

Source from the content-addressed store, hash-verified

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

Callers 1

useSourceStackFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected