Compare commits
20 Commits
dean/shot-
...
loewy/soci
| Author | SHA1 | Date | |
|---|---|---|---|
| 1b46160e95 | |||
| 33707523f0 | |||
| 308c60c93b | |||
| 19ba43ad6d | |||
| 03b565dc7d | |||
|
|
901f4222a4 | ||
| 0f6e7b28d4 | |||
| 9b6b08c1ec | |||
| 0f01c71a43 | |||
| 238ade1384 | |||
| fe9b9ac9cc | |||
| 0cf074b35b | |||
| e3d7a5aaac | |||
| 65151d4b6b | |||
| 15fe6e5c3d | |||
| 926b2aab7a | |||
| bbe50cacb7 | |||
| 1953248639 | |||
| 032fa6b898 | |||
|
|
81565b7676 |
391
src/index.tsx
391
src/index.tsx
@@ -88,6 +88,26 @@ export type AppleIapSubscriptionOptionsGql = {
|
|||||||
productIds: Array<Scalars["String"]["output"]>;
|
productIds: Array<Scalars["String"]["output"]>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
export type AuthBootstrapGql = {
|
||||||
|
__typename?: "AuthBootstrapGQL";
|
||||||
|
status: AuthBootstrapStatusEnum;
|
||||||
|
user?: Maybe<UserGql>;
|
||||||
|
};
|
||||||
|
|
||||||
|
export enum AuthBootstrapStatusEnum {
|
||||||
|
NeedsProfile = "NEEDS_PROFILE",
|
||||||
|
Registered = "REGISTERED",
|
||||||
|
RegistrationDisabled = "REGISTRATION_DISABLED",
|
||||||
|
}
|
||||||
|
|
||||||
|
export enum AuthRegistrationErrorEnum {
|
||||||
|
InvalidUsername = "INVALID_USERNAME",
|
||||||
|
RegistrationDisabled = "REGISTRATION_DISABLED",
|
||||||
|
UnsupportedProvider = "UNSUPPORTED_PROVIDER",
|
||||||
|
UsernameUnavailable = "USERNAME_UNAVAILABLE",
|
||||||
|
VerifiedEmailRequired = "VERIFIED_EMAIL_REQUIRED",
|
||||||
|
}
|
||||||
|
|
||||||
export type BallTrajectoryGql = {
|
export type BallTrajectoryGql = {
|
||||||
__typename?: "BallTrajectoryGQL";
|
__typename?: "BallTrajectoryGQL";
|
||||||
ballId: Scalars["Int"]["output"];
|
ballId: Scalars["Int"]["output"];
|
||||||
@@ -265,6 +285,7 @@ export type CohortStatsGql = {
|
|||||||
activated7d: Scalars["Int"]["output"];
|
activated7d: Scalars["Int"]["output"];
|
||||||
activatedNotPaid7d: Scalars["Int"]["output"];
|
activatedNotPaid7d: Scalars["Int"]["output"];
|
||||||
paid7d: Scalars["Int"]["output"];
|
paid7d: Scalars["Int"]["output"];
|
||||||
|
paidTotal: Scalars["Int"]["output"];
|
||||||
signups: Scalars["Int"]["output"];
|
signups: Scalars["Int"]["output"];
|
||||||
weekStart: Scalars["Date"]["output"];
|
weekStart: Scalars["Date"]["output"];
|
||||||
};
|
};
|
||||||
@@ -278,6 +299,12 @@ export type CommentGql = {
|
|||||||
user: UserGql;
|
user: UserGql;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
export type CompleteAuthRegistrationGql = {
|
||||||
|
__typename?: "CompleteAuthRegistrationGQL";
|
||||||
|
errorCode?: Maybe<AuthRegistrationErrorEnum>;
|
||||||
|
user?: Maybe<UserGql>;
|
||||||
|
};
|
||||||
|
|
||||||
export type CountLeaderboardGql = {
|
export type CountLeaderboardGql = {
|
||||||
__typename?: "CountLeaderboardGQL";
|
__typename?: "CountLeaderboardGQL";
|
||||||
entries: Array<UserShotCountEntry>;
|
entries: Array<UserShotCountEntry>;
|
||||||
@@ -382,6 +409,7 @@ export type DeployedConfigGql = {
|
|||||||
defaultAndroidRecordingFormat: StreamSegmentTypeEnum;
|
defaultAndroidRecordingFormat: StreamSegmentTypeEnum;
|
||||||
devMode: Scalars["Boolean"]["output"];
|
devMode: Scalars["Boolean"]["output"];
|
||||||
environment: Scalars["String"]["output"];
|
environment: Scalars["String"]["output"];
|
||||||
|
externalSignInProviderAvailability: Array<ExternalSignInProviderAvailability>;
|
||||||
firebase: Scalars["Boolean"]["output"];
|
firebase: Scalars["Boolean"]["output"];
|
||||||
minimumAllowedAppVersion: Scalars["String"]["output"];
|
minimumAllowedAppVersion: Scalars["String"]["output"];
|
||||||
quotaEnforcementEnabled: Scalars["Boolean"]["output"];
|
quotaEnforcementEnabled: Scalars["Boolean"]["output"];
|
||||||
@@ -444,6 +472,25 @@ export type EnumAggregation = {
|
|||||||
feature: Scalars["String"]["input"];
|
feature: Scalars["String"]["input"];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
export enum ExternalSignInPlatform {
|
||||||
|
Android = "ANDROID",
|
||||||
|
Ios = "IOS",
|
||||||
|
Web = "WEB",
|
||||||
|
}
|
||||||
|
|
||||||
|
export enum ExternalSignInProvider {
|
||||||
|
Apple = "APPLE",
|
||||||
|
Facebook = "FACEBOOK",
|
||||||
|
Google = "GOOGLE",
|
||||||
|
}
|
||||||
|
|
||||||
|
export type ExternalSignInProviderAvailability = {
|
||||||
|
__typename?: "ExternalSignInProviderAvailability";
|
||||||
|
enabled: Scalars["Boolean"]["output"];
|
||||||
|
platform: ExternalSignInPlatform;
|
||||||
|
provider: ExternalSignInProvider;
|
||||||
|
};
|
||||||
|
|
||||||
export type FilterInput =
|
export type FilterInput =
|
||||||
| {
|
| {
|
||||||
andFilters: Array<FilterInput>;
|
andFilters: Array<FilterInput>;
|
||||||
@@ -475,6 +522,7 @@ export type FilterInput =
|
|||||||
missAngleInDegrees?: never;
|
missAngleInDegrees?: never;
|
||||||
notFilter?: never;
|
notFilter?: never;
|
||||||
orFilters?: never;
|
orFilters?: never;
|
||||||
|
playerIndex?: never;
|
||||||
runId?: never;
|
runId?: never;
|
||||||
runLength?: never;
|
runLength?: never;
|
||||||
shotDirection?: never;
|
shotDirection?: never;
|
||||||
@@ -519,6 +567,7 @@ export type FilterInput =
|
|||||||
missAngleInDegrees?: never;
|
missAngleInDegrees?: never;
|
||||||
notFilter?: never;
|
notFilter?: never;
|
||||||
orFilters?: never;
|
orFilters?: never;
|
||||||
|
playerIndex?: never;
|
||||||
runId?: never;
|
runId?: never;
|
||||||
runLength?: never;
|
runLength?: never;
|
||||||
shotDirection?: never;
|
shotDirection?: never;
|
||||||
@@ -563,6 +612,7 @@ export type FilterInput =
|
|||||||
missAngleInDegrees?: never;
|
missAngleInDegrees?: never;
|
||||||
notFilter?: never;
|
notFilter?: never;
|
||||||
orFilters?: never;
|
orFilters?: never;
|
||||||
|
playerIndex?: never;
|
||||||
runId?: never;
|
runId?: never;
|
||||||
runLength?: never;
|
runLength?: never;
|
||||||
shotDirection?: never;
|
shotDirection?: never;
|
||||||
@@ -607,6 +657,7 @@ export type FilterInput =
|
|||||||
missAngleInDegrees?: never;
|
missAngleInDegrees?: never;
|
||||||
notFilter?: never;
|
notFilter?: never;
|
||||||
orFilters?: never;
|
orFilters?: never;
|
||||||
|
playerIndex?: never;
|
||||||
runId?: never;
|
runId?: never;
|
||||||
runLength?: never;
|
runLength?: never;
|
||||||
shotDirection?: never;
|
shotDirection?: never;
|
||||||
@@ -651,6 +702,7 @@ export type FilterInput =
|
|||||||
missAngleInDegrees?: never;
|
missAngleInDegrees?: never;
|
||||||
notFilter?: never;
|
notFilter?: never;
|
||||||
orFilters?: never;
|
orFilters?: never;
|
||||||
|
playerIndex?: never;
|
||||||
runId?: never;
|
runId?: never;
|
||||||
runLength?: never;
|
runLength?: never;
|
||||||
shotDirection?: never;
|
shotDirection?: never;
|
||||||
@@ -695,6 +747,7 @@ export type FilterInput =
|
|||||||
missAngleInDegrees?: never;
|
missAngleInDegrees?: never;
|
||||||
notFilter?: never;
|
notFilter?: never;
|
||||||
orFilters?: never;
|
orFilters?: never;
|
||||||
|
playerIndex?: never;
|
||||||
runId?: never;
|
runId?: never;
|
||||||
runLength?: never;
|
runLength?: never;
|
||||||
shotDirection?: never;
|
shotDirection?: never;
|
||||||
@@ -739,6 +792,7 @@ export type FilterInput =
|
|||||||
missAngleInDegrees?: never;
|
missAngleInDegrees?: never;
|
||||||
notFilter?: never;
|
notFilter?: never;
|
||||||
orFilters?: never;
|
orFilters?: never;
|
||||||
|
playerIndex?: never;
|
||||||
runId?: never;
|
runId?: never;
|
||||||
runLength?: never;
|
runLength?: never;
|
||||||
shotDirection?: never;
|
shotDirection?: never;
|
||||||
@@ -783,6 +837,7 @@ export type FilterInput =
|
|||||||
missAngleInDegrees?: never;
|
missAngleInDegrees?: never;
|
||||||
notFilter?: never;
|
notFilter?: never;
|
||||||
orFilters?: never;
|
orFilters?: never;
|
||||||
|
playerIndex?: never;
|
||||||
runId?: never;
|
runId?: never;
|
||||||
runLength?: never;
|
runLength?: never;
|
||||||
shotDirection?: never;
|
shotDirection?: never;
|
||||||
@@ -827,6 +882,7 @@ export type FilterInput =
|
|||||||
missAngleInDegrees?: never;
|
missAngleInDegrees?: never;
|
||||||
notFilter?: never;
|
notFilter?: never;
|
||||||
orFilters?: never;
|
orFilters?: never;
|
||||||
|
playerIndex?: never;
|
||||||
runId?: never;
|
runId?: never;
|
||||||
runLength?: never;
|
runLength?: never;
|
||||||
shotDirection?: never;
|
shotDirection?: never;
|
||||||
@@ -871,6 +927,7 @@ export type FilterInput =
|
|||||||
missAngleInDegrees?: never;
|
missAngleInDegrees?: never;
|
||||||
notFilter?: never;
|
notFilter?: never;
|
||||||
orFilters?: never;
|
orFilters?: never;
|
||||||
|
playerIndex?: never;
|
||||||
runId?: never;
|
runId?: never;
|
||||||
runLength?: never;
|
runLength?: never;
|
||||||
shotDirection?: never;
|
shotDirection?: never;
|
||||||
@@ -915,6 +972,7 @@ export type FilterInput =
|
|||||||
missAngleInDegrees?: never;
|
missAngleInDegrees?: never;
|
||||||
notFilter?: never;
|
notFilter?: never;
|
||||||
orFilters?: never;
|
orFilters?: never;
|
||||||
|
playerIndex?: never;
|
||||||
runId?: never;
|
runId?: never;
|
||||||
runLength?: never;
|
runLength?: never;
|
||||||
shotDirection?: never;
|
shotDirection?: never;
|
||||||
@@ -959,6 +1017,7 @@ export type FilterInput =
|
|||||||
missAngleInDegrees?: never;
|
missAngleInDegrees?: never;
|
||||||
notFilter?: never;
|
notFilter?: never;
|
||||||
orFilters?: never;
|
orFilters?: never;
|
||||||
|
playerIndex?: never;
|
||||||
runId?: never;
|
runId?: never;
|
||||||
runLength?: never;
|
runLength?: never;
|
||||||
shotDirection?: never;
|
shotDirection?: never;
|
||||||
@@ -1003,6 +1062,7 @@ export type FilterInput =
|
|||||||
missAngleInDegrees?: never;
|
missAngleInDegrees?: never;
|
||||||
notFilter?: never;
|
notFilter?: never;
|
||||||
orFilters?: never;
|
orFilters?: never;
|
||||||
|
playerIndex?: never;
|
||||||
runId?: never;
|
runId?: never;
|
||||||
runLength?: never;
|
runLength?: never;
|
||||||
shotDirection?: never;
|
shotDirection?: never;
|
||||||
@@ -1047,6 +1107,7 @@ export type FilterInput =
|
|||||||
missAngleInDegrees?: never;
|
missAngleInDegrees?: never;
|
||||||
notFilter?: never;
|
notFilter?: never;
|
||||||
orFilters?: never;
|
orFilters?: never;
|
||||||
|
playerIndex?: never;
|
||||||
runId?: never;
|
runId?: never;
|
||||||
runLength?: never;
|
runLength?: never;
|
||||||
shotDirection?: never;
|
shotDirection?: never;
|
||||||
@@ -1091,6 +1152,7 @@ export type FilterInput =
|
|||||||
missAngleInDegrees?: never;
|
missAngleInDegrees?: never;
|
||||||
notFilter?: never;
|
notFilter?: never;
|
||||||
orFilters?: never;
|
orFilters?: never;
|
||||||
|
playerIndex?: never;
|
||||||
runId?: never;
|
runId?: never;
|
||||||
runLength?: never;
|
runLength?: never;
|
||||||
shotDirection?: never;
|
shotDirection?: never;
|
||||||
@@ -1135,6 +1197,7 @@ export type FilterInput =
|
|||||||
missAngleInDegrees?: never;
|
missAngleInDegrees?: never;
|
||||||
notFilter?: never;
|
notFilter?: never;
|
||||||
orFilters?: never;
|
orFilters?: never;
|
||||||
|
playerIndex?: never;
|
||||||
runId?: never;
|
runId?: never;
|
||||||
runLength?: never;
|
runLength?: never;
|
||||||
shotDirection?: never;
|
shotDirection?: never;
|
||||||
@@ -1179,6 +1242,7 @@ export type FilterInput =
|
|||||||
missAngleInDegrees?: never;
|
missAngleInDegrees?: never;
|
||||||
notFilter?: never;
|
notFilter?: never;
|
||||||
orFilters?: never;
|
orFilters?: never;
|
||||||
|
playerIndex?: never;
|
||||||
runId?: never;
|
runId?: never;
|
||||||
runLength?: never;
|
runLength?: never;
|
||||||
shotDirection?: never;
|
shotDirection?: never;
|
||||||
@@ -1223,6 +1287,7 @@ export type FilterInput =
|
|||||||
missAngleInDegrees?: never;
|
missAngleInDegrees?: never;
|
||||||
notFilter?: never;
|
notFilter?: never;
|
||||||
orFilters?: never;
|
orFilters?: never;
|
||||||
|
playerIndex?: never;
|
||||||
runId?: never;
|
runId?: never;
|
||||||
runLength?: never;
|
runLength?: never;
|
||||||
shotDirection?: never;
|
shotDirection?: never;
|
||||||
@@ -1267,6 +1332,7 @@ export type FilterInput =
|
|||||||
missAngleInDegrees?: never;
|
missAngleInDegrees?: never;
|
||||||
notFilter?: never;
|
notFilter?: never;
|
||||||
orFilters?: never;
|
orFilters?: never;
|
||||||
|
playerIndex?: never;
|
||||||
runId?: never;
|
runId?: never;
|
||||||
runLength?: never;
|
runLength?: never;
|
||||||
shotDirection?: never;
|
shotDirection?: never;
|
||||||
@@ -1311,6 +1377,7 @@ export type FilterInput =
|
|||||||
missAngleInDegrees?: never;
|
missAngleInDegrees?: never;
|
||||||
notFilter?: never;
|
notFilter?: never;
|
||||||
orFilters?: never;
|
orFilters?: never;
|
||||||
|
playerIndex?: never;
|
||||||
runId?: never;
|
runId?: never;
|
||||||
runLength?: never;
|
runLength?: never;
|
||||||
shotDirection?: never;
|
shotDirection?: never;
|
||||||
@@ -1355,6 +1422,7 @@ export type FilterInput =
|
|||||||
missAngleInDegrees?: never;
|
missAngleInDegrees?: never;
|
||||||
notFilter?: never;
|
notFilter?: never;
|
||||||
orFilters?: never;
|
orFilters?: never;
|
||||||
|
playerIndex?: never;
|
||||||
runId?: never;
|
runId?: never;
|
||||||
runLength?: never;
|
runLength?: never;
|
||||||
shotDirection?: never;
|
shotDirection?: never;
|
||||||
@@ -1399,6 +1467,7 @@ export type FilterInput =
|
|||||||
missAngleInDegrees?: never;
|
missAngleInDegrees?: never;
|
||||||
notFilter?: never;
|
notFilter?: never;
|
||||||
orFilters?: never;
|
orFilters?: never;
|
||||||
|
playerIndex?: never;
|
||||||
runId?: never;
|
runId?: never;
|
||||||
runLength?: never;
|
runLength?: never;
|
||||||
shotDirection?: never;
|
shotDirection?: never;
|
||||||
@@ -1443,6 +1512,7 @@ export type FilterInput =
|
|||||||
missAngleInDegrees?: never;
|
missAngleInDegrees?: never;
|
||||||
notFilter?: never;
|
notFilter?: never;
|
||||||
orFilters?: never;
|
orFilters?: never;
|
||||||
|
playerIndex?: never;
|
||||||
runId?: never;
|
runId?: never;
|
||||||
runLength?: never;
|
runLength?: never;
|
||||||
shotDirection?: never;
|
shotDirection?: never;
|
||||||
@@ -1487,6 +1557,7 @@ export type FilterInput =
|
|||||||
missAngleInDegrees?: never;
|
missAngleInDegrees?: never;
|
||||||
notFilter?: never;
|
notFilter?: never;
|
||||||
orFilters?: never;
|
orFilters?: never;
|
||||||
|
playerIndex?: never;
|
||||||
runId?: never;
|
runId?: never;
|
||||||
runLength?: never;
|
runLength?: never;
|
||||||
shotDirection?: never;
|
shotDirection?: never;
|
||||||
@@ -1531,6 +1602,7 @@ export type FilterInput =
|
|||||||
missAngleInDegrees?: never;
|
missAngleInDegrees?: never;
|
||||||
notFilter?: never;
|
notFilter?: never;
|
||||||
orFilters?: never;
|
orFilters?: never;
|
||||||
|
playerIndex?: never;
|
||||||
runId?: never;
|
runId?: never;
|
||||||
runLength?: never;
|
runLength?: never;
|
||||||
shotDirection?: never;
|
shotDirection?: never;
|
||||||
@@ -1575,6 +1647,7 @@ export type FilterInput =
|
|||||||
missAngleInDegrees?: never;
|
missAngleInDegrees?: never;
|
||||||
notFilter?: never;
|
notFilter?: never;
|
||||||
orFilters?: never;
|
orFilters?: never;
|
||||||
|
playerIndex?: never;
|
||||||
runId?: never;
|
runId?: never;
|
||||||
runLength?: never;
|
runLength?: never;
|
||||||
shotDirection?: never;
|
shotDirection?: never;
|
||||||
@@ -1619,6 +1692,7 @@ export type FilterInput =
|
|||||||
missAngleInDegrees: FloatRangeFilter;
|
missAngleInDegrees: FloatRangeFilter;
|
||||||
notFilter?: never;
|
notFilter?: never;
|
||||||
orFilters?: never;
|
orFilters?: never;
|
||||||
|
playerIndex?: never;
|
||||||
runId?: never;
|
runId?: never;
|
||||||
runLength?: never;
|
runLength?: never;
|
||||||
shotDirection?: never;
|
shotDirection?: never;
|
||||||
@@ -1663,6 +1737,7 @@ export type FilterInput =
|
|||||||
missAngleInDegrees?: never;
|
missAngleInDegrees?: never;
|
||||||
notFilter: FilterInput;
|
notFilter: FilterInput;
|
||||||
orFilters?: never;
|
orFilters?: never;
|
||||||
|
playerIndex?: never;
|
||||||
runId?: never;
|
runId?: never;
|
||||||
runLength?: never;
|
runLength?: never;
|
||||||
shotDirection?: never;
|
shotDirection?: never;
|
||||||
@@ -1707,6 +1782,7 @@ export type FilterInput =
|
|||||||
missAngleInDegrees?: never;
|
missAngleInDegrees?: never;
|
||||||
notFilter?: never;
|
notFilter?: never;
|
||||||
orFilters: Array<FilterInput>;
|
orFilters: Array<FilterInput>;
|
||||||
|
playerIndex?: never;
|
||||||
runId?: never;
|
runId?: never;
|
||||||
runLength?: never;
|
runLength?: never;
|
||||||
shotDirection?: never;
|
shotDirection?: never;
|
||||||
@@ -1751,6 +1827,52 @@ export type FilterInput =
|
|||||||
missAngleInDegrees?: never;
|
missAngleInDegrees?: never;
|
||||||
notFilter?: never;
|
notFilter?: never;
|
||||||
orFilters?: 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"]>;
|
runId: Array<Scalars["Int"]["input"]>;
|
||||||
runLength?: never;
|
runLength?: never;
|
||||||
shotDirection?: never;
|
shotDirection?: never;
|
||||||
@@ -1795,6 +1917,7 @@ export type FilterInput =
|
|||||||
missAngleInDegrees?: never;
|
missAngleInDegrees?: never;
|
||||||
notFilter?: never;
|
notFilter?: never;
|
||||||
orFilters?: never;
|
orFilters?: never;
|
||||||
|
playerIndex?: never;
|
||||||
runId?: never;
|
runId?: never;
|
||||||
runLength: FloatRangeFilter;
|
runLength: FloatRangeFilter;
|
||||||
shotDirection?: never;
|
shotDirection?: never;
|
||||||
@@ -1839,6 +1962,7 @@ export type FilterInput =
|
|||||||
missAngleInDegrees?: never;
|
missAngleInDegrees?: never;
|
||||||
notFilter?: never;
|
notFilter?: never;
|
||||||
orFilters?: never;
|
orFilters?: never;
|
||||||
|
playerIndex?: never;
|
||||||
runId?: never;
|
runId?: never;
|
||||||
runLength?: never;
|
runLength?: never;
|
||||||
shotDirection: Array<ShotDirectionEnum>;
|
shotDirection: Array<ShotDirectionEnum>;
|
||||||
@@ -1883,6 +2007,7 @@ export type FilterInput =
|
|||||||
missAngleInDegrees?: never;
|
missAngleInDegrees?: never;
|
||||||
notFilter?: never;
|
notFilter?: never;
|
||||||
orFilters?: never;
|
orFilters?: never;
|
||||||
|
playerIndex?: never;
|
||||||
runId?: never;
|
runId?: never;
|
||||||
runLength?: never;
|
runLength?: never;
|
||||||
shotDirection?: never;
|
shotDirection?: never;
|
||||||
@@ -1927,6 +2052,7 @@ export type FilterInput =
|
|||||||
missAngleInDegrees?: never;
|
missAngleInDegrees?: never;
|
||||||
notFilter?: never;
|
notFilter?: never;
|
||||||
orFilters?: never;
|
orFilters?: never;
|
||||||
|
playerIndex?: never;
|
||||||
runId?: never;
|
runId?: never;
|
||||||
runLength?: never;
|
runLength?: never;
|
||||||
shotDirection?: never;
|
shotDirection?: never;
|
||||||
@@ -1971,6 +2097,7 @@ export type FilterInput =
|
|||||||
missAngleInDegrees?: never;
|
missAngleInDegrees?: never;
|
||||||
notFilter?: never;
|
notFilter?: never;
|
||||||
orFilters?: never;
|
orFilters?: never;
|
||||||
|
playerIndex?: never;
|
||||||
runId?: never;
|
runId?: never;
|
||||||
runLength?: never;
|
runLength?: never;
|
||||||
shotDirection?: never;
|
shotDirection?: never;
|
||||||
@@ -2015,6 +2142,7 @@ export type FilterInput =
|
|||||||
missAngleInDegrees?: never;
|
missAngleInDegrees?: never;
|
||||||
notFilter?: never;
|
notFilter?: never;
|
||||||
orFilters?: never;
|
orFilters?: never;
|
||||||
|
playerIndex?: never;
|
||||||
runId?: never;
|
runId?: never;
|
||||||
runLength?: never;
|
runLength?: never;
|
||||||
shotDirection?: never;
|
shotDirection?: never;
|
||||||
@@ -2059,6 +2187,7 @@ export type FilterInput =
|
|||||||
missAngleInDegrees?: never;
|
missAngleInDegrees?: never;
|
||||||
notFilter?: never;
|
notFilter?: never;
|
||||||
orFilters?: never;
|
orFilters?: never;
|
||||||
|
playerIndex?: never;
|
||||||
runId?: never;
|
runId?: never;
|
||||||
runLength?: never;
|
runLength?: never;
|
||||||
shotDirection?: never;
|
shotDirection?: never;
|
||||||
@@ -2103,6 +2232,7 @@ export type FilterInput =
|
|||||||
missAngleInDegrees?: never;
|
missAngleInDegrees?: never;
|
||||||
notFilter?: never;
|
notFilter?: never;
|
||||||
orFilters?: never;
|
orFilters?: never;
|
||||||
|
playerIndex?: never;
|
||||||
runId?: never;
|
runId?: never;
|
||||||
runLength?: never;
|
runLength?: never;
|
||||||
shotDirection?: never;
|
shotDirection?: never;
|
||||||
@@ -2147,6 +2277,7 @@ export type FilterInput =
|
|||||||
missAngleInDegrees?: never;
|
missAngleInDegrees?: never;
|
||||||
notFilter?: never;
|
notFilter?: never;
|
||||||
orFilters?: never;
|
orFilters?: never;
|
||||||
|
playerIndex?: never;
|
||||||
runId?: never;
|
runId?: never;
|
||||||
runLength?: never;
|
runLength?: never;
|
||||||
shotDirection?: never;
|
shotDirection?: never;
|
||||||
@@ -2191,6 +2322,7 @@ export type FilterInput =
|
|||||||
missAngleInDegrees?: never;
|
missAngleInDegrees?: never;
|
||||||
notFilter?: never;
|
notFilter?: never;
|
||||||
orFilters?: never;
|
orFilters?: never;
|
||||||
|
playerIndex?: never;
|
||||||
runId?: never;
|
runId?: never;
|
||||||
runLength?: never;
|
runLength?: never;
|
||||||
shotDirection?: never;
|
shotDirection?: never;
|
||||||
@@ -2235,6 +2367,7 @@ export type FilterInput =
|
|||||||
missAngleInDegrees?: never;
|
missAngleInDegrees?: never;
|
||||||
notFilter?: never;
|
notFilter?: never;
|
||||||
orFilters?: never;
|
orFilters?: never;
|
||||||
|
playerIndex?: never;
|
||||||
runId?: never;
|
runId?: never;
|
||||||
runLength?: never;
|
runLength?: never;
|
||||||
shotDirection?: never;
|
shotDirection?: never;
|
||||||
@@ -2279,6 +2412,7 @@ export type FilterInput =
|
|||||||
missAngleInDegrees?: never;
|
missAngleInDegrees?: never;
|
||||||
notFilter?: never;
|
notFilter?: never;
|
||||||
orFilters?: never;
|
orFilters?: never;
|
||||||
|
playerIndex?: never;
|
||||||
runId?: never;
|
runId?: never;
|
||||||
runLength?: never;
|
runLength?: never;
|
||||||
shotDirection?: never;
|
shotDirection?: never;
|
||||||
@@ -2323,6 +2457,8 @@ export type FunnelStatsGql = {
|
|||||||
freemiumEpoch: Scalars["Date"]["output"];
|
freemiumEpoch: Scalars["Date"]["output"];
|
||||||
newPaid7d: Scalars["Int"]["output"];
|
newPaid7d: Scalars["Int"]["output"];
|
||||||
newPaid30d: Scalars["Int"]["output"];
|
newPaid30d: Scalars["Int"]["output"];
|
||||||
|
newPaidToday: Scalars["Int"]["output"];
|
||||||
|
pastDueUsers: Scalars["Int"]["output"];
|
||||||
payingUsers: Scalars["Int"]["output"];
|
payingUsers: Scalars["Int"]["output"];
|
||||||
retentionPrevActive: Scalars["Int"]["output"];
|
retentionPrevActive: Scalars["Int"]["output"];
|
||||||
retentionReturned: Scalars["Int"]["output"];
|
retentionReturned: Scalars["Int"]["output"];
|
||||||
@@ -2528,6 +2664,7 @@ export type Mutation = {
|
|||||||
cancelCameraClaimSession: CameraClaimSession;
|
cancelCameraClaimSession: CameraClaimSession;
|
||||||
cancelSubscription: UserSubscriptionStatusGql;
|
cancelSubscription: UserSubscriptionStatusGql;
|
||||||
commentOnVideo: Scalars["Boolean"]["output"];
|
commentOnVideo: Scalars["Boolean"]["output"];
|
||||||
|
completeAuthRegistration: CompleteAuthRegistrationGql;
|
||||||
createBucketSet: BucketSetGql;
|
createBucketSet: BucketSetGql;
|
||||||
createCameraClaimSession: CameraClaimSession;
|
createCameraClaimSession: CameraClaimSession;
|
||||||
createChallenge: Challenge;
|
createChallenge: Challenge;
|
||||||
@@ -2579,6 +2716,7 @@ export type Mutation = {
|
|||||||
startChallenge: ChallengeEntry;
|
startChallenge: ChallengeEntry;
|
||||||
submitCancellationFeedback: Scalars["Boolean"]["output"];
|
submitCancellationFeedback: Scalars["Boolean"]["output"];
|
||||||
submitChallengeEntry: ChallengeEntry;
|
submitChallengeEntry: ChallengeEntry;
|
||||||
|
submitSessionCoachFeedback: SessionCoachFeedbackGql;
|
||||||
syncAppleSubscription: SyncAppleSubscriptionResultGql;
|
syncAppleSubscription: SyncAppleSubscriptionResultGql;
|
||||||
undismissChallenge: Scalars["Boolean"]["output"];
|
undismissChallenge: Scalars["Boolean"]["output"];
|
||||||
unfollowUser: UserGql;
|
unfollowUser: UserGql;
|
||||||
@@ -2611,6 +2749,11 @@ export type MutationCommentOnVideoArgs = {
|
|||||||
videoId: Scalars["Int"]["input"];
|
videoId: Scalars["Int"]["input"];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
export type MutationCompleteAuthRegistrationArgs = {
|
||||||
|
agreesToMarketing: Scalars["Boolean"]["input"];
|
||||||
|
username: Scalars["String"]["input"];
|
||||||
|
};
|
||||||
|
|
||||||
export type MutationCreateBucketSetArgs = {
|
export type MutationCreateBucketSetArgs = {
|
||||||
params: CreateBucketSetInput;
|
params: CreateBucketSetInput;
|
||||||
};
|
};
|
||||||
@@ -2840,6 +2983,12 @@ export type MutationSubmitChallengeEntryArgs = {
|
|||||||
videoId: Scalars["ID"]["input"];
|
videoId: Scalars["ID"]["input"];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
export type MutationSubmitSessionCoachFeedbackArgs = {
|
||||||
|
generationId: Scalars["ID"]["input"];
|
||||||
|
response: SessionCoachFeedbackResponseEnum;
|
||||||
|
videoId: Scalars["Int"]["input"];
|
||||||
|
};
|
||||||
|
|
||||||
export type MutationSyncAppleSubscriptionArgs = {
|
export type MutationSyncAppleSubscriptionArgs = {
|
||||||
input: SyncAppleSubscriptionInputGql;
|
input: SyncAppleSubscriptionInputGql;
|
||||||
};
|
};
|
||||||
@@ -3104,6 +3253,7 @@ export type Query = {
|
|||||||
doesUsernameExist: Scalars["Boolean"]["output"];
|
doesUsernameExist: Scalars["Boolean"]["output"];
|
||||||
getAggregatedShotMetrics: Array<AggregateResultGql>;
|
getAggregatedShotMetrics: Array<AggregateResultGql>;
|
||||||
getAppleAppAccountToken: Scalars["String"]["output"];
|
getAppleAppAccountToken: Scalars["String"]["output"];
|
||||||
|
getAuthBootstrap: AuthBootstrapGql;
|
||||||
getAvailableSubscriptionOptions: StripeSubscriptionOptionsGql;
|
getAvailableSubscriptionOptions: StripeSubscriptionOptionsGql;
|
||||||
getBucketSet?: Maybe<BucketSetGql>;
|
getBucketSet?: Maybe<BucketSetGql>;
|
||||||
getDeployedConfig: DeployedConfigGql;
|
getDeployedConfig: DeployedConfigGql;
|
||||||
@@ -3122,6 +3272,7 @@ export type Query = {
|
|||||||
getResolvedTier: ResolvedTierGql;
|
getResolvedTier: ResolvedTierGql;
|
||||||
getRuns: GetRunsResult;
|
getRuns: GetRunsResult;
|
||||||
getSessionCoach: SessionCoachGql;
|
getSessionCoach: SessionCoachGql;
|
||||||
|
getSessionCoachGenerationStatus?: Maybe<SessionCoachGenerationStatusGql>;
|
||||||
getShotAnnotationTypes: Array<ShotAnnotationTypeGql>;
|
getShotAnnotationTypes: Array<ShotAnnotationTypeGql>;
|
||||||
getShotTableState: ShotTableStateGql;
|
getShotTableState: ShotTableStateGql;
|
||||||
getShots: Array<ShotGql>;
|
getShots: Array<ShotGql>;
|
||||||
@@ -3283,6 +3434,11 @@ export type QueryGetSessionCoachArgs = {
|
|||||||
videoId: Scalars["Int"]["input"];
|
videoId: Scalars["Int"]["input"];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
export type QueryGetSessionCoachGenerationStatusArgs = {
|
||||||
|
generationId: Scalars["ID"]["input"];
|
||||||
|
videoId: Scalars["Int"]["input"];
|
||||||
|
};
|
||||||
|
|
||||||
export type QueryGetShotAnnotationTypesArgs = {
|
export type QueryGetShotAnnotationTypesArgs = {
|
||||||
errorTypes?: InputMaybe<Scalars["Boolean"]["input"]>;
|
errorTypes?: InputMaybe<Scalars["Boolean"]["input"]>;
|
||||||
};
|
};
|
||||||
@@ -3685,6 +3841,19 @@ export type SessionCoachEvidenceGql = {
|
|||||||
score: Scalars["Float"]["output"];
|
score: Scalars["Float"]["output"];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
export type SessionCoachFeedbackGql = {
|
||||||
|
__typename?: "SessionCoachFeedbackGQL";
|
||||||
|
response: SessionCoachFeedbackResponseEnum;
|
||||||
|
updatedAt: Scalars["DateTime"]["output"];
|
||||||
|
};
|
||||||
|
|
||||||
|
export enum SessionCoachFeedbackResponseEnum {
|
||||||
|
Helpful = "HELPFUL",
|
||||||
|
NotEnoughEvidence = "NOT_ENOUGH_EVIDENCE",
|
||||||
|
NotInsightful = "NOT_INSIGHTFUL",
|
||||||
|
NotRelevant = "NOT_RELEVANT",
|
||||||
|
}
|
||||||
|
|
||||||
export type SessionCoachGql = {
|
export type SessionCoachGql = {
|
||||||
__typename?: "SessionCoachGQL";
|
__typename?: "SessionCoachGQL";
|
||||||
agentGeneration?: Maybe<SessionCoachGenerationGql>;
|
agentGeneration?: Maybe<SessionCoachGenerationGql>;
|
||||||
@@ -3737,6 +3906,7 @@ export type SessionCoachGenerationGql = {
|
|||||||
createdAt: Scalars["DateTime"]["output"];
|
createdAt: Scalars["DateTime"]["output"];
|
||||||
decision?: Maybe<SessionCoachDecisionGql>;
|
decision?: Maybe<SessionCoachDecisionGql>;
|
||||||
diagnostics?: Maybe<SessionCoachGenerationDiagnosticsGql>;
|
diagnostics?: Maybe<SessionCoachGenerationDiagnosticsGql>;
|
||||||
|
feedback?: Maybe<SessionCoachFeedbackGql>;
|
||||||
id: Scalars["ID"]["output"];
|
id: Scalars["ID"]["output"];
|
||||||
state: SessionCoachGenerationStateEnum;
|
state: SessionCoachGenerationStateEnum;
|
||||||
};
|
};
|
||||||
@@ -3748,6 +3918,18 @@ export enum SessionCoachGenerationStateEnum {
|
|||||||
Running = "RUNNING",
|
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 {
|
export enum SessionCoachIneligibilityReasonEnum {
|
||||||
Multiplayer = "MULTIPLAYER",
|
Multiplayer = "MULTIPLAYER",
|
||||||
}
|
}
|
||||||
@@ -3840,6 +4022,7 @@ export type ShotProjectionGql = {
|
|||||||
|
|
||||||
export type ShotTableStateGql = {
|
export type ShotTableStateGql = {
|
||||||
__typename?: "ShotTableStateGQL";
|
__typename?: "ShotTableStateGQL";
|
||||||
|
frameImage?: Maybe<Scalars["String"]["output"]>;
|
||||||
frameIndex: Scalars["Int"]["output"];
|
frameIndex: Scalars["Int"]["output"];
|
||||||
shotId: Scalars["Int"]["output"];
|
shotId: Scalars["Int"]["output"];
|
||||||
tableState: TableStateGql;
|
tableState: TableStateGql;
|
||||||
@@ -7205,10 +7388,35 @@ export type GetSessionCoachQuery = {
|
|||||||
abstentionReason?: string | null;
|
abstentionReason?: string | null;
|
||||||
synthesisRationale?: string | null;
|
synthesisRationale?: string | null;
|
||||||
} | null;
|
} | null;
|
||||||
|
feedback?: {
|
||||||
|
__typename?: "SessionCoachFeedbackGQL";
|
||||||
|
response: SessionCoachFeedbackResponseEnum;
|
||||||
|
updatedAt: any;
|
||||||
|
} | null;
|
||||||
} | null;
|
} | null;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
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<{
|
export type RequestSessionCoachGenerationMutationVariables = Exact<{
|
||||||
videoId: Scalars["Int"]["input"];
|
videoId: Scalars["Int"]["input"];
|
||||||
}>;
|
}>;
|
||||||
@@ -7262,10 +7470,30 @@ export type RequestSessionCoachGenerationMutation = {
|
|||||||
abstentionReason?: string | null;
|
abstentionReason?: string | null;
|
||||||
synthesisRationale?: string | null;
|
synthesisRationale?: string | null;
|
||||||
} | null;
|
} | null;
|
||||||
|
feedback?: {
|
||||||
|
__typename?: "SessionCoachFeedbackGQL";
|
||||||
|
response: SessionCoachFeedbackResponseEnum;
|
||||||
|
updatedAt: any;
|
||||||
|
} | null;
|
||||||
} | null;
|
} | null;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
export type SubmitSessionCoachFeedbackMutationVariables = Exact<{
|
||||||
|
videoId: Scalars["Int"]["input"];
|
||||||
|
generationId: Scalars["ID"]["input"];
|
||||||
|
response: SessionCoachFeedbackResponseEnum;
|
||||||
|
}>;
|
||||||
|
|
||||||
|
export type SubmitSessionCoachFeedbackMutation = {
|
||||||
|
__typename?: "Mutation";
|
||||||
|
submitSessionCoachFeedback: {
|
||||||
|
__typename?: "SessionCoachFeedbackGQL";
|
||||||
|
response: SessionCoachFeedbackResponseEnum;
|
||||||
|
updatedAt: any;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
export type SessionCoachCandidateFieldsFragment = {
|
export type SessionCoachCandidateFieldsFragment = {
|
||||||
__typename?: "SessionCoachCandidateGQL";
|
__typename?: "SessionCoachCandidateGQL";
|
||||||
id: string;
|
id: string;
|
||||||
@@ -7343,6 +7571,11 @@ export type SessionCoachGenerationFieldsFragment = {
|
|||||||
abstentionReason?: string | null;
|
abstentionReason?: string | null;
|
||||||
synthesisRationale?: string | null;
|
synthesisRationale?: string | null;
|
||||||
} | null;
|
} | null;
|
||||||
|
feedback?: {
|
||||||
|
__typename?: "SessionCoachFeedbackGQL";
|
||||||
|
response: SessionCoachFeedbackResponseEnum;
|
||||||
|
updatedAt: any;
|
||||||
|
} | null;
|
||||||
};
|
};
|
||||||
|
|
||||||
export type CreateShotShareLinkMutationVariables = Exact<{
|
export type CreateShotShareLinkMutationVariables = Exact<{
|
||||||
@@ -7643,6 +7876,7 @@ export type GetShotTableStateQuery = {
|
|||||||
shotId: number;
|
shotId: number;
|
||||||
videoId: number;
|
videoId: number;
|
||||||
frameIndex: number;
|
frameIndex: number;
|
||||||
|
frameImage?: string | null;
|
||||||
tableState: {
|
tableState: {
|
||||||
__typename?: "TableStateGQL";
|
__typename?: "TableStateGQL";
|
||||||
identifierToPosition: Array<Array<number>>;
|
identifierToPosition: Array<Array<number>>;
|
||||||
@@ -8268,6 +8502,8 @@ export type GetUsageStatsQuery = {
|
|||||||
activationCohort: number;
|
activationCohort: number;
|
||||||
activationActivated: number;
|
activationActivated: number;
|
||||||
payingUsers: number;
|
payingUsers: number;
|
||||||
|
pastDueUsers: number;
|
||||||
|
newPaidToday: number;
|
||||||
newPaid7d: number;
|
newPaid7d: number;
|
||||||
newPaid30d: number;
|
newPaid30d: number;
|
||||||
retentionPrevActive: number;
|
retentionPrevActive: number;
|
||||||
@@ -8280,6 +8516,7 @@ export type GetUsageStatsQuery = {
|
|||||||
activated7d: number;
|
activated7d: number;
|
||||||
paid7d: number;
|
paid7d: number;
|
||||||
activatedNotPaid7d: number;
|
activatedNotPaid7d: number;
|
||||||
|
paidTotal: number;
|
||||||
}>;
|
}>;
|
||||||
windows: Array<{
|
windows: Array<{
|
||||||
__typename?: "UsageStatsWindowGQL";
|
__typename?: "UsageStatsWindowGQL";
|
||||||
@@ -10062,6 +10299,10 @@ export const SessionCoachGenerationFieldsFragmentDoc = gql`
|
|||||||
abstentionReason
|
abstentionReason
|
||||||
synthesisRationale
|
synthesisRationale
|
||||||
}
|
}
|
||||||
|
feedback {
|
||||||
|
response
|
||||||
|
updatedAt
|
||||||
|
}
|
||||||
}
|
}
|
||||||
`;
|
`;
|
||||||
export const PlayerClusterShotFieldsFragmentDoc = gql`
|
export const PlayerClusterShotFieldsFragmentDoc = gql`
|
||||||
@@ -15862,6 +16103,90 @@ export type GetSessionCoachQueryResult = Apollo.QueryResult<
|
|||||||
GetSessionCoachQuery,
|
GetSessionCoachQuery,
|
||||||
GetSessionCoachQueryVariables
|
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`
|
export const RequestSessionCoachGenerationDocument = gql`
|
||||||
mutation RequestSessionCoachGeneration($videoId: Int!) {
|
mutation RequestSessionCoachGeneration($videoId: Int!) {
|
||||||
requestSessionCoachGeneration(videoId: $videoId) {
|
requestSessionCoachGeneration(videoId: $videoId) {
|
||||||
@@ -15917,6 +16242,68 @@ export type RequestSessionCoachGenerationMutationOptions =
|
|||||||
RequestSessionCoachGenerationMutation,
|
RequestSessionCoachGenerationMutation,
|
||||||
RequestSessionCoachGenerationMutationVariables
|
RequestSessionCoachGenerationMutationVariables
|
||||||
>;
|
>;
|
||||||
|
export const SubmitSessionCoachFeedbackDocument = gql`
|
||||||
|
mutation SubmitSessionCoachFeedback(
|
||||||
|
$videoId: Int!
|
||||||
|
$generationId: ID!
|
||||||
|
$response: SessionCoachFeedbackResponseEnum!
|
||||||
|
) {
|
||||||
|
submitSessionCoachFeedback(
|
||||||
|
videoId: $videoId
|
||||||
|
generationId: $generationId
|
||||||
|
response: $response
|
||||||
|
) {
|
||||||
|
response
|
||||||
|
updatedAt
|
||||||
|
}
|
||||||
|
}
|
||||||
|
`;
|
||||||
|
export type SubmitSessionCoachFeedbackMutationFn = Apollo.MutationFunction<
|
||||||
|
SubmitSessionCoachFeedbackMutation,
|
||||||
|
SubmitSessionCoachFeedbackMutationVariables
|
||||||
|
>;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* __useSubmitSessionCoachFeedbackMutation__
|
||||||
|
*
|
||||||
|
* To run a mutation, you first call `useSubmitSessionCoachFeedbackMutation` within a React component and pass it any options that fit your needs.
|
||||||
|
* When your component renders, `useSubmitSessionCoachFeedbackMutation` returns a tuple that includes:
|
||||||
|
* - A mutate function that you can call at any time to execute the mutation
|
||||||
|
* - An object with fields that represent the current status of the mutation's execution
|
||||||
|
*
|
||||||
|
* @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
|
||||||
|
*
|
||||||
|
* @example
|
||||||
|
* const [submitSessionCoachFeedbackMutation, { data, loading, error }] = useSubmitSessionCoachFeedbackMutation({
|
||||||
|
* variables: {
|
||||||
|
* videoId: // value for 'videoId'
|
||||||
|
* generationId: // value for 'generationId'
|
||||||
|
* response: // value for 'response'
|
||||||
|
* },
|
||||||
|
* });
|
||||||
|
*/
|
||||||
|
export function useSubmitSessionCoachFeedbackMutation(
|
||||||
|
baseOptions?: Apollo.MutationHookOptions<
|
||||||
|
SubmitSessionCoachFeedbackMutation,
|
||||||
|
SubmitSessionCoachFeedbackMutationVariables
|
||||||
|
>,
|
||||||
|
) {
|
||||||
|
const options = { ...defaultOptions, ...baseOptions };
|
||||||
|
return Apollo.useMutation<
|
||||||
|
SubmitSessionCoachFeedbackMutation,
|
||||||
|
SubmitSessionCoachFeedbackMutationVariables
|
||||||
|
>(SubmitSessionCoachFeedbackDocument, options);
|
||||||
|
}
|
||||||
|
export type SubmitSessionCoachFeedbackMutationHookResult = ReturnType<
|
||||||
|
typeof useSubmitSessionCoachFeedbackMutation
|
||||||
|
>;
|
||||||
|
export type SubmitSessionCoachFeedbackMutationResult =
|
||||||
|
Apollo.MutationResult<SubmitSessionCoachFeedbackMutation>;
|
||||||
|
export type SubmitSessionCoachFeedbackMutationOptions =
|
||||||
|
Apollo.BaseMutationOptions<
|
||||||
|
SubmitSessionCoachFeedbackMutation,
|
||||||
|
SubmitSessionCoachFeedbackMutationVariables
|
||||||
|
>;
|
||||||
export const CreateShotShareLinkDocument = gql`
|
export const CreateShotShareLinkDocument = gql`
|
||||||
mutation CreateShotShareLink(
|
mutation CreateShotShareLink(
|
||||||
$shotIds: [Int!]!
|
$shotIds: [Int!]!
|
||||||
@@ -16270,6 +16657,7 @@ export const GetShotTableStateDocument = gql`
|
|||||||
shotId
|
shotId
|
||||||
videoId
|
videoId
|
||||||
frameIndex
|
frameIndex
|
||||||
|
frameImage
|
||||||
tableState {
|
tableState {
|
||||||
...TableStateLayoutFields
|
...TableStateLayoutFields
|
||||||
}
|
}
|
||||||
@@ -17430,6 +17818,8 @@ export const GetUsageStatsDocument = gql`
|
|||||||
activationCohort
|
activationCohort
|
||||||
activationActivated
|
activationActivated
|
||||||
payingUsers
|
payingUsers
|
||||||
|
pastDueUsers
|
||||||
|
newPaidToday
|
||||||
newPaid7d
|
newPaid7d
|
||||||
newPaid30d
|
newPaid30d
|
||||||
retentionPrevActive
|
retentionPrevActive
|
||||||
@@ -17441,6 +17831,7 @@ export const GetUsageStatsDocument = gql`
|
|||||||
activated7d
|
activated7d
|
||||||
paid7d
|
paid7d
|
||||||
activatedNotPaid7d
|
activatedNotPaid7d
|
||||||
|
paidTotal
|
||||||
}
|
}
|
||||||
totalUsers
|
totalUsers
|
||||||
totalVideos
|
totalVideos
|
||||||
|
|||||||
@@ -36,6 +36,22 @@ query GetSessionCoach($videoId: Int!) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
query GetSessionCoachGenerationStatus($videoId: Int!, $generationId: ID!) {
|
||||||
|
getSessionCoachGenerationStatus(
|
||||||
|
videoId: $videoId
|
||||||
|
generationId: $generationId
|
||||||
|
) {
|
||||||
|
id
|
||||||
|
state
|
||||||
|
createdAt
|
||||||
|
updatedAt
|
||||||
|
startedAt
|
||||||
|
lastEnqueuedAt
|
||||||
|
enqueueCount
|
||||||
|
completedAt
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
mutation RequestSessionCoachGeneration($videoId: Int!) {
|
mutation RequestSessionCoachGeneration($videoId: Int!) {
|
||||||
requestSessionCoachGeneration(videoId: $videoId) {
|
requestSessionCoachGeneration(videoId: $videoId) {
|
||||||
state
|
state
|
||||||
@@ -45,6 +61,21 @@ mutation RequestSessionCoachGeneration($videoId: Int!) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
mutation SubmitSessionCoachFeedback(
|
||||||
|
$videoId: Int!
|
||||||
|
$generationId: ID!
|
||||||
|
$response: SessionCoachFeedbackResponseEnum!
|
||||||
|
) {
|
||||||
|
submitSessionCoachFeedback(
|
||||||
|
videoId: $videoId
|
||||||
|
generationId: $generationId
|
||||||
|
response: $response
|
||||||
|
) {
|
||||||
|
response
|
||||||
|
updatedAt
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
fragment SessionCoachCandidateFields on SessionCoachCandidateGQL {
|
fragment SessionCoachCandidateFields on SessionCoachCandidateGQL {
|
||||||
id
|
id
|
||||||
rank
|
rank
|
||||||
@@ -117,4 +148,8 @@ fragment SessionCoachGenerationFields on SessionCoachGenerationGQL {
|
|||||||
abstentionReason
|
abstentionReason
|
||||||
synthesisRationale
|
synthesisRationale
|
||||||
}
|
}
|
||||||
|
feedback {
|
||||||
|
response
|
||||||
|
updatedAt
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -44,9 +44,10 @@ fragment DetectionPocketPointFields on PocketPointsGQL {
|
|||||||
# positions. Boxes, pocket boxes, and source points share the crop's
|
# positions. Boxes, pocket boxes, and source points share the crop's
|
||||||
# coordinate space; the crop locates that space in the full frame.
|
# coordinate space; the crop locates that space in the full frame.
|
||||||
#
|
#
|
||||||
# Only the photo query selects this. The live and shot queries read a
|
# Only the photo query selects this. The shot query returns its source
|
||||||
# frame out of a video the app never holds, so there is no image to
|
# frame (frameImage) but positions there come from the stored homography,
|
||||||
# overlay, and getLiveTableState is polled every five seconds.
|
# so there are no fresh boxes to draw; the live query returns no image at
|
||||||
|
# all and is polled every five seconds.
|
||||||
fragment TableStateDetectionFields on TableStateGQL {
|
fragment TableStateDetectionFields on TableStateGQL {
|
||||||
identifierToBox {
|
identifierToBox {
|
||||||
...DetectionBoxFields
|
...DetectionBoxFields
|
||||||
@@ -97,6 +98,9 @@ query GetShotTableState($shotId: Int!) {
|
|||||||
shotId
|
shotId
|
||||||
videoId
|
videoId
|
||||||
frameIndex
|
frameIndex
|
||||||
|
# The b64 JPEG frame the layout was detected in, so the client can show
|
||||||
|
# the shot's actual starting frame instead of the video's thumbnail.
|
||||||
|
frameImage
|
||||||
tableState {
|
tableState {
|
||||||
...TableStateLayoutFields
|
...TableStateLayoutFields
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -7,6 +7,8 @@ query getUsageStats($days: Int! = 30) {
|
|||||||
activationCohort
|
activationCohort
|
||||||
activationActivated
|
activationActivated
|
||||||
payingUsers
|
payingUsers
|
||||||
|
pastDueUsers
|
||||||
|
newPaidToday
|
||||||
newPaid7d
|
newPaid7d
|
||||||
newPaid30d
|
newPaid30d
|
||||||
retentionPrevActive
|
retentionPrevActive
|
||||||
@@ -18,6 +20,7 @@ query getUsageStats($days: Int! = 30) {
|
|||||||
activated7d
|
activated7d
|
||||||
paid7d
|
paid7d
|
||||||
activatedNotPaid7d
|
activatedNotPaid7d
|
||||||
|
paidTotal
|
||||||
}
|
}
|
||||||
totalUsers
|
totalUsers
|
||||||
totalVideos
|
totalVideos
|
||||||
|
|||||||
106
src/schema.gql
106
src/schema.gql
@@ -42,6 +42,25 @@ type AppleIapSubscriptionOptionsGQL {
|
|||||||
productIds: [String!]!
|
productIds: [String!]!
|
||||||
}
|
}
|
||||||
|
|
||||||
|
type AuthBootstrapGQL {
|
||||||
|
status: AuthBootstrapStatusEnum!
|
||||||
|
user: UserGQL
|
||||||
|
}
|
||||||
|
|
||||||
|
enum AuthBootstrapStatusEnum {
|
||||||
|
REGISTERED
|
||||||
|
NEEDS_PROFILE
|
||||||
|
REGISTRATION_DISABLED
|
||||||
|
}
|
||||||
|
|
||||||
|
enum AuthRegistrationErrorEnum {
|
||||||
|
USERNAME_UNAVAILABLE
|
||||||
|
REGISTRATION_DISABLED
|
||||||
|
VERIFIED_EMAIL_REQUIRED
|
||||||
|
INVALID_USERNAME
|
||||||
|
UNSUPPORTED_PROVIDER
|
||||||
|
}
|
||||||
|
|
||||||
type BallTrajectoryGQL {
|
type BallTrajectoryGQL {
|
||||||
ballId: Int!
|
ballId: Int!
|
||||||
points: [TrajectoryPointGQL!]!
|
points: [TrajectoryPointGQL!]!
|
||||||
@@ -214,6 +233,7 @@ type CohortStatsGQL {
|
|||||||
activated7d: Int!
|
activated7d: Int!
|
||||||
paid7d: Int!
|
paid7d: Int!
|
||||||
activatedNotPaid7d: Int!
|
activatedNotPaid7d: Int!
|
||||||
|
paidTotal: Int!
|
||||||
}
|
}
|
||||||
|
|
||||||
type CommentGQL {
|
type CommentGQL {
|
||||||
@@ -224,6 +244,11 @@ type CommentGQL {
|
|||||||
replyToCommentId: Int
|
replyToCommentId: Int
|
||||||
}
|
}
|
||||||
|
|
||||||
|
type CompleteAuthRegistrationGQL {
|
||||||
|
user: UserGQL
|
||||||
|
errorCode: AuthRegistrationErrorEnum
|
||||||
|
}
|
||||||
|
|
||||||
type CountLeaderboardGQL {
|
type CountLeaderboardGQL {
|
||||||
entries: [UserShotCountEntry!]!
|
entries: [UserShotCountEntry!]!
|
||||||
}
|
}
|
||||||
@@ -249,11 +274,6 @@ input CreatePoolHallCameraInput {
|
|||||||
claimTermsText: String = null
|
claimTermsText: String = null
|
||||||
}
|
}
|
||||||
|
|
||||||
input CreateShotShareLinkInput {
|
|
||||||
shotIds: [Int!]!
|
|
||||||
paddingSeconds: Float = null
|
|
||||||
}
|
|
||||||
|
|
||||||
input CreatePoolHallInput {
|
input CreatePoolHallInput {
|
||||||
name: String!
|
name: String!
|
||||||
address: String = null
|
address: String = null
|
||||||
@@ -264,6 +284,11 @@ input CreatePoolHallInput {
|
|||||||
timezone: String = null
|
timezone: String = null
|
||||||
}
|
}
|
||||||
|
|
||||||
|
input CreateShotShareLinkInput {
|
||||||
|
shotIds: [Int!]!
|
||||||
|
paddingSeconds: Float = null
|
||||||
|
}
|
||||||
|
|
||||||
type CreateSubscriptionResultGQL {
|
type CreateSubscriptionResultGQL {
|
||||||
checkoutUrl: String!
|
checkoutUrl: String!
|
||||||
sessionId: String!
|
sessionId: String!
|
||||||
@@ -336,6 +361,7 @@ type DeployedConfigGQL {
|
|||||||
storageLimitEnforcementEnabled: Boolean!
|
storageLimitEnforcementEnabled: Boolean!
|
||||||
capabilityEnforcementEnabled: Boolean!
|
capabilityEnforcementEnabled: Boolean!
|
||||||
bannerMessages: [BannerGQL!]!
|
bannerMessages: [BannerGQL!]!
|
||||||
|
externalSignInProviderAvailability: [ExternalSignInProviderAvailability!]!
|
||||||
defaultAndroidRecordingFormat: StreamSegmentTypeEnum!
|
defaultAndroidRecordingFormat: StreamSegmentTypeEnum!
|
||||||
bucketUrl: String!
|
bucketUrl: String!
|
||||||
}
|
}
|
||||||
@@ -392,6 +418,24 @@ input EnumAggregation {
|
|||||||
feature: String!
|
feature: String!
|
||||||
}
|
}
|
||||||
|
|
||||||
|
enum ExternalSignInPlatform {
|
||||||
|
WEB
|
||||||
|
IOS
|
||||||
|
ANDROID
|
||||||
|
}
|
||||||
|
|
||||||
|
enum ExternalSignInProvider {
|
||||||
|
GOOGLE
|
||||||
|
APPLE
|
||||||
|
FACEBOOK
|
||||||
|
}
|
||||||
|
|
||||||
|
type ExternalSignInProviderAvailability {
|
||||||
|
provider: ExternalSignInProvider!
|
||||||
|
platform: ExternalSignInPlatform!
|
||||||
|
enabled: Boolean!
|
||||||
|
}
|
||||||
|
|
||||||
input FilterInput @oneOf {
|
input FilterInput @oneOf {
|
||||||
andFilters: [FilterInput!]
|
andFilters: [FilterInput!]
|
||||||
orFilters: [FilterInput!]
|
orFilters: [FilterInput!]
|
||||||
@@ -407,6 +451,7 @@ input FilterInput @oneOf {
|
|||||||
userId: [Int!]
|
userId: [Int!]
|
||||||
runId: [Int!]
|
runId: [Int!]
|
||||||
username: [String!]
|
username: [String!]
|
||||||
|
playerIndex: [Int!]
|
||||||
fargoRating: FloatRangeFilter
|
fargoRating: FloatRangeFilter
|
||||||
make: [Boolean!]
|
make: [Boolean!]
|
||||||
tags: [VideoTagInput!]
|
tags: [VideoTagInput!]
|
||||||
@@ -464,6 +509,8 @@ type FunnelStatsGQL {
|
|||||||
activationCohort: Int!
|
activationCohort: Int!
|
||||||
activationActivated: Int!
|
activationActivated: Int!
|
||||||
payingUsers: Int!
|
payingUsers: Int!
|
||||||
|
pastDueUsers: Int!
|
||||||
|
newPaidToday: Int!
|
||||||
newPaid7d: Int!
|
newPaid7d: Int!
|
||||||
newPaid30d: Int!
|
newPaid30d: Int!
|
||||||
retentionPrevActive: Int!
|
retentionPrevActive: Int!
|
||||||
@@ -728,7 +775,16 @@ type Mutation {
|
|||||||
shotId: Int!
|
shotId: Int!
|
||||||
fieldsToEdit: EditableShotFieldInputGQL!
|
fieldsToEdit: EditableShotFieldInputGQL!
|
||||||
): EditShotReturn!
|
): EditShotReturn!
|
||||||
|
submitSessionCoachFeedback(
|
||||||
|
videoId: Int!
|
||||||
|
generationId: ID!
|
||||||
|
response: SessionCoachFeedbackResponseEnum!
|
||||||
|
): SessionCoachFeedbackGQL!
|
||||||
requestSessionCoachGeneration(videoId: Int!): SessionCoachGQL!
|
requestSessionCoachGeneration(videoId: Int!): SessionCoachGQL!
|
||||||
|
completeAuthRegistration(
|
||||||
|
username: String!
|
||||||
|
agreesToMarketing: Boolean!
|
||||||
|
): CompleteAuthRegistrationGQL!
|
||||||
getProfileImageUploadLink(
|
getProfileImageUploadLink(
|
||||||
fileExt: String = ".png"
|
fileExt: String = ".png"
|
||||||
): GetProfileUploadLinkReturn!
|
): GetProfileUploadLinkReturn!
|
||||||
@@ -1068,6 +1124,10 @@ type Query {
|
|||||||
limit: Int! = 500
|
limit: Int! = 500
|
||||||
countRespectsLimit: Boolean! = false
|
countRespectsLimit: Boolean! = false
|
||||||
): GetRunsResult!
|
): GetRunsResult!
|
||||||
|
getSessionCoachGenerationStatus(
|
||||||
|
videoId: Int!
|
||||||
|
generationId: ID!
|
||||||
|
): SessionCoachGenerationStatusGQL
|
||||||
getSessionCoach(videoId: Int!): SessionCoachGQL!
|
getSessionCoach(videoId: Int!): SessionCoachGQL!
|
||||||
videoPlayerClusters(videoId: Int!): [PlayerClusterGQL!]!
|
videoPlayerClusters(videoId: Int!): [PlayerClusterGQL!]!
|
||||||
getShotAnnotationTypes(errorTypes: Boolean = false): [ShotAnnotationTypeGQL!]!
|
getShotAnnotationTypes(errorTypes: Boolean = false): [ShotAnnotationTypeGQL!]!
|
||||||
@@ -1106,6 +1166,7 @@ type Query {
|
|||||||
): [ShotGQL!]!
|
): [ShotGQL!]!
|
||||||
getShotsByIds(ids: [Int!]!): [ShotGQL!]!
|
getShotsByIds(ids: [Int!]!): [ShotGQL!]!
|
||||||
getUsageStats(days: Int! = 30): UsageStatsGQL!
|
getUsageStats(days: Int! = 30): UsageStatsGQL!
|
||||||
|
getAuthBootstrap: AuthBootstrapGQL!
|
||||||
getUser(userId: Int!): UserGQL
|
getUser(userId: Int!): UserGQL
|
||||||
doesUsernameExist(candidateUsername: String!): Boolean!
|
doesUsernameExist(candidateUsername: String!): Boolean!
|
||||||
getLoggedInUser: UserGQL
|
getLoggedInUser: UserGQL
|
||||||
@@ -1387,6 +1448,18 @@ type SessionCoachEvidenceGQL {
|
|||||||
baselineMakePercentage: Float
|
baselineMakePercentage: Float
|
||||||
}
|
}
|
||||||
|
|
||||||
|
type SessionCoachFeedbackGQL {
|
||||||
|
response: SessionCoachFeedbackResponseEnum!
|
||||||
|
updatedAt: DateTime!
|
||||||
|
}
|
||||||
|
|
||||||
|
enum SessionCoachFeedbackResponseEnum {
|
||||||
|
HELPFUL
|
||||||
|
NOT_RELEVANT
|
||||||
|
NOT_INSIGHTFUL
|
||||||
|
NOT_ENOUGH_EVIDENCE
|
||||||
|
}
|
||||||
|
|
||||||
type SessionCoachGQL {
|
type SessionCoachGQL {
|
||||||
videoId: Int!
|
videoId: Int!
|
||||||
processingId: Int
|
processingId: Int
|
||||||
@@ -1438,6 +1511,7 @@ type SessionCoachGenerationGQL {
|
|||||||
completedAt: DateTime
|
completedAt: DateTime
|
||||||
decision: SessionCoachDecisionGQL
|
decision: SessionCoachDecisionGQL
|
||||||
diagnostics: SessionCoachGenerationDiagnosticsGQL
|
diagnostics: SessionCoachGenerationDiagnosticsGQL
|
||||||
|
feedback: SessionCoachFeedbackGQL
|
||||||
}
|
}
|
||||||
|
|
||||||
enum SessionCoachGenerationStateEnum {
|
enum SessionCoachGenerationStateEnum {
|
||||||
@@ -1447,6 +1521,17 @@ enum SessionCoachGenerationStateEnum {
|
|||||||
FAILED
|
FAILED
|
||||||
}
|
}
|
||||||
|
|
||||||
|
type SessionCoachGenerationStatusGQL {
|
||||||
|
id: ID!
|
||||||
|
state: SessionCoachGenerationStateEnum!
|
||||||
|
createdAt: DateTime!
|
||||||
|
updatedAt: DateTime!
|
||||||
|
startedAt: DateTime
|
||||||
|
lastEnqueuedAt: DateTime
|
||||||
|
enqueueCount: Int!
|
||||||
|
completedAt: DateTime
|
||||||
|
}
|
||||||
|
|
||||||
enum SessionCoachIneligibilityReasonEnum {
|
enum SessionCoachIneligibilityReasonEnum {
|
||||||
MULTIPLAYER
|
MULTIPLAYER
|
||||||
}
|
}
|
||||||
@@ -1459,6 +1544,11 @@ enum SessionCoachStateEnum {
|
|||||||
FAILED
|
FAILED
|
||||||
}
|
}
|
||||||
|
|
||||||
|
type ShareLinkGQL {
|
||||||
|
slug: String!
|
||||||
|
url: String!
|
||||||
|
}
|
||||||
|
|
||||||
type ShotAnnotationGQL {
|
type ShotAnnotationGQL {
|
||||||
shotId: Int!
|
shotId: Int!
|
||||||
type: ShotAnnotationTypeGQL!
|
type: ShotAnnotationTypeGQL!
|
||||||
@@ -1527,6 +1617,7 @@ type ShotTableStateGQL {
|
|||||||
videoId: Int!
|
videoId: Int!
|
||||||
frameIndex: Int!
|
frameIndex: Int!
|
||||||
tableState: TableStateGQL!
|
tableState: TableStateGQL!
|
||||||
|
frameImage: String
|
||||||
}
|
}
|
||||||
|
|
||||||
input ShotsOrderingComponent @oneOf {
|
input ShotsOrderingComponent @oneOf {
|
||||||
@@ -1920,11 +2011,6 @@ type UserSubscriptionStatusGQL {
|
|||||||
stripeSubscriptionId: String
|
stripeSubscriptionId: String
|
||||||
}
|
}
|
||||||
|
|
||||||
type ShareLinkGQL {
|
|
||||||
slug: String!
|
|
||||||
url: String!
|
|
||||||
}
|
|
||||||
|
|
||||||
type VideoExportJobGQL {
|
type VideoExportJobGQL {
|
||||||
id: Int!
|
id: Int!
|
||||||
videoId: Int!
|
videoId: Int!
|
||||||
|
|||||||
Reference in New Issue
Block a user