Create new get feed operation
All checks were successful
Tests / Tests (pull_request) Successful in 8s

This commit is contained in:
2024-11-04 15:08:21 -07:00
parent 014aab473b
commit 0421be855d
2 changed files with 195 additions and 0 deletions

View File

@@ -38,3 +38,44 @@ query GetFeed(
}
}
}
query GetVideoFeed(
$limit: Int! = 5
$after: String = null
$filters: VideoFilterInput = null
) {
getFeedVideos(limit: $limit, after: $after, filters: $filters) {
videos {
id
owner {
username
}
name
screenshotUri
totalShotsMade
totalShots
makePercentage
createdAt
updatedAt
startTime
endTime
elapsedTime
screenshotUri
stream {
id
isCompleted
}
tableSize
tags {
tagClasses {
name
}
name
}
}
pageInfo {
hasNextPage
endCursor
}
}
}