Merge pull request 'Add profile image for followers' (#152) from loewy/add-profile-image-for-followers into master

Reviewed-on: #152
This commit is contained in:
loewy 2024-12-19 17:36:44 -07:00
commit bf8e851139
2 changed files with 14 additions and 1 deletions

View File

@ -3732,7 +3732,12 @@ export type GetUserRelationshipsMatchingQuery = {
__typename?: "UserRelationship"; __typename?: "UserRelationship";
toUserFollows: boolean; toUserFollows: boolean;
toUserIsFollowedBy: boolean; toUserIsFollowedBy: boolean;
toUser: { __typename?: "UserGQL"; username: string; id: number }; toUser: {
__typename?: "UserGQL";
username: string;
profileImageUri?: string | null;
id: number;
};
}>; }>;
}; };
}; };
@ -3803,11 +3808,13 @@ export type GetUserFollowingFollowersQuery = {
__typename?: "UserGQL"; __typename?: "UserGQL";
id: number; id: number;
username: string; username: string;
profileImageUri?: string | null;
}> | null; }> | null;
followers?: Array<{ followers?: Array<{
__typename?: "UserGQL"; __typename?: "UserGQL";
id: number; id: number;
username: string; username: string;
profileImageUri?: string | null;
}> | null; }> | null;
} | null; } | null;
}; };
@ -6440,6 +6447,7 @@ export const GetUserRelationshipsMatchingDocument = gql`
relationships { relationships {
toUser { toUser {
username username
profileImageUri
id id
} }
toUserFollows toUserFollows
@ -6713,10 +6721,12 @@ export const GetUserFollowingFollowersDocument = gql`
following { following {
id id
username username
profileImageUri
} }
followers { followers {
id id
username username
profileImageUri
} }
} }
} }

View File

@ -66,6 +66,7 @@ query getUserRelationshipsMatching(
relationships { relationships {
toUser { toUser {
username username
profileImageUri
id id
} }
toUserFollows toUserFollows
@ -117,10 +118,12 @@ query getUserFollowingFollowers {
following { following {
id id
username username
profileImageUri
} }
followers { followers {
id id
username username
profileImageUri
} }
} }
} }