From 1a14db1a17a776d774891aedb826a8ac1634bb53 Mon Sep 17 00:00:00 2001 From: Mike Kalange Date: Tue, 16 Jul 2024 14:21:45 -0700 Subject: [PATCH] Adds init playlist status --- src/index.tsx | 7 +++++++ src/schema.gql | 7 +++++++ 2 files changed, 14 insertions(+) diff --git a/src/index.tsx b/src/index.tsx index 6d7e3be..f25ce22 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -557,6 +557,12 @@ export type HomographyInfoGql = { sourcePoints: PocketPointsGql; }; +export enum InitPlaylistUploadStatusEnum { + NotApplicable = "NOT_APPLICABLE", + NotUploaded = "NOT_UPLOADED", + Uploaded = "UPLOADED", +} + export type IntPoint2D = { __typename?: "IntPoint2D"; x: Scalars["Int"]["output"]; @@ -770,6 +776,7 @@ export type UploadStreamGql = { createdAt: Scalars["DateTime"]["output"]; errors: Array; id: Scalars["ID"]["output"]; + initPlaylistUploadStatus?: Maybe; isCompleted: Scalars["Boolean"]["output"]; lastIntendedSegmentBound?: Maybe; linksRequested: Scalars["Int"]["output"]; diff --git a/src/schema.gql b/src/schema.gql index 67552d4..fda8b31 100644 --- a/src/schema.gql +++ b/src/schema.gql @@ -240,6 +240,7 @@ type UploadStreamGQL { segmentProcessingCursor: Int! lastIntendedSegmentBound: Int isCompleted: Boolean! + initPlaylistUploadStatus: InitPlaylistUploadStatusEnum lowestUnuploadedSegmentIndex: Int! uploadCompletionCursor: Int! errors: [StreamErrorGQL!]! @@ -248,6 +249,12 @@ type UploadStreamGQL { segments: [UploadSegmentGQL!]! } +enum InitPlaylistUploadStatusEnum { + NOT_APPLICABLE + NOT_UPLOADED + UPLOADED +} + type StreamErrorGQL { message: String! }