Merge pull request 'Add followingCount to GetVideoFeed payload' (#261) from dean/feed-following-count into master

Reviewed-on: #261
This commit is contained in:
2026-06-16 23:51:38 +00:00
3 changed files with 5 additions and 0 deletions

View File

@@ -3679,6 +3679,7 @@ export type VideoGql = {
export type VideoHistoryGql = { export type VideoHistoryGql = {
__typename?: "VideoHistoryGQL"; __typename?: "VideoHistoryGQL";
followingCount: Scalars["Int"]["output"];
hasFollowing: Scalars["Boolean"]["output"]; hasFollowing: Scalars["Boolean"]["output"];
pageInfo: PageInfoGql; pageInfo: PageInfoGql;
videos: Array<VideoGql>; videos: Array<VideoGql>;
@@ -4508,6 +4509,7 @@ export type GetVideoFeedQuery = {
getFeedVideos: { getFeedVideos: {
__typename?: "VideoHistoryGQL"; __typename?: "VideoHistoryGQL";
hasFollowing: boolean; hasFollowing: boolean;
followingCount: number;
videos: Array<{ videos: Array<{
__typename?: "VideoGQL"; __typename?: "VideoGQL";
id: number; id: number;
@@ -9478,6 +9480,7 @@ export const GetVideoFeedDocument = gql`
endCursor endCursor
} }
hasFollowing hasFollowing
followingCount
} }
} }
${VideoCardFieldsFragmentDoc} ${VideoCardFieldsFragmentDoc}

View File

@@ -146,5 +146,6 @@ query GetVideoFeed(
endCursor endCursor
} }
hasFollowing hasFollowing
followingCount
} }
} }

View File

@@ -732,6 +732,7 @@ type VideoHistoryGQL {
videos: [VideoGQL!]! videos: [VideoGQL!]!
pageInfo: PageInfoGQL! pageInfo: PageInfoGQL!
hasFollowing: Boolean! hasFollowing: Boolean!
followingCount: Int!
} }
type PageInfoGQL { type PageInfoGQL {