Update gql for get-video resolver changes

This commit is contained in:
2024-03-08 17:15:37 -07:00
parent be59f7a2c6
commit 4ced3d39df
2 changed files with 73 additions and 10 deletions

View File

@@ -149,11 +149,46 @@ type UploadStreamGQL {
id: ID!
linksRequested: Int!
uploadsCompleted: Int!
segmentProcessingCursor: Int!
isCompleted: Boolean!
homographyHistory: [HomographyInfoGQL!]!
errors: [StreamErrorGQL!]!
createdAt: DateTime!
updatedAt: DateTime!
}
type HomographyInfoGQL {
crop: BoundingBoxGQL!
pockets: [BoundingBoxGQL!]!
sourcePoints: PocketPointsGQL!
destPoints: PocketPointsGQL!
}
type BoundingBoxGQL {
left: Int!
top: Int!
width: Int!
height: Int!
}
type PocketPointsGQL {
topLeft: IntPoint2D!
topSide: IntPoint2D!
topRight: IntPoint2D!
bottomLeft: IntPoint2D!
bottomSide: IntPoint2D!
bottomRight: IntPoint2D!
}
type IntPoint2D {
x: Int!
y: Int!
}
type StreamErrorGQL {
message: String!
}
input FilterInput {
andFilters: AndFilter = null
orFilters: OrFilter = null
@@ -163,8 +198,6 @@ input FilterInput {
cueBallSpeed: CueBallSpeedInput = null
intendedPocketType: IntendedPocketTypeInput = null
shotDirection: ShotDirectionInput = null
videoId: InListFilter = null
userId: InListFilter = null
}
input AndFilter {
@@ -208,10 +241,6 @@ input ShotDirectionInput {
value: EnumFilter!
}
input InListFilter {
inList: [Int!] = null
}
type BucketSetGQL {
keyName: String!
feature: String!