From a94fdd820d5fabb04644379a118d51719dbc074c Mon Sep 17 00:00:00 2001 From: Loewy Date: Mon, 12 Aug 2024 17:23:55 -0700 Subject: [PATCH] add uploadsCompleted to getUploadStreamWithDetails query --- src/index.tsx | 2 ++ src/operations/video_upload.gql | 1 + 2 files changed, 3 insertions(+) diff --git a/src/index.tsx b/src/index.tsx index 2ca2c25..3d21641 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -2065,6 +2065,7 @@ export type GetUploadStreamsWithDetailsQuery = { isCompleted: boolean; lastIntendedSegmentBound?: number | null; uploadCompletionCursor: number; + uploadsCompleted: number; } | null; }>; pageInfo: { @@ -4180,6 +4181,7 @@ export const GetUploadStreamsWithDetailsDocument = gql` isCompleted lastIntendedSegmentBound uploadCompletionCursor + uploadsCompleted } } pageInfo { diff --git a/src/operations/video_upload.gql b/src/operations/video_upload.gql index d18d278..72ae525 100644 --- a/src/operations/video_upload.gql +++ b/src/operations/video_upload.gql @@ -72,6 +72,7 @@ query GetUploadStreamsWithDetails( isCompleted lastIntendedSegmentBound uploadCompletionCursor + uploadsCompleted } } pageInfo {