Add getTableState
This commit is contained in:
@@ -94,6 +94,13 @@ export type BoundingBoxGql = {
|
||||
width: Scalars["Float"]["output"];
|
||||
};
|
||||
|
||||
export type BoundingBoxInputGql = {
|
||||
height: Scalars["Float"]["input"];
|
||||
left: Scalars["Float"]["input"];
|
||||
top: Scalars["Float"]["input"];
|
||||
width: Scalars["Float"]["input"];
|
||||
};
|
||||
|
||||
export type BucketGql = {
|
||||
__typename?: "BucketGQL";
|
||||
lowerBound: Scalars["Float"]["output"];
|
||||
@@ -2162,6 +2169,13 @@ export type HomographyInfoGql = {
|
||||
sourcePoints: PocketPointsGql;
|
||||
};
|
||||
|
||||
export type HomographyInputGql = {
|
||||
crop: BoundingBoxInputGql;
|
||||
destPoints: PocketPointsInputGql;
|
||||
pockets: Array<BoundingBoxInputGql>;
|
||||
sourcePoints: PocketPointsInputGql;
|
||||
};
|
||||
|
||||
export enum IncludePrivateEnum {
|
||||
All = "ALL",
|
||||
Mine = "MINE",
|
||||
@@ -2190,6 +2204,11 @@ export type IntPoint2D = {
|
||||
y: Scalars["Int"]["output"];
|
||||
};
|
||||
|
||||
export type IntPoint2DInput = {
|
||||
x: Scalars["Int"]["input"];
|
||||
y: Scalars["Int"]["input"];
|
||||
};
|
||||
|
||||
export type MakePercentageIntervalGql = {
|
||||
__typename?: "MakePercentageIntervalGQL";
|
||||
elapsedTime: Scalars["Float"]["output"];
|
||||
@@ -2407,6 +2426,15 @@ export type PocketPointsGql = {
|
||||
topSide: IntPoint2D;
|
||||
};
|
||||
|
||||
export type PocketPointsInputGql = {
|
||||
bottomLeft: IntPoint2DInput;
|
||||
bottomRight: IntPoint2DInput;
|
||||
bottomSide: IntPoint2DInput;
|
||||
topLeft: IntPoint2DInput;
|
||||
topRight: IntPoint2DInput;
|
||||
topSide: IntPoint2DInput;
|
||||
};
|
||||
|
||||
export type PocketingIntentionFeaturesGql = {
|
||||
__typename?: "PocketingIntentionFeaturesGQL";
|
||||
backcut?: Maybe<Scalars["Boolean"]["output"]>;
|
||||
@@ -2460,6 +2488,7 @@ export type Query = {
|
||||
getShots: Array<ShotGql>;
|
||||
getShotsByIds: Array<ShotGql>;
|
||||
getShotsWithMetadata: GetShotsResult;
|
||||
getTableState: TableStateGql;
|
||||
getUser?: Maybe<UserGql>;
|
||||
getUserRelationshipsMatching: UserRelationshipsResult;
|
||||
getUserTags: Array<TagGql>;
|
||||
@@ -2553,6 +2582,12 @@ export type QueryGetShotsWithMetadataArgs = {
|
||||
shotsPagination?: InputMaybe<GetShotsPagination>;
|
||||
};
|
||||
|
||||
export type QueryGetTableStateArgs = {
|
||||
b64Image: Scalars["String"]["input"];
|
||||
tableSize?: InputMaybe<Scalars["Float"]["input"]>;
|
||||
useHomography?: InputMaybe<HomographyInputGql>;
|
||||
};
|
||||
|
||||
export type QueryGetUserArgs = {
|
||||
userId: Scalars["Int"]["input"];
|
||||
};
|
||||
@@ -2866,6 +2901,12 @@ export type SuccessfulAddAddShotAnnotationErrors =
|
||||
| AddShotAnnotationErrors
|
||||
| SuccessfulAdd;
|
||||
|
||||
export type TableStateGql = {
|
||||
__typename?: "TableStateGQL";
|
||||
homography?: Maybe<HomographyInfoGql>;
|
||||
identifierToPosition: Array<Array<Scalars["Float"]["output"]>>;
|
||||
};
|
||||
|
||||
export type TagClassGql = {
|
||||
__typename?: "TagClassGQL";
|
||||
id: Scalars["Int"]["output"];
|
||||
|
||||
Reference in New Issue
Block a user