diff --git a/src/index.tsx b/src/index.tsx index 399b9b3..f895c2c 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -358,6 +358,17 @@ export type TargetMetricsGql = { makePercentage?: Maybe; }; +export type UploadSegmentGql = { + __typename?: "UploadSegmentGQL"; + durationsInSeconds?: Maybe; + endFrameIndex?: Maybe; + framesPerSecond?: Maybe; + linksRequested: Scalars["Int"]["output"]; + segmentIndex: Scalars["Int"]["output"]; + uploaded: Scalars["Boolean"]["output"]; + valid: Scalars["Boolean"]["output"]; +}; + export type UploadStreamGql = { __typename?: "UploadStreamGQL"; createdAt: Scalars["DateTime"]["output"]; @@ -369,6 +380,7 @@ export type UploadStreamGql = { lowestUnuploadedSegmentIndex: Scalars["Int"]["output"]; segmentProcessingCursor: Scalars["Int"]["output"]; updatedAt: Scalars["DateTime"]["output"]; + uploadSegments: Array; uploadsCompleted: Scalars["Int"]["output"]; }; diff --git a/src/schema.gql b/src/schema.gql index 51b9e36..9b9c9c3 100644 --- a/src/schema.gql +++ b/src/schema.gql @@ -227,12 +227,23 @@ type UploadStreamGQL { errors: [StreamErrorGQL!]! createdAt: DateTime! updatedAt: DateTime! + uploadSegments: [UploadSegmentGQL!]! } type StreamErrorGQL { message: String! } +type UploadSegmentGQL { + segmentIndex: Int! + uploaded: Boolean! + valid: Boolean! + endFrameIndex: Int + framesPerSecond: Float + durationsInSeconds: Float + linksRequested: Int! +} + type HLSPlaylistGQL { videoId: Int! m3u8Text: String!