Add score to PlayerSummaryFields + PlayerClusterFields fragments
All checks were successful
Tests / Tests (pull_request) Successful in 9s

Picks up the BE additions in railbird PR dean/video-match-score:
new `score` field on PlayerClusterGQL and PlayerSummaryGQL, and
a new `score` input field on ClusterAssignmentInput.

Generated by `just gql`.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
Dean Wenstrand
2026-05-11 10:22:58 -07:00
parent 1182c15004
commit 0c9eb4945a
3 changed files with 18 additions and 0 deletions

View File

@@ -207,6 +207,7 @@ export enum ClientUploadStatusEnum {
export type ClusterAssignmentInput = {
clusterId: Scalars["Int"]["input"];
score?: InputMaybe<Scalars["Int"]["input"]>;
userId?: InputMaybe<Scalars["Int"]["input"]>;
};
@@ -2700,6 +2701,7 @@ export type PlayerClusterGql = {
clusterId: Scalars["Int"]["output"];
confirmed: Scalars["Boolean"]["output"];
nShots: Scalars["Int"]["output"];
score?: Maybe<Scalars["Int"]["output"]>;
shots: Array<PlayerClusterShotGql>;
userId?: Maybe<Scalars["Int"]["output"]>;
videoId: Scalars["Int"]["output"];
@@ -2724,6 +2726,7 @@ export type PlayerSummaryGql = {
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"]>;
@@ -4202,6 +4205,7 @@ export type GetFeedQuery = {
totalShots: number;
totalShotsMade: number;
makePercentage: number;
score?: number | null;
}>;
currentProcessing?: {
__typename?: "VideoProcessingGQL";
@@ -4302,6 +4306,7 @@ export type VideoCardFieldsFragment = {
totalShots: number;
totalShotsMade: number;
makePercentage: number;
score?: number | null;
}>;
currentProcessing?: {
__typename?: "VideoProcessingGQL";
@@ -4416,6 +4421,7 @@ export type GetVideoFeedQuery = {
totalShots: number;
totalShotsMade: number;
makePercentage: number;
score?: number | null;
}>;
currentProcessing?: {
__typename?: "VideoProcessingGQL";
@@ -4997,6 +5003,7 @@ export type PlayerSummaryFieldsFragment = {
totalShots: number;
totalShotsMade: number;
makePercentage: number;
score?: number | null;
};
export type PlayerClusterShotFieldsFragment = {
@@ -5019,6 +5026,7 @@ export type PlayerClusterFieldsFragment = {
nShots: number;
userId?: number | null;
confirmed: boolean;
score?: number | null;
shots: Array<{
__typename?: "PlayerClusterShotGQL";
shotId: number;
@@ -5046,6 +5054,7 @@ export type VideoPlayerClustersQuery = {
nShots: number;
userId?: number | null;
confirmed: boolean;
score?: number | null;
shots: Array<{
__typename?: "PlayerClusterShotGQL";
shotId: number;
@@ -5074,6 +5083,7 @@ export type FinalizePlayerAssignmentsMutation = {
nShots: number;
userId?: number | null;
confirmed: boolean;
score?: number | null;
shots: Array<{
__typename?: "PlayerClusterShotGQL";
shotId: number;
@@ -6035,6 +6045,7 @@ export type GetVideoDetailsQuery = {
totalShots: number;
totalShotsMade: number;
makePercentage: number;
score?: number | null;
}>;
};
};
@@ -6703,6 +6714,7 @@ export const PlayerSummaryFieldsFragmentDoc = gql`
totalShots
totalShotsMade
makePercentage
score
}
`;
export const UserSocialsFieldsFragmentDoc = gql`
@@ -6842,6 +6854,7 @@ export const PlayerClusterFieldsFragmentDoc = gql`
nShots
userId
confirmed
score
shots {
...PlayerClusterShotFields
}