diff --git a/src/index.tsx b/src/index.tsx index d298fe6..9584f08 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -1886,6 +1886,12 @@ export type FloatShotOrdering = { startingAt?: InputMaybe; }; +export type FollowingUser = { + __typename?: "FollowingUser"; + id: Scalars["Int"]["output"]; + username: Scalars["String"]["output"]; +}; + export type GetProfileUploadLinkErrors = { __typename?: "GetProfileUploadLinkErrors"; error: TooManyProfileImageUploadsErr; @@ -2527,7 +2533,7 @@ export type UsernamesAndFollowingResponse = { __typename?: "UsernamesAndFollowingResponse"; followers: Array; following: Array; - usernames: Array; + usernamesAndIds: Array; }; export type VideoFilterInput = { @@ -3147,7 +3153,11 @@ export type GetUsernamesAndFollowingQuery = { __typename?: "UsernamesAndFollowingResponse"; followers: Array; following: Array; - usernames: Array; + usernamesAndIds: Array<{ + __typename?: "FollowingUser"; + username: string; + id: number; + }>; }; }; @@ -5139,7 +5149,10 @@ export const GetUsernamesAndFollowingDocument = gql` ) { followers following - usernames + usernamesAndIds { + username + id + } } } `; diff --git a/src/schema.gql b/src/schema.gql index fd59f66..bd8cd99 100644 --- a/src/schema.gql +++ b/src/schema.gql @@ -555,11 +555,16 @@ input CreatedAfter @oneOf { } type UsernamesAndFollowingResponse { - usernames: [String!]! + usernamesAndIds: [FollowingUser!]! following: [Int!]! followers: [Int!]! } +type FollowingUser { + id: Int! + username: String! +} + type UserPlayTimeGQL { totalSeconds: Float! }