From eb15f4f3b8e0edea50ff9ea551477beeb1e69c4f Mon Sep 17 00:00:00 2001 From: Loewy Date: Thu, 19 Dec 2024 16:33:48 -0800 Subject: [PATCH] add profile image to user relationship --- src/index.tsx | 8 +++++++- src/operations/user.gql | 1 + 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/src/index.tsx b/src/index.tsx index 5094779..2595bb7 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -3732,7 +3732,12 @@ export type GetUserRelationshipsMatchingQuery = { __typename?: "UserRelationship"; toUserFollows: boolean; toUserIsFollowedBy: boolean; - toUser: { __typename?: "UserGQL"; username: string; id: number }; + toUser: { + __typename?: "UserGQL"; + username: string; + profileImageUri?: string | null; + id: number; + }; }>; }; }; @@ -6442,6 +6447,7 @@ export const GetUserRelationshipsMatchingDocument = gql` relationships { toUser { username + profileImageUri id } toUserFollows diff --git a/src/operations/user.gql b/src/operations/user.gql index 85993a4..8c02d88 100644 --- a/src/operations/user.gql +++ b/src/operations/user.gql @@ -66,6 +66,7 @@ query getUserRelationshipsMatching( relationships { toUser { username + profileImageUri id } toUserFollows