Added graphql queries
This commit is contained in:
16
src/lib/graphql/mutations/incrementGroupMutation.ts
Normal file
16
src/lib/graphql/mutations/incrementGroupMutation.ts
Normal file
@@ -0,0 +1,16 @@
|
||||
import { gql } from "@urql/core";
|
||||
|
||||
const incrementGroup = gql`
|
||||
mutation incrementGroup($groupID: BigInt, $linksDeleted: Int) {
|
||||
incrementGroup(groupID: $groupID, linksDeleted: $linksDeleted) {
|
||||
telegramID
|
||||
name
|
||||
username
|
||||
linksDeleted
|
||||
createdAt
|
||||
updatedAt
|
||||
}
|
||||
}
|
||||
`;
|
||||
|
||||
export default incrementGroup;
|
||||
Reference in New Issue
Block a user