Add score to PlayerSummaryFields + PlayerClusterFields fragments #243

Merged
dean merged 1 commits from dean/video-match-score-types into master 2026-05-11 17:43:44 +00:00
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
}

View File

@@ -7,6 +7,7 @@ fragment PlayerSummaryFields on PlayerSummaryGQL {
totalShots
totalShotsMade
makePercentage
score
}
fragment PlayerClusterShotFields on PlayerClusterShotGQL {
@@ -27,6 +28,7 @@ fragment PlayerClusterFields on PlayerClusterGQL {
nShots
userId
confirmed
score
shots {
...PlayerClusterShotFields
}

View File

@@ -675,6 +675,7 @@ type PlayerSummaryGQL {
totalShots: Int!
totalShotsMade: Int!
makePercentage: Float!
score: Int
}
type DeployedConfigGQL {
@@ -879,6 +880,7 @@ type PlayerClusterGQL {
nShots: Int!
userId: Int
confirmed: Boolean!
score: Int
shots: [PlayerClusterShotGQL!]!
}
@@ -1211,6 +1213,7 @@ input FinalizePlayerAssignmentsInput {
input ClusterAssignmentInput {
clusterId: Int!
userId: Int = null
score: Int = null
}
input ShotMoveInput {