Compare commits

..

No commits in common. "cfcf1dbcd2110e2ae1eb8ae383766b29336f846a" and "baf139aab590258b04c808be84bb36ec3ea1340d" have entirely different histories.

2 changed files with 8 additions and 7 deletions

View File

@ -3255,12 +3255,12 @@ export type UnfollowUserMutation = {
}; };
export type GetUserFollowingFollowersQueryVariables = Exact<{ export type GetUserFollowingFollowersQueryVariables = Exact<{
[key: string]: never; userId: Scalars["Int"]["input"];
}>; }>;
export type GetUserFollowingFollowersQuery = { export type GetUserFollowingFollowersQuery = {
__typename?: "Query"; __typename?: "Query";
getLoggedInUser?: { getUser?: {
__typename?: "UserGQL"; __typename?: "UserGQL";
following?: Array<{ following?: Array<{
__typename?: "UserGQL"; __typename?: "UserGQL";
@ -5527,8 +5527,8 @@ export type UnfollowUserMutationOptions = Apollo.BaseMutationOptions<
UnfollowUserMutationVariables UnfollowUserMutationVariables
>; >;
export const GetUserFollowingFollowersDocument = gql` export const GetUserFollowingFollowersDocument = gql`
query getUserFollowingFollowers { query getUserFollowingFollowers($userId: Int!) {
getLoggedInUser { getUser(userId: $userId) {
following { following {
id id
username username
@ -5553,11 +5553,12 @@ export const GetUserFollowingFollowersDocument = gql`
* @example * @example
* const { data, loading, error } = useGetUserFollowingFollowersQuery({ * const { data, loading, error } = useGetUserFollowingFollowersQuery({
* variables: { * variables: {
* userId: // value for 'userId'
* }, * },
* }); * });
*/ */
export function useGetUserFollowingFollowersQuery( export function useGetUserFollowingFollowersQuery(
baseOptions?: Apollo.QueryHookOptions< baseOptions: Apollo.QueryHookOptions<
GetUserFollowingFollowersQuery, GetUserFollowingFollowersQuery,
GetUserFollowingFollowersQueryVariables GetUserFollowingFollowersQueryVariables
>, >,

View File

@ -112,8 +112,8 @@ mutation unfollowUser($followedUserId: Int!) {
} }
} }
query getUserFollowingFollowers { query getUserFollowingFollowers($userId: Int!) {
getLoggedInUser { getUser(userId: $userId) {
following { following {
id id
username username