Merge pull request 'Add score to PlayerSummaryFields + PlayerClusterFields fragments' (#243) from dean/video-match-score-types into master
Reviewed-on: #243
This commit is contained in:
@@ -207,6 +207,7 @@ export enum ClientUploadStatusEnum {
|
|||||||
|
|
||||||
export type ClusterAssignmentInput = {
|
export type ClusterAssignmentInput = {
|
||||||
clusterId: Scalars["Int"]["input"];
|
clusterId: Scalars["Int"]["input"];
|
||||||
|
score?: InputMaybe<Scalars["Int"]["input"]>;
|
||||||
userId?: InputMaybe<Scalars["Int"]["input"]>;
|
userId?: InputMaybe<Scalars["Int"]["input"]>;
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -2700,6 +2701,7 @@ export type PlayerClusterGql = {
|
|||||||
clusterId: Scalars["Int"]["output"];
|
clusterId: Scalars["Int"]["output"];
|
||||||
confirmed: Scalars["Boolean"]["output"];
|
confirmed: Scalars["Boolean"]["output"];
|
||||||
nShots: Scalars["Int"]["output"];
|
nShots: Scalars["Int"]["output"];
|
||||||
|
score?: Maybe<Scalars["Int"]["output"]>;
|
||||||
shots: Array<PlayerClusterShotGql>;
|
shots: Array<PlayerClusterShotGql>;
|
||||||
userId?: Maybe<Scalars["Int"]["output"]>;
|
userId?: Maybe<Scalars["Int"]["output"]>;
|
||||||
videoId: Scalars["Int"]["output"];
|
videoId: Scalars["Int"]["output"];
|
||||||
@@ -2724,6 +2726,7 @@ export type PlayerSummaryGql = {
|
|||||||
makePercentage: Scalars["Float"]["output"];
|
makePercentage: Scalars["Float"]["output"];
|
||||||
profileImageUri?: Maybe<Scalars["String"]["output"]>;
|
profileImageUri?: Maybe<Scalars["String"]["output"]>;
|
||||||
representativeFullFrameUrl?: Maybe<Scalars["String"]["output"]>;
|
representativeFullFrameUrl?: Maybe<Scalars["String"]["output"]>;
|
||||||
|
score?: Maybe<Scalars["Int"]["output"]>;
|
||||||
totalShots: Scalars["Int"]["output"];
|
totalShots: Scalars["Int"]["output"];
|
||||||
totalShotsMade: Scalars["Int"]["output"];
|
totalShotsMade: Scalars["Int"]["output"];
|
||||||
userId?: Maybe<Scalars["Int"]["output"]>;
|
userId?: Maybe<Scalars["Int"]["output"]>;
|
||||||
@@ -4202,6 +4205,7 @@ export type GetFeedQuery = {
|
|||||||
totalShots: number;
|
totalShots: number;
|
||||||
totalShotsMade: number;
|
totalShotsMade: number;
|
||||||
makePercentage: number;
|
makePercentage: number;
|
||||||
|
score?: number | null;
|
||||||
}>;
|
}>;
|
||||||
currentProcessing?: {
|
currentProcessing?: {
|
||||||
__typename?: "VideoProcessingGQL";
|
__typename?: "VideoProcessingGQL";
|
||||||
@@ -4302,6 +4306,7 @@ export type VideoCardFieldsFragment = {
|
|||||||
totalShots: number;
|
totalShots: number;
|
||||||
totalShotsMade: number;
|
totalShotsMade: number;
|
||||||
makePercentage: number;
|
makePercentage: number;
|
||||||
|
score?: number | null;
|
||||||
}>;
|
}>;
|
||||||
currentProcessing?: {
|
currentProcessing?: {
|
||||||
__typename?: "VideoProcessingGQL";
|
__typename?: "VideoProcessingGQL";
|
||||||
@@ -4416,6 +4421,7 @@ export type GetVideoFeedQuery = {
|
|||||||
totalShots: number;
|
totalShots: number;
|
||||||
totalShotsMade: number;
|
totalShotsMade: number;
|
||||||
makePercentage: number;
|
makePercentage: number;
|
||||||
|
score?: number | null;
|
||||||
}>;
|
}>;
|
||||||
currentProcessing?: {
|
currentProcessing?: {
|
||||||
__typename?: "VideoProcessingGQL";
|
__typename?: "VideoProcessingGQL";
|
||||||
@@ -4997,6 +5003,7 @@ export type PlayerSummaryFieldsFragment = {
|
|||||||
totalShots: number;
|
totalShots: number;
|
||||||
totalShotsMade: number;
|
totalShotsMade: number;
|
||||||
makePercentage: number;
|
makePercentage: number;
|
||||||
|
score?: number | null;
|
||||||
};
|
};
|
||||||
|
|
||||||
export type PlayerClusterShotFieldsFragment = {
|
export type PlayerClusterShotFieldsFragment = {
|
||||||
@@ -5019,6 +5026,7 @@ export type PlayerClusterFieldsFragment = {
|
|||||||
nShots: number;
|
nShots: number;
|
||||||
userId?: number | null;
|
userId?: number | null;
|
||||||
confirmed: boolean;
|
confirmed: boolean;
|
||||||
|
score?: number | null;
|
||||||
shots: Array<{
|
shots: Array<{
|
||||||
__typename?: "PlayerClusterShotGQL";
|
__typename?: "PlayerClusterShotGQL";
|
||||||
shotId: number;
|
shotId: number;
|
||||||
@@ -5046,6 +5054,7 @@ export type VideoPlayerClustersQuery = {
|
|||||||
nShots: number;
|
nShots: number;
|
||||||
userId?: number | null;
|
userId?: number | null;
|
||||||
confirmed: boolean;
|
confirmed: boolean;
|
||||||
|
score?: number | null;
|
||||||
shots: Array<{
|
shots: Array<{
|
||||||
__typename?: "PlayerClusterShotGQL";
|
__typename?: "PlayerClusterShotGQL";
|
||||||
shotId: number;
|
shotId: number;
|
||||||
@@ -5074,6 +5083,7 @@ export type FinalizePlayerAssignmentsMutation = {
|
|||||||
nShots: number;
|
nShots: number;
|
||||||
userId?: number | null;
|
userId?: number | null;
|
||||||
confirmed: boolean;
|
confirmed: boolean;
|
||||||
|
score?: number | null;
|
||||||
shots: Array<{
|
shots: Array<{
|
||||||
__typename?: "PlayerClusterShotGQL";
|
__typename?: "PlayerClusterShotGQL";
|
||||||
shotId: number;
|
shotId: number;
|
||||||
@@ -6035,6 +6045,7 @@ export type GetVideoDetailsQuery = {
|
|||||||
totalShots: number;
|
totalShots: number;
|
||||||
totalShotsMade: number;
|
totalShotsMade: number;
|
||||||
makePercentage: number;
|
makePercentage: number;
|
||||||
|
score?: number | null;
|
||||||
}>;
|
}>;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
@@ -6703,6 +6714,7 @@ export const PlayerSummaryFieldsFragmentDoc = gql`
|
|||||||
totalShots
|
totalShots
|
||||||
totalShotsMade
|
totalShotsMade
|
||||||
makePercentage
|
makePercentage
|
||||||
|
score
|
||||||
}
|
}
|
||||||
`;
|
`;
|
||||||
export const UserSocialsFieldsFragmentDoc = gql`
|
export const UserSocialsFieldsFragmentDoc = gql`
|
||||||
@@ -6842,6 +6854,7 @@ export const PlayerClusterFieldsFragmentDoc = gql`
|
|||||||
nShots
|
nShots
|
||||||
userId
|
userId
|
||||||
confirmed
|
confirmed
|
||||||
|
score
|
||||||
shots {
|
shots {
|
||||||
...PlayerClusterShotFields
|
...PlayerClusterShotFields
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -7,6 +7,7 @@ fragment PlayerSummaryFields on PlayerSummaryGQL {
|
|||||||
totalShots
|
totalShots
|
||||||
totalShotsMade
|
totalShotsMade
|
||||||
makePercentage
|
makePercentage
|
||||||
|
score
|
||||||
}
|
}
|
||||||
|
|
||||||
fragment PlayerClusterShotFields on PlayerClusterShotGQL {
|
fragment PlayerClusterShotFields on PlayerClusterShotGQL {
|
||||||
@@ -27,6 +28,7 @@ fragment PlayerClusterFields on PlayerClusterGQL {
|
|||||||
nShots
|
nShots
|
||||||
userId
|
userId
|
||||||
confirmed
|
confirmed
|
||||||
|
score
|
||||||
shots {
|
shots {
|
||||||
...PlayerClusterShotFields
|
...PlayerClusterShotFields
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -675,6 +675,7 @@ type PlayerSummaryGQL {
|
|||||||
totalShots: Int!
|
totalShots: Int!
|
||||||
totalShotsMade: Int!
|
totalShotsMade: Int!
|
||||||
makePercentage: Float!
|
makePercentage: Float!
|
||||||
|
score: Int
|
||||||
}
|
}
|
||||||
|
|
||||||
type DeployedConfigGQL {
|
type DeployedConfigGQL {
|
||||||
@@ -879,6 +880,7 @@ type PlayerClusterGQL {
|
|||||||
nShots: Int!
|
nShots: Int!
|
||||||
userId: Int
|
userId: Int
|
||||||
confirmed: Boolean!
|
confirmed: Boolean!
|
||||||
|
score: Int
|
||||||
shots: [PlayerClusterShotGQL!]!
|
shots: [PlayerClusterShotGQL!]!
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1211,6 +1213,7 @@ input FinalizePlayerAssignmentsInput {
|
|||||||
input ClusterAssignmentInput {
|
input ClusterAssignmentInput {
|
||||||
clusterId: Int!
|
clusterId: Int!
|
||||||
userId: Int = null
|
userId: Int = null
|
||||||
|
score: Int = null
|
||||||
}
|
}
|
||||||
|
|
||||||
input ShotMoveInput {
|
input ShotMoveInput {
|
||||||
|
|||||||
Reference in New Issue
Block a user