add username field to feed video fragment

This commit is contained in:
Loewy 2025-03-25 12:59:18 -07:00
parent dd214b5502
commit 7693de8689
2 changed files with 5 additions and 3 deletions

View File

@ -3214,7 +3214,7 @@ export type GetFeedQuery = {
__typename?: "ReactionGQL"; __typename?: "ReactionGQL";
videoId: number; videoId: number;
reaction: ReactionEnum; reaction: ReactionEnum;
user: { __typename?: "UserGQL"; id: number }; user: { __typename?: "UserGQL"; id: number; username: string };
}>; }>;
}>; }>;
pageInfo: { pageInfo: {
@ -3273,7 +3273,7 @@ export type VideoCardFieldsFragment = {
__typename?: "ReactionGQL"; __typename?: "ReactionGQL";
videoId: number; videoId: number;
reaction: ReactionEnum; reaction: ReactionEnum;
user: { __typename?: "UserGQL"; id: number }; user: { __typename?: "UserGQL"; id: number; username: string };
}>; }>;
}; };
@ -3341,7 +3341,7 @@ export type GetVideoFeedQuery = {
__typename?: "ReactionGQL"; __typename?: "ReactionGQL";
videoId: number; videoId: number;
reaction: ReactionEnum; reaction: ReactionEnum;
user: { __typename?: "UserGQL"; id: number }; user: { __typename?: "UserGQL"; id: number; username: string };
}>; }>;
}>; }>;
pageInfo: { pageInfo: {
@ -5028,6 +5028,7 @@ export const VideoCardFieldsFragmentDoc = gql`
videoId videoId
user { user {
id id
username
} }
reaction reaction
} }

View File

@ -62,6 +62,7 @@ fragment VideoCardFields on VideoGQL {
videoId videoId
user { user {
id id
username
} }
reaction reaction
} }