Compare commits
8 Commits
f724ec6c0d
...
loewy/soci
| Author | SHA1 | Date | |
|---|---|---|---|
| 4ffd9f972d | |||
| 33707523f0 | |||
| 308c60c93b | |||
| 19ba43ad6d | |||
| 03b565dc7d | |||
|
|
901f4222a4 | ||
| 0f6e7b28d4 | |||
| 9b6b08c1ec |
321
src/index.tsx
321
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"];
|
||||||
@@ -279,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>;
|
||||||
@@ -386,6 +412,7 @@ export type DeployedConfigGql = {
|
|||||||
firebase: Scalars["Boolean"]["output"];
|
firebase: Scalars["Boolean"]["output"];
|
||||||
minimumAllowedAppVersion: Scalars["String"]["output"];
|
minimumAllowedAppVersion: Scalars["String"]["output"];
|
||||||
quotaEnforcementEnabled: Scalars["Boolean"]["output"];
|
quotaEnforcementEnabled: Scalars["Boolean"]["output"];
|
||||||
|
socialAuthProviderAvailability: Array<SocialAuthProviderAvailabilityGql>;
|
||||||
storageLimitEnforcementEnabled: Scalars["Boolean"]["output"];
|
storageLimitEnforcementEnabled: Scalars["Boolean"]["output"];
|
||||||
subscriptionGatingEnabled: Scalars["Boolean"]["output"];
|
subscriptionGatingEnabled: Scalars["Boolean"]["output"];
|
||||||
};
|
};
|
||||||
@@ -476,6 +503,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;
|
||||||
@@ -520,6 +548,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;
|
||||||
@@ -564,6 +593,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;
|
||||||
@@ -608,6 +638,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;
|
||||||
@@ -652,6 +683,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;
|
||||||
@@ -696,6 +728,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;
|
||||||
@@ -740,6 +773,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;
|
||||||
@@ -784,6 +818,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;
|
||||||
@@ -828,6 +863,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;
|
||||||
@@ -872,6 +908,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;
|
||||||
@@ -916,6 +953,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;
|
||||||
@@ -960,6 +998,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;
|
||||||
@@ -1004,6 +1043,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;
|
||||||
@@ -1048,6 +1088,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;
|
||||||
@@ -1092,6 +1133,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;
|
||||||
@@ -1136,6 +1178,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;
|
||||||
@@ -1180,6 +1223,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;
|
||||||
@@ -1224,6 +1268,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;
|
||||||
@@ -1268,6 +1313,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;
|
||||||
@@ -1312,6 +1358,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;
|
||||||
@@ -1356,6 +1403,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;
|
||||||
@@ -1400,6 +1448,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;
|
||||||
@@ -1444,6 +1493,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;
|
||||||
@@ -1488,6 +1538,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;
|
||||||
@@ -1532,6 +1583,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;
|
||||||
@@ -1576,6 +1628,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;
|
||||||
@@ -1620,6 +1673,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;
|
||||||
@@ -1664,6 +1718,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;
|
||||||
@@ -1708,6 +1763,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;
|
||||||
@@ -1752,6 +1808,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;
|
||||||
@@ -1796,6 +1898,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;
|
||||||
@@ -1840,6 +1943,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>;
|
||||||
@@ -1884,6 +1988,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;
|
||||||
@@ -1928,6 +2033,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;
|
||||||
@@ -1972,6 +2078,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;
|
||||||
@@ -2016,6 +2123,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;
|
||||||
@@ -2060,6 +2168,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;
|
||||||
@@ -2104,6 +2213,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;
|
||||||
@@ -2148,6 +2258,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;
|
||||||
@@ -2192,6 +2303,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;
|
||||||
@@ -2236,6 +2348,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;
|
||||||
@@ -2280,6 +2393,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;
|
||||||
@@ -2531,6 +2645,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;
|
||||||
@@ -2615,6 +2730,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;
|
||||||
};
|
};
|
||||||
@@ -3114,6 +3234,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;
|
||||||
@@ -3708,10 +3829,10 @@ export type SessionCoachFeedbackGql = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
export enum SessionCoachFeedbackResponseEnum {
|
export enum SessionCoachFeedbackResponseEnum {
|
||||||
AlreadyWorkingOnThis = "ALREADY_WORKING_ON_THIS",
|
|
||||||
Helpful = "HELPFUL",
|
Helpful = "HELPFUL",
|
||||||
NotEnoughEvidence = "NOT_ENOUGH_EVIDENCE",
|
NotEnoughEvidence = "NOT_ENOUGH_EVIDENCE",
|
||||||
WrongFocus = "WRONG_FOCUS",
|
NotInsightful = "NOT_INSIGHTFUL",
|
||||||
|
NotRelevant = "NOT_RELEVANT",
|
||||||
}
|
}
|
||||||
|
|
||||||
export type SessionCoachGql = {
|
export type SessionCoachGql = {
|
||||||
@@ -3882,6 +4003,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;
|
||||||
@@ -3974,6 +4096,25 @@ export enum SimulationEventType {
|
|||||||
StickBall = "STICK_BALL",
|
StickBall = "STICK_BALL",
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export enum SocialAuthPlatformEnum {
|
||||||
|
Android = "ANDROID",
|
||||||
|
Ios = "IOS",
|
||||||
|
Web = "WEB",
|
||||||
|
}
|
||||||
|
|
||||||
|
export type SocialAuthProviderAvailabilityGql = {
|
||||||
|
__typename?: "SocialAuthProviderAvailabilityGQL";
|
||||||
|
enabled: Scalars["Boolean"]["output"];
|
||||||
|
platform: SocialAuthPlatformEnum;
|
||||||
|
provider: SocialAuthProviderEnum;
|
||||||
|
};
|
||||||
|
|
||||||
|
export enum SocialAuthProviderEnum {
|
||||||
|
Apple = "APPLE",
|
||||||
|
Facebook = "FACEBOOK",
|
||||||
|
Google = "GOOGLE",
|
||||||
|
}
|
||||||
|
|
||||||
export type SpinTypeBreakdownGql = {
|
export type SpinTypeBreakdownGql = {
|
||||||
__typename?: "SpinTypeBreakdownGQL";
|
__typename?: "SpinTypeBreakdownGQL";
|
||||||
center: Scalars["Int"]["output"];
|
center: Scalars["Int"]["output"];
|
||||||
@@ -4568,6 +4709,31 @@ export type GetAggregatedShotMetricsQuery = {
|
|||||||
}>;
|
}>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
export type GetAuthBootstrapQueryVariables = Exact<{ [key: string]: never }>;
|
||||||
|
|
||||||
|
export type GetAuthBootstrapQuery = {
|
||||||
|
__typename?: "Query";
|
||||||
|
getAuthBootstrap: {
|
||||||
|
__typename?: "AuthBootstrapGQL";
|
||||||
|
status: AuthBootstrapStatusEnum;
|
||||||
|
user?: { __typename?: "UserGQL"; id: number; username: string } | null;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
export type CompleteAuthRegistrationMutationVariables = Exact<{
|
||||||
|
username: Scalars["String"]["input"];
|
||||||
|
agreesToMarketing: Scalars["Boolean"]["input"];
|
||||||
|
}>;
|
||||||
|
|
||||||
|
export type CompleteAuthRegistrationMutation = {
|
||||||
|
__typename?: "Mutation";
|
||||||
|
completeAuthRegistration: {
|
||||||
|
__typename?: "CompleteAuthRegistrationGQL";
|
||||||
|
errorCode?: AuthRegistrationErrorEnum | null;
|
||||||
|
user?: { __typename?: "UserGQL"; id: number; username: string } | null;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
export type GetChallengesQueryVariables = Exact<{ [key: string]: never }>;
|
export type GetChallengesQueryVariables = Exact<{ [key: string]: never }>;
|
||||||
|
|
||||||
export type GetChallengesQuery = {
|
export type GetChallengesQuery = {
|
||||||
@@ -4995,6 +5161,12 @@ export type GetDeployedConfigQuery = {
|
|||||||
message: string;
|
message: string;
|
||||||
priority: number;
|
priority: number;
|
||||||
}>;
|
}>;
|
||||||
|
socialAuthProviderAvailability: Array<{
|
||||||
|
__typename?: "SocialAuthProviderAvailabilityGQL";
|
||||||
|
provider: SocialAuthProviderEnum;
|
||||||
|
platform: SocialAuthPlatformEnum;
|
||||||
|
enabled: boolean;
|
||||||
|
}>;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -7735,6 +7907,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>>;
|
||||||
@@ -10578,6 +10751,144 @@ export type GetAggregatedShotMetricsQueryResult = Apollo.QueryResult<
|
|||||||
GetAggregatedShotMetricsQuery,
|
GetAggregatedShotMetricsQuery,
|
||||||
GetAggregatedShotMetricsQueryVariables
|
GetAggregatedShotMetricsQueryVariables
|
||||||
>;
|
>;
|
||||||
|
export const GetAuthBootstrapDocument = gql`
|
||||||
|
query getAuthBootstrap {
|
||||||
|
getAuthBootstrap {
|
||||||
|
status
|
||||||
|
user {
|
||||||
|
id
|
||||||
|
username
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
`;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* __useGetAuthBootstrapQuery__
|
||||||
|
*
|
||||||
|
* To run a query within a React component, call `useGetAuthBootstrapQuery` and pass it any options that fit your needs.
|
||||||
|
* When your component renders, `useGetAuthBootstrapQuery` 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 } = useGetAuthBootstrapQuery({
|
||||||
|
* variables: {
|
||||||
|
* },
|
||||||
|
* });
|
||||||
|
*/
|
||||||
|
export function useGetAuthBootstrapQuery(
|
||||||
|
baseOptions?: Apollo.QueryHookOptions<
|
||||||
|
GetAuthBootstrapQuery,
|
||||||
|
GetAuthBootstrapQueryVariables
|
||||||
|
>,
|
||||||
|
) {
|
||||||
|
const options = { ...defaultOptions, ...baseOptions };
|
||||||
|
return Apollo.useQuery<GetAuthBootstrapQuery, GetAuthBootstrapQueryVariables>(
|
||||||
|
GetAuthBootstrapDocument,
|
||||||
|
options,
|
||||||
|
);
|
||||||
|
}
|
||||||
|
export function useGetAuthBootstrapLazyQuery(
|
||||||
|
baseOptions?: Apollo.LazyQueryHookOptions<
|
||||||
|
GetAuthBootstrapQuery,
|
||||||
|
GetAuthBootstrapQueryVariables
|
||||||
|
>,
|
||||||
|
) {
|
||||||
|
const options = { ...defaultOptions, ...baseOptions };
|
||||||
|
return Apollo.useLazyQuery<
|
||||||
|
GetAuthBootstrapQuery,
|
||||||
|
GetAuthBootstrapQueryVariables
|
||||||
|
>(GetAuthBootstrapDocument, options);
|
||||||
|
}
|
||||||
|
export function useGetAuthBootstrapSuspenseQuery(
|
||||||
|
baseOptions?: Apollo.SuspenseQueryHookOptions<
|
||||||
|
GetAuthBootstrapQuery,
|
||||||
|
GetAuthBootstrapQueryVariables
|
||||||
|
>,
|
||||||
|
) {
|
||||||
|
const options = { ...defaultOptions, ...baseOptions };
|
||||||
|
return Apollo.useSuspenseQuery<
|
||||||
|
GetAuthBootstrapQuery,
|
||||||
|
GetAuthBootstrapQueryVariables
|
||||||
|
>(GetAuthBootstrapDocument, options);
|
||||||
|
}
|
||||||
|
export type GetAuthBootstrapQueryHookResult = ReturnType<
|
||||||
|
typeof useGetAuthBootstrapQuery
|
||||||
|
>;
|
||||||
|
export type GetAuthBootstrapLazyQueryHookResult = ReturnType<
|
||||||
|
typeof useGetAuthBootstrapLazyQuery
|
||||||
|
>;
|
||||||
|
export type GetAuthBootstrapSuspenseQueryHookResult = ReturnType<
|
||||||
|
typeof useGetAuthBootstrapSuspenseQuery
|
||||||
|
>;
|
||||||
|
export type GetAuthBootstrapQueryResult = Apollo.QueryResult<
|
||||||
|
GetAuthBootstrapQuery,
|
||||||
|
GetAuthBootstrapQueryVariables
|
||||||
|
>;
|
||||||
|
export const CompleteAuthRegistrationDocument = gql`
|
||||||
|
mutation completeAuthRegistration(
|
||||||
|
$username: String!
|
||||||
|
$agreesToMarketing: Boolean!
|
||||||
|
) {
|
||||||
|
completeAuthRegistration(
|
||||||
|
username: $username
|
||||||
|
agreesToMarketing: $agreesToMarketing
|
||||||
|
) {
|
||||||
|
errorCode
|
||||||
|
user {
|
||||||
|
id
|
||||||
|
username
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
`;
|
||||||
|
export type CompleteAuthRegistrationMutationFn = Apollo.MutationFunction<
|
||||||
|
CompleteAuthRegistrationMutation,
|
||||||
|
CompleteAuthRegistrationMutationVariables
|
||||||
|
>;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* __useCompleteAuthRegistrationMutation__
|
||||||
|
*
|
||||||
|
* To run a mutation, you first call `useCompleteAuthRegistrationMutation` within a React component and pass it any options that fit your needs.
|
||||||
|
* When your component renders, `useCompleteAuthRegistrationMutation` 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 [completeAuthRegistrationMutation, { data, loading, error }] = useCompleteAuthRegistrationMutation({
|
||||||
|
* variables: {
|
||||||
|
* username: // value for 'username'
|
||||||
|
* agreesToMarketing: // value for 'agreesToMarketing'
|
||||||
|
* },
|
||||||
|
* });
|
||||||
|
*/
|
||||||
|
export function useCompleteAuthRegistrationMutation(
|
||||||
|
baseOptions?: Apollo.MutationHookOptions<
|
||||||
|
CompleteAuthRegistrationMutation,
|
||||||
|
CompleteAuthRegistrationMutationVariables
|
||||||
|
>,
|
||||||
|
) {
|
||||||
|
const options = { ...defaultOptions, ...baseOptions };
|
||||||
|
return Apollo.useMutation<
|
||||||
|
CompleteAuthRegistrationMutation,
|
||||||
|
CompleteAuthRegistrationMutationVariables
|
||||||
|
>(CompleteAuthRegistrationDocument, options);
|
||||||
|
}
|
||||||
|
export type CompleteAuthRegistrationMutationHookResult = ReturnType<
|
||||||
|
typeof useCompleteAuthRegistrationMutation
|
||||||
|
>;
|
||||||
|
export type CompleteAuthRegistrationMutationResult =
|
||||||
|
Apollo.MutationResult<CompleteAuthRegistrationMutation>;
|
||||||
|
export type CompleteAuthRegistrationMutationOptions =
|
||||||
|
Apollo.BaseMutationOptions<
|
||||||
|
CompleteAuthRegistrationMutation,
|
||||||
|
CompleteAuthRegistrationMutationVariables
|
||||||
|
>;
|
||||||
export const GetChallengesDocument = gql`
|
export const GetChallengesDocument = gql`
|
||||||
query GetChallenges {
|
query GetChallenges {
|
||||||
challenges {
|
challenges {
|
||||||
@@ -11985,6 +12296,11 @@ export const GetDeployedConfigDocument = gql`
|
|||||||
}
|
}
|
||||||
defaultAndroidRecordingFormat
|
defaultAndroidRecordingFormat
|
||||||
bucketUrl
|
bucketUrl
|
||||||
|
socialAuthProviderAvailability {
|
||||||
|
provider
|
||||||
|
platform
|
||||||
|
enabled
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
`;
|
`;
|
||||||
@@ -16515,6 +16831,7 @@ export const GetShotTableStateDocument = gql`
|
|||||||
shotId
|
shotId
|
||||||
videoId
|
videoId
|
||||||
frameIndex
|
frameIndex
|
||||||
|
frameImage
|
||||||
tableState {
|
tableState {
|
||||||
...TableStateLayoutFields
|
...TableStateLayoutFields
|
||||||
}
|
}
|
||||||
|
|||||||
25
src/operations/auth.gql
Normal file
25
src/operations/auth.gql
Normal file
@@ -0,0 +1,25 @@
|
|||||||
|
query getAuthBootstrap {
|
||||||
|
getAuthBootstrap {
|
||||||
|
status
|
||||||
|
user {
|
||||||
|
id
|
||||||
|
username
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
mutation completeAuthRegistration(
|
||||||
|
$username: String!
|
||||||
|
$agreesToMarketing: Boolean!
|
||||||
|
) {
|
||||||
|
completeAuthRegistration(
|
||||||
|
username: $username
|
||||||
|
agreesToMarketing: $agreesToMarketing
|
||||||
|
) {
|
||||||
|
errorCode
|
||||||
|
user {
|
||||||
|
id
|
||||||
|
username
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -19,5 +19,10 @@ query getDeployedConfig {
|
|||||||
}
|
}
|
||||||
defaultAndroidRecordingFormat
|
defaultAndroidRecordingFormat
|
||||||
bucketUrl
|
bucketUrl
|
||||||
|
socialAuthProviderAvailability {
|
||||||
|
provider
|
||||||
|
platform
|
||||||
|
enabled
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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!]!
|
||||||
@@ -225,6 +244,11 @@ type CommentGQL {
|
|||||||
replyToCommentId: Int
|
replyToCommentId: Int
|
||||||
}
|
}
|
||||||
|
|
||||||
|
type CompleteAuthRegistrationGQL {
|
||||||
|
user: UserGQL
|
||||||
|
errorCode: AuthRegistrationErrorEnum
|
||||||
|
}
|
||||||
|
|
||||||
type CountLeaderboardGQL {
|
type CountLeaderboardGQL {
|
||||||
entries: [UserShotCountEntry!]!
|
entries: [UserShotCountEntry!]!
|
||||||
}
|
}
|
||||||
@@ -250,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
|
||||||
@@ -342,6 +361,7 @@ type DeployedConfigGQL {
|
|||||||
storageLimitEnforcementEnabled: Boolean!
|
storageLimitEnforcementEnabled: Boolean!
|
||||||
capabilityEnforcementEnabled: Boolean!
|
capabilityEnforcementEnabled: Boolean!
|
||||||
bannerMessages: [BannerGQL!]!
|
bannerMessages: [BannerGQL!]!
|
||||||
|
socialAuthProviderAvailability: [SocialAuthProviderAvailabilityGQL!]!
|
||||||
defaultAndroidRecordingFormat: StreamSegmentTypeEnum!
|
defaultAndroidRecordingFormat: StreamSegmentTypeEnum!
|
||||||
bucketUrl: String!
|
bucketUrl: String!
|
||||||
}
|
}
|
||||||
@@ -413,6 +433,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!]
|
||||||
@@ -742,6 +763,10 @@ type Mutation {
|
|||||||
response: SessionCoachFeedbackResponseEnum!
|
response: SessionCoachFeedbackResponseEnum!
|
||||||
): SessionCoachFeedbackGQL!
|
): 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!
|
||||||
@@ -1123,6 +1148,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
|
||||||
@@ -1411,8 +1437,8 @@ type SessionCoachFeedbackGQL {
|
|||||||
|
|
||||||
enum SessionCoachFeedbackResponseEnum {
|
enum SessionCoachFeedbackResponseEnum {
|
||||||
HELPFUL
|
HELPFUL
|
||||||
WRONG_FOCUS
|
NOT_RELEVANT
|
||||||
ALREADY_WORKING_ON_THIS
|
NOT_INSIGHTFUL
|
||||||
NOT_ENOUGH_EVIDENCE
|
NOT_ENOUGH_EVIDENCE
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1573,6 +1599,7 @@ type ShotTableStateGQL {
|
|||||||
videoId: Int!
|
videoId: Int!
|
||||||
frameIndex: Int!
|
frameIndex: Int!
|
||||||
tableState: TableStateGQL!
|
tableState: TableStateGQL!
|
||||||
|
frameImage: String
|
||||||
}
|
}
|
||||||
|
|
||||||
input ShotsOrderingComponent @oneOf {
|
input ShotsOrderingComponent @oneOf {
|
||||||
@@ -1618,6 +1645,24 @@ enum SimulationEventType {
|
|||||||
BALL_STOP
|
BALL_STOP
|
||||||
}
|
}
|
||||||
|
|
||||||
|
enum SocialAuthPlatformEnum {
|
||||||
|
WEB
|
||||||
|
IOS
|
||||||
|
ANDROID
|
||||||
|
}
|
||||||
|
|
||||||
|
type SocialAuthProviderAvailabilityGQL {
|
||||||
|
provider: SocialAuthProviderEnum!
|
||||||
|
platform: SocialAuthPlatformEnum!
|
||||||
|
enabled: Boolean!
|
||||||
|
}
|
||||||
|
|
||||||
|
enum SocialAuthProviderEnum {
|
||||||
|
GOOGLE
|
||||||
|
APPLE
|
||||||
|
FACEBOOK
|
||||||
|
}
|
||||||
|
|
||||||
type SpinTypeBreakdownGQL {
|
type SpinTypeBreakdownGQL {
|
||||||
draw: Int!
|
draw: Int!
|
||||||
center: Int!
|
center: Int!
|
||||||
@@ -1966,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