From 5e0d01ea5bc7a2d67e68b23eb40bee0d685c4ae7 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 a98b735..d8391b3 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -2085,6 +2085,7 @@ export type GetUploadStreamsWithDetailsQuery = { isCompleted: boolean; lastIntendedSegmentBound?: number | null; uploadCompletionCursor: number; + uploadsCompleted: number; } | null; }>; pageInfo: { @@ -4209,6 +4210,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 {