Update groupID type for mutations.
This commit is contained in:
@@ -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
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
`;
|
`;
|
||||||
|
|||||||
@@ -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
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
`;
|
`;
|
||||||
|
|||||||
Reference in New Issue
Block a user