Compare commits

..

No commits in common. "84188a6066edce6f86f7553994597d7281ff1af6" and "79784faba1a4614c2e399de2bb544d5ed2d90bea" have entirely different histories.

2 changed files with 20 additions and 6 deletions

View File

@ -3173,7 +3173,10 @@ export type FollowUserMutationVariables = Exact<{
export type FollowUserMutation = {
__typename?: "Mutation";
followUser: { __typename?: "UserGQL"; username: string };
followUser: {
__typename?: "UserGQL";
followers?: Array<{ __typename?: "UserGQL"; username: string }> | null;
};
};
export type UnfollowUserMutationVariables = Exact<{
@ -3182,7 +3185,10 @@ export type UnfollowUserMutationVariables = Exact<{
export type UnfollowUserMutation = {
__typename?: "Mutation";
unfollowUser: { __typename?: "UserGQL"; username: string };
unfollowUser: {
__typename?: "UserGQL";
followers?: Array<{ __typename?: "UserGQL"; username: string }> | null;
};
};
export type GetStreamMonitoringDetailsQueryVariables = Exact<{
@ -5318,7 +5324,9 @@ export type GetUserTagsQueryResult = Apollo.QueryResult<
export const FollowUserDocument = gql`
mutation followUser($followedUserId: Int!) {
followUser(followedUserId: $followedUserId) {
username
followers {
username
}
}
}
`;
@ -5368,7 +5376,9 @@ export type FollowUserMutationOptions = Apollo.BaseMutationOptions<
export const UnfollowUserDocument = gql`
mutation unfollowUser($followedUserId: Int!) {
unfollowUser(followedUserId: $followedUserId) {
username
followers {
username
}
}
}
`;

View File

@ -89,12 +89,16 @@ query GetUserTags {
mutation followUser($followedUserId: Int!) {
followUser(followedUserId: $followedUserId) {
username
followers {
username
}
}
}
mutation unfollowUser($followedUserId: Int!) {
unfollowUser(followedUserId: $followedUserId) {
username
followers {
username
}
}
}