diff --git a/src/index.tsx b/src/index.tsx index f2bdd11..658394c 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -5387,6 +5387,8 @@ export type GetUserQuery = { updatedAt?: any | null; videosPrivateByDefault?: boolean | null; agreesToMarketing?: boolean | null; + following?: Array<{ __typename?: "UserGQL"; id: number }> | null; + followers?: Array<{ __typename?: "UserGQL"; id: number }> | null; } | null; }; @@ -10894,6 +10896,12 @@ export const GetUserDocument = gql` query GetUser($userId: Int!) { getUser(userId: $userId) { ...UserFragment + following { + id + } + followers { + id + } } } ${UserFragmentFragmentDoc} diff --git a/src/operations/user.gql b/src/operations/user.gql index bff032b..0a2b1c7 100644 --- a/src/operations/user.gql +++ b/src/operations/user.gql @@ -34,6 +34,12 @@ query getLoggedInUser { query GetUser($userId: Int!) { getUser(userId: $userId) { ...UserFragment + following { + id + } + followers { + id + } } }