leightweight query to get totalshots
Some checks failed
Tests / Tests (pull_request) Failing after 10s

This commit is contained in:
2026-01-30 13:36:37 -08:00
parent aba0b16a51
commit c3156bac05
2 changed files with 124 additions and 0 deletions

View File

@@ -90,6 +90,26 @@ fragment VideoCardFields on VideoGQL {
}
}
# Lightweight version of GetVideoFeed for counting sessions only
query GetVideoFeedSessionCount(
$limit: Int! = 100
$filters: VideoFilterInput = null
$includePrivate: IncludePrivateEnum = MINE
$feedInput: VideoFeedInputGQL = null
) {
getFeedVideos(
limit: $limit
filters: $filters
includePrivate: $includePrivate
feedInput: $feedInput
) {
videos {
id
totalShots
}
}
}
query GetVideoFeed(
$limit: Int! = 5
$after: String = null