Update groupID type for mutations.

This commit is contained in:
2025-12-16 15:23:04 -05:00
parent 2050e61706
commit 8076b984f5
2 changed files with 4 additions and 11 deletions

View File

@@ -2,8 +2,8 @@ import { gql } from "@urql/core";
const addGroup = gql` const addGroup = gql`
mutation addGroup( mutation addGroup(
$groupID: BigInt $groupID: String!
$groupName: String $groupName: String!
$groupUsername: String $groupUsername: String
$mutationKey: String $mutationKey: String
) { ) {
@@ -13,12 +13,8 @@ const addGroup = gql`
groupUsername: $groupUsername groupUsername: $groupUsername
mutationKey: $mutationKey mutationKey: $mutationKey
) { ) {
telegramID
name name
username username
linksDeleted
createdAt
updatedAt
} }
} }
`; `;

View File

@@ -2,8 +2,8 @@ import { gql } from "@urql/core";
const incrementGroup = gql` const incrementGroup = gql`
mutation incrementGroup( mutation incrementGroup(
$groupID: BigInt $groupID: String!
$linksDeleted: Int $linksDeleted: Int!
$mutationKey: String $mutationKey: String
) { ) {
incrementGroup( incrementGroup(
@@ -11,12 +11,9 @@ const incrementGroup = gql`
linksDeleted: $linksDeleted linksDeleted: $linksDeleted
mutationKey: $mutationKey mutationKey: $mutationKey
) { ) {
telegramID
name name
username username
linksDeleted linksDeleted
createdAt
updatedAt
} }
} }
`; `;