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