|
|
|
|
@@ -274,7 +274,6 @@ export type CommentGql = {
|
|
|
|
|
id: Scalars["Int"]["output"];
|
|
|
|
|
message: Scalars["String"]["output"];
|
|
|
|
|
replies: Array<CommentGql>;
|
|
|
|
|
replyToCommentId?: Maybe<Scalars["Int"]["output"]>;
|
|
|
|
|
user: UserGql;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
@@ -2555,7 +2554,6 @@ export type Mutation = {
|
|
|
|
|
reactToVideo: Scalars["Boolean"]["output"];
|
|
|
|
|
recalculateChallengeEntry: ChallengeEntry;
|
|
|
|
|
reportContent: Scalars["Boolean"]["output"];
|
|
|
|
|
requestSessionCoachGeneration: SessionCoachGql;
|
|
|
|
|
requestVideoExport: VideoExportJobGql;
|
|
|
|
|
respondToChallengeInvitation: ChallengeInvitation;
|
|
|
|
|
retireTags: Scalars["Boolean"]["output"];
|
|
|
|
|
@@ -2767,10 +2765,6 @@ export type MutationReportContentArgs = {
|
|
|
|
|
videoId: Scalars["Int"]["input"];
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type MutationRequestSessionCoachGenerationArgs = {
|
|
|
|
|
videoId: Scalars["Int"]["input"];
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type MutationRequestVideoExportArgs = {
|
|
|
|
|
input: RequestVideoExportInput;
|
|
|
|
|
};
|
|
|
|
|
@@ -3606,18 +3600,6 @@ export enum SessionCoachCandidateKindEnum {
|
|
|
|
|
UsagePattern = "USAGE_PATTERN",
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type SessionCoachDecisionGql = {
|
|
|
|
|
__typename?: "SessionCoachDecisionGQL";
|
|
|
|
|
body?: Maybe<Scalars["String"]["output"]>;
|
|
|
|
|
drillId?: Maybe<Scalars["String"]["output"]>;
|
|
|
|
|
drillReason?: Maybe<Scalars["String"]["output"]>;
|
|
|
|
|
practiceAttemptCount?: Maybe<Scalars["Int"]["output"]>;
|
|
|
|
|
practiceTarget?: Maybe<Scalars["String"]["output"]>;
|
|
|
|
|
selectedCandidateId?: Maybe<Scalars["ID"]["output"]>;
|
|
|
|
|
suggestedAction?: Maybe<Scalars["String"]["output"]>;
|
|
|
|
|
title?: Maybe<Scalars["String"]["output"]>;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type SessionCoachEvidenceGql = {
|
|
|
|
|
__typename?: "SessionCoachEvidenceGQL";
|
|
|
|
|
attemptCount: Scalars["Int"]["output"];
|
|
|
|
|
@@ -3636,7 +3618,6 @@ export type SessionCoachEvidenceGql = {
|
|
|
|
|
|
|
|
|
|
export type SessionCoachGql = {
|
|
|
|
|
__typename?: "SessionCoachGQL";
|
|
|
|
|
agentGeneration?: Maybe<SessionCoachGenerationGql>;
|
|
|
|
|
analysisVersion: Scalars["String"]["output"];
|
|
|
|
|
analyzedShotCount: Scalars["Int"]["output"];
|
|
|
|
|
candidates: Array<SessionCoachCandidateGql>;
|
|
|
|
|
@@ -3655,44 +3636,6 @@ export type SessionCoachGql = {
|
|
|
|
|
videoId: Scalars["Int"]["output"];
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type SessionCoachGenerationDiagnosticsGql = {
|
|
|
|
|
__typename?: "SessionCoachGenerationDiagnosticsGQL";
|
|
|
|
|
abstentionReason?: Maybe<Scalars["String"]["output"]>;
|
|
|
|
|
analysisVersion: Scalars["String"]["output"];
|
|
|
|
|
attemptCount: Scalars["Int"]["output"];
|
|
|
|
|
cachedInputTokens?: Maybe<Scalars["Int"]["output"]>;
|
|
|
|
|
enqueueCount: Scalars["Int"]["output"];
|
|
|
|
|
failureCode?: Maybe<Scalars["String"]["output"]>;
|
|
|
|
|
inputHash: Scalars["String"]["output"];
|
|
|
|
|
inputTokens?: Maybe<Scalars["Int"]["output"]>;
|
|
|
|
|
lastEnqueuedAt?: Maybe<Scalars["DateTime"]["output"]>;
|
|
|
|
|
latencyMs?: Maybe<Scalars["Int"]["output"]>;
|
|
|
|
|
maxAttempts: Scalars["Int"]["output"];
|
|
|
|
|
modelName: Scalars["String"]["output"];
|
|
|
|
|
outputTokens?: Maybe<Scalars["Int"]["output"]>;
|
|
|
|
|
promptVersion: Scalars["String"]["output"];
|
|
|
|
|
providerKey: Scalars["String"]["output"];
|
|
|
|
|
startedAt?: Maybe<Scalars["DateTime"]["output"]>;
|
|
|
|
|
updatedAt: Scalars["DateTime"]["output"];
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type SessionCoachGenerationGql = {
|
|
|
|
|
__typename?: "SessionCoachGenerationGQL";
|
|
|
|
|
completedAt?: Maybe<Scalars["DateTime"]["output"]>;
|
|
|
|
|
createdAt: Scalars["DateTime"]["output"];
|
|
|
|
|
decision?: Maybe<SessionCoachDecisionGql>;
|
|
|
|
|
diagnostics?: Maybe<SessionCoachGenerationDiagnosticsGql>;
|
|
|
|
|
id: Scalars["ID"]["output"];
|
|
|
|
|
state: SessionCoachGenerationStateEnum;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export enum SessionCoachGenerationStateEnum {
|
|
|
|
|
Failed = "FAILED",
|
|
|
|
|
Queued = "QUEUED",
|
|
|
|
|
Ready = "READY",
|
|
|
|
|
Running = "RUNNING",
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export enum SessionCoachIneligibilityReasonEnum {
|
|
|
|
|
Multiplayer = "MULTIPLAYER",
|
|
|
|
|
}
|
|
|
|
|
@@ -4316,7 +4259,7 @@ export type VideoGql = {
|
|
|
|
|
currentProcessing?: Maybe<VideoProcessingGql>;
|
|
|
|
|
elapsedTime?: Maybe<Scalars["Float"]["output"]>;
|
|
|
|
|
endTime?: Maybe<Scalars["DateTime"]["output"]>;
|
|
|
|
|
framesPerSecond?: Maybe<Scalars["Float"]["output"]>;
|
|
|
|
|
framesPerSecond: Scalars["Float"]["output"];
|
|
|
|
|
homographyHistory: Array<HomographyInfoGql>;
|
|
|
|
|
id: Scalars["Int"]["output"];
|
|
|
|
|
makePercentage: Scalars["Float"]["output"];
|
|
|
|
|
@@ -5009,7 +4952,6 @@ export type GetFeedQuery = {
|
|
|
|
|
__typename?: "CommentGQL";
|
|
|
|
|
id: number;
|
|
|
|
|
message: string;
|
|
|
|
|
replyToCommentId?: number | null;
|
|
|
|
|
user: {
|
|
|
|
|
__typename?: "UserGQL";
|
|
|
|
|
id: number;
|
|
|
|
|
@@ -5125,7 +5067,6 @@ export type VideoCardFieldsFragment = {
|
|
|
|
|
__typename?: "CommentGQL";
|
|
|
|
|
id: number;
|
|
|
|
|
message: string;
|
|
|
|
|
replyToCommentId?: number | null;
|
|
|
|
|
user: {
|
|
|
|
|
__typename?: "UserGQL";
|
|
|
|
|
id: number;
|
|
|
|
|
@@ -5274,7 +5215,6 @@ export type GetVideoFeedQuery = {
|
|
|
|
|
__typename?: "CommentGQL";
|
|
|
|
|
id: number;
|
|
|
|
|
message: string;
|
|
|
|
|
replyToCommentId?: number | null;
|
|
|
|
|
user: {
|
|
|
|
|
__typename?: "UserGQL";
|
|
|
|
|
id: number;
|
|
|
|
|
@@ -5414,32 +5354,6 @@ export type GetMyDrillRunsQuery = {
|
|
|
|
|
}>;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type GetRecordedStreamsQueryVariables = Exact<{
|
|
|
|
|
limit?: Scalars["Int"]["input"];
|
|
|
|
|
}>;
|
|
|
|
|
|
|
|
|
|
export type GetRecordedStreamsQuery = {
|
|
|
|
|
__typename?: "Query";
|
|
|
|
|
getFeedVideos: {
|
|
|
|
|
__typename?: "VideoHistoryGQL";
|
|
|
|
|
videos: Array<{
|
|
|
|
|
__typename?: "VideoGQL";
|
|
|
|
|
id: number;
|
|
|
|
|
name?: string | null;
|
|
|
|
|
createdAt?: any | null;
|
|
|
|
|
screenshotUri?: string | null;
|
|
|
|
|
framesPerSecond?: number | null;
|
|
|
|
|
totalShots: number;
|
|
|
|
|
owner?: {
|
|
|
|
|
__typename?: "UserGQL";
|
|
|
|
|
id: number;
|
|
|
|
|
username: string;
|
|
|
|
|
profileImageUri?: string | null;
|
|
|
|
|
} | null;
|
|
|
|
|
}>;
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type GetLiveStreamsQueryVariables = Exact<{
|
|
|
|
|
limit?: Scalars["Int"]["input"];
|
|
|
|
|
}>;
|
|
|
|
|
@@ -6818,12 +6732,11 @@ export type ReactToVideoMutation = {
|
|
|
|
|
reactToVideo: boolean;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type GetShotLabVideosQueryVariables = Exact<{
|
|
|
|
|
userId: Scalars["Int"]["input"];
|
|
|
|
|
export type GetRecordedStreamsQueryVariables = Exact<{
|
|
|
|
|
limit?: Scalars["Int"]["input"];
|
|
|
|
|
}>;
|
|
|
|
|
|
|
|
|
|
export type GetShotLabVideosQuery = {
|
|
|
|
|
export type GetRecordedStreamsQuery = {
|
|
|
|
|
__typename?: "Query";
|
|
|
|
|
getFeedVideos: {
|
|
|
|
|
__typename?: "VideoHistoryGQL";
|
|
|
|
|
@@ -6833,7 +6746,7 @@ export type GetShotLabVideosQuery = {
|
|
|
|
|
name?: string | null;
|
|
|
|
|
createdAt?: any | null;
|
|
|
|
|
screenshotUri?: string | null;
|
|
|
|
|
framesPerSecond?: number | null;
|
|
|
|
|
framesPerSecond: number;
|
|
|
|
|
totalShots: number;
|
|
|
|
|
owner?: {
|
|
|
|
|
__typename?: "UserGQL";
|
|
|
|
|
@@ -6841,12 +6754,6 @@ export type GetShotLabVideosQuery = {
|
|
|
|
|
username: string;
|
|
|
|
|
profileImageUri?: string | null;
|
|
|
|
|
} | null;
|
|
|
|
|
stream?: {
|
|
|
|
|
__typename?: "UploadStreamGQL";
|
|
|
|
|
id: string;
|
|
|
|
|
isCompleted: boolean;
|
|
|
|
|
lastSegmentUploadedAt?: any | null;
|
|
|
|
|
} | null;
|
|
|
|
|
}>;
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
@@ -6870,13 +6777,29 @@ export type GetRecordedStreamShotsQuery = {
|
|
|
|
|
__typename?: "SerializedShotPathsGQL";
|
|
|
|
|
b64EncodedBuffer?: string | null;
|
|
|
|
|
} | null;
|
|
|
|
|
cueObjectFeatures?: {
|
|
|
|
|
__typename?: "CueObjectFeaturesGQL";
|
|
|
|
|
cueObjectDistance?: number | null;
|
|
|
|
|
cueObjectAngle?: number | null;
|
|
|
|
|
cueBallSpeed?: number | null;
|
|
|
|
|
shotDirection?: ShotDirectionEnum | null;
|
|
|
|
|
spinType?: SpinTypeEnum | null;
|
|
|
|
|
} | null;
|
|
|
|
|
pocketingIntentionFeatures?: {
|
|
|
|
|
__typename?: "PocketingIntentionFeaturesGQL";
|
|
|
|
|
make?: boolean | null;
|
|
|
|
|
targetPocketDistance?: number | null;
|
|
|
|
|
targetPocketAngle?: number | null;
|
|
|
|
|
targetPocketAngleDirection?: ShotDirectionEnum | null;
|
|
|
|
|
marginOfErrorInDegrees?: number | null;
|
|
|
|
|
intendedPocketType?: PocketEnum | null;
|
|
|
|
|
difficulty?: number | null;
|
|
|
|
|
} | null;
|
|
|
|
|
pocketingIntentionInfo?: {
|
|
|
|
|
__typename?: "PocketingIntentionInfoGQL";
|
|
|
|
|
ballId: number;
|
|
|
|
|
pocketId: PocketIdentifier;
|
|
|
|
|
pathMetadataIndex: number;
|
|
|
|
|
} | null;
|
|
|
|
|
}>;
|
|
|
|
|
};
|
|
|
|
|
@@ -7034,94 +6957,6 @@ export type GetSessionCoachQuery = {
|
|
|
|
|
rankReason: string;
|
|
|
|
|
};
|
|
|
|
|
}>;
|
|
|
|
|
agentGeneration?: {
|
|
|
|
|
__typename?: "SessionCoachGenerationGQL";
|
|
|
|
|
id: string;
|
|
|
|
|
state: SessionCoachGenerationStateEnum;
|
|
|
|
|
createdAt: any;
|
|
|
|
|
completedAt?: any | null;
|
|
|
|
|
decision?: {
|
|
|
|
|
__typename?: "SessionCoachDecisionGQL";
|
|
|
|
|
selectedCandidateId?: string | null;
|
|
|
|
|
title?: string | null;
|
|
|
|
|
body?: string | null;
|
|
|
|
|
suggestedAction?: string | null;
|
|
|
|
|
drillId?: string | null;
|
|
|
|
|
drillReason?: string | null;
|
|
|
|
|
practiceAttemptCount?: number | null;
|
|
|
|
|
practiceTarget?: string | null;
|
|
|
|
|
} | null;
|
|
|
|
|
diagnostics?: {
|
|
|
|
|
__typename?: "SessionCoachGenerationDiagnosticsGQL";
|
|
|
|
|
analysisVersion: string;
|
|
|
|
|
promptVersion: string;
|
|
|
|
|
providerKey: string;
|
|
|
|
|
modelName: string;
|
|
|
|
|
inputHash: string;
|
|
|
|
|
attemptCount: number;
|
|
|
|
|
maxAttempts: number;
|
|
|
|
|
enqueueCount: number;
|
|
|
|
|
latencyMs?: number | null;
|
|
|
|
|
inputTokens?: number | null;
|
|
|
|
|
cachedInputTokens?: number | null;
|
|
|
|
|
outputTokens?: number | null;
|
|
|
|
|
failureCode?: string | null;
|
|
|
|
|
updatedAt: any;
|
|
|
|
|
startedAt?: any | null;
|
|
|
|
|
lastEnqueuedAt?: any | null;
|
|
|
|
|
abstentionReason?: string | null;
|
|
|
|
|
} | null;
|
|
|
|
|
} | null;
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type RequestSessionCoachGenerationMutationVariables = Exact<{
|
|
|
|
|
videoId: Scalars["Int"]["input"];
|
|
|
|
|
}>;
|
|
|
|
|
|
|
|
|
|
export type RequestSessionCoachGenerationMutation = {
|
|
|
|
|
__typename?: "Mutation";
|
|
|
|
|
requestSessionCoachGeneration: {
|
|
|
|
|
__typename?: "SessionCoachGQL";
|
|
|
|
|
state: SessionCoachStateEnum;
|
|
|
|
|
agentGeneration?: {
|
|
|
|
|
__typename?: "SessionCoachGenerationGQL";
|
|
|
|
|
id: string;
|
|
|
|
|
state: SessionCoachGenerationStateEnum;
|
|
|
|
|
createdAt: any;
|
|
|
|
|
completedAt?: any | null;
|
|
|
|
|
decision?: {
|
|
|
|
|
__typename?: "SessionCoachDecisionGQL";
|
|
|
|
|
selectedCandidateId?: string | null;
|
|
|
|
|
title?: string | null;
|
|
|
|
|
body?: string | null;
|
|
|
|
|
suggestedAction?: string | null;
|
|
|
|
|
drillId?: string | null;
|
|
|
|
|
drillReason?: string | null;
|
|
|
|
|
practiceAttemptCount?: number | null;
|
|
|
|
|
practiceTarget?: string | null;
|
|
|
|
|
} | null;
|
|
|
|
|
diagnostics?: {
|
|
|
|
|
__typename?: "SessionCoachGenerationDiagnosticsGQL";
|
|
|
|
|
analysisVersion: string;
|
|
|
|
|
promptVersion: string;
|
|
|
|
|
providerKey: string;
|
|
|
|
|
modelName: string;
|
|
|
|
|
inputHash: string;
|
|
|
|
|
attemptCount: number;
|
|
|
|
|
maxAttempts: number;
|
|
|
|
|
enqueueCount: number;
|
|
|
|
|
latencyMs?: number | null;
|
|
|
|
|
inputTokens?: number | null;
|
|
|
|
|
cachedInputTokens?: number | null;
|
|
|
|
|
outputTokens?: number | null;
|
|
|
|
|
failureCode?: string | null;
|
|
|
|
|
updatedAt: any;
|
|
|
|
|
startedAt?: any | null;
|
|
|
|
|
lastEnqueuedAt?: any | null;
|
|
|
|
|
abstentionReason?: string | null;
|
|
|
|
|
} | null;
|
|
|
|
|
} | null;
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
@@ -7154,45 +6989,6 @@ export type SessionCoachCandidateFieldsFragment = {
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type SessionCoachGenerationFieldsFragment = {
|
|
|
|
|
__typename?: "SessionCoachGenerationGQL";
|
|
|
|
|
id: string;
|
|
|
|
|
state: SessionCoachGenerationStateEnum;
|
|
|
|
|
createdAt: any;
|
|
|
|
|
completedAt?: any | null;
|
|
|
|
|
decision?: {
|
|
|
|
|
__typename?: "SessionCoachDecisionGQL";
|
|
|
|
|
selectedCandidateId?: string | null;
|
|
|
|
|
title?: string | null;
|
|
|
|
|
body?: string | null;
|
|
|
|
|
suggestedAction?: string | null;
|
|
|
|
|
drillId?: string | null;
|
|
|
|
|
drillReason?: string | null;
|
|
|
|
|
practiceAttemptCount?: number | null;
|
|
|
|
|
practiceTarget?: string | null;
|
|
|
|
|
} | null;
|
|
|
|
|
diagnostics?: {
|
|
|
|
|
__typename?: "SessionCoachGenerationDiagnosticsGQL";
|
|
|
|
|
analysisVersion: string;
|
|
|
|
|
promptVersion: string;
|
|
|
|
|
providerKey: string;
|
|
|
|
|
modelName: string;
|
|
|
|
|
inputHash: string;
|
|
|
|
|
attemptCount: number;
|
|
|
|
|
maxAttempts: number;
|
|
|
|
|
enqueueCount: number;
|
|
|
|
|
latencyMs?: number | null;
|
|
|
|
|
inputTokens?: number | null;
|
|
|
|
|
cachedInputTokens?: number | null;
|
|
|
|
|
outputTokens?: number | null;
|
|
|
|
|
failureCode?: string | null;
|
|
|
|
|
updatedAt: any;
|
|
|
|
|
startedAt?: any | null;
|
|
|
|
|
lastEnqueuedAt?: any | null;
|
|
|
|
|
abstentionReason?: string | null;
|
|
|
|
|
} | null;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type PlayerSummaryFieldsFragment = {
|
|
|
|
|
__typename?: "PlayerSummaryGQL";
|
|
|
|
|
clusterId: number;
|
|
|
|
|
@@ -8581,7 +8377,6 @@ export type GetVideoSocialDetailsByIdQuery = {
|
|
|
|
|
__typename?: "CommentGQL";
|
|
|
|
|
id: number;
|
|
|
|
|
message: string;
|
|
|
|
|
replyToCommentId?: number | null;
|
|
|
|
|
user: {
|
|
|
|
|
__typename?: "UserGQL";
|
|
|
|
|
id: number;
|
|
|
|
|
@@ -8689,7 +8484,6 @@ export type GetVideoCardQuery = {
|
|
|
|
|
__typename?: "CommentGQL";
|
|
|
|
|
id: number;
|
|
|
|
|
message: string;
|
|
|
|
|
replyToCommentId?: number | null;
|
|
|
|
|
user: {
|
|
|
|
|
__typename?: "UserGQL";
|
|
|
|
|
id: number;
|
|
|
|
|
@@ -8711,7 +8505,7 @@ export type GetVideosQuery = {
|
|
|
|
|
getVideos: Array<{
|
|
|
|
|
__typename?: "VideoGQL";
|
|
|
|
|
id: number;
|
|
|
|
|
framesPerSecond?: number | null;
|
|
|
|
|
framesPerSecond: number;
|
|
|
|
|
stream?: {
|
|
|
|
|
__typename?: "UploadStreamGQL";
|
|
|
|
|
id: string;
|
|
|
|
|
@@ -8735,7 +8529,7 @@ export type GetVideosQuery = {
|
|
|
|
|
export type VideoStreamMetadataFragment = {
|
|
|
|
|
__typename?: "VideoGQL";
|
|
|
|
|
id: number;
|
|
|
|
|
framesPerSecond?: number | null;
|
|
|
|
|
framesPerSecond: number;
|
|
|
|
|
stream?: {
|
|
|
|
|
__typename?: "UploadStreamGQL";
|
|
|
|
|
id: string;
|
|
|
|
|
@@ -8764,7 +8558,7 @@ export type GetVideoForShotTimeQuery = {
|
|
|
|
|
getVideo: {
|
|
|
|
|
__typename?: "VideoGQL";
|
|
|
|
|
id: number;
|
|
|
|
|
framesPerSecond?: number | null;
|
|
|
|
|
framesPerSecond: number;
|
|
|
|
|
stream?: {
|
|
|
|
|
__typename?: "UploadStreamGQL";
|
|
|
|
|
id: string;
|
|
|
|
|
@@ -8935,7 +8729,7 @@ export type PlaylistWithSegmentStartTimesFragment = {
|
|
|
|
|
export type VideoDurationDataFragment = {
|
|
|
|
|
__typename?: "VideoGQL";
|
|
|
|
|
id: number;
|
|
|
|
|
framesPerSecond?: number | null;
|
|
|
|
|
framesPerSecond: number;
|
|
|
|
|
playlist?: {
|
|
|
|
|
__typename?: "HLSPlaylistGQL";
|
|
|
|
|
videoId: number;
|
|
|
|
|
@@ -8972,7 +8766,7 @@ export type GetVideoForClipTimesQuery = {
|
|
|
|
|
getVideo: {
|
|
|
|
|
__typename?: "VideoGQL";
|
|
|
|
|
id: number;
|
|
|
|
|
framesPerSecond?: number | null;
|
|
|
|
|
framesPerSecond: number;
|
|
|
|
|
playlist?: {
|
|
|
|
|
__typename?: "HLSPlaylistGQL";
|
|
|
|
|
videoId: number;
|
|
|
|
|
@@ -9267,7 +9061,6 @@ export type GetUploadLinkMutation = {
|
|
|
|
|
};
|
|
|
|
|
stream?: {
|
|
|
|
|
__typename?: "UploadStreamGQL";
|
|
|
|
|
id: string;
|
|
|
|
|
uploadCompletionCursor: number;
|
|
|
|
|
} | null;
|
|
|
|
|
};
|
|
|
|
|
@@ -9366,7 +9159,6 @@ export type UploadStreamWithDetailsFragment = {
|
|
|
|
|
startTime?: any | null;
|
|
|
|
|
stream?: {
|
|
|
|
|
__typename?: "UploadStreamGQL";
|
|
|
|
|
id: string;
|
|
|
|
|
isCompleted: boolean;
|
|
|
|
|
lastIntendedSegmentBound?: number | null;
|
|
|
|
|
uploadCompletionCursor: number;
|
|
|
|
|
@@ -9391,7 +9183,6 @@ export type GetUploadStreamsWithDetailsQuery = {
|
|
|
|
|
startTime?: any | null;
|
|
|
|
|
stream?: {
|
|
|
|
|
__typename?: "UploadStreamGQL";
|
|
|
|
|
id: string;
|
|
|
|
|
isCompleted: boolean;
|
|
|
|
|
lastIntendedSegmentBound?: number | null;
|
|
|
|
|
uploadCompletionCursor: number;
|
|
|
|
|
@@ -9493,7 +9284,6 @@ export const VideoCardFieldsFragmentDoc = gql`
|
|
|
|
|
replies {
|
|
|
|
|
id
|
|
|
|
|
message
|
|
|
|
|
replyToCommentId
|
|
|
|
|
user {
|
|
|
|
|
...UserSocialsFields
|
|
|
|
|
}
|
|
|
|
|
@@ -9673,43 +9463,6 @@ export const SessionCoachCandidateFieldsFragmentDoc = gql`
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
`;
|
|
|
|
|
export const SessionCoachGenerationFieldsFragmentDoc = gql`
|
|
|
|
|
fragment SessionCoachGenerationFields on SessionCoachGenerationGQL {
|
|
|
|
|
id
|
|
|
|
|
state
|
|
|
|
|
createdAt
|
|
|
|
|
completedAt
|
|
|
|
|
decision {
|
|
|
|
|
selectedCandidateId
|
|
|
|
|
title
|
|
|
|
|
body
|
|
|
|
|
suggestedAction
|
|
|
|
|
drillId
|
|
|
|
|
drillReason
|
|
|
|
|
practiceAttemptCount
|
|
|
|
|
practiceTarget
|
|
|
|
|
}
|
|
|
|
|
diagnostics {
|
|
|
|
|
analysisVersion
|
|
|
|
|
promptVersion
|
|
|
|
|
providerKey
|
|
|
|
|
modelName
|
|
|
|
|
inputHash
|
|
|
|
|
attemptCount
|
|
|
|
|
maxAttempts
|
|
|
|
|
enqueueCount
|
|
|
|
|
latencyMs
|
|
|
|
|
inputTokens
|
|
|
|
|
cachedInputTokens
|
|
|
|
|
outputTokens
|
|
|
|
|
failureCode
|
|
|
|
|
updatedAt
|
|
|
|
|
startedAt
|
|
|
|
|
lastEnqueuedAt
|
|
|
|
|
abstentionReason
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
`;
|
|
|
|
|
export const PlayerClusterShotFieldsFragmentDoc = gql`
|
|
|
|
|
fragment PlayerClusterShotFields on PlayerClusterShotGQL {
|
|
|
|
|
shotId
|
|
|
|
|
@@ -9969,7 +9722,6 @@ export const UploadStreamWithDetailsFragmentDoc = gql`
|
|
|
|
|
name
|
|
|
|
|
startTime
|
|
|
|
|
stream {
|
|
|
|
|
id
|
|
|
|
|
isCompleted
|
|
|
|
|
lastIntendedSegmentBound
|
|
|
|
|
uploadCompletionCursor
|
|
|
|
|
@@ -12448,96 +12200,6 @@ export type GetMyDrillRunsQueryResult = Apollo.QueryResult<
|
|
|
|
|
GetMyDrillRunsQuery,
|
|
|
|
|
GetMyDrillRunsQueryVariables
|
|
|
|
|
>;
|
|
|
|
|
export const GetRecordedStreamsDocument = gql`
|
|
|
|
|
query GetRecordedStreams($limit: Int! = 25) {
|
|
|
|
|
getFeedVideos(
|
|
|
|
|
limit: $limit
|
|
|
|
|
filters: { isStreamCompleted: true, excludeVideosWithNoShots: true }
|
|
|
|
|
includePrivate: MINE
|
|
|
|
|
feedInput: { allUsers: true }
|
|
|
|
|
) {
|
|
|
|
|
videos {
|
|
|
|
|
id
|
|
|
|
|
name
|
|
|
|
|
createdAt
|
|
|
|
|
screenshotUri
|
|
|
|
|
framesPerSecond
|
|
|
|
|
totalShots
|
|
|
|
|
owner {
|
|
|
|
|
id
|
|
|
|
|
username
|
|
|
|
|
profileImageUri
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
`;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* __useGetRecordedStreamsQuery__
|
|
|
|
|
*
|
|
|
|
|
* To run a query within a React component, call `useGetRecordedStreamsQuery` and pass it any options that fit your needs.
|
|
|
|
|
* When your component renders, `useGetRecordedStreamsQuery` 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 } = useGetRecordedStreamsQuery({
|
|
|
|
|
* variables: {
|
|
|
|
|
* limit: // value for 'limit'
|
|
|
|
|
* },
|
|
|
|
|
* });
|
|
|
|
|
*/
|
|
|
|
|
export function useGetRecordedStreamsQuery(
|
|
|
|
|
baseOptions?: Apollo.QueryHookOptions<
|
|
|
|
|
GetRecordedStreamsQuery,
|
|
|
|
|
GetRecordedStreamsQueryVariables
|
|
|
|
|
>,
|
|
|
|
|
) {
|
|
|
|
|
const options = { ...defaultOptions, ...baseOptions };
|
|
|
|
|
return Apollo.useQuery<
|
|
|
|
|
GetRecordedStreamsQuery,
|
|
|
|
|
GetRecordedStreamsQueryVariables
|
|
|
|
|
>(GetRecordedStreamsDocument, options);
|
|
|
|
|
}
|
|
|
|
|
export function useGetRecordedStreamsLazyQuery(
|
|
|
|
|
baseOptions?: Apollo.LazyQueryHookOptions<
|
|
|
|
|
GetRecordedStreamsQuery,
|
|
|
|
|
GetRecordedStreamsQueryVariables
|
|
|
|
|
>,
|
|
|
|
|
) {
|
|
|
|
|
const options = { ...defaultOptions, ...baseOptions };
|
|
|
|
|
return Apollo.useLazyQuery<
|
|
|
|
|
GetRecordedStreamsQuery,
|
|
|
|
|
GetRecordedStreamsQueryVariables
|
|
|
|
|
>(GetRecordedStreamsDocument, options);
|
|
|
|
|
}
|
|
|
|
|
export function useGetRecordedStreamsSuspenseQuery(
|
|
|
|
|
baseOptions?: Apollo.SuspenseQueryHookOptions<
|
|
|
|
|
GetRecordedStreamsQuery,
|
|
|
|
|
GetRecordedStreamsQueryVariables
|
|
|
|
|
>,
|
|
|
|
|
) {
|
|
|
|
|
const options = { ...defaultOptions, ...baseOptions };
|
|
|
|
|
return Apollo.useSuspenseQuery<
|
|
|
|
|
GetRecordedStreamsQuery,
|
|
|
|
|
GetRecordedStreamsQueryVariables
|
|
|
|
|
>(GetRecordedStreamsDocument, options);
|
|
|
|
|
}
|
|
|
|
|
export type GetRecordedStreamsQueryHookResult = ReturnType<
|
|
|
|
|
typeof useGetRecordedStreamsQuery
|
|
|
|
|
>;
|
|
|
|
|
export type GetRecordedStreamsLazyQueryHookResult = ReturnType<
|
|
|
|
|
typeof useGetRecordedStreamsLazyQuery
|
|
|
|
|
>;
|
|
|
|
|
export type GetRecordedStreamsSuspenseQueryHookResult = ReturnType<
|
|
|
|
|
typeof useGetRecordedStreamsSuspenseQuery
|
|
|
|
|
>;
|
|
|
|
|
export type GetRecordedStreamsQueryResult = Apollo.QueryResult<
|
|
|
|
|
GetRecordedStreamsQuery,
|
|
|
|
|
GetRecordedStreamsQueryVariables
|
|
|
|
|
>;
|
|
|
|
|
export const GetLiveStreamsDocument = gql`
|
|
|
|
|
query GetLiveStreams($limit: Int! = 25) {
|
|
|
|
|
getFeedVideos(
|
|
|
|
|
@@ -14935,13 +14597,13 @@ export type ReactToVideoMutationOptions = Apollo.BaseMutationOptions<
|
|
|
|
|
ReactToVideoMutation,
|
|
|
|
|
ReactToVideoMutationVariables
|
|
|
|
|
>;
|
|
|
|
|
export const GetShotLabVideosDocument = gql`
|
|
|
|
|
query GetShotLabVideos($userId: Int!, $limit: Int! = 25) {
|
|
|
|
|
export const GetRecordedStreamsDocument = gql`
|
|
|
|
|
query GetRecordedStreams($limit: Int! = 25) {
|
|
|
|
|
getFeedVideos(
|
|
|
|
|
limit: $limit
|
|
|
|
|
includeCallersVideos: false
|
|
|
|
|
filters: { isStreamCompleted: true, excludeVideosWithNoShots: true }
|
|
|
|
|
includePrivate: MINE
|
|
|
|
|
feedInput: { userId: $userId }
|
|
|
|
|
feedInput: { allUsers: true }
|
|
|
|
|
) {
|
|
|
|
|
videos {
|
|
|
|
|
id
|
|
|
|
|
@@ -14955,81 +14617,75 @@ export const GetShotLabVideosDocument = gql`
|
|
|
|
|
username
|
|
|
|
|
profileImageUri
|
|
|
|
|
}
|
|
|
|
|
stream {
|
|
|
|
|
id
|
|
|
|
|
isCompleted
|
|
|
|
|
lastSegmentUploadedAt
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
`;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* __useGetShotLabVideosQuery__
|
|
|
|
|
* __useGetRecordedStreamsQuery__
|
|
|
|
|
*
|
|
|
|
|
* To run a query within a React component, call `useGetShotLabVideosQuery` and pass it any options that fit your needs.
|
|
|
|
|
* When your component renders, `useGetShotLabVideosQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
|
|
|
* To run a query within a React component, call `useGetRecordedStreamsQuery` and pass it any options that fit your needs.
|
|
|
|
|
* When your component renders, `useGetRecordedStreamsQuery` 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 } = useGetShotLabVideosQuery({
|
|
|
|
|
* const { data, loading, error } = useGetRecordedStreamsQuery({
|
|
|
|
|
* variables: {
|
|
|
|
|
* userId: // value for 'userId'
|
|
|
|
|
* limit: // value for 'limit'
|
|
|
|
|
* },
|
|
|
|
|
* });
|
|
|
|
|
*/
|
|
|
|
|
export function useGetShotLabVideosQuery(
|
|
|
|
|
baseOptions: Apollo.QueryHookOptions<
|
|
|
|
|
GetShotLabVideosQuery,
|
|
|
|
|
GetShotLabVideosQueryVariables
|
|
|
|
|
export function useGetRecordedStreamsQuery(
|
|
|
|
|
baseOptions?: Apollo.QueryHookOptions<
|
|
|
|
|
GetRecordedStreamsQuery,
|
|
|
|
|
GetRecordedStreamsQueryVariables
|
|
|
|
|
>,
|
|
|
|
|
) {
|
|
|
|
|
const options = { ...defaultOptions, ...baseOptions };
|
|
|
|
|
return Apollo.useQuery<GetShotLabVideosQuery, GetShotLabVideosQueryVariables>(
|
|
|
|
|
GetShotLabVideosDocument,
|
|
|
|
|
options,
|
|
|
|
|
);
|
|
|
|
|
return Apollo.useQuery<
|
|
|
|
|
GetRecordedStreamsQuery,
|
|
|
|
|
GetRecordedStreamsQueryVariables
|
|
|
|
|
>(GetRecordedStreamsDocument, options);
|
|
|
|
|
}
|
|
|
|
|
export function useGetShotLabVideosLazyQuery(
|
|
|
|
|
export function useGetRecordedStreamsLazyQuery(
|
|
|
|
|
baseOptions?: Apollo.LazyQueryHookOptions<
|
|
|
|
|
GetShotLabVideosQuery,
|
|
|
|
|
GetShotLabVideosQueryVariables
|
|
|
|
|
GetRecordedStreamsQuery,
|
|
|
|
|
GetRecordedStreamsQueryVariables
|
|
|
|
|
>,
|
|
|
|
|
) {
|
|
|
|
|
const options = { ...defaultOptions, ...baseOptions };
|
|
|
|
|
return Apollo.useLazyQuery<
|
|
|
|
|
GetShotLabVideosQuery,
|
|
|
|
|
GetShotLabVideosQueryVariables
|
|
|
|
|
>(GetShotLabVideosDocument, options);
|
|
|
|
|
GetRecordedStreamsQuery,
|
|
|
|
|
GetRecordedStreamsQueryVariables
|
|
|
|
|
>(GetRecordedStreamsDocument, options);
|
|
|
|
|
}
|
|
|
|
|
export function useGetShotLabVideosSuspenseQuery(
|
|
|
|
|
export function useGetRecordedStreamsSuspenseQuery(
|
|
|
|
|
baseOptions?: Apollo.SuspenseQueryHookOptions<
|
|
|
|
|
GetShotLabVideosQuery,
|
|
|
|
|
GetShotLabVideosQueryVariables
|
|
|
|
|
GetRecordedStreamsQuery,
|
|
|
|
|
GetRecordedStreamsQueryVariables
|
|
|
|
|
>,
|
|
|
|
|
) {
|
|
|
|
|
const options = { ...defaultOptions, ...baseOptions };
|
|
|
|
|
return Apollo.useSuspenseQuery<
|
|
|
|
|
GetShotLabVideosQuery,
|
|
|
|
|
GetShotLabVideosQueryVariables
|
|
|
|
|
>(GetShotLabVideosDocument, options);
|
|
|
|
|
GetRecordedStreamsQuery,
|
|
|
|
|
GetRecordedStreamsQueryVariables
|
|
|
|
|
>(GetRecordedStreamsDocument, options);
|
|
|
|
|
}
|
|
|
|
|
export type GetShotLabVideosQueryHookResult = ReturnType<
|
|
|
|
|
typeof useGetShotLabVideosQuery
|
|
|
|
|
export type GetRecordedStreamsQueryHookResult = ReturnType<
|
|
|
|
|
typeof useGetRecordedStreamsQuery
|
|
|
|
|
>;
|
|
|
|
|
export type GetShotLabVideosLazyQueryHookResult = ReturnType<
|
|
|
|
|
typeof useGetShotLabVideosLazyQuery
|
|
|
|
|
export type GetRecordedStreamsLazyQueryHookResult = ReturnType<
|
|
|
|
|
typeof useGetRecordedStreamsLazyQuery
|
|
|
|
|
>;
|
|
|
|
|
export type GetShotLabVideosSuspenseQueryHookResult = ReturnType<
|
|
|
|
|
typeof useGetShotLabVideosSuspenseQuery
|
|
|
|
|
export type GetRecordedStreamsSuspenseQueryHookResult = ReturnType<
|
|
|
|
|
typeof useGetRecordedStreamsSuspenseQuery
|
|
|
|
|
>;
|
|
|
|
|
export type GetShotLabVideosQueryResult = Apollo.QueryResult<
|
|
|
|
|
GetShotLabVideosQuery,
|
|
|
|
|
GetShotLabVideosQueryVariables
|
|
|
|
|
export type GetRecordedStreamsQueryResult = Apollo.QueryResult<
|
|
|
|
|
GetRecordedStreamsQuery,
|
|
|
|
|
GetRecordedStreamsQueryVariables
|
|
|
|
|
>;
|
|
|
|
|
export const GetRecordedStreamShotsDocument = gql`
|
|
|
|
|
query GetRecordedStreamShots($videoId: Int!, $limit: Int! = 200) {
|
|
|
|
|
@@ -15046,11 +14702,26 @@ export const GetRecordedStreamShotsDocument = gql`
|
|
|
|
|
serializedShotPaths {
|
|
|
|
|
b64EncodedBuffer
|
|
|
|
|
}
|
|
|
|
|
cueObjectFeatures {
|
|
|
|
|
cueObjectDistance
|
|
|
|
|
cueObjectAngle
|
|
|
|
|
cueBallSpeed
|
|
|
|
|
shotDirection
|
|
|
|
|
spinType
|
|
|
|
|
}
|
|
|
|
|
pocketingIntentionFeatures {
|
|
|
|
|
make
|
|
|
|
|
targetPocketDistance
|
|
|
|
|
targetPocketAngle
|
|
|
|
|
targetPocketAngleDirection
|
|
|
|
|
marginOfErrorInDegrees
|
|
|
|
|
intendedPocketType
|
|
|
|
|
difficulty
|
|
|
|
|
}
|
|
|
|
|
pocketingIntentionInfo {
|
|
|
|
|
ballId
|
|
|
|
|
pocketId
|
|
|
|
|
pathMetadataIndex
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
@@ -15345,13 +15016,9 @@ export const GetSessionCoachDocument = gql`
|
|
|
|
|
candidates {
|
|
|
|
|
...SessionCoachCandidateFields
|
|
|
|
|
}
|
|
|
|
|
agentGeneration {
|
|
|
|
|
...SessionCoachGenerationFields
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
${SessionCoachCandidateFieldsFragmentDoc}
|
|
|
|
|
${SessionCoachGenerationFieldsFragmentDoc}
|
|
|
|
|
`;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
@@ -15419,61 +15086,6 @@ export type GetSessionCoachQueryResult = Apollo.QueryResult<
|
|
|
|
|
GetSessionCoachQuery,
|
|
|
|
|
GetSessionCoachQueryVariables
|
|
|
|
|
>;
|
|
|
|
|
export const RequestSessionCoachGenerationDocument = gql`
|
|
|
|
|
mutation RequestSessionCoachGeneration($videoId: Int!) {
|
|
|
|
|
requestSessionCoachGeneration(videoId: $videoId) {
|
|
|
|
|
state
|
|
|
|
|
agentGeneration {
|
|
|
|
|
...SessionCoachGenerationFields
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
${SessionCoachGenerationFieldsFragmentDoc}
|
|
|
|
|
`;
|
|
|
|
|
export type RequestSessionCoachGenerationMutationFn = Apollo.MutationFunction<
|
|
|
|
|
RequestSessionCoachGenerationMutation,
|
|
|
|
|
RequestSessionCoachGenerationMutationVariables
|
|
|
|
|
>;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* __useRequestSessionCoachGenerationMutation__
|
|
|
|
|
*
|
|
|
|
|
* To run a mutation, you first call `useRequestSessionCoachGenerationMutation` within a React component and pass it any options that fit your needs.
|
|
|
|
|
* When your component renders, `useRequestSessionCoachGenerationMutation` 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 [requestSessionCoachGenerationMutation, { data, loading, error }] = useRequestSessionCoachGenerationMutation({
|
|
|
|
|
* variables: {
|
|
|
|
|
* videoId: // value for 'videoId'
|
|
|
|
|
* },
|
|
|
|
|
* });
|
|
|
|
|
*/
|
|
|
|
|
export function useRequestSessionCoachGenerationMutation(
|
|
|
|
|
baseOptions?: Apollo.MutationHookOptions<
|
|
|
|
|
RequestSessionCoachGenerationMutation,
|
|
|
|
|
RequestSessionCoachGenerationMutationVariables
|
|
|
|
|
>,
|
|
|
|
|
) {
|
|
|
|
|
const options = { ...defaultOptions, ...baseOptions };
|
|
|
|
|
return Apollo.useMutation<
|
|
|
|
|
RequestSessionCoachGenerationMutation,
|
|
|
|
|
RequestSessionCoachGenerationMutationVariables
|
|
|
|
|
>(RequestSessionCoachGenerationDocument, options);
|
|
|
|
|
}
|
|
|
|
|
export type RequestSessionCoachGenerationMutationHookResult = ReturnType<
|
|
|
|
|
typeof useRequestSessionCoachGenerationMutation
|
|
|
|
|
>;
|
|
|
|
|
export type RequestSessionCoachGenerationMutationResult =
|
|
|
|
|
Apollo.MutationResult<RequestSessionCoachGenerationMutation>;
|
|
|
|
|
export type RequestSessionCoachGenerationMutationOptions =
|
|
|
|
|
Apollo.BaseMutationOptions<
|
|
|
|
|
RequestSessionCoachGenerationMutation,
|
|
|
|
|
RequestSessionCoachGenerationMutationVariables
|
|
|
|
|
>;
|
|
|
|
|
export const VideoPlayerClustersDocument = gql`
|
|
|
|
|
query VideoPlayerClusters($videoId: Int!) {
|
|
|
|
|
videoPlayerClusters(videoId: $videoId) {
|
|
|
|
|
@@ -18628,7 +18240,6 @@ export const GetVideoSocialDetailsByIdDocument = gql`
|
|
|
|
|
replies {
|
|
|
|
|
id
|
|
|
|
|
message
|
|
|
|
|
replyToCommentId
|
|
|
|
|
user {
|
|
|
|
|
...UserSocialsFields
|
|
|
|
|
}
|
|
|
|
|
@@ -19936,7 +19547,6 @@ export const GetUploadLinkDocument = gql`
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
stream {
|
|
|
|
|
id
|
|
|
|
|
uploadCompletionCursor
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|