From 3b66cb3270115ea10cfe1aa3cd4d6df813a6f42d Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Wed, 22 Jul 2026 02:20:15 -0700 Subject: [PATCH] Make video frame rate nullable --- src/index.tsx | 14 +++++++------- src/schema.gql | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/index.tsx b/src/index.tsx index ea00d99..842089e 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -4259,7 +4259,7 @@ export type VideoGql = { currentProcessing?: Maybe; elapsedTime?: Maybe; endTime?: Maybe; - framesPerSecond: Scalars["Float"]["output"]; + framesPerSecond?: Maybe; homographyHistory: Array; id: Scalars["Int"]["output"]; makePercentage: Scalars["Float"]["output"]; @@ -6710,7 +6710,7 @@ export type GetShotLabVideosQuery = { name?: string | null; createdAt?: any | null; screenshotUri?: string | null; - framesPerSecond: number; + framesPerSecond?: number | null; totalShots: number; owner?: { __typename?: "UserGQL"; @@ -8459,7 +8459,7 @@ export type GetVideosQuery = { getVideos: Array<{ __typename?: "VideoGQL"; id: number; - framesPerSecond: number; + framesPerSecond?: number | null; stream?: { __typename?: "UploadStreamGQL"; id: string; @@ -8483,7 +8483,7 @@ export type GetVideosQuery = { export type VideoStreamMetadataFragment = { __typename?: "VideoGQL"; id: number; - framesPerSecond: number; + framesPerSecond?: number | null; stream?: { __typename?: "UploadStreamGQL"; id: string; @@ -8512,7 +8512,7 @@ export type GetVideoForShotTimeQuery = { getVideo: { __typename?: "VideoGQL"; id: number; - framesPerSecond: number; + framesPerSecond?: number | null; stream?: { __typename?: "UploadStreamGQL"; id: string; @@ -8683,7 +8683,7 @@ export type PlaylistWithSegmentStartTimesFragment = { export type VideoDurationDataFragment = { __typename?: "VideoGQL"; id: number; - framesPerSecond: number; + framesPerSecond?: number | null; playlist?: { __typename?: "HLSPlaylistGQL"; videoId: number; @@ -8720,7 +8720,7 @@ export type GetVideoForClipTimesQuery = { getVideo: { __typename?: "VideoGQL"; id: number; - framesPerSecond: number; + framesPerSecond?: number | null; playlist?: { __typename?: "HLSPlaylistGQL"; videoId: number; diff --git a/src/schema.gql b/src/schema.gql index 0066b7b..7a3b282 100644 --- a/src/schema.gql +++ b/src/schema.gql @@ -1880,7 +1880,7 @@ type VideoGQL { startTime: DateTime endTime: DateTime elapsedTime: Float - framesPerSecond: Float! + framesPerSecond: Float tableSize: Float! pocketSize: Float private: Boolean!