From b74fb2b1d7b06f18ee5dc8a1b4faec40155a4606 Mon Sep 17 00:00:00 2001 From: Mike Kalange Date: Thu, 25 Apr 2024 16:36:32 -0600 Subject: [PATCH] add lowest unuploaded segment to gql --- src/index.tsx | 2 ++ src/schema.gql | 2 ++ 2 files changed, 4 insertions(+) diff --git a/src/index.tsx b/src/index.tsx index 27ce3f7..c1d487a 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -364,6 +364,7 @@ export type UploadStreamGql = { errors: Array; id: Scalars["ID"]["output"]; isCompleted: Scalars["Boolean"]["output"]; + lastIntendedSegmentBound: Scalars["Int"]["output"]; linksRequested: Scalars["Int"]["output"]; lowestUnuploadedSegmentIndex: Scalars["Int"]["output"]; segmentProcessingCursor: Scalars["Int"]["output"]; @@ -436,6 +437,7 @@ export type VideoMetadataInput = { endStream?: Scalars["Boolean"]["input"]; endTime?: InputMaybe; gameType?: InputMaybe; + lastIntendedSegmentBound?: InputMaybe; startTime?: InputMaybe; tableSize?: InputMaybe; uploadStreamMetadataInput?: InputMaybe; diff --git a/src/schema.gql b/src/schema.gql index f5ff58d..9f2e0f9 100644 --- a/src/schema.gql +++ b/src/schema.gql @@ -220,6 +220,7 @@ type UploadStreamGQL { linksRequested: Int! uploadsCompleted: Int! segmentProcessingCursor: Int! + lastIntendedSegmentBound: Int! isCompleted: Boolean! lowestUnuploadedSegmentIndex: Int! errors: [StreamErrorGQL!]! @@ -324,6 +325,7 @@ input VideoMetadataInput { gameType: String = null tableSize: String = null uploadStreamMetadataInput: UploadStreamMetadataInput = null + lastIntendedSegmentBound: Int = null endStream: Boolean! = false }