include video gql fragment

This commit is contained in:
Loewy 2024-11-07 22:39:06 -08:00
parent 0e00ae9297
commit 0d0438b95b
2 changed files with 10 additions and 4 deletions

View File

@ -2802,7 +2802,6 @@ export type VideoCardFieldsFragment = {
__typename?: "VideoGQL"; __typename?: "VideoGQL";
id: number; id: number;
name?: string | null; name?: string | null;
screenshotUri?: string | null;
totalShotsMade: number; totalShotsMade: number;
totalShots: number; totalShots: number;
makePercentage: number; makePercentage: number;
@ -2811,6 +2810,7 @@ export type VideoCardFieldsFragment = {
startTime?: any | null; startTime?: any | null;
endTime?: any | null; endTime?: any | null;
elapsedTime?: number | null; elapsedTime?: number | null;
screenshotUri?: string | null;
tableSize: number; tableSize: number;
owner?: { owner?: {
__typename?: "UserGQL"; __typename?: "UserGQL";
@ -2838,6 +2838,7 @@ export type VideoCardFieldsFragment = {
status: ProcessingStatusEnum; status: ProcessingStatusEnum;
}>; }>;
} | null; } | null;
shots: Array<{ __typename?: "ShotGQL"; id: number }>;
}; };
export type GetVideoFeedQueryVariables = Exact<{ export type GetVideoFeedQueryVariables = Exact<{
@ -2854,7 +2855,6 @@ export type GetVideoFeedQuery = {
__typename?: "VideoGQL"; __typename?: "VideoGQL";
id: number; id: number;
name?: string | null; name?: string | null;
screenshotUri?: string | null;
totalShotsMade: number; totalShotsMade: number;
totalShots: number; totalShots: number;
makePercentage: number; makePercentage: number;
@ -2863,6 +2863,7 @@ export type GetVideoFeedQuery = {
startTime?: any | null; startTime?: any | null;
endTime?: any | null; endTime?: any | null;
elapsedTime?: number | null; elapsedTime?: number | null;
screenshotUri?: string | null;
tableSize: number; tableSize: number;
owner?: { owner?: {
__typename?: "UserGQL"; __typename?: "UserGQL";
@ -2893,6 +2894,7 @@ export type GetVideoFeedQuery = {
status: ProcessingStatusEnum; status: ProcessingStatusEnum;
}>; }>;
} | null; } | null;
shots: Array<{ __typename?: "ShotGQL"; id: number }>;
}>; }>;
pageInfo: { pageInfo: {
__typename?: "PageInfoGQL"; __typename?: "PageInfoGQL";
@ -4112,7 +4114,6 @@ export const VideoCardFieldsFragmentDoc = gql`
profileImageUri profileImageUri
} }
name name
screenshotUri
totalShotsMade totalShotsMade
totalShots totalShots
makePercentage makePercentage
@ -4143,6 +4144,9 @@ export const VideoCardFieldsFragmentDoc = gql`
status status
} }
} }
shots {
id
}
} }
`; `;
export const ShotWithAllFeaturesFragmentDoc = gql` export const ShotWithAllFeaturesFragmentDoc = gql`

View File

@ -48,7 +48,6 @@ fragment VideoCardFields on VideoGQL {
profileImageUri profileImageUri
} }
name name
screenshotUri
totalShotsMade totalShotsMade
totalShots totalShots
makePercentage makePercentage
@ -79,6 +78,9 @@ fragment VideoCardFields on VideoGQL {
status status
} }
} }
shots {
id
}
} }
query GetVideoFeed( query GetVideoFeed(