|
|
|
|
@@ -205,6 +205,11 @@ export enum ClientUploadStatusEnum {
|
|
|
|
|
UploadEnabled = "UPLOAD_ENABLED",
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type ClusterAssignmentInput = {
|
|
|
|
|
clusterId: Scalars["Int"]["input"];
|
|
|
|
|
userId?: InputMaybe<Scalars["Int"]["input"]>;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type CommentGql = {
|
|
|
|
|
__typename?: "CommentGQL";
|
|
|
|
|
id: Scalars["Int"]["output"];
|
|
|
|
|
@@ -224,6 +229,11 @@ export type CreateBucketSetInput = {
|
|
|
|
|
keyName: Scalars["String"]["input"];
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type CreateCustomerPortalSessionResultGql = {
|
|
|
|
|
__typename?: "CreateCustomerPortalSessionResultGQL";
|
|
|
|
|
portalUrl: Scalars["String"]["output"];
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type CreateSubscriptionResultGql = {
|
|
|
|
|
__typename?: "CreateSubscriptionResultGQL";
|
|
|
|
|
checkoutUrl: Scalars["String"]["output"];
|
|
|
|
|
@@ -2177,6 +2187,12 @@ export type FilterInput =
|
|
|
|
|
videoId: Array<Scalars["Int"]["input"]>;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type FinalizePlayerAssignmentsInput = {
|
|
|
|
|
clusterAssignments?: Array<ClusterAssignmentInput>;
|
|
|
|
|
shotMoves?: Array<ShotMoveInput>;
|
|
|
|
|
videoId: Scalars["Int"]["input"];
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type FloatOrdering = {
|
|
|
|
|
descending?: Scalars["Boolean"]["input"];
|
|
|
|
|
startingAt?: InputMaybe<Scalars["Float"]["input"]>;
|
|
|
|
|
@@ -2191,6 +2207,26 @@ export type FloatRangeFilter = {
|
|
|
|
|
lessThanInclusive?: Scalars["Boolean"]["input"];
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type GameTypeTagMetric = {
|
|
|
|
|
__typename?: "GameTypeTagMetric";
|
|
|
|
|
madeShots: Scalars["Int"]["output"];
|
|
|
|
|
makeRate: Scalars["Float"]["output"];
|
|
|
|
|
shotCount: Scalars["Int"]["output"];
|
|
|
|
|
tableSize?: Maybe<Scalars["Float"]["output"]>;
|
|
|
|
|
tagLabel: Scalars["String"]["output"];
|
|
|
|
|
tagName: Scalars["String"]["output"];
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type GameTypeTagMetricsInput = {
|
|
|
|
|
createdAt?: InputMaybe<DateRangeFilter>;
|
|
|
|
|
groupByTableSize?: Scalars["Boolean"]["input"];
|
|
|
|
|
includePrivate?: IncludePrivateEnum;
|
|
|
|
|
includeUnknown?: Scalars["Boolean"]["input"];
|
|
|
|
|
maxTags?: InputMaybe<Scalars["Int"]["input"]>;
|
|
|
|
|
tagClass?: InputMaybe<Scalars["String"]["input"]>;
|
|
|
|
|
userId: Scalars["Int"]["input"];
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type GetProfileUploadLinkErrors = {
|
|
|
|
|
__typename?: "GetProfileUploadLinkErrors";
|
|
|
|
|
error: TooManyProfileImageUploadsErr;
|
|
|
|
|
@@ -2353,6 +2389,7 @@ export type Mutation = {
|
|
|
|
|
commentOnVideo: Scalars["Boolean"]["output"];
|
|
|
|
|
createBucketSet: BucketSetGql;
|
|
|
|
|
createChallenge: Challenge;
|
|
|
|
|
createCustomerPortalSession: CreateCustomerPortalSessionResultGql;
|
|
|
|
|
createRuleSet: RuleSet;
|
|
|
|
|
createSubscription: CreateSubscriptionResultGql;
|
|
|
|
|
createUploadStream: CreateUploadStreamReturn;
|
|
|
|
|
@@ -2368,6 +2405,7 @@ export type Mutation = {
|
|
|
|
|
editUploadStream: Scalars["Boolean"]["output"];
|
|
|
|
|
editUser: UserGql;
|
|
|
|
|
ensureStripeCustomerExists: UserGql;
|
|
|
|
|
finalizePlayerAssignments: Array<PlayerClusterGql>;
|
|
|
|
|
findPrerecordTableLayout?: Maybe<HomographyInfoGql>;
|
|
|
|
|
followUser: UserGql;
|
|
|
|
|
getHlsInitUploadLink: GetUploadLinkReturn;
|
|
|
|
|
@@ -2491,6 +2529,10 @@ export type MutationEditUserArgs = {
|
|
|
|
|
input: EditUserInputGql;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type MutationFinalizePlayerAssignmentsArgs = {
|
|
|
|
|
input: FinalizePlayerAssignmentsInput;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type MutationFindPrerecordTableLayoutArgs = {
|
|
|
|
|
b64Image: Scalars["String"]["input"];
|
|
|
|
|
videoId: Scalars["Int"]["input"];
|
|
|
|
|
@@ -2653,6 +2695,29 @@ export type PageInfoGql = {
|
|
|
|
|
hasNextPage: Scalars["Boolean"]["output"];
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type PlayerClusterGql = {
|
|
|
|
|
__typename?: "PlayerClusterGQL";
|
|
|
|
|
clusterId: Scalars["Int"]["output"];
|
|
|
|
|
confirmed: Scalars["Boolean"]["output"];
|
|
|
|
|
nShots: Scalars["Int"]["output"];
|
|
|
|
|
shots: Array<PlayerClusterShotGql>;
|
|
|
|
|
userId?: Maybe<Scalars["Int"]["output"]>;
|
|
|
|
|
videoId: Scalars["Int"]["output"];
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type PlayerClusterShotGql = {
|
|
|
|
|
__typename?: "PlayerClusterShotGQL";
|
|
|
|
|
bboxX1: Scalars["Int"]["output"];
|
|
|
|
|
bboxX2: Scalars["Int"]["output"];
|
|
|
|
|
bboxY1: Scalars["Int"]["output"];
|
|
|
|
|
bboxY2: Scalars["Int"]["output"];
|
|
|
|
|
confidence: Scalars["Float"]["output"];
|
|
|
|
|
cropUrl?: Maybe<Scalars["String"]["output"]>;
|
|
|
|
|
fullFrameUrl?: Maybe<Scalars["String"]["output"]>;
|
|
|
|
|
isConfirmed: Scalars["Boolean"]["output"];
|
|
|
|
|
shotId: Scalars["Int"]["output"];
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export enum PocketEnum {
|
|
|
|
|
Corner = "CORNER",
|
|
|
|
|
Side = "SIDE",
|
|
|
|
|
@@ -2732,6 +2797,7 @@ export type Query = {
|
|
|
|
|
getBucketSet?: Maybe<BucketSetGql>;
|
|
|
|
|
getDeployedConfig: DeployedConfigGql;
|
|
|
|
|
getFeedVideos: VideoHistoryGql;
|
|
|
|
|
getGameTypeTagMetrics: Array<GameTypeTagMetric>;
|
|
|
|
|
getLoggedInUser?: Maybe<UserGql>;
|
|
|
|
|
getLongestRunsLeaderboard: RunLeaderboardGql;
|
|
|
|
|
getMakesLeaderboard: CountLeaderboardGql;
|
|
|
|
|
@@ -2762,6 +2828,7 @@ export type Query = {
|
|
|
|
|
notifications: NotificationConnection;
|
|
|
|
|
ruleSets: Array<RuleSet>;
|
|
|
|
|
unreadNotificationCount: Scalars["Int"]["output"];
|
|
|
|
|
videoPlayerClusters: Array<PlayerClusterGql>;
|
|
|
|
|
waitFor: Scalars["Float"]["output"];
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
@@ -2799,6 +2866,10 @@ export type QueryGetFeedVideosArgs = {
|
|
|
|
|
limit?: Scalars["Int"]["input"];
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type QueryGetGameTypeTagMetricsArgs = {
|
|
|
|
|
input: GameTypeTagMetricsInput;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type QueryGetLongestRunsLeaderboardArgs = {
|
|
|
|
|
interval?: InputMaybe<TimeInterval>;
|
|
|
|
|
limit?: Scalars["Int"]["input"];
|
|
|
|
|
@@ -2924,6 +2995,10 @@ export type QueryNotificationsArgs = {
|
|
|
|
|
offset?: Scalars["Int"]["input"];
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type QueryVideoPlayerClustersArgs = {
|
|
|
|
|
videoId: Scalars["Int"]["input"];
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type QueryWaitForArgs = {
|
|
|
|
|
duration: Scalars["Float"]["input"];
|
|
|
|
|
};
|
|
|
|
|
@@ -3141,6 +3216,11 @@ export type ShotGql = {
|
|
|
|
|
videoId: Scalars["Int"]["output"];
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type ShotMoveInput = {
|
|
|
|
|
newClusterId: Scalars["Int"]["input"];
|
|
|
|
|
shotId: Scalars["Int"]["input"];
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type ShotsOrderingComponent =
|
|
|
|
|
| {
|
|
|
|
|
difficulty: FloatOrdering;
|
|
|
|
|
@@ -3239,6 +3319,7 @@ export type StripeProductGql = {
|
|
|
|
|
export type StripeSubscriptionOptionsGql = {
|
|
|
|
|
__typename?: "StripeSubscriptionOptionsGQL";
|
|
|
|
|
products: Array<StripeProductGql>;
|
|
|
|
|
trialPeriodDays?: Maybe<Scalars["Int"]["output"]>;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export enum StripeSubscriptionStatusEnum {
|
|
|
|
|
@@ -4072,15 +4153,11 @@ export type GetFeedQuery = {
|
|
|
|
|
id: number;
|
|
|
|
|
name?: string | null;
|
|
|
|
|
screenshotUri?: string | null;
|
|
|
|
|
totalShotsMade: number;
|
|
|
|
|
totalShots: number;
|
|
|
|
|
makePercentage: number;
|
|
|
|
|
averageTimeBetweenShots?: number | null;
|
|
|
|
|
averageDifficulty?: number | null;
|
|
|
|
|
createdAt?: any | null;
|
|
|
|
|
updatedAt?: any | null;
|
|
|
|
|
startTime?: any | null;
|
|
|
|
|
endTime?: any | null;
|
|
|
|
|
private: boolean;
|
|
|
|
|
elapsedTime?: number | null;
|
|
|
|
|
tableSize: number;
|
|
|
|
|
@@ -4095,26 +4172,13 @@ export type GetFeedQuery = {
|
|
|
|
|
__typename?: "UploadStreamGQL";
|
|
|
|
|
id: string;
|
|
|
|
|
lastIntendedSegmentBound?: number | null;
|
|
|
|
|
isCompleted: boolean;
|
|
|
|
|
streamSegmentType: StreamSegmentTypeEnum;
|
|
|
|
|
} | null;
|
|
|
|
|
tags: Array<{
|
|
|
|
|
__typename?: "VideoTag";
|
|
|
|
|
name: string;
|
|
|
|
|
tagClasses: Array<{ __typename?: "VideoTagClass"; name: string }>;
|
|
|
|
|
}>;
|
|
|
|
|
tags: Array<{ __typename?: "VideoTag"; name: string }>;
|
|
|
|
|
currentProcessing?: {
|
|
|
|
|
__typename?: "VideoProcessingGQL";
|
|
|
|
|
id: number;
|
|
|
|
|
status: ProcessingStatusEnum;
|
|
|
|
|
errors: Array<{
|
|
|
|
|
__typename?: "VideoProcessingErrorGQL";
|
|
|
|
|
message: string;
|
|
|
|
|
}>;
|
|
|
|
|
statuses: Array<{
|
|
|
|
|
__typename?: "VideoProcessingStatusGQL";
|
|
|
|
|
status: ProcessingStatusEnum;
|
|
|
|
|
}>;
|
|
|
|
|
} | null;
|
|
|
|
|
reactions: Array<{
|
|
|
|
|
__typename?: "ReactionGQL";
|
|
|
|
|
@@ -4174,15 +4238,11 @@ export type VideoCardFieldsFragment = {
|
|
|
|
|
id: number;
|
|
|
|
|
name?: string | null;
|
|
|
|
|
screenshotUri?: string | null;
|
|
|
|
|
totalShotsMade: number;
|
|
|
|
|
totalShots: number;
|
|
|
|
|
makePercentage: number;
|
|
|
|
|
averageTimeBetweenShots?: number | null;
|
|
|
|
|
averageDifficulty?: number | null;
|
|
|
|
|
createdAt?: any | null;
|
|
|
|
|
updatedAt?: any | null;
|
|
|
|
|
startTime?: any | null;
|
|
|
|
|
endTime?: any | null;
|
|
|
|
|
private: boolean;
|
|
|
|
|
elapsedTime?: number | null;
|
|
|
|
|
tableSize: number;
|
|
|
|
|
@@ -4197,23 +4257,13 @@ export type VideoCardFieldsFragment = {
|
|
|
|
|
__typename?: "UploadStreamGQL";
|
|
|
|
|
id: string;
|
|
|
|
|
lastIntendedSegmentBound?: number | null;
|
|
|
|
|
isCompleted: boolean;
|
|
|
|
|
streamSegmentType: StreamSegmentTypeEnum;
|
|
|
|
|
} | null;
|
|
|
|
|
tags: Array<{
|
|
|
|
|
__typename?: "VideoTag";
|
|
|
|
|
name: string;
|
|
|
|
|
tagClasses: Array<{ __typename?: "VideoTagClass"; name: string }>;
|
|
|
|
|
}>;
|
|
|
|
|
tags: Array<{ __typename?: "VideoTag"; name: string }>;
|
|
|
|
|
currentProcessing?: {
|
|
|
|
|
__typename?: "VideoProcessingGQL";
|
|
|
|
|
id: number;
|
|
|
|
|
status: ProcessingStatusEnum;
|
|
|
|
|
errors: Array<{ __typename?: "VideoProcessingErrorGQL"; message: string }>;
|
|
|
|
|
statuses: Array<{
|
|
|
|
|
__typename?: "VideoProcessingStatusGQL";
|
|
|
|
|
status: ProcessingStatusEnum;
|
|
|
|
|
}>;
|
|
|
|
|
} | null;
|
|
|
|
|
reactions: Array<{
|
|
|
|
|
__typename?: "ReactionGQL";
|
|
|
|
|
@@ -4287,15 +4337,11 @@ export type GetVideoFeedQuery = {
|
|
|
|
|
id: number;
|
|
|
|
|
name?: string | null;
|
|
|
|
|
screenshotUri?: string | null;
|
|
|
|
|
totalShotsMade: number;
|
|
|
|
|
totalShots: number;
|
|
|
|
|
makePercentage: number;
|
|
|
|
|
averageTimeBetweenShots?: number | null;
|
|
|
|
|
averageDifficulty?: number | null;
|
|
|
|
|
createdAt?: any | null;
|
|
|
|
|
updatedAt?: any | null;
|
|
|
|
|
startTime?: any | null;
|
|
|
|
|
endTime?: any | null;
|
|
|
|
|
private: boolean;
|
|
|
|
|
elapsedTime?: number | null;
|
|
|
|
|
tableSize: number;
|
|
|
|
|
@@ -4310,26 +4356,13 @@ export type GetVideoFeedQuery = {
|
|
|
|
|
__typename?: "UploadStreamGQL";
|
|
|
|
|
id: string;
|
|
|
|
|
lastIntendedSegmentBound?: number | null;
|
|
|
|
|
isCompleted: boolean;
|
|
|
|
|
streamSegmentType: StreamSegmentTypeEnum;
|
|
|
|
|
} | null;
|
|
|
|
|
tags: Array<{
|
|
|
|
|
__typename?: "VideoTag";
|
|
|
|
|
name: string;
|
|
|
|
|
tagClasses: Array<{ __typename?: "VideoTagClass"; name: string }>;
|
|
|
|
|
}>;
|
|
|
|
|
tags: Array<{ __typename?: "VideoTag"; name: string }>;
|
|
|
|
|
currentProcessing?: {
|
|
|
|
|
__typename?: "VideoProcessingGQL";
|
|
|
|
|
id: number;
|
|
|
|
|
status: ProcessingStatusEnum;
|
|
|
|
|
errors: Array<{
|
|
|
|
|
__typename?: "VideoProcessingErrorGQL";
|
|
|
|
|
message: string;
|
|
|
|
|
}>;
|
|
|
|
|
statuses: Array<{
|
|
|
|
|
__typename?: "VideoProcessingStatusGQL";
|
|
|
|
|
status: ProcessingStatusEnum;
|
|
|
|
|
}>;
|
|
|
|
|
} | null;
|
|
|
|
|
reactions: Array<{
|
|
|
|
|
__typename?: "ReactionGQL";
|
|
|
|
|
@@ -4724,6 +4757,18 @@ export type CreateSubscriptionMutation = {
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type CreateCustomerPortalSessionMutationVariables = Exact<{
|
|
|
|
|
[key: string]: never;
|
|
|
|
|
}>;
|
|
|
|
|
|
|
|
|
|
export type CreateCustomerPortalSessionMutation = {
|
|
|
|
|
__typename?: "Mutation";
|
|
|
|
|
createCustomerPortalSession: {
|
|
|
|
|
__typename?: "CreateCustomerPortalSessionResultGQL";
|
|
|
|
|
portalUrl: string;
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type GetAvailableSubscriptionOptionsQueryVariables = Exact<{
|
|
|
|
|
[key: string]: never;
|
|
|
|
|
}>;
|
|
|
|
|
@@ -4732,6 +4777,7 @@ export type GetAvailableSubscriptionOptionsQuery = {
|
|
|
|
|
__typename?: "Query";
|
|
|
|
|
getAvailableSubscriptionOptions: {
|
|
|
|
|
__typename?: "StripeSubscriptionOptionsGQL";
|
|
|
|
|
trialPeriodDays?: number | null;
|
|
|
|
|
products: Array<{
|
|
|
|
|
__typename?: "StripeProductGQL";
|
|
|
|
|
id: string;
|
|
|
|
|
@@ -4883,6 +4929,96 @@ export type GetRunsWithTimestampsQuery = {
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type PlayerClusterShotFieldsFragment = {
|
|
|
|
|
__typename?: "PlayerClusterShotGQL";
|
|
|
|
|
shotId: number;
|
|
|
|
|
bboxX1: number;
|
|
|
|
|
bboxY1: number;
|
|
|
|
|
bboxX2: number;
|
|
|
|
|
bboxY2: number;
|
|
|
|
|
confidence: number;
|
|
|
|
|
isConfirmed: boolean;
|
|
|
|
|
cropUrl?: string | null;
|
|
|
|
|
fullFrameUrl?: string | null;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type PlayerClusterFieldsFragment = {
|
|
|
|
|
__typename?: "PlayerClusterGQL";
|
|
|
|
|
videoId: number;
|
|
|
|
|
clusterId: number;
|
|
|
|
|
nShots: number;
|
|
|
|
|
userId?: number | null;
|
|
|
|
|
confirmed: boolean;
|
|
|
|
|
shots: Array<{
|
|
|
|
|
__typename?: "PlayerClusterShotGQL";
|
|
|
|
|
shotId: number;
|
|
|
|
|
bboxX1: number;
|
|
|
|
|
bboxY1: number;
|
|
|
|
|
bboxX2: number;
|
|
|
|
|
bboxY2: number;
|
|
|
|
|
confidence: number;
|
|
|
|
|
isConfirmed: boolean;
|
|
|
|
|
cropUrl?: string | null;
|
|
|
|
|
fullFrameUrl?: string | null;
|
|
|
|
|
}>;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type VideoPlayerClustersQueryVariables = Exact<{
|
|
|
|
|
videoId: Scalars["Int"]["input"];
|
|
|
|
|
}>;
|
|
|
|
|
|
|
|
|
|
export type VideoPlayerClustersQuery = {
|
|
|
|
|
__typename?: "Query";
|
|
|
|
|
videoPlayerClusters: Array<{
|
|
|
|
|
__typename?: "PlayerClusterGQL";
|
|
|
|
|
videoId: number;
|
|
|
|
|
clusterId: number;
|
|
|
|
|
nShots: number;
|
|
|
|
|
userId?: number | null;
|
|
|
|
|
confirmed: boolean;
|
|
|
|
|
shots: Array<{
|
|
|
|
|
__typename?: "PlayerClusterShotGQL";
|
|
|
|
|
shotId: number;
|
|
|
|
|
bboxX1: number;
|
|
|
|
|
bboxY1: number;
|
|
|
|
|
bboxX2: number;
|
|
|
|
|
bboxY2: number;
|
|
|
|
|
confidence: number;
|
|
|
|
|
isConfirmed: boolean;
|
|
|
|
|
cropUrl?: string | null;
|
|
|
|
|
fullFrameUrl?: string | null;
|
|
|
|
|
}>;
|
|
|
|
|
}>;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type FinalizePlayerAssignmentsMutationVariables = Exact<{
|
|
|
|
|
input: FinalizePlayerAssignmentsInput;
|
|
|
|
|
}>;
|
|
|
|
|
|
|
|
|
|
export type FinalizePlayerAssignmentsMutation = {
|
|
|
|
|
__typename?: "Mutation";
|
|
|
|
|
finalizePlayerAssignments: Array<{
|
|
|
|
|
__typename?: "PlayerClusterGQL";
|
|
|
|
|
videoId: number;
|
|
|
|
|
clusterId: number;
|
|
|
|
|
nShots: number;
|
|
|
|
|
userId?: number | null;
|
|
|
|
|
confirmed: boolean;
|
|
|
|
|
shots: Array<{
|
|
|
|
|
__typename?: "PlayerClusterShotGQL";
|
|
|
|
|
shotId: number;
|
|
|
|
|
bboxX1: number;
|
|
|
|
|
bboxY1: number;
|
|
|
|
|
bboxX2: number;
|
|
|
|
|
bboxY2: number;
|
|
|
|
|
confidence: number;
|
|
|
|
|
isConfirmed: boolean;
|
|
|
|
|
cropUrl?: string | null;
|
|
|
|
|
fullFrameUrl?: string | null;
|
|
|
|
|
}>;
|
|
|
|
|
}>;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type GetSerializedShotPathsQueryVariables = Exact<{
|
|
|
|
|
filterInput: FilterInput;
|
|
|
|
|
}>;
|
|
|
|
|
@@ -5546,6 +5682,23 @@ export type GetUserTagsQuery = {
|
|
|
|
|
}>;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type GetGameTypeTagMetricsQueryVariables = Exact<{
|
|
|
|
|
input: GameTypeTagMetricsInput;
|
|
|
|
|
}>;
|
|
|
|
|
|
|
|
|
|
export type GetGameTypeTagMetricsQuery = {
|
|
|
|
|
__typename?: "Query";
|
|
|
|
|
getGameTypeTagMetrics: Array<{
|
|
|
|
|
__typename?: "GameTypeTagMetric";
|
|
|
|
|
tagName: string;
|
|
|
|
|
tagLabel: string;
|
|
|
|
|
tableSize?: number | null;
|
|
|
|
|
shotCount: number;
|
|
|
|
|
madeShots: number;
|
|
|
|
|
makeRate: number;
|
|
|
|
|
}>;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type FollowUserMutationVariables = Exact<{
|
|
|
|
|
followedUserId: Scalars["Int"]["input"];
|
|
|
|
|
}>;
|
|
|
|
|
@@ -6477,41 +6630,26 @@ export const VideoCardFieldsFragmentDoc = gql`
|
|
|
|
|
}
|
|
|
|
|
name
|
|
|
|
|
screenshotUri
|
|
|
|
|
totalShotsMade
|
|
|
|
|
totalShots
|
|
|
|
|
makePercentage
|
|
|
|
|
averageTimeBetweenShots
|
|
|
|
|
averageDifficulty
|
|
|
|
|
createdAt
|
|
|
|
|
updatedAt
|
|
|
|
|
startTime
|
|
|
|
|
endTime
|
|
|
|
|
private
|
|
|
|
|
elapsedTime
|
|
|
|
|
screenshotUri
|
|
|
|
|
stream {
|
|
|
|
|
id
|
|
|
|
|
lastIntendedSegmentBound
|
|
|
|
|
isCompleted
|
|
|
|
|
streamSegmentType
|
|
|
|
|
}
|
|
|
|
|
tableSize
|
|
|
|
|
pocketSize
|
|
|
|
|
tags {
|
|
|
|
|
tagClasses {
|
|
|
|
|
name
|
|
|
|
|
}
|
|
|
|
|
name
|
|
|
|
|
}
|
|
|
|
|
currentProcessing {
|
|
|
|
|
id
|
|
|
|
|
errors {
|
|
|
|
|
message
|
|
|
|
|
}
|
|
|
|
|
status
|
|
|
|
|
statuses {
|
|
|
|
|
status
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
reactions {
|
|
|
|
|
videoId
|
|
|
|
|
@@ -6584,6 +6722,32 @@ export const PocketingIntentionFragmentFragmentDoc = gql`
|
|
|
|
|
difficulty
|
|
|
|
|
}
|
|
|
|
|
`;
|
|
|
|
|
export const PlayerClusterShotFieldsFragmentDoc = gql`
|
|
|
|
|
fragment PlayerClusterShotFields on PlayerClusterShotGQL {
|
|
|
|
|
shotId
|
|
|
|
|
bboxX1
|
|
|
|
|
bboxY1
|
|
|
|
|
bboxX2
|
|
|
|
|
bboxY2
|
|
|
|
|
confidence
|
|
|
|
|
isConfirmed
|
|
|
|
|
cropUrl
|
|
|
|
|
fullFrameUrl
|
|
|
|
|
}
|
|
|
|
|
`;
|
|
|
|
|
export const PlayerClusterFieldsFragmentDoc = gql`
|
|
|
|
|
fragment PlayerClusterFields on PlayerClusterGQL {
|
|
|
|
|
videoId
|
|
|
|
|
clusterId
|
|
|
|
|
nShots
|
|
|
|
|
userId
|
|
|
|
|
confirmed
|
|
|
|
|
shots {
|
|
|
|
|
...PlayerClusterShotFields
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
${PlayerClusterShotFieldsFragmentDoc}
|
|
|
|
|
`;
|
|
|
|
|
export const ShotWithAllFeaturesFragmentDoc = gql`
|
|
|
|
|
fragment ShotWithAllFeatures on ShotGQL {
|
|
|
|
|
id
|
|
|
|
|
@@ -9610,9 +9774,60 @@ export type CreateSubscriptionMutationOptions = Apollo.BaseMutationOptions<
|
|
|
|
|
CreateSubscriptionMutation,
|
|
|
|
|
CreateSubscriptionMutationVariables
|
|
|
|
|
>;
|
|
|
|
|
export const CreateCustomerPortalSessionDocument = gql`
|
|
|
|
|
mutation CreateCustomerPortalSession {
|
|
|
|
|
createCustomerPortalSession {
|
|
|
|
|
portalUrl
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
`;
|
|
|
|
|
export type CreateCustomerPortalSessionMutationFn = Apollo.MutationFunction<
|
|
|
|
|
CreateCustomerPortalSessionMutation,
|
|
|
|
|
CreateCustomerPortalSessionMutationVariables
|
|
|
|
|
>;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* __useCreateCustomerPortalSessionMutation__
|
|
|
|
|
*
|
|
|
|
|
* To run a mutation, you first call `useCreateCustomerPortalSessionMutation` within a React component and pass it any options that fit your needs.
|
|
|
|
|
* When your component renders, `useCreateCustomerPortalSessionMutation` 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 [createCustomerPortalSessionMutation, { data, loading, error }] = useCreateCustomerPortalSessionMutation({
|
|
|
|
|
* variables: {
|
|
|
|
|
* },
|
|
|
|
|
* });
|
|
|
|
|
*/
|
|
|
|
|
export function useCreateCustomerPortalSessionMutation(
|
|
|
|
|
baseOptions?: Apollo.MutationHookOptions<
|
|
|
|
|
CreateCustomerPortalSessionMutation,
|
|
|
|
|
CreateCustomerPortalSessionMutationVariables
|
|
|
|
|
>,
|
|
|
|
|
) {
|
|
|
|
|
const options = { ...defaultOptions, ...baseOptions };
|
|
|
|
|
return Apollo.useMutation<
|
|
|
|
|
CreateCustomerPortalSessionMutation,
|
|
|
|
|
CreateCustomerPortalSessionMutationVariables
|
|
|
|
|
>(CreateCustomerPortalSessionDocument, options);
|
|
|
|
|
}
|
|
|
|
|
export type CreateCustomerPortalSessionMutationHookResult = ReturnType<
|
|
|
|
|
typeof useCreateCustomerPortalSessionMutation
|
|
|
|
|
>;
|
|
|
|
|
export type CreateCustomerPortalSessionMutationResult =
|
|
|
|
|
Apollo.MutationResult<CreateCustomerPortalSessionMutation>;
|
|
|
|
|
export type CreateCustomerPortalSessionMutationOptions =
|
|
|
|
|
Apollo.BaseMutationOptions<
|
|
|
|
|
CreateCustomerPortalSessionMutation,
|
|
|
|
|
CreateCustomerPortalSessionMutationVariables
|
|
|
|
|
>;
|
|
|
|
|
export const GetAvailableSubscriptionOptionsDocument = gql`
|
|
|
|
|
query GetAvailableSubscriptionOptions {
|
|
|
|
|
getAvailableSubscriptionOptions {
|
|
|
|
|
trialPeriodDays
|
|
|
|
|
products {
|
|
|
|
|
id
|
|
|
|
|
name
|
|
|
|
|
@@ -10136,6 +10351,132 @@ export type GetRunsWithTimestampsQueryResult = Apollo.QueryResult<
|
|
|
|
|
GetRunsWithTimestampsQuery,
|
|
|
|
|
GetRunsWithTimestampsQueryVariables
|
|
|
|
|
>;
|
|
|
|
|
export const VideoPlayerClustersDocument = gql`
|
|
|
|
|
query VideoPlayerClusters($videoId: Int!) {
|
|
|
|
|
videoPlayerClusters(videoId: $videoId) {
|
|
|
|
|
...PlayerClusterFields
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
${PlayerClusterFieldsFragmentDoc}
|
|
|
|
|
`;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* __useVideoPlayerClustersQuery__
|
|
|
|
|
*
|
|
|
|
|
* To run a query within a React component, call `useVideoPlayerClustersQuery` and pass it any options that fit your needs.
|
|
|
|
|
* When your component renders, `useVideoPlayerClustersQuery` 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 } = useVideoPlayerClustersQuery({
|
|
|
|
|
* variables: {
|
|
|
|
|
* videoId: // value for 'videoId'
|
|
|
|
|
* },
|
|
|
|
|
* });
|
|
|
|
|
*/
|
|
|
|
|
export function useVideoPlayerClustersQuery(
|
|
|
|
|
baseOptions: Apollo.QueryHookOptions<
|
|
|
|
|
VideoPlayerClustersQuery,
|
|
|
|
|
VideoPlayerClustersQueryVariables
|
|
|
|
|
>,
|
|
|
|
|
) {
|
|
|
|
|
const options = { ...defaultOptions, ...baseOptions };
|
|
|
|
|
return Apollo.useQuery<
|
|
|
|
|
VideoPlayerClustersQuery,
|
|
|
|
|
VideoPlayerClustersQueryVariables
|
|
|
|
|
>(VideoPlayerClustersDocument, options);
|
|
|
|
|
}
|
|
|
|
|
export function useVideoPlayerClustersLazyQuery(
|
|
|
|
|
baseOptions?: Apollo.LazyQueryHookOptions<
|
|
|
|
|
VideoPlayerClustersQuery,
|
|
|
|
|
VideoPlayerClustersQueryVariables
|
|
|
|
|
>,
|
|
|
|
|
) {
|
|
|
|
|
const options = { ...defaultOptions, ...baseOptions };
|
|
|
|
|
return Apollo.useLazyQuery<
|
|
|
|
|
VideoPlayerClustersQuery,
|
|
|
|
|
VideoPlayerClustersQueryVariables
|
|
|
|
|
>(VideoPlayerClustersDocument, options);
|
|
|
|
|
}
|
|
|
|
|
export function useVideoPlayerClustersSuspenseQuery(
|
|
|
|
|
baseOptions?: Apollo.SuspenseQueryHookOptions<
|
|
|
|
|
VideoPlayerClustersQuery,
|
|
|
|
|
VideoPlayerClustersQueryVariables
|
|
|
|
|
>,
|
|
|
|
|
) {
|
|
|
|
|
const options = { ...defaultOptions, ...baseOptions };
|
|
|
|
|
return Apollo.useSuspenseQuery<
|
|
|
|
|
VideoPlayerClustersQuery,
|
|
|
|
|
VideoPlayerClustersQueryVariables
|
|
|
|
|
>(VideoPlayerClustersDocument, options);
|
|
|
|
|
}
|
|
|
|
|
export type VideoPlayerClustersQueryHookResult = ReturnType<
|
|
|
|
|
typeof useVideoPlayerClustersQuery
|
|
|
|
|
>;
|
|
|
|
|
export type VideoPlayerClustersLazyQueryHookResult = ReturnType<
|
|
|
|
|
typeof useVideoPlayerClustersLazyQuery
|
|
|
|
|
>;
|
|
|
|
|
export type VideoPlayerClustersSuspenseQueryHookResult = ReturnType<
|
|
|
|
|
typeof useVideoPlayerClustersSuspenseQuery
|
|
|
|
|
>;
|
|
|
|
|
export type VideoPlayerClustersQueryResult = Apollo.QueryResult<
|
|
|
|
|
VideoPlayerClustersQuery,
|
|
|
|
|
VideoPlayerClustersQueryVariables
|
|
|
|
|
>;
|
|
|
|
|
export const FinalizePlayerAssignmentsDocument = gql`
|
|
|
|
|
mutation FinalizePlayerAssignments($input: FinalizePlayerAssignmentsInput!) {
|
|
|
|
|
finalizePlayerAssignments(input: $input) {
|
|
|
|
|
...PlayerClusterFields
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
${PlayerClusterFieldsFragmentDoc}
|
|
|
|
|
`;
|
|
|
|
|
export type FinalizePlayerAssignmentsMutationFn = Apollo.MutationFunction<
|
|
|
|
|
FinalizePlayerAssignmentsMutation,
|
|
|
|
|
FinalizePlayerAssignmentsMutationVariables
|
|
|
|
|
>;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* __useFinalizePlayerAssignmentsMutation__
|
|
|
|
|
*
|
|
|
|
|
* To run a mutation, you first call `useFinalizePlayerAssignmentsMutation` within a React component and pass it any options that fit your needs.
|
|
|
|
|
* When your component renders, `useFinalizePlayerAssignmentsMutation` 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 [finalizePlayerAssignmentsMutation, { data, loading, error }] = useFinalizePlayerAssignmentsMutation({
|
|
|
|
|
* variables: {
|
|
|
|
|
* input: // value for 'input'
|
|
|
|
|
* },
|
|
|
|
|
* });
|
|
|
|
|
*/
|
|
|
|
|
export function useFinalizePlayerAssignmentsMutation(
|
|
|
|
|
baseOptions?: Apollo.MutationHookOptions<
|
|
|
|
|
FinalizePlayerAssignmentsMutation,
|
|
|
|
|
FinalizePlayerAssignmentsMutationVariables
|
|
|
|
|
>,
|
|
|
|
|
) {
|
|
|
|
|
const options = { ...defaultOptions, ...baseOptions };
|
|
|
|
|
return Apollo.useMutation<
|
|
|
|
|
FinalizePlayerAssignmentsMutation,
|
|
|
|
|
FinalizePlayerAssignmentsMutationVariables
|
|
|
|
|
>(FinalizePlayerAssignmentsDocument, options);
|
|
|
|
|
}
|
|
|
|
|
export type FinalizePlayerAssignmentsMutationHookResult = ReturnType<
|
|
|
|
|
typeof useFinalizePlayerAssignmentsMutation
|
|
|
|
|
>;
|
|
|
|
|
export type FinalizePlayerAssignmentsMutationResult =
|
|
|
|
|
Apollo.MutationResult<FinalizePlayerAssignmentsMutation>;
|
|
|
|
|
export type FinalizePlayerAssignmentsMutationOptions =
|
|
|
|
|
Apollo.BaseMutationOptions<
|
|
|
|
|
FinalizePlayerAssignmentsMutation,
|
|
|
|
|
FinalizePlayerAssignmentsMutationVariables
|
|
|
|
|
>;
|
|
|
|
|
export const GetSerializedShotPathsDocument = gql`
|
|
|
|
|
query GetSerializedShotPaths($filterInput: FilterInput!) {
|
|
|
|
|
getShots(filterInput: $filterInput) {
|
|
|
|
|
@@ -11529,6 +11870,84 @@ export type GetUserTagsQueryResult = Apollo.QueryResult<
|
|
|
|
|
GetUserTagsQuery,
|
|
|
|
|
GetUserTagsQueryVariables
|
|
|
|
|
>;
|
|
|
|
|
export const GetGameTypeTagMetricsDocument = gql`
|
|
|
|
|
query GetGameTypeTagMetrics($input: GameTypeTagMetricsInput!) {
|
|
|
|
|
getGameTypeTagMetrics(input: $input) {
|
|
|
|
|
tagName
|
|
|
|
|
tagLabel
|
|
|
|
|
tableSize
|
|
|
|
|
shotCount
|
|
|
|
|
madeShots
|
|
|
|
|
makeRate
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
`;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* __useGetGameTypeTagMetricsQuery__
|
|
|
|
|
*
|
|
|
|
|
* To run a query within a React component, call `useGetGameTypeTagMetricsQuery` and pass it any options that fit your needs.
|
|
|
|
|
* When your component renders, `useGetGameTypeTagMetricsQuery` 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 } = useGetGameTypeTagMetricsQuery({
|
|
|
|
|
* variables: {
|
|
|
|
|
* input: // value for 'input'
|
|
|
|
|
* },
|
|
|
|
|
* });
|
|
|
|
|
*/
|
|
|
|
|
export function useGetGameTypeTagMetricsQuery(
|
|
|
|
|
baseOptions: Apollo.QueryHookOptions<
|
|
|
|
|
GetGameTypeTagMetricsQuery,
|
|
|
|
|
GetGameTypeTagMetricsQueryVariables
|
|
|
|
|
>,
|
|
|
|
|
) {
|
|
|
|
|
const options = { ...defaultOptions, ...baseOptions };
|
|
|
|
|
return Apollo.useQuery<
|
|
|
|
|
GetGameTypeTagMetricsQuery,
|
|
|
|
|
GetGameTypeTagMetricsQueryVariables
|
|
|
|
|
>(GetGameTypeTagMetricsDocument, options);
|
|
|
|
|
}
|
|
|
|
|
export function useGetGameTypeTagMetricsLazyQuery(
|
|
|
|
|
baseOptions?: Apollo.LazyQueryHookOptions<
|
|
|
|
|
GetGameTypeTagMetricsQuery,
|
|
|
|
|
GetGameTypeTagMetricsQueryVariables
|
|
|
|
|
>,
|
|
|
|
|
) {
|
|
|
|
|
const options = { ...defaultOptions, ...baseOptions };
|
|
|
|
|
return Apollo.useLazyQuery<
|
|
|
|
|
GetGameTypeTagMetricsQuery,
|
|
|
|
|
GetGameTypeTagMetricsQueryVariables
|
|
|
|
|
>(GetGameTypeTagMetricsDocument, options);
|
|
|
|
|
}
|
|
|
|
|
export function useGetGameTypeTagMetricsSuspenseQuery(
|
|
|
|
|
baseOptions?: Apollo.SuspenseQueryHookOptions<
|
|
|
|
|
GetGameTypeTagMetricsQuery,
|
|
|
|
|
GetGameTypeTagMetricsQueryVariables
|
|
|
|
|
>,
|
|
|
|
|
) {
|
|
|
|
|
const options = { ...defaultOptions, ...baseOptions };
|
|
|
|
|
return Apollo.useSuspenseQuery<
|
|
|
|
|
GetGameTypeTagMetricsQuery,
|
|
|
|
|
GetGameTypeTagMetricsQueryVariables
|
|
|
|
|
>(GetGameTypeTagMetricsDocument, options);
|
|
|
|
|
}
|
|
|
|
|
export type GetGameTypeTagMetricsQueryHookResult = ReturnType<
|
|
|
|
|
typeof useGetGameTypeTagMetricsQuery
|
|
|
|
|
>;
|
|
|
|
|
export type GetGameTypeTagMetricsLazyQueryHookResult = ReturnType<
|
|
|
|
|
typeof useGetGameTypeTagMetricsLazyQuery
|
|
|
|
|
>;
|
|
|
|
|
export type GetGameTypeTagMetricsSuspenseQueryHookResult = ReturnType<
|
|
|
|
|
typeof useGetGameTypeTagMetricsSuspenseQuery
|
|
|
|
|
>;
|
|
|
|
|
export type GetGameTypeTagMetricsQueryResult = Apollo.QueryResult<
|
|
|
|
|
GetGameTypeTagMetricsQuery,
|
|
|
|
|
GetGameTypeTagMetricsQueryVariables
|
|
|
|
|
>;
|
|
|
|
|
export const FollowUserDocument = gql`
|
|
|
|
|
mutation followUser($followedUserId: Int!) {
|
|
|
|
|
followUser(followedUserId: $followedUserId) {
|
|
|
|
|
|