From d4cb5cf41a7e76e814010d4fa30d09231a5afcf0 Mon Sep 17 00:00:00 2001 From: Loewy Date: Mon, 19 Aug 2024 12:57:11 -0700 Subject: [PATCH] add stream to getUploadLink return --- src/index.tsx | 7 +++++++ src/operations/video_upload.gql | 3 +++ 2 files changed, 10 insertions(+) diff --git a/src/index.tsx b/src/index.tsx index cd67860..cad02e6 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -2191,6 +2191,10 @@ export type GetUploadLinkMutation = { value: string; } | null>; }; + stream?: { + __typename?: "UploadStreamGQL"; + uploadCompletionCursor: number; + } | null; }; }; @@ -4140,6 +4144,9 @@ export const GetUploadLinkDocument = gql` } } } + stream { + uploadCompletionCursor + } } } `; diff --git a/src/operations/video_upload.gql b/src/operations/video_upload.gql index 9dc794a..a7b03e4 100644 --- a/src/operations/video_upload.gql +++ b/src/operations/video_upload.gql @@ -34,6 +34,9 @@ mutation GetUploadLink($videoId: Int!, $segmentIndex: Int!) { } } } + stream { + uploadCompletionCursor + } } }