From 24fcac931888c3c114c0511e19626bc79bd2dc1c Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Tue, 16 Apr 2024 17:49:50 -0600 Subject: [PATCH] Expose upload cursor in video gql --- src/index.tsx | 1 + src/schema.gql | 1 + 2 files changed, 2 insertions(+) diff --git a/src/index.tsx b/src/index.tsx index 3f6265f..1c1445d 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -352,6 +352,7 @@ export type UploadStreamGql = { id: Scalars["ID"]["output"]; isCompleted: Scalars["Boolean"]["output"]; linksRequested: Scalars["Int"]["output"]; + lowestUnuploadedSegmentIndex: Scalars["Int"]["output"]; segmentProcessingCursor: Scalars["Int"]["output"]; updatedAt: Scalars["DateTime"]["output"]; uploadsCompleted: Scalars["Int"]["output"]; diff --git a/src/schema.gql b/src/schema.gql index 0b4a5c2..103971e 100644 --- a/src/schema.gql +++ b/src/schema.gql @@ -217,6 +217,7 @@ type UploadStreamGQL { uploadsCompleted: Int! segmentProcessingCursor: Int! isCompleted: Boolean! + lowestUnuploadedSegmentIndex: Int! errors: [StreamErrorGQL!]! createdAt: DateTime! updatedAt: DateTime!