Add lastSegmentUploadedAt to UploadStreamGQL
All checks were successful
Tests / Tests (pull_request) Successful in 10s
All checks were successful
Tests / Tests (pull_request) Successful in 10s
Surfaces the timestamp of the most recently uploaded chunk so clients can tell an actively-uploading stream from a partially-uploaded, stalled/paused one (combined with isCompleted). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -3541,6 +3541,7 @@ export type UploadStreamGql = {
|
|||||||
initPlaylistUploadStatus?: Maybe<InitPlaylistUploadStatusEnum>;
|
initPlaylistUploadStatus?: Maybe<InitPlaylistUploadStatusEnum>;
|
||||||
isCompleted: Scalars["Boolean"]["output"];
|
isCompleted: Scalars["Boolean"]["output"];
|
||||||
lastIntendedSegmentBound?: Maybe<Scalars["Int"]["output"]>;
|
lastIntendedSegmentBound?: Maybe<Scalars["Int"]["output"]>;
|
||||||
|
lastSegmentUploadedAt?: Maybe<Scalars["DateTime"]["output"]>;
|
||||||
linksRequested: Scalars["Int"]["output"];
|
linksRequested: Scalars["Int"]["output"];
|
||||||
lowestUnuploadedSegmentIndex: Scalars["Int"]["output"];
|
lowestUnuploadedSegmentIndex: Scalars["Int"]["output"];
|
||||||
resolution: VideoResolutionGql;
|
resolution: VideoResolutionGql;
|
||||||
|
|||||||
@@ -530,6 +530,7 @@ type UploadStreamGQL {
|
|||||||
initPlaylistUploadStatus: InitPlaylistUploadStatusEnum
|
initPlaylistUploadStatus: InitPlaylistUploadStatusEnum
|
||||||
lowestUnuploadedSegmentIndex: Int!
|
lowestUnuploadedSegmentIndex: Int!
|
||||||
uploadCompletionCursor: Int!
|
uploadCompletionCursor: Int!
|
||||||
|
lastSegmentUploadedAt: DateTime
|
||||||
errors: [StreamErrorGQL!]!
|
errors: [StreamErrorGQL!]!
|
||||||
createdAt: DateTime!
|
createdAt: DateTime!
|
||||||
updatedAt: DateTime!
|
updatedAt: DateTime!
|
||||||
|
|||||||
Reference in New Issue
Block a user