Create upload stream named fragment
All checks were successful
Tests / Tests (pull_request) Successful in 9s
All checks were successful
Tests / Tests (pull_request) Successful in 9s
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user