Create upload stream named fragment
All checks were successful
Tests / Tests (pull_request) Successful in 9s

This commit is contained in:
2025-01-28 21:28:31 -07:00
parent 8fcaa1397a
commit 194d0dcd22
2 changed files with 43 additions and 18 deletions

View File

@@ -101,6 +101,19 @@ query GetUploadStreams(
}
}
}
fragment UploadStreamWithDetails on VideoGQL {
id
name
startTime
stream {
isCompleted
lastIntendedSegmentBound
uploadCompletionCursor
uploadsCompleted
}
}
query GetUploadStreamsWithDetails(
$limit: Int! = 5
$after: String = null
@@ -108,15 +121,7 @@ query GetUploadStreamsWithDetails(
) {
getUserVideos(limit: $limit, after: $after, filters: $filters) {
videos {
id
name
startTime
stream {
isCompleted
lastIntendedSegmentBound
uploadCompletionCursor
uploadsCompleted
}
...UploadStreamWithDetails
}
pageInfo {
hasNextPage