|
|
|
|
@@ -476,6 +476,7 @@ export type FilterInput =
|
|
|
|
|
missAngleInDegrees?: never;
|
|
|
|
|
notFilter?: never;
|
|
|
|
|
orFilters?: never;
|
|
|
|
|
playerIndex?: never;
|
|
|
|
|
runId?: never;
|
|
|
|
|
runLength?: never;
|
|
|
|
|
shotDirection?: never;
|
|
|
|
|
@@ -520,6 +521,7 @@ export type FilterInput =
|
|
|
|
|
missAngleInDegrees?: never;
|
|
|
|
|
notFilter?: never;
|
|
|
|
|
orFilters?: never;
|
|
|
|
|
playerIndex?: never;
|
|
|
|
|
runId?: never;
|
|
|
|
|
runLength?: never;
|
|
|
|
|
shotDirection?: never;
|
|
|
|
|
@@ -564,6 +566,7 @@ export type FilterInput =
|
|
|
|
|
missAngleInDegrees?: never;
|
|
|
|
|
notFilter?: never;
|
|
|
|
|
orFilters?: never;
|
|
|
|
|
playerIndex?: never;
|
|
|
|
|
runId?: never;
|
|
|
|
|
runLength?: never;
|
|
|
|
|
shotDirection?: never;
|
|
|
|
|
@@ -608,6 +611,7 @@ export type FilterInput =
|
|
|
|
|
missAngleInDegrees?: never;
|
|
|
|
|
notFilter?: never;
|
|
|
|
|
orFilters?: never;
|
|
|
|
|
playerIndex?: never;
|
|
|
|
|
runId?: never;
|
|
|
|
|
runLength?: never;
|
|
|
|
|
shotDirection?: never;
|
|
|
|
|
@@ -652,6 +656,7 @@ export type FilterInput =
|
|
|
|
|
missAngleInDegrees?: never;
|
|
|
|
|
notFilter?: never;
|
|
|
|
|
orFilters?: never;
|
|
|
|
|
playerIndex?: never;
|
|
|
|
|
runId?: never;
|
|
|
|
|
runLength?: never;
|
|
|
|
|
shotDirection?: never;
|
|
|
|
|
@@ -696,6 +701,7 @@ export type FilterInput =
|
|
|
|
|
missAngleInDegrees?: never;
|
|
|
|
|
notFilter?: never;
|
|
|
|
|
orFilters?: never;
|
|
|
|
|
playerIndex?: never;
|
|
|
|
|
runId?: never;
|
|
|
|
|
runLength?: never;
|
|
|
|
|
shotDirection?: never;
|
|
|
|
|
@@ -740,6 +746,7 @@ export type FilterInput =
|
|
|
|
|
missAngleInDegrees?: never;
|
|
|
|
|
notFilter?: never;
|
|
|
|
|
orFilters?: never;
|
|
|
|
|
playerIndex?: never;
|
|
|
|
|
runId?: never;
|
|
|
|
|
runLength?: never;
|
|
|
|
|
shotDirection?: never;
|
|
|
|
|
@@ -784,6 +791,7 @@ export type FilterInput =
|
|
|
|
|
missAngleInDegrees?: never;
|
|
|
|
|
notFilter?: never;
|
|
|
|
|
orFilters?: never;
|
|
|
|
|
playerIndex?: never;
|
|
|
|
|
runId?: never;
|
|
|
|
|
runLength?: never;
|
|
|
|
|
shotDirection?: never;
|
|
|
|
|
@@ -828,6 +836,7 @@ export type FilterInput =
|
|
|
|
|
missAngleInDegrees?: never;
|
|
|
|
|
notFilter?: never;
|
|
|
|
|
orFilters?: never;
|
|
|
|
|
playerIndex?: never;
|
|
|
|
|
runId?: never;
|
|
|
|
|
runLength?: never;
|
|
|
|
|
shotDirection?: never;
|
|
|
|
|
@@ -872,6 +881,7 @@ export type FilterInput =
|
|
|
|
|
missAngleInDegrees?: never;
|
|
|
|
|
notFilter?: never;
|
|
|
|
|
orFilters?: never;
|
|
|
|
|
playerIndex?: never;
|
|
|
|
|
runId?: never;
|
|
|
|
|
runLength?: never;
|
|
|
|
|
shotDirection?: never;
|
|
|
|
|
@@ -916,6 +926,7 @@ export type FilterInput =
|
|
|
|
|
missAngleInDegrees?: never;
|
|
|
|
|
notFilter?: never;
|
|
|
|
|
orFilters?: never;
|
|
|
|
|
playerIndex?: never;
|
|
|
|
|
runId?: never;
|
|
|
|
|
runLength?: never;
|
|
|
|
|
shotDirection?: never;
|
|
|
|
|
@@ -960,6 +971,7 @@ export type FilterInput =
|
|
|
|
|
missAngleInDegrees?: never;
|
|
|
|
|
notFilter?: never;
|
|
|
|
|
orFilters?: never;
|
|
|
|
|
playerIndex?: never;
|
|
|
|
|
runId?: never;
|
|
|
|
|
runLength?: never;
|
|
|
|
|
shotDirection?: never;
|
|
|
|
|
@@ -1004,6 +1016,7 @@ export type FilterInput =
|
|
|
|
|
missAngleInDegrees?: never;
|
|
|
|
|
notFilter?: never;
|
|
|
|
|
orFilters?: never;
|
|
|
|
|
playerIndex?: never;
|
|
|
|
|
runId?: never;
|
|
|
|
|
runLength?: never;
|
|
|
|
|
shotDirection?: never;
|
|
|
|
|
@@ -1048,6 +1061,7 @@ export type FilterInput =
|
|
|
|
|
missAngleInDegrees?: never;
|
|
|
|
|
notFilter?: never;
|
|
|
|
|
orFilters?: never;
|
|
|
|
|
playerIndex?: never;
|
|
|
|
|
runId?: never;
|
|
|
|
|
runLength?: never;
|
|
|
|
|
shotDirection?: never;
|
|
|
|
|
@@ -1092,6 +1106,7 @@ export type FilterInput =
|
|
|
|
|
missAngleInDegrees?: never;
|
|
|
|
|
notFilter?: never;
|
|
|
|
|
orFilters?: never;
|
|
|
|
|
playerIndex?: never;
|
|
|
|
|
runId?: never;
|
|
|
|
|
runLength?: never;
|
|
|
|
|
shotDirection?: never;
|
|
|
|
|
@@ -1136,6 +1151,7 @@ export type FilterInput =
|
|
|
|
|
missAngleInDegrees?: never;
|
|
|
|
|
notFilter?: never;
|
|
|
|
|
orFilters?: never;
|
|
|
|
|
playerIndex?: never;
|
|
|
|
|
runId?: never;
|
|
|
|
|
runLength?: never;
|
|
|
|
|
shotDirection?: never;
|
|
|
|
|
@@ -1180,6 +1196,7 @@ export type FilterInput =
|
|
|
|
|
missAngleInDegrees?: never;
|
|
|
|
|
notFilter?: never;
|
|
|
|
|
orFilters?: never;
|
|
|
|
|
playerIndex?: never;
|
|
|
|
|
runId?: never;
|
|
|
|
|
runLength?: never;
|
|
|
|
|
shotDirection?: never;
|
|
|
|
|
@@ -1224,6 +1241,7 @@ export type FilterInput =
|
|
|
|
|
missAngleInDegrees?: never;
|
|
|
|
|
notFilter?: never;
|
|
|
|
|
orFilters?: never;
|
|
|
|
|
playerIndex?: never;
|
|
|
|
|
runId?: never;
|
|
|
|
|
runLength?: never;
|
|
|
|
|
shotDirection?: never;
|
|
|
|
|
@@ -1268,6 +1286,7 @@ export type FilterInput =
|
|
|
|
|
missAngleInDegrees?: never;
|
|
|
|
|
notFilter?: never;
|
|
|
|
|
orFilters?: never;
|
|
|
|
|
playerIndex?: never;
|
|
|
|
|
runId?: never;
|
|
|
|
|
runLength?: never;
|
|
|
|
|
shotDirection?: never;
|
|
|
|
|
@@ -1312,6 +1331,7 @@ export type FilterInput =
|
|
|
|
|
missAngleInDegrees?: never;
|
|
|
|
|
notFilter?: never;
|
|
|
|
|
orFilters?: never;
|
|
|
|
|
playerIndex?: never;
|
|
|
|
|
runId?: never;
|
|
|
|
|
runLength?: never;
|
|
|
|
|
shotDirection?: never;
|
|
|
|
|
@@ -1356,6 +1376,7 @@ export type FilterInput =
|
|
|
|
|
missAngleInDegrees?: never;
|
|
|
|
|
notFilter?: never;
|
|
|
|
|
orFilters?: never;
|
|
|
|
|
playerIndex?: never;
|
|
|
|
|
runId?: never;
|
|
|
|
|
runLength?: never;
|
|
|
|
|
shotDirection?: never;
|
|
|
|
|
@@ -1400,6 +1421,7 @@ export type FilterInput =
|
|
|
|
|
missAngleInDegrees?: never;
|
|
|
|
|
notFilter?: never;
|
|
|
|
|
orFilters?: never;
|
|
|
|
|
playerIndex?: never;
|
|
|
|
|
runId?: never;
|
|
|
|
|
runLength?: never;
|
|
|
|
|
shotDirection?: never;
|
|
|
|
|
@@ -1444,6 +1466,7 @@ export type FilterInput =
|
|
|
|
|
missAngleInDegrees?: never;
|
|
|
|
|
notFilter?: never;
|
|
|
|
|
orFilters?: never;
|
|
|
|
|
playerIndex?: never;
|
|
|
|
|
runId?: never;
|
|
|
|
|
runLength?: never;
|
|
|
|
|
shotDirection?: never;
|
|
|
|
|
@@ -1488,6 +1511,7 @@ export type FilterInput =
|
|
|
|
|
missAngleInDegrees?: never;
|
|
|
|
|
notFilter?: never;
|
|
|
|
|
orFilters?: never;
|
|
|
|
|
playerIndex?: never;
|
|
|
|
|
runId?: never;
|
|
|
|
|
runLength?: never;
|
|
|
|
|
shotDirection?: never;
|
|
|
|
|
@@ -1532,6 +1556,7 @@ export type FilterInput =
|
|
|
|
|
missAngleInDegrees?: never;
|
|
|
|
|
notFilter?: never;
|
|
|
|
|
orFilters?: never;
|
|
|
|
|
playerIndex?: never;
|
|
|
|
|
runId?: never;
|
|
|
|
|
runLength?: never;
|
|
|
|
|
shotDirection?: never;
|
|
|
|
|
@@ -1576,6 +1601,7 @@ export type FilterInput =
|
|
|
|
|
missAngleInDegrees?: never;
|
|
|
|
|
notFilter?: never;
|
|
|
|
|
orFilters?: never;
|
|
|
|
|
playerIndex?: never;
|
|
|
|
|
runId?: never;
|
|
|
|
|
runLength?: never;
|
|
|
|
|
shotDirection?: never;
|
|
|
|
|
@@ -1620,6 +1646,7 @@ export type FilterInput =
|
|
|
|
|
missAngleInDegrees: FloatRangeFilter;
|
|
|
|
|
notFilter?: never;
|
|
|
|
|
orFilters?: never;
|
|
|
|
|
playerIndex?: never;
|
|
|
|
|
runId?: never;
|
|
|
|
|
runLength?: never;
|
|
|
|
|
shotDirection?: never;
|
|
|
|
|
@@ -1664,6 +1691,7 @@ export type FilterInput =
|
|
|
|
|
missAngleInDegrees?: never;
|
|
|
|
|
notFilter: FilterInput;
|
|
|
|
|
orFilters?: never;
|
|
|
|
|
playerIndex?: never;
|
|
|
|
|
runId?: never;
|
|
|
|
|
runLength?: never;
|
|
|
|
|
shotDirection?: never;
|
|
|
|
|
@@ -1708,6 +1736,7 @@ export type FilterInput =
|
|
|
|
|
missAngleInDegrees?: never;
|
|
|
|
|
notFilter?: never;
|
|
|
|
|
orFilters: Array<FilterInput>;
|
|
|
|
|
playerIndex?: never;
|
|
|
|
|
runId?: never;
|
|
|
|
|
runLength?: never;
|
|
|
|
|
shotDirection?: never;
|
|
|
|
|
@@ -1752,6 +1781,52 @@ export type FilterInput =
|
|
|
|
|
missAngleInDegrees?: never;
|
|
|
|
|
notFilter?: never;
|
|
|
|
|
orFilters?: never;
|
|
|
|
|
playerIndex: Array<Scalars["Int"]["input"]>;
|
|
|
|
|
runId?: never;
|
|
|
|
|
runLength?: never;
|
|
|
|
|
shotDirection?: never;
|
|
|
|
|
spinType?: never;
|
|
|
|
|
tableSize?: never;
|
|
|
|
|
tags?: never;
|
|
|
|
|
targetPocketAngle?: never;
|
|
|
|
|
targetPocketAngleDirection?: never;
|
|
|
|
|
targetPocketDistance?: never;
|
|
|
|
|
totalDistance?: never;
|
|
|
|
|
userId?: never;
|
|
|
|
|
username?: never;
|
|
|
|
|
videoId?: never;
|
|
|
|
|
}
|
|
|
|
|
| {
|
|
|
|
|
andFilters?: never;
|
|
|
|
|
annotations?: never;
|
|
|
|
|
backcut?: never;
|
|
|
|
|
bankAngle?: never;
|
|
|
|
|
bankDistance?: never;
|
|
|
|
|
createdAt?: never;
|
|
|
|
|
cueAngleAfterObject?: never;
|
|
|
|
|
cueBallSpeed?: never;
|
|
|
|
|
cueObjectAngle?: never;
|
|
|
|
|
cueObjectDistance?: never;
|
|
|
|
|
cueSpeedAfterObject?: never;
|
|
|
|
|
difficulty?: never;
|
|
|
|
|
falsePositiveScore?: never;
|
|
|
|
|
fargoRating?: never;
|
|
|
|
|
intendedPocketType?: never;
|
|
|
|
|
isBreakHeuristic?: never;
|
|
|
|
|
isDirect?: never;
|
|
|
|
|
isLeft?: never;
|
|
|
|
|
isLeftMiss?: never;
|
|
|
|
|
isRight?: never;
|
|
|
|
|
isRightMiss?: never;
|
|
|
|
|
isStraight?: never;
|
|
|
|
|
kickAngle?: never;
|
|
|
|
|
kickDistance?: never;
|
|
|
|
|
make?: never;
|
|
|
|
|
marginOfErrorInDegrees?: never;
|
|
|
|
|
missAngleInDegrees?: never;
|
|
|
|
|
notFilter?: never;
|
|
|
|
|
orFilters?: never;
|
|
|
|
|
playerIndex?: never;
|
|
|
|
|
runId: Array<Scalars["Int"]["input"]>;
|
|
|
|
|
runLength?: never;
|
|
|
|
|
shotDirection?: never;
|
|
|
|
|
@@ -1796,6 +1871,7 @@ export type FilterInput =
|
|
|
|
|
missAngleInDegrees?: never;
|
|
|
|
|
notFilter?: never;
|
|
|
|
|
orFilters?: never;
|
|
|
|
|
playerIndex?: never;
|
|
|
|
|
runId?: never;
|
|
|
|
|
runLength: FloatRangeFilter;
|
|
|
|
|
shotDirection?: never;
|
|
|
|
|
@@ -1840,6 +1916,7 @@ export type FilterInput =
|
|
|
|
|
missAngleInDegrees?: never;
|
|
|
|
|
notFilter?: never;
|
|
|
|
|
orFilters?: never;
|
|
|
|
|
playerIndex?: never;
|
|
|
|
|
runId?: never;
|
|
|
|
|
runLength?: never;
|
|
|
|
|
shotDirection: Array<ShotDirectionEnum>;
|
|
|
|
|
@@ -1884,6 +1961,7 @@ export type FilterInput =
|
|
|
|
|
missAngleInDegrees?: never;
|
|
|
|
|
notFilter?: never;
|
|
|
|
|
orFilters?: never;
|
|
|
|
|
playerIndex?: never;
|
|
|
|
|
runId?: never;
|
|
|
|
|
runLength?: never;
|
|
|
|
|
shotDirection?: never;
|
|
|
|
|
@@ -1928,6 +2006,7 @@ export type FilterInput =
|
|
|
|
|
missAngleInDegrees?: never;
|
|
|
|
|
notFilter?: never;
|
|
|
|
|
orFilters?: never;
|
|
|
|
|
playerIndex?: never;
|
|
|
|
|
runId?: never;
|
|
|
|
|
runLength?: never;
|
|
|
|
|
shotDirection?: never;
|
|
|
|
|
@@ -1972,6 +2051,7 @@ export type FilterInput =
|
|
|
|
|
missAngleInDegrees?: never;
|
|
|
|
|
notFilter?: never;
|
|
|
|
|
orFilters?: never;
|
|
|
|
|
playerIndex?: never;
|
|
|
|
|
runId?: never;
|
|
|
|
|
runLength?: never;
|
|
|
|
|
shotDirection?: never;
|
|
|
|
|
@@ -2016,6 +2096,7 @@ export type FilterInput =
|
|
|
|
|
missAngleInDegrees?: never;
|
|
|
|
|
notFilter?: never;
|
|
|
|
|
orFilters?: never;
|
|
|
|
|
playerIndex?: never;
|
|
|
|
|
runId?: never;
|
|
|
|
|
runLength?: never;
|
|
|
|
|
shotDirection?: never;
|
|
|
|
|
@@ -2060,6 +2141,7 @@ export type FilterInput =
|
|
|
|
|
missAngleInDegrees?: never;
|
|
|
|
|
notFilter?: never;
|
|
|
|
|
orFilters?: never;
|
|
|
|
|
playerIndex?: never;
|
|
|
|
|
runId?: never;
|
|
|
|
|
runLength?: never;
|
|
|
|
|
shotDirection?: never;
|
|
|
|
|
@@ -2104,6 +2186,7 @@ export type FilterInput =
|
|
|
|
|
missAngleInDegrees?: never;
|
|
|
|
|
notFilter?: never;
|
|
|
|
|
orFilters?: never;
|
|
|
|
|
playerIndex?: never;
|
|
|
|
|
runId?: never;
|
|
|
|
|
runLength?: never;
|
|
|
|
|
shotDirection?: never;
|
|
|
|
|
@@ -2148,6 +2231,7 @@ export type FilterInput =
|
|
|
|
|
missAngleInDegrees?: never;
|
|
|
|
|
notFilter?: never;
|
|
|
|
|
orFilters?: never;
|
|
|
|
|
playerIndex?: never;
|
|
|
|
|
runId?: never;
|
|
|
|
|
runLength?: never;
|
|
|
|
|
shotDirection?: never;
|
|
|
|
|
@@ -2192,6 +2276,7 @@ export type FilterInput =
|
|
|
|
|
missAngleInDegrees?: never;
|
|
|
|
|
notFilter?: never;
|
|
|
|
|
orFilters?: never;
|
|
|
|
|
playerIndex?: never;
|
|
|
|
|
runId?: never;
|
|
|
|
|
runLength?: never;
|
|
|
|
|
shotDirection?: never;
|
|
|
|
|
@@ -2236,6 +2321,7 @@ export type FilterInput =
|
|
|
|
|
missAngleInDegrees?: never;
|
|
|
|
|
notFilter?: never;
|
|
|
|
|
orFilters?: never;
|
|
|
|
|
playerIndex?: never;
|
|
|
|
|
runId?: never;
|
|
|
|
|
runLength?: never;
|
|
|
|
|
shotDirection?: never;
|
|
|
|
|
@@ -2280,6 +2366,7 @@ export type FilterInput =
|
|
|
|
|
missAngleInDegrees?: never;
|
|
|
|
|
notFilter?: never;
|
|
|
|
|
orFilters?: never;
|
|
|
|
|
playerIndex?: never;
|
|
|
|
|
runId?: never;
|
|
|
|
|
runLength?: never;
|
|
|
|
|
shotDirection?: never;
|
|
|
|
|
@@ -3132,6 +3219,7 @@ export type Query = {
|
|
|
|
|
getResolvedTier: ResolvedTierGql;
|
|
|
|
|
getRuns: GetRunsResult;
|
|
|
|
|
getSessionCoach: SessionCoachGql;
|
|
|
|
|
getSessionCoachGenerationStatus?: Maybe<SessionCoachGenerationStatusGql>;
|
|
|
|
|
getShotAnnotationTypes: Array<ShotAnnotationTypeGql>;
|
|
|
|
|
getShotTableState: ShotTableStateGql;
|
|
|
|
|
getShots: Array<ShotGql>;
|
|
|
|
|
@@ -3293,6 +3381,11 @@ export type QueryGetSessionCoachArgs = {
|
|
|
|
|
videoId: Scalars["Int"]["input"];
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type QueryGetSessionCoachGenerationStatusArgs = {
|
|
|
|
|
generationId: Scalars["ID"]["input"];
|
|
|
|
|
videoId: Scalars["Int"]["input"];
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type QueryGetShotAnnotationTypesArgs = {
|
|
|
|
|
errorTypes?: InputMaybe<Scalars["Boolean"]["input"]>;
|
|
|
|
|
};
|
|
|
|
|
@@ -3772,6 +3865,18 @@ export enum SessionCoachGenerationStateEnum {
|
|
|
|
|
Running = "RUNNING",
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type SessionCoachGenerationStatusGql = {
|
|
|
|
|
__typename?: "SessionCoachGenerationStatusGQL";
|
|
|
|
|
completedAt?: Maybe<Scalars["DateTime"]["output"]>;
|
|
|
|
|
createdAt: Scalars["DateTime"]["output"];
|
|
|
|
|
enqueueCount: Scalars["Int"]["output"];
|
|
|
|
|
id: Scalars["ID"]["output"];
|
|
|
|
|
lastEnqueuedAt?: Maybe<Scalars["DateTime"]["output"]>;
|
|
|
|
|
startedAt?: Maybe<Scalars["DateTime"]["output"]>;
|
|
|
|
|
state: SessionCoachGenerationStateEnum;
|
|
|
|
|
updatedAt: Scalars["DateTime"]["output"];
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export enum SessionCoachIneligibilityReasonEnum {
|
|
|
|
|
Multiplayer = "MULTIPLAYER",
|
|
|
|
|
}
|
|
|
|
|
@@ -3864,6 +3969,7 @@ export type ShotProjectionGql = {
|
|
|
|
|
|
|
|
|
|
export type ShotTableStateGql = {
|
|
|
|
|
__typename?: "ShotTableStateGQL";
|
|
|
|
|
frameImage?: Maybe<Scalars["String"]["output"]>;
|
|
|
|
|
frameIndex: Scalars["Int"]["output"];
|
|
|
|
|
shotId: Scalars["Int"]["output"];
|
|
|
|
|
tableState: TableStateGql;
|
|
|
|
|
@@ -4102,6 +4208,7 @@ export type SyncAppleSubscriptionResultGql = {
|
|
|
|
|
export type TableStateGql = {
|
|
|
|
|
__typename?: "TableStateGQL";
|
|
|
|
|
homography?: Maybe<HomographyInfoGql>;
|
|
|
|
|
identifierToBox: Array<BoundingBoxGql>;
|
|
|
|
|
identifierToColor: Array<Maybe<RgbColorGql>>;
|
|
|
|
|
identifierToPosition: Array<Array<Scalars["Float"]["output"]>>;
|
|
|
|
|
};
|
|
|
|
|
@@ -7237,6 +7344,26 @@ export type GetSessionCoachQuery = {
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type GetSessionCoachGenerationStatusQueryVariables = Exact<{
|
|
|
|
|
videoId: Scalars["Int"]["input"];
|
|
|
|
|
generationId: Scalars["ID"]["input"];
|
|
|
|
|
}>;
|
|
|
|
|
|
|
|
|
|
export type GetSessionCoachGenerationStatusQuery = {
|
|
|
|
|
__typename?: "Query";
|
|
|
|
|
getSessionCoachGenerationStatus?: {
|
|
|
|
|
__typename?: "SessionCoachGenerationStatusGQL";
|
|
|
|
|
id: string;
|
|
|
|
|
state: SessionCoachGenerationStateEnum;
|
|
|
|
|
createdAt: any;
|
|
|
|
|
updatedAt: any;
|
|
|
|
|
startedAt?: any | null;
|
|
|
|
|
lastEnqueuedAt?: any | null;
|
|
|
|
|
enqueueCount: number;
|
|
|
|
|
completedAt?: any | null;
|
|
|
|
|
} | null;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type RequestSessionCoachGenerationMutationVariables = Exact<{
|
|
|
|
|
videoId: Scalars["Int"]["input"];
|
|
|
|
|
}>;
|
|
|
|
|
@@ -7534,6 +7661,76 @@ export type FinalizePlayerAssignmentsMutation = {
|
|
|
|
|
}>;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type TableStateLayoutFieldsFragment = {
|
|
|
|
|
__typename?: "TableStateGQL";
|
|
|
|
|
identifierToPosition: Array<Array<number>>;
|
|
|
|
|
identifierToColor: Array<{ __typename?: "RGBColorGQL"; hex: string } | null>;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type DetectionBoxFieldsFragment = {
|
|
|
|
|
__typename?: "BoundingBoxGQL";
|
|
|
|
|
left: number;
|
|
|
|
|
top: number;
|
|
|
|
|
width: number;
|
|
|
|
|
height: number;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type DetectionPocketPointFieldsFragment = {
|
|
|
|
|
__typename?: "PocketPointsGQL";
|
|
|
|
|
topLeft: { __typename?: "IntPoint2D"; x: number; y: number };
|
|
|
|
|
topSide: { __typename?: "IntPoint2D"; x: number; y: number };
|
|
|
|
|
topRight: { __typename?: "IntPoint2D"; x: number; y: number };
|
|
|
|
|
bottomLeft: { __typename?: "IntPoint2D"; x: number; y: number };
|
|
|
|
|
bottomSide: { __typename?: "IntPoint2D"; x: number; y: number };
|
|
|
|
|
bottomRight: { __typename?: "IntPoint2D"; x: number; y: number };
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type TableStateDetectionFieldsFragment = {
|
|
|
|
|
__typename?: "TableStateGQL";
|
|
|
|
|
identifierToBox: Array<{
|
|
|
|
|
__typename?: "BoundingBoxGQL";
|
|
|
|
|
left: number;
|
|
|
|
|
top: number;
|
|
|
|
|
width: number;
|
|
|
|
|
height: number;
|
|
|
|
|
}>;
|
|
|
|
|
homography?: {
|
|
|
|
|
__typename?: "HomographyInfoGQL";
|
|
|
|
|
crop: {
|
|
|
|
|
__typename?: "BoundingBoxGQL";
|
|
|
|
|
left: number;
|
|
|
|
|
top: number;
|
|
|
|
|
width: number;
|
|
|
|
|
height: number;
|
|
|
|
|
};
|
|
|
|
|
pockets: Array<{
|
|
|
|
|
__typename?: "BoundingBoxGQL";
|
|
|
|
|
left: number;
|
|
|
|
|
top: number;
|
|
|
|
|
width: number;
|
|
|
|
|
height: number;
|
|
|
|
|
}>;
|
|
|
|
|
sourcePoints: {
|
|
|
|
|
__typename?: "PocketPointsGQL";
|
|
|
|
|
topLeft: { __typename?: "IntPoint2D"; x: number; y: number };
|
|
|
|
|
topSide: { __typename?: "IntPoint2D"; x: number; y: number };
|
|
|
|
|
topRight: { __typename?: "IntPoint2D"; x: number; y: number };
|
|
|
|
|
bottomLeft: { __typename?: "IntPoint2D"; x: number; y: number };
|
|
|
|
|
bottomSide: { __typename?: "IntPoint2D"; x: number; y: number };
|
|
|
|
|
bottomRight: { __typename?: "IntPoint2D"; x: number; y: number };
|
|
|
|
|
};
|
|
|
|
|
destPoints: {
|
|
|
|
|
__typename?: "PocketPointsGQL";
|
|
|
|
|
topLeft: { __typename?: "IntPoint2D"; x: number; y: number };
|
|
|
|
|
topSide: { __typename?: "IntPoint2D"; x: number; y: number };
|
|
|
|
|
topRight: { __typename?: "IntPoint2D"; x: number; y: number };
|
|
|
|
|
bottomLeft: { __typename?: "IntPoint2D"; x: number; y: number };
|
|
|
|
|
bottomSide: { __typename?: "IntPoint2D"; x: number; y: number };
|
|
|
|
|
bottomRight: { __typename?: "IntPoint2D"; x: number; y: number };
|
|
|
|
|
};
|
|
|
|
|
} | null;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type GetTableStateQueryVariables = Exact<{
|
|
|
|
|
b64Image: Scalars["String"]["input"];
|
|
|
|
|
tableSize?: InputMaybe<Scalars["Float"]["input"]>;
|
|
|
|
|
@@ -7549,6 +7746,48 @@ export type GetTableStateQuery = {
|
|
|
|
|
__typename?: "RGBColorGQL";
|
|
|
|
|
hex: string;
|
|
|
|
|
} | null>;
|
|
|
|
|
identifierToBox: Array<{
|
|
|
|
|
__typename?: "BoundingBoxGQL";
|
|
|
|
|
left: number;
|
|
|
|
|
top: number;
|
|
|
|
|
width: number;
|
|
|
|
|
height: number;
|
|
|
|
|
}>;
|
|
|
|
|
homography?: {
|
|
|
|
|
__typename?: "HomographyInfoGQL";
|
|
|
|
|
crop: {
|
|
|
|
|
__typename?: "BoundingBoxGQL";
|
|
|
|
|
left: number;
|
|
|
|
|
top: number;
|
|
|
|
|
width: number;
|
|
|
|
|
height: number;
|
|
|
|
|
};
|
|
|
|
|
pockets: Array<{
|
|
|
|
|
__typename?: "BoundingBoxGQL";
|
|
|
|
|
left: number;
|
|
|
|
|
top: number;
|
|
|
|
|
width: number;
|
|
|
|
|
height: number;
|
|
|
|
|
}>;
|
|
|
|
|
sourcePoints: {
|
|
|
|
|
__typename?: "PocketPointsGQL";
|
|
|
|
|
topLeft: { __typename?: "IntPoint2D"; x: number; y: number };
|
|
|
|
|
topSide: { __typename?: "IntPoint2D"; x: number; y: number };
|
|
|
|
|
topRight: { __typename?: "IntPoint2D"; x: number; y: number };
|
|
|
|
|
bottomLeft: { __typename?: "IntPoint2D"; x: number; y: number };
|
|
|
|
|
bottomSide: { __typename?: "IntPoint2D"; x: number; y: number };
|
|
|
|
|
bottomRight: { __typename?: "IntPoint2D"; x: number; y: number };
|
|
|
|
|
};
|
|
|
|
|
destPoints: {
|
|
|
|
|
__typename?: "PocketPointsGQL";
|
|
|
|
|
topLeft: { __typename?: "IntPoint2D"; x: number; y: number };
|
|
|
|
|
topSide: { __typename?: "IntPoint2D"; x: number; y: number };
|
|
|
|
|
topRight: { __typename?: "IntPoint2D"; x: number; y: number };
|
|
|
|
|
bottomLeft: { __typename?: "IntPoint2D"; x: number; y: number };
|
|
|
|
|
bottomSide: { __typename?: "IntPoint2D"; x: number; y: number };
|
|
|
|
|
bottomRight: { __typename?: "IntPoint2D"; x: number; y: number };
|
|
|
|
|
};
|
|
|
|
|
} | null;
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
@@ -7584,6 +7823,7 @@ export type GetShotTableStateQuery = {
|
|
|
|
|
shotId: number;
|
|
|
|
|
videoId: number;
|
|
|
|
|
frameIndex: number;
|
|
|
|
|
frameImage?: string | null;
|
|
|
|
|
tableState: {
|
|
|
|
|
__typename?: "TableStateGQL";
|
|
|
|
|
identifierToPosition: Array<Array<number>>;
|
|
|
|
|
@@ -10041,6 +10281,73 @@ export const PlayerClusterFieldsFragmentDoc = gql`
|
|
|
|
|
}
|
|
|
|
|
${PlayerClusterShotFieldsFragmentDoc}
|
|
|
|
|
`;
|
|
|
|
|
export const TableStateLayoutFieldsFragmentDoc = gql`
|
|
|
|
|
fragment TableStateLayoutFields on TableStateGQL {
|
|
|
|
|
identifierToPosition
|
|
|
|
|
identifierToColor {
|
|
|
|
|
hex
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
`;
|
|
|
|
|
export const DetectionBoxFieldsFragmentDoc = gql`
|
|
|
|
|
fragment DetectionBoxFields on BoundingBoxGQL {
|
|
|
|
|
left
|
|
|
|
|
top
|
|
|
|
|
width
|
|
|
|
|
height
|
|
|
|
|
}
|
|
|
|
|
`;
|
|
|
|
|
export const DetectionPocketPointFieldsFragmentDoc = gql`
|
|
|
|
|
fragment DetectionPocketPointFields on PocketPointsGQL {
|
|
|
|
|
topLeft {
|
|
|
|
|
x
|
|
|
|
|
y
|
|
|
|
|
}
|
|
|
|
|
topSide {
|
|
|
|
|
x
|
|
|
|
|
y
|
|
|
|
|
}
|
|
|
|
|
topRight {
|
|
|
|
|
x
|
|
|
|
|
y
|
|
|
|
|
}
|
|
|
|
|
bottomLeft {
|
|
|
|
|
x
|
|
|
|
|
y
|
|
|
|
|
}
|
|
|
|
|
bottomSide {
|
|
|
|
|
x
|
|
|
|
|
y
|
|
|
|
|
}
|
|
|
|
|
bottomRight {
|
|
|
|
|
x
|
|
|
|
|
y
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
`;
|
|
|
|
|
export const TableStateDetectionFieldsFragmentDoc = gql`
|
|
|
|
|
fragment TableStateDetectionFields on TableStateGQL {
|
|
|
|
|
identifierToBox {
|
|
|
|
|
...DetectionBoxFields
|
|
|
|
|
}
|
|
|
|
|
homography {
|
|
|
|
|
crop {
|
|
|
|
|
...DetectionBoxFields
|
|
|
|
|
}
|
|
|
|
|
pockets {
|
|
|
|
|
...DetectionBoxFields
|
|
|
|
|
}
|
|
|
|
|
sourcePoints {
|
|
|
|
|
...DetectionPocketPointFields
|
|
|
|
|
}
|
|
|
|
|
destPoints {
|
|
|
|
|
...DetectionPocketPointFields
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
${DetectionBoxFieldsFragmentDoc}
|
|
|
|
|
${DetectionPocketPointFieldsFragmentDoc}
|
|
|
|
|
`;
|
|
|
|
|
export const ShotClipRangeFragmentDoc = gql`
|
|
|
|
|
fragment ShotClipRange on ShotGQL {
|
|
|
|
|
id
|
|
|
|
|
@@ -15743,6 +16050,90 @@ export type GetSessionCoachQueryResult = Apollo.QueryResult<
|
|
|
|
|
GetSessionCoachQuery,
|
|
|
|
|
GetSessionCoachQueryVariables
|
|
|
|
|
>;
|
|
|
|
|
export const GetSessionCoachGenerationStatusDocument = gql`
|
|
|
|
|
query GetSessionCoachGenerationStatus($videoId: Int!, $generationId: ID!) {
|
|
|
|
|
getSessionCoachGenerationStatus(
|
|
|
|
|
videoId: $videoId
|
|
|
|
|
generationId: $generationId
|
|
|
|
|
) {
|
|
|
|
|
id
|
|
|
|
|
state
|
|
|
|
|
createdAt
|
|
|
|
|
updatedAt
|
|
|
|
|
startedAt
|
|
|
|
|
lastEnqueuedAt
|
|
|
|
|
enqueueCount
|
|
|
|
|
completedAt
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
`;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* __useGetSessionCoachGenerationStatusQuery__
|
|
|
|
|
*
|
|
|
|
|
* To run a query within a React component, call `useGetSessionCoachGenerationStatusQuery` and pass it any options that fit your needs.
|
|
|
|
|
* When your component renders, `useGetSessionCoachGenerationStatusQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
|
|
|
* you can use to render your UI.
|
|
|
|
|
*
|
|
|
|
|
* @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
|
|
|
|
|
*
|
|
|
|
|
* @example
|
|
|
|
|
* const { data, loading, error } = useGetSessionCoachGenerationStatusQuery({
|
|
|
|
|
* variables: {
|
|
|
|
|
* videoId: // value for 'videoId'
|
|
|
|
|
* generationId: // value for 'generationId'
|
|
|
|
|
* },
|
|
|
|
|
* });
|
|
|
|
|
*/
|
|
|
|
|
export function useGetSessionCoachGenerationStatusQuery(
|
|
|
|
|
baseOptions: Apollo.QueryHookOptions<
|
|
|
|
|
GetSessionCoachGenerationStatusQuery,
|
|
|
|
|
GetSessionCoachGenerationStatusQueryVariables
|
|
|
|
|
>,
|
|
|
|
|
) {
|
|
|
|
|
const options = { ...defaultOptions, ...baseOptions };
|
|
|
|
|
return Apollo.useQuery<
|
|
|
|
|
GetSessionCoachGenerationStatusQuery,
|
|
|
|
|
GetSessionCoachGenerationStatusQueryVariables
|
|
|
|
|
>(GetSessionCoachGenerationStatusDocument, options);
|
|
|
|
|
}
|
|
|
|
|
export function useGetSessionCoachGenerationStatusLazyQuery(
|
|
|
|
|
baseOptions?: Apollo.LazyQueryHookOptions<
|
|
|
|
|
GetSessionCoachGenerationStatusQuery,
|
|
|
|
|
GetSessionCoachGenerationStatusQueryVariables
|
|
|
|
|
>,
|
|
|
|
|
) {
|
|
|
|
|
const options = { ...defaultOptions, ...baseOptions };
|
|
|
|
|
return Apollo.useLazyQuery<
|
|
|
|
|
GetSessionCoachGenerationStatusQuery,
|
|
|
|
|
GetSessionCoachGenerationStatusQueryVariables
|
|
|
|
|
>(GetSessionCoachGenerationStatusDocument, options);
|
|
|
|
|
}
|
|
|
|
|
export function useGetSessionCoachGenerationStatusSuspenseQuery(
|
|
|
|
|
baseOptions?: Apollo.SuspenseQueryHookOptions<
|
|
|
|
|
GetSessionCoachGenerationStatusQuery,
|
|
|
|
|
GetSessionCoachGenerationStatusQueryVariables
|
|
|
|
|
>,
|
|
|
|
|
) {
|
|
|
|
|
const options = { ...defaultOptions, ...baseOptions };
|
|
|
|
|
return Apollo.useSuspenseQuery<
|
|
|
|
|
GetSessionCoachGenerationStatusQuery,
|
|
|
|
|
GetSessionCoachGenerationStatusQueryVariables
|
|
|
|
|
>(GetSessionCoachGenerationStatusDocument, options);
|
|
|
|
|
}
|
|
|
|
|
export type GetSessionCoachGenerationStatusQueryHookResult = ReturnType<
|
|
|
|
|
typeof useGetSessionCoachGenerationStatusQuery
|
|
|
|
|
>;
|
|
|
|
|
export type GetSessionCoachGenerationStatusLazyQueryHookResult = ReturnType<
|
|
|
|
|
typeof useGetSessionCoachGenerationStatusLazyQuery
|
|
|
|
|
>;
|
|
|
|
|
export type GetSessionCoachGenerationStatusSuspenseQueryHookResult = ReturnType<
|
|
|
|
|
typeof useGetSessionCoachGenerationStatusSuspenseQuery
|
|
|
|
|
>;
|
|
|
|
|
export type GetSessionCoachGenerationStatusQueryResult = Apollo.QueryResult<
|
|
|
|
|
GetSessionCoachGenerationStatusQuery,
|
|
|
|
|
GetSessionCoachGenerationStatusQueryVariables
|
|
|
|
|
>;
|
|
|
|
|
export const RequestSessionCoachGenerationDocument = gql`
|
|
|
|
|
mutation RequestSessionCoachGeneration($videoId: Int!) {
|
|
|
|
|
requestSessionCoachGeneration(videoId: $videoId) {
|
|
|
|
|
@@ -16054,12 +16445,12 @@ export const GetTableStateDocument = gql`
|
|
|
|
|
tableSize: $tableSize
|
|
|
|
|
useHomography: $useHomography
|
|
|
|
|
) {
|
|
|
|
|
identifierToPosition
|
|
|
|
|
identifierToColor {
|
|
|
|
|
hex
|
|
|
|
|
}
|
|
|
|
|
...TableStateLayoutFields
|
|
|
|
|
...TableStateDetectionFields
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
${TableStateLayoutFieldsFragmentDoc}
|
|
|
|
|
${TableStateDetectionFieldsFragmentDoc}
|
|
|
|
|
`;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
@@ -16135,13 +16526,11 @@ export const GetLiveTableStateDocument = gql`
|
|
|
|
|
videoId
|
|
|
|
|
frameIndex
|
|
|
|
|
tableState {
|
|
|
|
|
identifierToPosition
|
|
|
|
|
identifierToColor {
|
|
|
|
|
hex
|
|
|
|
|
}
|
|
|
|
|
...TableStateLayoutFields
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
${TableStateLayoutFieldsFragmentDoc}
|
|
|
|
|
`;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
@@ -16215,14 +16604,13 @@ export const GetShotTableStateDocument = gql`
|
|
|
|
|
shotId
|
|
|
|
|
videoId
|
|
|
|
|
frameIndex
|
|
|
|
|
frameImage
|
|
|
|
|
tableState {
|
|
|
|
|
identifierToPosition
|
|
|
|
|
identifierToColor {
|
|
|
|
|
hex
|
|
|
|
|
}
|
|
|
|
|
...TableStateLayoutFields
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
${TableStateLayoutFieldsFragmentDoc}
|
|
|
|
|
`;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|