From 3e6dabe12a3b0c4b1ece2ee11ce37b5c7c6a240d Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Fri, 24 Jul 2026 20:09:19 -0700 Subject: [PATCH] Use BigInt for video export file size --- src/index.tsx | 10 +++++----- src/schema.gql | 28 ++++++++++++++-------------- 2 files changed, 19 insertions(+), 19 deletions(-) diff --git a/src/index.tsx b/src/index.tsx index 58662f8..209313d 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -4302,7 +4302,7 @@ export type VideoExportJobGql = { createdAt?: Maybe; downloadUrl?: Maybe; expiresAt?: Maybe; - fileSizeBytes?: Maybe; + fileSizeBytes?: Maybe; id: Scalars["Int"]["output"]; mode: VideoExportModeEnum; runId?: Maybe; @@ -9244,7 +9244,7 @@ export type VideoExportJobFieldsFragment = { shotIds?: Array | null; runId?: number | null; downloadUrl?: string | null; - fileSizeBytes?: number | null; + fileSizeBytes?: any | null; expiresAt?: any | null; createdAt?: any | null; }; @@ -9266,7 +9266,7 @@ export type RequestVideoExportMutation = { shotIds?: Array | null; runId?: number | null; downloadUrl?: string | null; - fileSizeBytes?: number | null; + fileSizeBytes?: any | null; expiresAt?: any | null; createdAt?: any | null; }; @@ -9298,7 +9298,7 @@ export type VideoExportJobQuery = { shotIds?: Array | null; runId?: number | null; downloadUrl?: string | null; - fileSizeBytes?: number | null; + fileSizeBytes?: any | null; expiresAt?: any | null; createdAt?: any | null; } | null; @@ -9322,7 +9322,7 @@ export type MyVideoExportsQuery = { shotIds?: Array | null; runId?: number | null; downloadUrl?: string | null; - fileSizeBytes?: number | null; + fileSizeBytes?: any | null; expiresAt?: any | null; createdAt?: any | null; }>; diff --git a/src/schema.gql b/src/schema.gql index e537050..6cc9ef3 100644 --- a/src/schema.gql +++ b/src/schema.gql @@ -531,19 +531,6 @@ type GetUploadLinksReturn { stream: UploadStreamGQL } -type SegmentUploadLink { - segmentIndex: Int! - uploadUrl: String! - headers: [Header]! -} - -type UploadLinkBatch { - links: [SegmentUploadLink!]! - alreadyUploaded: [Int!]! -} - -union UploadLinkBatchGetUploadLinkErrors = UploadLinkBatch | GetUploadLinkErrors - type HLSPlaylistGQL { videoId: Int! m3u8Text: String! @@ -1308,6 +1295,12 @@ type SegmentAlreadyUploadedErr { segmentId: Int! } +type SegmentUploadLink { + segmentIndex: Int! + uploadUrl: String! + headers: [Header]! +} + type SerializedShotPathsGQL { b64EncodedBuffer: String } @@ -1794,6 +1787,13 @@ type UploadLink { headers: [Header]! } +type UploadLinkBatch { + links: [SegmentUploadLink!]! + alreadyUploaded: [Int!]! +} + +union UploadLinkBatchGetUploadLinkErrors = UploadLinkBatch | GetUploadLinkErrors + union UploadLinkGetProfileUploadLinkErrors = UploadLink | GetProfileUploadLinkErrors @@ -1923,7 +1923,7 @@ type VideoExportJobGQL { shotIds: [Int!] runId: Int downloadUrl: String - fileSizeBytes: Int + fileSizeBytes: BigInt expiresAt: DateTime createdAt: DateTime }