add getShotsWithJustIds
All checks were successful
Tests / Tests (pull_request) Successful in 15s

This commit is contained in:
2024-11-06 14:58:32 -08:00
parent 51ab8320d7
commit f4e43b24f2
2 changed files with 118 additions and 0 deletions

View File

@@ -40,6 +40,7 @@ mutation UpdateShotAnnotations(
}
}
## Should be deprecated
query GetShotsWithVideoGql(
$filterInput: FilterInput!
$shotsOrdering: GetShotsOrdering
@@ -61,6 +62,23 @@ query GetShotsWithVideoGql(
}
}
query GetShotsWithJustIds(
$filterInput: FilterInput!
$shotsOrdering: GetShotsOrdering
$limit: Int
) {
getOrderedShots(
filterInput: $filterInput
shotsOrdering: $shotsOrdering
limit: $limit
) {
shots {
id
videoId
}
}
}
## Reserved for playlists (which are created from a filter)
query GetShotsWithMetadataFilterResult(
$filterInput: FilterInput!