Add id to shots: video items to prevent cache merge issues #72

Merged
loewy merged 1 commits from loewy/add-id-to-fix-cache-merging-issue into master 2024-10-07 22:15:39 -06:00
2 changed files with 5 additions and 0 deletions

View File

@ -2449,6 +2449,7 @@ export type GetShotsWithMetadataQuery = {
user?: { __typename?: "UserGQL"; id: number } | null; user?: { __typename?: "UserGQL"; id: number } | null;
video?: { video?: {
__typename?: "VideoGQL"; __typename?: "VideoGQL";
id: number;
stream?: { stream?: {
__typename?: "UploadStreamGQL"; __typename?: "UploadStreamGQL";
resolution: { resolution: {
@ -2507,6 +2508,7 @@ export type GetShotsByIdsQuery = {
user?: { __typename?: "UserGQL"; id: number } | null; user?: { __typename?: "UserGQL"; id: number } | null;
video?: { video?: {
__typename?: "VideoGQL"; __typename?: "VideoGQL";
id: number;
stream?: { stream?: {
__typename?: "UploadStreamGQL"; __typename?: "UploadStreamGQL";
resolution: { resolution: {
@ -2558,6 +2560,7 @@ export type ShotWithAllFeaturesFragment = {
user?: { __typename?: "UserGQL"; id: number } | null; user?: { __typename?: "UserGQL"; id: number } | null;
video?: { video?: {
__typename?: "VideoGQL"; __typename?: "VideoGQL";
id: number;
stream?: { stream?: {
__typename?: "UploadStreamGQL"; __typename?: "UploadStreamGQL";
resolution: { resolution: {
@ -3150,6 +3153,7 @@ export const ShotWithAllFeaturesFragmentDoc = gql`
} }
falsePositiveScore falsePositiveScore
video { video {
id
stream { stream {
resolution { resolution {
width width

View File

@ -67,6 +67,7 @@ fragment ShotWithAllFeatures on ShotGQL {
} }
falsePositiveScore falsePositiveScore
video { video {
id
stream { stream {
resolution { resolution {
width width