Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
providedIn: "root"
})
export class RemoveChatGQL extends Apollo.Mutation<
RemoveChat.Mutation,
RemoveChat.Variables
> {
document: any = gql`
mutation RemoveChat($chatId: ID!) {
removeChat(chatId: $chatId)
}
`;
}
@Injectable({
providedIn: "root"
})
export class RemoveMessagesGQL extends Apollo.Mutation<
RemoveMessages.Mutation,
RemoveMessages.Variables
> {
document: any = gql`
mutation RemoveMessages($chatId: ID!, $messageIds: [ID!]) {
removeMessages(chatId: $chatId, messageIds: $messageIds)
}
`;
}
// ====================================================
// END: Apollo Angular template
// ====================================================
AllVariationsQueryVariables
> {
document = AllVariationsDocument;
}
export const DeleteVariationDocument = gql`
mutation deleteVariation($id: String!) {
deleteVariation(variationId: $id) {
id
}
}
`;
@Injectable({
providedIn: 'root'
})
export class DeleteVariationGQL extends Apollo.Mutation<
DeleteVariationMutation,
DeleteVariationMutationVariables
> {
document = DeleteVariationDocument;
}
export const AcceptNewBaselineDocument = gql`
mutation acceptNewBaseline(
$testSessionId: String!
$variationId: String!
$comment: String
) {
acceptNewBaseline(
variationId: $variationId
testSessionId: $testSessionId
comment: $comment
) {
addChat(userId: $userId) {
...ChatWithoutMessages
messages {
...Message
}
}
}
${ChatWithoutMessagesFragment}
${MessageFragment}
`;
}
@Injectable({
providedIn: "root"
})
export class AddGroupGQL extends Apollo.Mutation<
AddGroup.Mutation,
AddGroup.Variables
> {
document: any = gql`
mutation AddGroup($userIds: [ID!]!, $groupName: String!) {
addGroup(userIds: $userIds, groupName: $groupName) {
...ChatWithoutMessages
messages {
...Message
}
}
}
${ChatWithoutMessagesFragment}
${MessageFragment}
`;
})
export class IdentityGQL extends Apollo.Query {
document: any = gql`
query identity {
identity @client {
...IdentityFields
}
}
${IdentityFieldsFragment}
`;
}
@Injectable({
providedIn: 'root'
})
export class AddIdentityGQL extends Apollo.Mutation {
document: any = gql`
mutation addIdentity($identity: IdentityInput) {
addIdentity(identity: $identity) @client {
...IdentityFields
}
}
${IdentityFieldsFragment}
`;
}
@Injectable({
providedIn: 'root'
})
export class UpdateNgOidcInfoGQL extends Apollo.Mutation {
document: any = gql`
mutation updateNgOidcInfo($info: NgOidcInfoInput) {
})
export class AddIdentityGQL extends Apollo.Mutation {
document: any = gql`
mutation addIdentity($identity: IdentityInput) {
addIdentity(identity: $identity) @client {
...IdentityFields
}
}
${IdentityFieldsFragment}
`;
}
@Injectable({
providedIn: 'root'
})
export class UpdateNgOidcInfoGQL extends Apollo.Mutation {
document: any = gql`
mutation updateNgOidcInfo($info: NgOidcInfoInput) {
updateNgOidcInfo(info: $info) @client {
...NgOidcInfoFields
}
}
${NgOidcInfoFieldsFragment}
`;
}
@Injectable({
providedIn: 'root'
})
export class NgOidcInfoGQL extends Apollo.Query {
document: any = gql`
query ngOidcInfo {
> {
document = AllProjectsDocument;
}
export const AddProjectDocument = gql`
mutation addProject($name: String!, $description: String) {
createProject(data: { name: $name, description: $description }) {
...ProjectData
}
}
${ProjectDataFragmentDoc}
`;
@Injectable({
providedIn: 'root'
})
export class AddProjectGQL extends Apollo.Mutation<
AddProjectMutation,
AddProjectMutationVariables
> {
document = AddProjectDocument;
}
export const DeleteProjectDocument = gql`
mutation deleteProject($projectId: String!) {
deleteProject(projectId: $projectId) {
id
}
}
`;
@Injectable({
providedIn: 'root'
})