Add runLengths to PlayerSummaryFields (per-player run distribution)
All checks were successful
Tests / Tests (pull_request) Successful in 10s

This commit is contained in:
Dean Wenstrand
2026-06-16 13:39:04 -07:00
parent 53fa982bcf
commit 0c1afbcc76
3 changed files with 23 additions and 0 deletions

View File

@@ -79,6 +79,12 @@ export enum AlignedIntervalEnum {
Year = "YEAR",
}
export type AppleIapSubscriptionOptionsGql = {
__typename?: "AppleIapSubscriptionOptionsGQL";
enabled: Scalars["Boolean"]["output"];
proMonthlyProductId?: Maybe<Scalars["String"]["output"]>;
};
export type BankFeaturesGql = {
__typename?: "BankFeaturesGQL";
bankAngle: Scalars["Float"]["output"];
@@ -2746,6 +2752,7 @@ export type PlayerSummaryGql = {
makePercentage: Scalars["Float"]["output"];
profileImageUri?: Maybe<Scalars["String"]["output"]>;
representativeFullFrameUrl?: Maybe<Scalars["String"]["output"]>;
runLengths: Array<Scalars["Int"]["output"]>;
score?: Maybe<Scalars["Int"]["output"]>;
totalShots: Scalars["Int"]["output"];
totalShotsMade: Scalars["Int"]["output"];
@@ -3385,6 +3392,7 @@ export type StripeProductGql = {
export type StripeSubscriptionOptionsGql = {
__typename?: "StripeSubscriptionOptionsGQL";
appleIap: AppleIapSubscriptionOptionsGql;
products: Array<StripeProductGql>;
trialPeriodDays?: Maybe<Scalars["Int"]["output"]>;
};
@@ -4281,6 +4289,7 @@ export type GetFeedQuery = {
makePercentage: number;
score?: number | null;
longestRun: number;
runLengths: Array<number>;
averageDifficulty?: number | null;
averageTimeBetweenShots?: number | null;
}>;
@@ -4385,6 +4394,7 @@ export type VideoCardFieldsFragment = {
makePercentage: number;
score?: number | null;
longestRun: number;
runLengths: Array<number>;
averageDifficulty?: number | null;
averageTimeBetweenShots?: number | null;
}>;
@@ -4521,6 +4531,7 @@ export type GetVideoFeedQuery = {
makePercentage: number;
score?: number | null;
longestRun: number;
runLengths: Array<number>;
averageDifficulty?: number | null;
averageTimeBetweenShots?: number | null;
}>;
@@ -5164,6 +5175,7 @@ export type PlayerSummaryFieldsFragment = {
makePercentage: number;
score?: number | null;
longestRun: number;
runLengths: Array<number>;
averageDifficulty?: number | null;
averageTimeBetweenShots?: number | null;
};
@@ -6289,6 +6301,7 @@ export type GetVideoDetailsQuery = {
makePercentage: number;
score?: number | null;
longestRun: number;
runLengths: Array<number>;
averageDifficulty?: number | null;
averageTimeBetweenShots?: number | null;
}>;
@@ -6408,6 +6421,7 @@ export type GetVideoCardQuery = {
makePercentage: number;
score?: number | null;
longestRun: number;
runLengths: Array<number>;
averageDifficulty?: number | null;
averageTimeBetweenShots?: number | null;
}>;
@@ -7057,6 +7071,7 @@ export const PlayerSummaryFieldsFragmentDoc = gql`
makePercentage
score
longestRun
runLengths
averageDifficulty
averageTimeBetweenShots
}

View File

@@ -9,6 +9,7 @@ fragment PlayerSummaryFields on PlayerSummaryGQL {
makePercentage
score
longestRun
runLengths
averageDifficulty
averageTimeBetweenShots
}

View File

@@ -688,6 +688,7 @@ type PlayerSummaryGQL {
makePercentage: Float!
score: Int
longestRun: Int!
runLengths: [Int!]!
averageDifficulty: Float
averageTimeBetweenShots: Float
}
@@ -1001,6 +1002,7 @@ type UserRelationship {
type StripeSubscriptionOptionsGQL {
products: [StripeProductGQL!]!
trialPeriodDays: Int
appleIap: AppleIapSubscriptionOptionsGQL!
}
type StripeProductGQL {
@@ -1021,6 +1023,11 @@ type StripePriceGQL {
active: Boolean!
}
type AppleIapSubscriptionOptionsGQL {
enabled: Boolean!
proMonthlyProductId: String
}
type UserSubscriptionStatusGQL {
hasActiveSubscription: Boolean!
entitlementSource: EntitlementSourceTypeEnum