forked from cerc-io/snowballtools-base
Nabarun Gogoi
44310d4eb8
* Create and use add environment variables gql client method * Implement get environment variables method * Display fetched environment variables * Refactor create environment variables submit handler * Use environment variables type from gql-client * Add fixtures for project member --------- Co-authored-by: neeraj <neeraj.rtly@gmail.com>
14 lines
377 B
TypeScript
14 lines
377 B
TypeScript
import { gql } from '@apollo/client';
|
|
|
|
export const removeMember = gql`
|
|
mutation ($memberId: String!) {
|
|
removeMember(memberId: $memberId)
|
|
}
|
|
`;
|
|
|
|
export const addEnvironmentVariables = gql`
|
|
mutation ($projectId: String!, $environmentVariables: [AddEnvironmentVariableInput!]) {
|
|
addEnvironmentVariables(projectId: $projectId, environmentVariables: $environmentVariables)
|
|
}
|
|
`;
|