22 lines
375 B
TypeScript
22 lines
375 B
TypeScript
import { gql } from "@urql/core";
|
|
|
|
const incrementGroup = gql`
|
|
mutation incrementGroup(
|
|
$groupID: String!
|
|
$linksDeleted: Int!
|
|
$mutationKey: String
|
|
) {
|
|
incrementGroup(
|
|
groupID: $groupID
|
|
linksDeleted: $linksDeleted
|
|
mutationKey: $mutationKey
|
|
) {
|
|
name
|
|
username
|
|
linksDeleted
|
|
}
|
|
}
|
|
`;
|
|
|
|
export default incrementGroup;
|