From 7693de8689c8b63c5d89562b718697428c9f721a Mon Sep 17 00:00:00 2001 From: Loewy Date: Tue, 25 Mar 2025 12:59:18 -0700 Subject: [PATCH] add username field to feed video fragment --- src/index.tsx | 7 ++++--- src/operations/feed.gql | 1 + 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/index.tsx b/src/index.tsx index db71f81..94128c0 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -3214,7 +3214,7 @@ export type GetFeedQuery = { __typename?: "ReactionGQL"; videoId: number; reaction: ReactionEnum; - user: { __typename?: "UserGQL"; id: number }; + user: { __typename?: "UserGQL"; id: number; username: string }; }>; }>; pageInfo: { @@ -3273,7 +3273,7 @@ export type VideoCardFieldsFragment = { __typename?: "ReactionGQL"; videoId: number; reaction: ReactionEnum; - user: { __typename?: "UserGQL"; id: number }; + user: { __typename?: "UserGQL"; id: number; username: string }; }>; }; @@ -3341,7 +3341,7 @@ export type GetVideoFeedQuery = { __typename?: "ReactionGQL"; videoId: number; reaction: ReactionEnum; - user: { __typename?: "UserGQL"; id: number }; + user: { __typename?: "UserGQL"; id: number; username: string }; }>; }>; pageInfo: { @@ -5028,6 +5028,7 @@ export const VideoCardFieldsFragmentDoc = gql` videoId user { id + username } reaction } diff --git a/src/operations/feed.gql b/src/operations/feed.gql index 96664a8..a077bc9 100644 --- a/src/operations/feed.gql +++ b/src/operations/feed.gql @@ -62,6 +62,7 @@ fragment VideoCardFields on VideoGQL { videoId user { id + username } reaction }