2024-01-23 11:47:02 +00:00
|
|
|
import { gql } from '@apollo/client';
|
|
|
|
|
|
|
|
export const removeMember = gql`
|
|
|
|
mutation ($memberId: String!) {
|
|
|
|
removeMember(memberId: $memberId)
|
|
|
|
}
|
|
|
|
`;
|
2024-01-25 05:14:51 +00:00
|
|
|
|
|
|
|
export const addEnvironmentVariables = gql`
|
|
|
|
mutation ($projectId: String!, $environmentVariables: [AddEnvironmentVariableInput!]) {
|
|
|
|
addEnvironmentVariables(projectId: $projectId, environmentVariables: $environmentVariables)
|
|
|
|
}
|
|
|
|
`;
|
2024-01-25 05:47:44 +00:00
|
|
|
|
|
|
|
export const updateDeploymentToProd = gql`
|
|
|
|
mutation ($deploymentId: String!) {
|
|
|
|
updateDeploymentToProd(deploymentId: $deploymentId)
|
|
|
|
}
|
|
|
|
`;
|
2024-01-25 11:08:40 +00:00
|
|
|
|
|
|
|
export const updateProjectMutation = gql`
|
|
|
|
mutation ($projectId: String!, $updateProject: UpdateProjectInput) {
|
|
|
|
updateProject(projectId: $projectId, updateProject: $updateProject)
|
|
|
|
}
|
|
|
|
`;
|