Merge pull request 'Add averageDifficulty to PlayerSummaryFields' (#245) from dean/player-summaries-avg-difficulty-types into master

Reviewed-on: #245
This commit is contained in:
2026-05-11 22:41:52 +00:00
3 changed files with 18 additions and 0 deletions

View File

@@ -2722,6 +2722,8 @@ export type PlayerClusterShotGql = {
export type PlayerSummaryGql = { export type PlayerSummaryGql = {
__typename?: "PlayerSummaryGQL"; __typename?: "PlayerSummaryGQL";
averageDifficulty?: Maybe<Scalars["Float"]["output"]>;
averageTimeBetweenShots?: Maybe<Scalars["Float"]["output"]>;
clusterId: Scalars["Int"]["output"]; clusterId: Scalars["Int"]["output"];
longestRun: Scalars["Int"]["output"]; longestRun: Scalars["Int"]["output"];
makePercentage: Scalars["Float"]["output"]; makePercentage: Scalars["Float"]["output"];
@@ -4208,6 +4210,8 @@ export type GetFeedQuery = {
makePercentage: number; makePercentage: number;
score?: number | null; score?: number | null;
longestRun: number; longestRun: number;
averageDifficulty?: number | null;
averageTimeBetweenShots?: number | null;
}>; }>;
currentProcessing?: { currentProcessing?: {
__typename?: "VideoProcessingGQL"; __typename?: "VideoProcessingGQL";
@@ -4310,6 +4314,8 @@ export type VideoCardFieldsFragment = {
makePercentage: number; makePercentage: number;
score?: number | null; score?: number | null;
longestRun: number; longestRun: number;
averageDifficulty?: number | null;
averageTimeBetweenShots?: number | null;
}>; }>;
currentProcessing?: { currentProcessing?: {
__typename?: "VideoProcessingGQL"; __typename?: "VideoProcessingGQL";
@@ -4426,6 +4432,8 @@ export type GetVideoFeedQuery = {
makePercentage: number; makePercentage: number;
score?: number | null; score?: number | null;
longestRun: number; longestRun: number;
averageDifficulty?: number | null;
averageTimeBetweenShots?: number | null;
}>; }>;
currentProcessing?: { currentProcessing?: {
__typename?: "VideoProcessingGQL"; __typename?: "VideoProcessingGQL";
@@ -5009,6 +5017,8 @@ export type PlayerSummaryFieldsFragment = {
makePercentage: number; makePercentage: number;
score?: number | null; score?: number | null;
longestRun: number; longestRun: number;
averageDifficulty?: number | null;
averageTimeBetweenShots?: number | null;
}; };
export type PlayerClusterShotFieldsFragment = { export type PlayerClusterShotFieldsFragment = {
@@ -6052,6 +6062,8 @@ export type GetVideoDetailsQuery = {
makePercentage: number; makePercentage: number;
score?: number | null; score?: number | null;
longestRun: number; longestRun: number;
averageDifficulty?: number | null;
averageTimeBetweenShots?: number | null;
}>; }>;
}; };
}; };
@@ -6722,6 +6734,8 @@ export const PlayerSummaryFieldsFragmentDoc = gql`
makePercentage makePercentage
score score
longestRun longestRun
averageDifficulty
averageTimeBetweenShots
} }
`; `;
export const UserSocialsFieldsFragmentDoc = gql` export const UserSocialsFieldsFragmentDoc = gql`

View File

@@ -9,6 +9,8 @@ fragment PlayerSummaryFields on PlayerSummaryGQL {
makePercentage makePercentage
score score
longestRun longestRun
averageDifficulty
averageTimeBetweenShots
} }
fragment PlayerClusterShotFields on PlayerClusterShotGQL { fragment PlayerClusterShotFields on PlayerClusterShotGQL {

View File

@@ -677,6 +677,8 @@ type PlayerSummaryGQL {
makePercentage: Float! makePercentage: Float!
score: Int score: Int
longestRun: Int! longestRun: Int!
averageDifficulty: Float
averageTimeBetweenShots: Float
} }
type DeployedConfigGQL { type DeployedConfigGQL {