Add get shots with metadata

This commit is contained in:
2024-09-01 21:16:44 +00:00
parent 4c232829b6
commit fd5c28e073
2 changed files with 23 additions and 0 deletions

View File

@@ -9,6 +9,11 @@ type Query {
videoId: ID!
intervalDuration: Int! = 300
): [MakePercentageIntervalGQL!]!
getShotsWithMetadata(
filterInput: FilterInput!
shotsPagination: GetShotsPagination = null
limit: Int! = 500
): GetShotsResult!
getShots(
filterInput: FilterInput!
shotsPagination: GetShotsPagination = null
@@ -171,6 +176,11 @@ type MakePercentageIntervalGQL {
elapsedTime: Float!
}
type GetShotsResult {
shots: [ShotGQL!]!
count: Int
}
type ShotGQL {
id: Int!
videoId: Int!