Compare commits
1 Commits
loewy/soci
...
f724ec6c0d
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f724ec6c0d |
@@ -88,26 +88,6 @@ export type AppleIapSubscriptionOptionsGql = {
|
||||
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 = {
|
||||
__typename?: "BallTrajectoryGQL";
|
||||
ballId: Scalars["Int"]["output"];
|
||||
@@ -299,12 +279,6 @@ export type CommentGql = {
|
||||
user: UserGql;
|
||||
};
|
||||
|
||||
export type CompleteAuthRegistrationGql = {
|
||||
__typename?: "CompleteAuthRegistrationGQL";
|
||||
errorCode?: Maybe<AuthRegistrationErrorEnum>;
|
||||
user?: Maybe<UserGql>;
|
||||
};
|
||||
|
||||
export type CountLeaderboardGql = {
|
||||
__typename?: "CountLeaderboardGQL";
|
||||
entries: Array<UserShotCountEntry>;
|
||||
@@ -412,7 +386,6 @@ export type DeployedConfigGql = {
|
||||
firebase: Scalars["Boolean"]["output"];
|
||||
minimumAllowedAppVersion: Scalars["String"]["output"];
|
||||
quotaEnforcementEnabled: Scalars["Boolean"]["output"];
|
||||
socialAuthProviderAvailability: Array<SocialAuthProviderAvailabilityGql>;
|
||||
storageLimitEnforcementEnabled: Scalars["Boolean"]["output"];
|
||||
subscriptionGatingEnabled: Scalars["Boolean"]["output"];
|
||||
};
|
||||
@@ -2645,7 +2618,6 @@ export type Mutation = {
|
||||
cancelCameraClaimSession: CameraClaimSession;
|
||||
cancelSubscription: UserSubscriptionStatusGql;
|
||||
commentOnVideo: Scalars["Boolean"]["output"];
|
||||
completeAuthRegistration: CompleteAuthRegistrationGql;
|
||||
createBucketSet: BucketSetGql;
|
||||
createCameraClaimSession: CameraClaimSession;
|
||||
createChallenge: Challenge;
|
||||
@@ -2730,11 +2702,6 @@ export type MutationCommentOnVideoArgs = {
|
||||
videoId: Scalars["Int"]["input"];
|
||||
};
|
||||
|
||||
export type MutationCompleteAuthRegistrationArgs = {
|
||||
agreesToMarketing: Scalars["Boolean"]["input"];
|
||||
username: Scalars["String"]["input"];
|
||||
};
|
||||
|
||||
export type MutationCreateBucketSetArgs = {
|
||||
params: CreateBucketSetInput;
|
||||
};
|
||||
@@ -3234,7 +3201,6 @@ export type Query = {
|
||||
doesUsernameExist: Scalars["Boolean"]["output"];
|
||||
getAggregatedShotMetrics: Array<AggregateResultGql>;
|
||||
getAppleAppAccountToken: Scalars["String"]["output"];
|
||||
getAuthBootstrap: AuthBootstrapGql;
|
||||
getAvailableSubscriptionOptions: StripeSubscriptionOptionsGql;
|
||||
getBucketSet?: Maybe<BucketSetGql>;
|
||||
getDeployedConfig: DeployedConfigGql;
|
||||
@@ -3829,10 +3795,10 @@ export type SessionCoachFeedbackGql = {
|
||||
};
|
||||
|
||||
export enum SessionCoachFeedbackResponseEnum {
|
||||
AlreadyWorkingOnThis = "ALREADY_WORKING_ON_THIS",
|
||||
Helpful = "HELPFUL",
|
||||
NotEnoughEvidence = "NOT_ENOUGH_EVIDENCE",
|
||||
NotInsightful = "NOT_INSIGHTFUL",
|
||||
NotRelevant = "NOT_RELEVANT",
|
||||
WrongFocus = "WRONG_FOCUS",
|
||||
}
|
||||
|
||||
export type SessionCoachGql = {
|
||||
@@ -4003,7 +3969,6 @@ export type ShotProjectionGql = {
|
||||
|
||||
export type ShotTableStateGql = {
|
||||
__typename?: "ShotTableStateGQL";
|
||||
frameImage?: Maybe<Scalars["String"]["output"]>;
|
||||
frameIndex: Scalars["Int"]["output"];
|
||||
shotId: Scalars["Int"]["output"];
|
||||
tableState: TableStateGql;
|
||||
@@ -4096,25 +4061,6 @@ export enum SimulationEventType {
|
||||
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 = {
|
||||
__typename?: "SpinTypeBreakdownGQL";
|
||||
center: Scalars["Int"]["output"];
|
||||
@@ -7876,7 +7822,6 @@ export type GetShotTableStateQuery = {
|
||||
shotId: number;
|
||||
videoId: number;
|
||||
frameIndex: number;
|
||||
frameImage?: string | null;
|
||||
tableState: {
|
||||
__typename?: "TableStateGQL";
|
||||
identifierToPosition: Array<Array<number>>;
|
||||
@@ -16657,7 +16602,6 @@ export const GetShotTableStateDocument = gql`
|
||||
shotId
|
||||
videoId
|
||||
frameIndex
|
||||
frameImage
|
||||
tableState {
|
||||
...TableStateLayoutFields
|
||||
}
|
||||
|
||||
@@ -44,10 +44,9 @@ fragment DetectionPocketPointFields on PocketPointsGQL {
|
||||
# positions. Boxes, pocket boxes, and source points share the crop's
|
||||
# coordinate space; the crop locates that space in the full frame.
|
||||
#
|
||||
# Only the photo query selects this. The shot query returns its source
|
||||
# frame (frameImage) but positions there come from the stored homography,
|
||||
# so there are no fresh boxes to draw; the live query returns no image at
|
||||
# all and is polled every five seconds.
|
||||
# Only the photo query selects this. The live and shot queries read a
|
||||
# frame out of a video the app never holds, so there is no image to
|
||||
# overlay, and getLiveTableState is polled every five seconds.
|
||||
fragment TableStateDetectionFields on TableStateGQL {
|
||||
identifierToBox {
|
||||
...DetectionBoxFields
|
||||
@@ -98,9 +97,6 @@ query GetShotTableState($shotId: Int!) {
|
||||
shotId
|
||||
videoId
|
||||
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 {
|
||||
...TableStateLayoutFields
|
||||
}
|
||||
|
||||
@@ -42,25 +42,6 @@ type AppleIapSubscriptionOptionsGQL {
|
||||
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 {
|
||||
ballId: Int!
|
||||
points: [TrajectoryPointGQL!]!
|
||||
@@ -244,11 +225,6 @@ type CommentGQL {
|
||||
replyToCommentId: Int
|
||||
}
|
||||
|
||||
type CompleteAuthRegistrationGQL {
|
||||
user: UserGQL
|
||||
errorCode: AuthRegistrationErrorEnum
|
||||
}
|
||||
|
||||
type CountLeaderboardGQL {
|
||||
entries: [UserShotCountEntry!]!
|
||||
}
|
||||
@@ -274,6 +250,11 @@ input CreatePoolHallCameraInput {
|
||||
claimTermsText: String = null
|
||||
}
|
||||
|
||||
input CreateShotShareLinkInput {
|
||||
shotIds: [Int!]!
|
||||
paddingSeconds: Float = null
|
||||
}
|
||||
|
||||
input CreatePoolHallInput {
|
||||
name: String!
|
||||
address: String = null
|
||||
@@ -361,7 +342,6 @@ type DeployedConfigGQL {
|
||||
storageLimitEnforcementEnabled: Boolean!
|
||||
capabilityEnforcementEnabled: Boolean!
|
||||
bannerMessages: [BannerGQL!]!
|
||||
socialAuthProviderAvailability: [SocialAuthProviderAvailabilityGQL!]!
|
||||
defaultAndroidRecordingFormat: StreamSegmentTypeEnum!
|
||||
bucketUrl: String!
|
||||
}
|
||||
@@ -763,10 +743,6 @@ type Mutation {
|
||||
response: SessionCoachFeedbackResponseEnum!
|
||||
): SessionCoachFeedbackGQL!
|
||||
requestSessionCoachGeneration(videoId: Int!): SessionCoachGQL!
|
||||
completeAuthRegistration(
|
||||
username: String!
|
||||
agreesToMarketing: Boolean!
|
||||
): CompleteAuthRegistrationGQL!
|
||||
getProfileImageUploadLink(
|
||||
fileExt: String = ".png"
|
||||
): GetProfileUploadLinkReturn!
|
||||
@@ -1148,7 +1124,6 @@ type Query {
|
||||
): [ShotGQL!]!
|
||||
getShotsByIds(ids: [Int!]!): [ShotGQL!]!
|
||||
getUsageStats(days: Int! = 30): UsageStatsGQL!
|
||||
getAuthBootstrap: AuthBootstrapGQL!
|
||||
getUser(userId: Int!): UserGQL
|
||||
doesUsernameExist(candidateUsername: String!): Boolean!
|
||||
getLoggedInUser: UserGQL
|
||||
@@ -1437,8 +1412,8 @@ type SessionCoachFeedbackGQL {
|
||||
|
||||
enum SessionCoachFeedbackResponseEnum {
|
||||
HELPFUL
|
||||
NOT_RELEVANT
|
||||
NOT_INSIGHTFUL
|
||||
WRONG_FOCUS
|
||||
ALREADY_WORKING_ON_THIS
|
||||
NOT_ENOUGH_EVIDENCE
|
||||
}
|
||||
|
||||
@@ -1599,7 +1574,6 @@ type ShotTableStateGQL {
|
||||
videoId: Int!
|
||||
frameIndex: Int!
|
||||
tableState: TableStateGQL!
|
||||
frameImage: String
|
||||
}
|
||||
|
||||
input ShotsOrderingComponent @oneOf {
|
||||
@@ -1645,24 +1619,6 @@ enum SimulationEventType {
|
||||
BALL_STOP
|
||||
}
|
||||
|
||||
enum SocialAuthPlatformEnum {
|
||||
WEB
|
||||
IOS
|
||||
ANDROID
|
||||
}
|
||||
|
||||
type SocialAuthProviderAvailabilityGQL {
|
||||
provider: SocialAuthProviderEnum!
|
||||
platform: SocialAuthPlatformEnum!
|
||||
enabled: Boolean!
|
||||
}
|
||||
|
||||
enum SocialAuthProviderEnum {
|
||||
GOOGLE
|
||||
APPLE
|
||||
FACEBOOK
|
||||
}
|
||||
|
||||
type SpinTypeBreakdownGQL {
|
||||
draw: Int!
|
||||
center: Int!
|
||||
@@ -2011,6 +1967,11 @@ type UserSubscriptionStatusGQL {
|
||||
stripeSubscriptionId: String
|
||||
}
|
||||
|
||||
type ShareLinkGQL {
|
||||
slug: String!
|
||||
url: String!
|
||||
}
|
||||
|
||||
type VideoExportJobGQL {
|
||||
id: Int!
|
||||
videoId: Int!
|
||||
|
||||
Reference in New Issue
Block a user