( sourceId: string, input: AddSourceStackInput, )
| 124 | }; |
| 125 | |
| 126 | export const addSourceStack = async ( |
| 127 | sourceId: string, |
| 128 | input: AddSourceStackInput, |
| 129 | ): Promise<SourceStack> => { |
| 130 | const result = await gqlClient.request<{ |
| 131 | addSourceStack: SourceStack; |
| 132 | }>(ADD_SOURCE_STACK_MUTATION, { sourceId, input }); |
| 133 | return result.addSourceStack; |
| 134 | }; |
| 135 | |
| 136 | export const updateSourceStack = async ( |
| 137 | id: string, |