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

@@ -51,6 +51,14 @@ export type BankFeaturesGql = {
wallsHit: Array<WallTypeEnum>;
};
export type BoundingBoxGql = {
__typename?: "BoundingBoxGQL";
height: Scalars["Int"]["output"];
left: Scalars["Int"]["output"];
top: Scalars["Int"]["output"];
width: Scalars["Int"]["output"];
};
export type BucketGql = {
__typename?: "BucketGQL";
lowerBound: Scalars["Float"]["output"];
@@ -124,8 +132,6 @@ export type FilterInput = {
orFilters?: InputMaybe<OrFilter>;
shotDirection?: InputMaybe<ShotDirectionInput>;
targetPocketDistance?: InputMaybe<TargetPocketDistanceInput>;
userId?: InputMaybe<InListFilter>;
videoId?: InputMaybe<InListFilter>;
};
export type GetUploadLinkReturn = {
@@ -140,8 +146,18 @@ export type Header = {
value: Scalars["String"]["output"];
};
export type InListFilter = {
inList?: InputMaybe<Array<Scalars["Int"]["input"]>>;
export type HomographyInfoGql = {
__typename?: "HomographyInfoGQL";
crop: BoundingBoxGql;
destPoints: PocketPointsGql;
pockets: Array<BoundingBoxGql>;
sourcePoints: PocketPointsGql;
};
export type IntPoint2D = {
__typename?: "IntPoint2D";
x: Scalars["Int"]["output"];
y: Scalars["Int"]["output"];
};
export type IntendedPocketTypeInput = {
@@ -197,6 +213,16 @@ export enum PocketEnum {
Side = "SIDE",
}
export type PocketPointsGql = {
__typename?: "PocketPointsGQL";
bottomLeft: IntPoint2D;
bottomRight: IntPoint2D;
bottomSide: IntPoint2D;
topLeft: IntPoint2D;
topRight: IntPoint2D;
topSide: IntPoint2D;
};
export type PocketingIntentionFeaturesGql = {
__typename?: "PocketingIntentionFeaturesGQL";
intendedPocketType?: Maybe<PocketEnum>;
@@ -284,6 +310,11 @@ export type ShotGql = {
videoId?: Maybe<Scalars["Int"]["output"]>;
};
export type StreamErrorGql = {
__typename?: "StreamErrorGQL";
message: Scalars["String"]["output"];
};
export type TargetFloatFeatureGql = {
__typename?: "TargetFloatFeatureGQL";
average?: Maybe<Scalars["Float"]["output"]>;
@@ -305,9 +336,12 @@ export type TargetPocketDistanceInput = {
export type UploadStreamGql = {
__typename?: "UploadStreamGQL";
createdAt: Scalars["DateTime"]["output"];
errors: Array<StreamErrorGql>;
homographyHistory: Array<HomographyInfoGql>;
id: Scalars["ID"]["output"];
isCompleted: Scalars["Boolean"]["output"];
linksRequested: Scalars["Int"]["output"];
segmentProcessingCursor: Scalars["Int"]["output"];
updatedAt: Scalars["DateTime"]["output"];
uploadsCompleted: Scalars["Int"]["output"];
};