add gql to fragment
All checks were successful
Tests / Tests (pull_request) Successful in 8s

This commit is contained in:
Loewy 2025-04-04 12:30:02 -07:00
parent b53aa172fa
commit 85cd37f70f
2 changed files with 34 additions and 0 deletions

View File

@ -3210,6 +3210,12 @@ export type GetFeedQuery = {
status: ProcessingStatusEnum;
}>;
} | null;
reactions: Array<{
__typename?: "ReactionGQL";
videoId: number;
reaction: ReactionEnum;
user: { __typename?: "UserGQL"; id: number; username: string };
}>;
}>;
pageInfo: {
__typename?: "PageInfoGQL";
@ -3263,6 +3269,12 @@ export type VideoCardFieldsFragment = {
status: ProcessingStatusEnum;
}>;
} | null;
reactions: Array<{
__typename?: "ReactionGQL";
videoId: number;
reaction: ReactionEnum;
user: { __typename?: "UserGQL"; id: number; username: string };
}>;
};
export type GetVideoFeedQueryVariables = Exact<{
@ -3325,6 +3337,12 @@ export type GetVideoFeedQuery = {
status: ProcessingStatusEnum;
}>;
} | null;
reactions: Array<{
__typename?: "ReactionGQL";
videoId: number;
reaction: ReactionEnum;
user: { __typename?: "UserGQL"; id: number; username: string };
}>;
}>;
pageInfo: {
__typename?: "PageInfoGQL";
@ -5016,6 +5034,14 @@ export const VideoCardFieldsFragmentDoc = gql`
status
}
}
reactions {
videoId
user {
id
username
}
reaction
}
}
`;
export const MedalFieldsFragmentDoc = gql`

View File

@ -58,6 +58,14 @@ fragment VideoCardFields on VideoGQL {
status
}
}
reactions {
videoId
user {
id
username
}
reaction
}
}
query GetVideoFeed(