Create reserved query for get shots with metadata (#74)

Reviewed-on: #74
Reviewed-by: Ivan Malison <ivanmalison@gmail.com>
This commit is contained in:
2024-10-11 18:46:46 -06:00
parent 59aaf47cbe
commit b2a09c1b8c
2 changed files with 178 additions and 0 deletions

View File

@@ -31,6 +31,28 @@ query GetShotsWithVideoGql($filterInput: FilterInput!, $limit: Int) {
}
}
## Reserved for playlists (which are created from a filter)
query GetShotsWithMetadataFilterResult(
$filterInput: FilterInput!
$shotsPagination: GetShotsPagination
$limit: Int
$ids: [Int!]
) {
getShotsWithMetadata(
filterInput: $filterInput
shotsPagination: $shotsPagination
limit: $limit
ids: $ids
) {
count
shots {
...ShotWithAllFeatures
}
ids
}
}
# TODO: Delete
query GetShotsWithMetadata(
$filterInput: FilterInput!
$shotsPagination: GetShotsPagination