add username field to feed video fragment
All checks were successful
Tests / Tests (pull_request) Successful in 8s

This commit is contained in:
Loewy 2025-03-25 12:59:18 -07:00
parent 31076957ef
commit 6bd6cd4cce
2 changed files with 5 additions and 3 deletions

View File

@ -3113,7 +3113,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: {
@ -3172,7 +3172,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 };
}>; }>;
}; };
@ -3240,7 +3240,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: {
@ -4918,6 +4918,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
} }