|
|
|
|
@@ -205,12 +205,6 @@ export enum ClientUploadStatusEnum {
|
|
|
|
|
UploadEnabled = "UPLOAD_ENABLED",
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type ClusterAssignmentInput = {
|
|
|
|
|
clusterId: Scalars["Int"]["input"];
|
|
|
|
|
score?: InputMaybe<Scalars["Int"]["input"]>;
|
|
|
|
|
userId?: InputMaybe<Scalars["Int"]["input"]>;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type CommentGql = {
|
|
|
|
|
__typename?: "CommentGQL";
|
|
|
|
|
id: Scalars["Int"]["output"];
|
|
|
|
|
@@ -230,11 +224,6 @@ 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"];
|
|
|
|
|
@@ -2188,12 +2177,6 @@ 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"]>;
|
|
|
|
|
@@ -2390,7 +2373,6 @@ export type Mutation = {
|
|
|
|
|
commentOnVideo: Scalars["Boolean"]["output"];
|
|
|
|
|
createBucketSet: BucketSetGql;
|
|
|
|
|
createChallenge: Challenge;
|
|
|
|
|
createCustomerPortalSession: CreateCustomerPortalSessionResultGql;
|
|
|
|
|
createRuleSet: RuleSet;
|
|
|
|
|
createSubscription: CreateSubscriptionResultGql;
|
|
|
|
|
createUploadStream: CreateUploadStreamReturn;
|
|
|
|
|
@@ -2406,7 +2388,6 @@ export type Mutation = {
|
|
|
|
|
editUploadStream: Scalars["Boolean"]["output"];
|
|
|
|
|
editUser: UserGql;
|
|
|
|
|
ensureStripeCustomerExists: UserGql;
|
|
|
|
|
finalizePlayerAssignments: Array<PlayerClusterGql>;
|
|
|
|
|
findPrerecordTableLayout?: Maybe<HomographyInfoGql>;
|
|
|
|
|
followUser: UserGql;
|
|
|
|
|
getHlsInitUploadLink: GetUploadLinkReturn;
|
|
|
|
|
@@ -2481,6 +2462,7 @@ export type MutationCreateSubscriptionArgs = {
|
|
|
|
|
|
|
|
|
|
export type MutationCreateUploadStreamArgs = {
|
|
|
|
|
expectedDurationSeconds?: InputMaybe<Scalars["Float"]["input"]>;
|
|
|
|
|
uploadKind?: InputMaybe<UploadKindEnum>;
|
|
|
|
|
videoMetadata: VideoMetadataInput;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
@@ -2530,10 +2512,6 @@ export type MutationEditUserArgs = {
|
|
|
|
|
input: EditUserInputGql;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type MutationFinalizePlayerAssignmentsArgs = {
|
|
|
|
|
input: FinalizePlayerAssignmentsInput;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type MutationFindPrerecordTableLayoutArgs = {
|
|
|
|
|
b64Image: Scalars["String"]["input"];
|
|
|
|
|
videoId: Scalars["Int"]["input"];
|
|
|
|
|
@@ -2696,48 +2674,6 @@ export type PageInfoGql = {
|
|
|
|
|
hasNextPage: Scalars["Boolean"]["output"];
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type PlayerClusterGql = {
|
|
|
|
|
__typename?: "PlayerClusterGQL";
|
|
|
|
|
clusterId: Scalars["Int"]["output"];
|
|
|
|
|
confirmed: Scalars["Boolean"]["output"];
|
|
|
|
|
nShots: Scalars["Int"]["output"];
|
|
|
|
|
profileImageUri?: Maybe<Scalars["String"]["output"]>;
|
|
|
|
|
score?: Maybe<Scalars["Int"]["output"]>;
|
|
|
|
|
shots: Array<PlayerClusterShotGql>;
|
|
|
|
|
userId?: Maybe<Scalars["Int"]["output"]>;
|
|
|
|
|
username?: Maybe<Scalars["String"]["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 type PlayerSummaryGql = {
|
|
|
|
|
__typename?: "PlayerSummaryGQL";
|
|
|
|
|
averageDifficulty?: Maybe<Scalars["Float"]["output"]>;
|
|
|
|
|
averageTimeBetweenShots?: Maybe<Scalars["Float"]["output"]>;
|
|
|
|
|
clusterId: Scalars["Int"]["output"];
|
|
|
|
|
longestRun: Scalars["Int"]["output"];
|
|
|
|
|
makePercentage: Scalars["Float"]["output"];
|
|
|
|
|
profileImageUri?: Maybe<Scalars["String"]["output"]>;
|
|
|
|
|
representativeFullFrameUrl?: Maybe<Scalars["String"]["output"]>;
|
|
|
|
|
score?: Maybe<Scalars["Int"]["output"]>;
|
|
|
|
|
totalShots: Scalars["Int"]["output"];
|
|
|
|
|
totalShotsMade: Scalars["Int"]["output"];
|
|
|
|
|
userId?: Maybe<Scalars["Int"]["output"]>;
|
|
|
|
|
username?: Maybe<Scalars["String"]["output"]>;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export enum PocketEnum {
|
|
|
|
|
Corner = "CORNER",
|
|
|
|
|
Side = "SIDE",
|
|
|
|
|
@@ -2848,7 +2784,6 @@ export type Query = {
|
|
|
|
|
notifications: NotificationConnection;
|
|
|
|
|
ruleSets: Array<RuleSet>;
|
|
|
|
|
unreadNotificationCount: Scalars["Int"]["output"];
|
|
|
|
|
videoPlayerClusters: Array<PlayerClusterGql>;
|
|
|
|
|
waitFor: Scalars["Float"]["output"];
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
@@ -3015,10 +2950,6 @@ export type QueryNotificationsArgs = {
|
|
|
|
|
offset?: Scalars["Int"]["input"];
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type QueryVideoPlayerClustersArgs = {
|
|
|
|
|
videoId: Scalars["Int"]["input"];
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type QueryWaitForArgs = {
|
|
|
|
|
duration: Scalars["Float"]["input"];
|
|
|
|
|
};
|
|
|
|
|
@@ -3029,9 +2960,11 @@ export type QuotaStatusGql = {
|
|
|
|
|
durationLimitSeconds?: Maybe<Scalars["Int"]["output"]>;
|
|
|
|
|
durationRemainingSeconds?: Maybe<Scalars["Float"]["output"]>;
|
|
|
|
|
durationUsedSeconds: Scalars["Float"]["output"];
|
|
|
|
|
importUploadPermission: UploadPermissionGql;
|
|
|
|
|
maxVideoDurationSeconds?: Maybe<Scalars["Int"]["output"]>;
|
|
|
|
|
periodEnd: Scalars["DateTime"]["output"];
|
|
|
|
|
periodStart: Scalars["DateTime"]["output"];
|
|
|
|
|
recordingPermission: UploadPermissionGql;
|
|
|
|
|
tierName: Scalars["String"]["output"];
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
@@ -3236,11 +3169,6 @@ export type ShotGql = {
|
|
|
|
|
videoId: Scalars["Int"]["output"];
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type ShotMoveInput = {
|
|
|
|
|
newClusterId: Scalars["Int"]["input"];
|
|
|
|
|
shotId: Scalars["Int"]["input"];
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type ShotsOrderingComponent =
|
|
|
|
|
| {
|
|
|
|
|
difficulty: FloatOrdering;
|
|
|
|
|
@@ -3339,7 +3267,6 @@ export type StripeProductGql = {
|
|
|
|
|
export type StripeSubscriptionOptionsGql = {
|
|
|
|
|
__typename?: "StripeSubscriptionOptionsGQL";
|
|
|
|
|
products: Array<StripeProductGql>;
|
|
|
|
|
trialPeriodDays?: Maybe<Scalars["Int"]["output"]>;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export enum StripeSubscriptionStatusEnum {
|
|
|
|
|
@@ -3423,6 +3350,11 @@ export type UpdateShotAnnotationReturn = {
|
|
|
|
|
shot?: Maybe<ShotGql>;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export enum UploadKindEnum {
|
|
|
|
|
Import = "IMPORT",
|
|
|
|
|
Recording = "RECORDING",
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type UploadLink = {
|
|
|
|
|
__typename?: "UploadLink";
|
|
|
|
|
headers: Array<Maybe<Header>>;
|
|
|
|
|
@@ -3435,6 +3367,12 @@ export type UploadLinkGetProfileUploadLinkErrors =
|
|
|
|
|
|
|
|
|
|
export type UploadLinkGetUploadLinkErrors = GetUploadLinkErrors | UploadLink;
|
|
|
|
|
|
|
|
|
|
export type UploadPermissionGql = {
|
|
|
|
|
__typename?: "UploadPermissionGQL";
|
|
|
|
|
allowed: Scalars["Boolean"]["output"];
|
|
|
|
|
reason?: Maybe<Scalars["String"]["output"]>;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type UploadSegmentGql = {
|
|
|
|
|
__typename?: "UploadSegmentGQL";
|
|
|
|
|
durationInSeconds?: Maybe<Scalars["Float"]["output"]>;
|
|
|
|
|
@@ -3474,8 +3412,6 @@ export type UserGql = {
|
|
|
|
|
createdAt?: Maybe<Scalars["DateTime"]["output"]>;
|
|
|
|
|
fargoRating?: Maybe<Scalars["Int"]["output"]>;
|
|
|
|
|
firebaseUid?: Maybe<Scalars["String"]["output"]>;
|
|
|
|
|
/** Earliest visible non-deleted profile video timestamp with real shot data. */
|
|
|
|
|
firstActivityAt?: Maybe<Scalars["DateTime"]["output"]>;
|
|
|
|
|
followers?: Maybe<Array<UserGql>>;
|
|
|
|
|
following?: Maybe<Array<UserGql>>;
|
|
|
|
|
id: Scalars["Int"]["output"];
|
|
|
|
|
@@ -3579,7 +3515,6 @@ export type VideoGql = {
|
|
|
|
|
medianRun?: Maybe<Scalars["Float"]["output"]>;
|
|
|
|
|
name?: Maybe<Scalars["String"]["output"]>;
|
|
|
|
|
owner?: Maybe<UserGql>;
|
|
|
|
|
playerSummaries: Array<PlayerSummaryGql>;
|
|
|
|
|
playlist?: Maybe<HlsPlaylistGql>;
|
|
|
|
|
pocketSize?: Maybe<Scalars["Float"]["output"]>;
|
|
|
|
|
private: Scalars["Boolean"]["output"];
|
|
|
|
|
@@ -4176,11 +4111,15 @@ 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;
|
|
|
|
|
@@ -4195,6 +4134,7 @@ export type GetFeedQuery = {
|
|
|
|
|
__typename?: "UploadStreamGQL";
|
|
|
|
|
id: string;
|
|
|
|
|
lastIntendedSegmentBound?: number | null;
|
|
|
|
|
isCompleted: boolean;
|
|
|
|
|
streamSegmentType: StreamSegmentTypeEnum;
|
|
|
|
|
} | null;
|
|
|
|
|
tags: Array<{
|
|
|
|
|
@@ -4202,25 +4142,18 @@ export type GetFeedQuery = {
|
|
|
|
|
name: string;
|
|
|
|
|
tagClasses: Array<{ __typename?: "VideoTagClass"; name: string }>;
|
|
|
|
|
}>;
|
|
|
|
|
playerSummaries: Array<{
|
|
|
|
|
__typename?: "PlayerSummaryGQL";
|
|
|
|
|
clusterId: number;
|
|
|
|
|
userId?: number | null;
|
|
|
|
|
username?: string | null;
|
|
|
|
|
profileImageUri?: string | null;
|
|
|
|
|
representativeFullFrameUrl?: string | null;
|
|
|
|
|
totalShots: number;
|
|
|
|
|
totalShotsMade: number;
|
|
|
|
|
makePercentage: number;
|
|
|
|
|
score?: number | null;
|
|
|
|
|
longestRun: number;
|
|
|
|
|
averageDifficulty?: number | null;
|
|
|
|
|
averageTimeBetweenShots?: number | null;
|
|
|
|
|
}>;
|
|
|
|
|
currentProcessing?: {
|
|
|
|
|
__typename?: "VideoProcessingGQL";
|
|
|
|
|
id: number;
|
|
|
|
|
status: ProcessingStatusEnum;
|
|
|
|
|
errors: Array<{
|
|
|
|
|
__typename?: "VideoProcessingErrorGQL";
|
|
|
|
|
message: string;
|
|
|
|
|
}>;
|
|
|
|
|
statuses: Array<{
|
|
|
|
|
__typename?: "VideoProcessingStatusGQL";
|
|
|
|
|
status: ProcessingStatusEnum;
|
|
|
|
|
}>;
|
|
|
|
|
} | null;
|
|
|
|
|
reactions: Array<{
|
|
|
|
|
__typename?: "ReactionGQL";
|
|
|
|
|
@@ -4280,11 +4213,15 @@ 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;
|
|
|
|
|
@@ -4299,6 +4236,7 @@ export type VideoCardFieldsFragment = {
|
|
|
|
|
__typename?: "UploadStreamGQL";
|
|
|
|
|
id: string;
|
|
|
|
|
lastIntendedSegmentBound?: number | null;
|
|
|
|
|
isCompleted: boolean;
|
|
|
|
|
streamSegmentType: StreamSegmentTypeEnum;
|
|
|
|
|
} | null;
|
|
|
|
|
tags: Array<{
|
|
|
|
|
@@ -4306,25 +4244,15 @@ export type VideoCardFieldsFragment = {
|
|
|
|
|
name: string;
|
|
|
|
|
tagClasses: Array<{ __typename?: "VideoTagClass"; name: string }>;
|
|
|
|
|
}>;
|
|
|
|
|
playerSummaries: Array<{
|
|
|
|
|
__typename?: "PlayerSummaryGQL";
|
|
|
|
|
clusterId: number;
|
|
|
|
|
userId?: number | null;
|
|
|
|
|
username?: string | null;
|
|
|
|
|
profileImageUri?: string | null;
|
|
|
|
|
representativeFullFrameUrl?: string | null;
|
|
|
|
|
totalShots: number;
|
|
|
|
|
totalShotsMade: number;
|
|
|
|
|
makePercentage: number;
|
|
|
|
|
score?: number | null;
|
|
|
|
|
longestRun: number;
|
|
|
|
|
averageDifficulty?: number | null;
|
|
|
|
|
averageTimeBetweenShots?: number | null;
|
|
|
|
|
}>;
|
|
|
|
|
currentProcessing?: {
|
|
|
|
|
__typename?: "VideoProcessingGQL";
|
|
|
|
|
id: number;
|
|
|
|
|
status: ProcessingStatusEnum;
|
|
|
|
|
errors: Array<{ __typename?: "VideoProcessingErrorGQL"; message: string }>;
|
|
|
|
|
statuses: Array<{
|
|
|
|
|
__typename?: "VideoProcessingStatusGQL";
|
|
|
|
|
status: ProcessingStatusEnum;
|
|
|
|
|
}>;
|
|
|
|
|
} | null;
|
|
|
|
|
reactions: Array<{
|
|
|
|
|
__typename?: "ReactionGQL";
|
|
|
|
|
@@ -4398,11 +4326,15 @@ 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;
|
|
|
|
|
@@ -4417,6 +4349,7 @@ export type GetVideoFeedQuery = {
|
|
|
|
|
__typename?: "UploadStreamGQL";
|
|
|
|
|
id: string;
|
|
|
|
|
lastIntendedSegmentBound?: number | null;
|
|
|
|
|
isCompleted: boolean;
|
|
|
|
|
streamSegmentType: StreamSegmentTypeEnum;
|
|
|
|
|
} | null;
|
|
|
|
|
tags: Array<{
|
|
|
|
|
@@ -4424,25 +4357,18 @@ export type GetVideoFeedQuery = {
|
|
|
|
|
name: string;
|
|
|
|
|
tagClasses: Array<{ __typename?: "VideoTagClass"; name: string }>;
|
|
|
|
|
}>;
|
|
|
|
|
playerSummaries: Array<{
|
|
|
|
|
__typename?: "PlayerSummaryGQL";
|
|
|
|
|
clusterId: number;
|
|
|
|
|
userId?: number | null;
|
|
|
|
|
username?: string | null;
|
|
|
|
|
profileImageUri?: string | null;
|
|
|
|
|
representativeFullFrameUrl?: string | null;
|
|
|
|
|
totalShots: number;
|
|
|
|
|
totalShotsMade: number;
|
|
|
|
|
makePercentage: number;
|
|
|
|
|
score?: number | null;
|
|
|
|
|
longestRun: number;
|
|
|
|
|
averageDifficulty?: number | null;
|
|
|
|
|
averageTimeBetweenShots?: number | null;
|
|
|
|
|
}>;
|
|
|
|
|
currentProcessing?: {
|
|
|
|
|
__typename?: "VideoProcessingGQL";
|
|
|
|
|
id: number;
|
|
|
|
|
status: ProcessingStatusEnum;
|
|
|
|
|
errors: Array<{
|
|
|
|
|
__typename?: "VideoProcessingErrorGQL";
|
|
|
|
|
message: string;
|
|
|
|
|
}>;
|
|
|
|
|
statuses: Array<{
|
|
|
|
|
__typename?: "VideoProcessingStatusGQL";
|
|
|
|
|
status: ProcessingStatusEnum;
|
|
|
|
|
}>;
|
|
|
|
|
} | null;
|
|
|
|
|
reactions: Array<{
|
|
|
|
|
__typename?: "ReactionGQL";
|
|
|
|
|
@@ -4837,18 +4763,6 @@ 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;
|
|
|
|
|
}>;
|
|
|
|
|
@@ -4857,7 +4771,6 @@ export type GetAvailableSubscriptionOptionsQuery = {
|
|
|
|
|
__typename?: "Query";
|
|
|
|
|
getAvailableSubscriptionOptions: {
|
|
|
|
|
__typename?: "StripeSubscriptionOptionsGQL";
|
|
|
|
|
trialPeriodDays?: number | null;
|
|
|
|
|
products: Array<{
|
|
|
|
|
__typename?: "StripeProductGQL";
|
|
|
|
|
id: string;
|
|
|
|
|
@@ -5009,121 +4922,6 @@ export type GetRunsWithTimestampsQuery = {
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type PlayerSummaryFieldsFragment = {
|
|
|
|
|
__typename?: "PlayerSummaryGQL";
|
|
|
|
|
clusterId: number;
|
|
|
|
|
userId?: number | null;
|
|
|
|
|
username?: string | null;
|
|
|
|
|
profileImageUri?: string | null;
|
|
|
|
|
representativeFullFrameUrl?: string | null;
|
|
|
|
|
totalShots: number;
|
|
|
|
|
totalShotsMade: number;
|
|
|
|
|
makePercentage: number;
|
|
|
|
|
score?: number | null;
|
|
|
|
|
longestRun: number;
|
|
|
|
|
averageDifficulty?: number | null;
|
|
|
|
|
averageTimeBetweenShots?: number | null;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
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;
|
|
|
|
|
username?: string | null;
|
|
|
|
|
profileImageUri?: string | null;
|
|
|
|
|
confirmed: boolean;
|
|
|
|
|
score?: number | null;
|
|
|
|
|
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;
|
|
|
|
|
username?: string | null;
|
|
|
|
|
profileImageUri?: string | null;
|
|
|
|
|
confirmed: boolean;
|
|
|
|
|
score?: number | null;
|
|
|
|
|
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;
|
|
|
|
|
username?: string | null;
|
|
|
|
|
profileImageUri?: string | null;
|
|
|
|
|
confirmed: boolean;
|
|
|
|
|
score?: number | null;
|
|
|
|
|
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;
|
|
|
|
|
}>;
|
|
|
|
|
@@ -5675,7 +5473,6 @@ export type EditProfileImageUriMutation = {
|
|
|
|
|
fargoRating?: number | null;
|
|
|
|
|
activeVideoId?: number | null;
|
|
|
|
|
createdAt?: any | null;
|
|
|
|
|
firstActivityAt?: any | null;
|
|
|
|
|
updatedAt?: any | null;
|
|
|
|
|
videosPrivateByDefault?: boolean | null;
|
|
|
|
|
agreesToMarketing?: boolean | null;
|
|
|
|
|
@@ -5696,7 +5493,6 @@ export type GetLoggedInUserQuery = {
|
|
|
|
|
fargoRating?: number | null;
|
|
|
|
|
activeVideoId?: number | null;
|
|
|
|
|
createdAt?: any | null;
|
|
|
|
|
firstActivityAt?: any | null;
|
|
|
|
|
updatedAt?: any | null;
|
|
|
|
|
videosPrivateByDefault?: boolean | null;
|
|
|
|
|
agreesToMarketing?: boolean | null;
|
|
|
|
|
@@ -5719,7 +5515,6 @@ export type GetUserQuery = {
|
|
|
|
|
fargoRating?: number | null;
|
|
|
|
|
activeVideoId?: number | null;
|
|
|
|
|
createdAt?: any | null;
|
|
|
|
|
firstActivityAt?: any | null;
|
|
|
|
|
updatedAt?: any | null;
|
|
|
|
|
videosPrivateByDefault?: boolean | null;
|
|
|
|
|
agreesToMarketing?: boolean | null;
|
|
|
|
|
@@ -5898,7 +5693,6 @@ export type UserFragmentFragment = {
|
|
|
|
|
fargoRating?: number | null;
|
|
|
|
|
activeVideoId?: number | null;
|
|
|
|
|
createdAt?: any | null;
|
|
|
|
|
firstActivityAt?: any | null;
|
|
|
|
|
updatedAt?: any | null;
|
|
|
|
|
videosPrivateByDefault?: boolean | null;
|
|
|
|
|
agreesToMarketing?: boolean | null;
|
|
|
|
|
@@ -5922,7 +5716,6 @@ export type GetUsersMatchingQuery = {
|
|
|
|
|
fargoRating?: number | null;
|
|
|
|
|
activeVideoId?: number | null;
|
|
|
|
|
createdAt?: any | null;
|
|
|
|
|
firstActivityAt?: any | null;
|
|
|
|
|
updatedAt?: any | null;
|
|
|
|
|
videosPrivateByDefault?: boolean | null;
|
|
|
|
|
agreesToMarketing?: boolean | null;
|
|
|
|
|
@@ -6065,21 +5858,6 @@ export type GetVideoDetailsQuery = {
|
|
|
|
|
name: string;
|
|
|
|
|
tagClasses: Array<{ __typename?: "VideoTagClass"; name: string }>;
|
|
|
|
|
}>;
|
|
|
|
|
playerSummaries: Array<{
|
|
|
|
|
__typename?: "PlayerSummaryGQL";
|
|
|
|
|
clusterId: number;
|
|
|
|
|
userId?: number | null;
|
|
|
|
|
username?: string | null;
|
|
|
|
|
profileImageUri?: string | null;
|
|
|
|
|
representativeFullFrameUrl?: string | null;
|
|
|
|
|
totalShots: number;
|
|
|
|
|
totalShotsMade: number;
|
|
|
|
|
makePercentage: number;
|
|
|
|
|
score?: number | null;
|
|
|
|
|
longestRun: number;
|
|
|
|
|
averageDifficulty?: number | null;
|
|
|
|
|
averageTimeBetweenShots?: number | null;
|
|
|
|
|
}>;
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
@@ -6737,22 +6515,6 @@ export type GetUploadStreamsWithDetailsQuery = {
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export const PlayerSummaryFieldsFragmentDoc = gql`
|
|
|
|
|
fragment PlayerSummaryFields on PlayerSummaryGQL {
|
|
|
|
|
clusterId
|
|
|
|
|
userId
|
|
|
|
|
username
|
|
|
|
|
profileImageUri
|
|
|
|
|
representativeFullFrameUrl
|
|
|
|
|
totalShots
|
|
|
|
|
totalShotsMade
|
|
|
|
|
makePercentage
|
|
|
|
|
score
|
|
|
|
|
longestRun
|
|
|
|
|
averageDifficulty
|
|
|
|
|
averageTimeBetweenShots
|
|
|
|
|
}
|
|
|
|
|
`;
|
|
|
|
|
export const UserSocialsFieldsFragmentDoc = gql`
|
|
|
|
|
fragment UserSocialsFields on UserGQL {
|
|
|
|
|
id
|
|
|
|
|
@@ -6771,32 +6533,41 @@ 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 {
|
|
|
|
|
name
|
|
|
|
|
tagClasses {
|
|
|
|
|
name
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
playerSummaries {
|
|
|
|
|
...PlayerSummaryFields
|
|
|
|
|
name
|
|
|
|
|
}
|
|
|
|
|
currentProcessing {
|
|
|
|
|
id
|
|
|
|
|
errors {
|
|
|
|
|
message
|
|
|
|
|
}
|
|
|
|
|
status
|
|
|
|
|
statuses {
|
|
|
|
|
status
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
reactions {
|
|
|
|
|
videoId
|
|
|
|
|
@@ -6820,7 +6591,6 @@ export const VideoCardFieldsFragmentDoc = gql`
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
${PlayerSummaryFieldsFragmentDoc}
|
|
|
|
|
${UserSocialsFieldsFragmentDoc}
|
|
|
|
|
`;
|
|
|
|
|
export const MedalFieldsFragmentDoc = gql`
|
|
|
|
|
@@ -6870,35 +6640,6 @@ 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
|
|
|
|
|
username
|
|
|
|
|
profileImageUri
|
|
|
|
|
confirmed
|
|
|
|
|
score
|
|
|
|
|
shots {
|
|
|
|
|
...PlayerClusterShotFields
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
${PlayerClusterShotFieldsFragmentDoc}
|
|
|
|
|
`;
|
|
|
|
|
export const ShotWithAllFeaturesFragmentDoc = gql`
|
|
|
|
|
fragment ShotWithAllFeatures on ShotGQL {
|
|
|
|
|
id
|
|
|
|
|
@@ -6976,7 +6717,6 @@ export const UserFragmentFragmentDoc = gql`
|
|
|
|
|
fargoRating
|
|
|
|
|
activeVideoId
|
|
|
|
|
createdAt
|
|
|
|
|
firstActivityAt
|
|
|
|
|
updatedAt
|
|
|
|
|
videosPrivateByDefault
|
|
|
|
|
agreesToMarketing
|
|
|
|
|
@@ -9926,60 +9666,9 @@ 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
|
|
|
|
|
@@ -10503,132 +10192,6 @@ 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) {
|
|
|
|
|
@@ -12818,12 +12381,8 @@ export const GetVideoDetailsDocument = gql`
|
|
|
|
|
}
|
|
|
|
|
name
|
|
|
|
|
}
|
|
|
|
|
playerSummaries {
|
|
|
|
|
...PlayerSummaryFields
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
${PlayerSummaryFieldsFragmentDoc}
|
|
|
|
|
`;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|