Add reactions gql to feed and react mutation operation #175

Merged
loewy merged 3 commits from loewy/add-react-to-video into master 2025-04-07 11:33:56 -06:00
2 changed files with 34 additions and 0 deletions
Showing only changes of commit 85cd37f70f - Show all commits

View File

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

View File

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