Compare commits

..

No commits in common. "f6e4a1bc0babb23683e74e08463702112f1f02d1" and "8690e8102998f52c4e5c085a4f110eb75449e3a5" have entirely different histories.

2 changed files with 10 additions and 8 deletions

View File

@ -3202,13 +3202,14 @@ export type UnfollowUserMutation = {
}; };
export type GetUserFollowingFollowersQueryVariables = Exact<{ export type GetUserFollowingFollowersQueryVariables = Exact<{
userId: Scalars["Int"]["input"]; [key: string]: never;
}>; }>;
export type GetUserFollowingFollowersQuery = { export type GetUserFollowingFollowersQuery = {
__typename?: "Query"; __typename?: "Query";
getUser?: { getLoggedInUser?: {
__typename?: "UserGQL"; __typename?: "UserGQL";
id: number;
following?: Array<{ following?: Array<{
__typename?: "UserGQL"; __typename?: "UserGQL";
id: number; id: number;
@ -5474,8 +5475,9 @@ export type UnfollowUserMutationOptions = Apollo.BaseMutationOptions<
UnfollowUserMutationVariables UnfollowUserMutationVariables
>; >;
export const GetUserFollowingFollowersDocument = gql` export const GetUserFollowingFollowersDocument = gql`
query getUserFollowingFollowers($userId: Int!) { query getUserFollowingFollowers {
getUser(userId: $userId) { getLoggedInUser {
id
following { following {
id id
username username
@ -5500,12 +5502,11 @@ 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,9 @@ mutation unfollowUser($followedUserId: Int!) {
} }
} }
query getUserFollowingFollowers($userId: Int!) { query getUserFollowingFollowers {
getUser(userId: $userId) { getLoggedInUser {
id
following { following {
id id
username username