Use pocketing intention fragment to prevent cache merge issues #180
@ -3614,6 +3614,17 @@ export type GetRunsForHighlightsQuery = {
|
||||
};
|
||||
};
|
||||
|
||||
export type PocketingIntentionFragmentFragment = {
|
||||
__typename?: "PocketingIntentionFeaturesGQL";
|
||||
make?: boolean | null;
|
||||
targetPocketDistance?: number | null;
|
||||
targetPocketAngle?: number | null;
|
||||
targetPocketAngleDirection?: ShotDirectionEnum | null;
|
||||
marginOfErrorInDegrees?: number | null;
|
||||
intendedPocketType?: PocketEnum | null;
|
||||
difficulty?: number | null;
|
||||
};
|
||||
|
||||
export type GetRunsWithTimestampsQueryVariables = Exact<{
|
||||
filterInput: RunFilterInput;
|
||||
runIds?: InputMaybe<Array<Scalars["Int"]["input"]> | Scalars["Int"]["input"]>;
|
||||
@ -3637,8 +3648,14 @@ export type GetRunsWithTimestampsQuery = {
|
||||
videoId: number;
|
||||
id: number;
|
||||
createdAt?: any | null;
|
||||
shotDifficulty?: {
|
||||
pocketingIntentionFeatures?: {
|
||||
__typename?: "PocketingIntentionFeaturesGQL";
|
||||
make?: boolean | null;
|
||||
targetPocketDistance?: number | null;
|
||||
targetPocketAngle?: number | null;
|
||||
targetPocketAngleDirection?: ShotDirectionEnum | null;
|
||||
marginOfErrorInDegrees?: number | null;
|
||||
intendedPocketType?: PocketEnum | null;
|
||||
difficulty?: number | null;
|
||||
} | null;
|
||||
}>;
|
||||
@ -5123,6 +5140,17 @@ export const MedalFieldsFragmentDoc = gql`
|
||||
nickname
|
||||
}
|
||||
`;
|
||||
export const PocketingIntentionFragmentFragmentDoc = gql`
|
||||
fragment PocketingIntentionFragment on PocketingIntentionFeaturesGQL {
|
||||
make
|
||||
targetPocketDistance
|
||||
targetPocketAngle
|
||||
targetPocketAngleDirection
|
||||
marginOfErrorInDegrees
|
||||
intendedPocketType
|
||||
difficulty
|
||||
}
|
||||
`;
|
||||
export const ShotWithAllFeaturesFragmentDoc = gql`
|
||||
fragment ShotWithAllFeatures on ShotGQL {
|
||||
id
|
||||
@ -6210,14 +6238,15 @@ export const GetRunsWithTimestampsDocument = gql`
|
||||
videoId
|
||||
id
|
||||
createdAt
|
||||
shotDifficulty: pocketingIntentionFeatures {
|
||||
difficulty
|
||||
pocketingIntentionFeatures {
|
||||
...PocketingIntentionFragment
|
||||
}
|
||||
}
|
||||
}
|
||||
runIds
|
||||
}
|
||||
}
|
||||
${PocketingIntentionFragmentFragmentDoc}
|
||||
`;
|
||||
|
||||
/**
|
||||
|
@ -27,6 +27,16 @@ query GetRunsForHighlights(
|
||||
}
|
||||
}
|
||||
|
||||
fragment PocketingIntentionFragment on PocketingIntentionFeaturesGQL {
|
||||
make
|
||||
targetPocketDistance
|
||||
targetPocketAngle
|
||||
targetPocketAngleDirection
|
||||
marginOfErrorInDegrees
|
||||
intendedPocketType
|
||||
difficulty
|
||||
}
|
||||
|
||||
query GetRunsWithTimestamps(
|
||||
$filterInput: RunFilterInput!
|
||||
$runIds: [Int!] = null
|
||||
@ -47,8 +57,8 @@ query GetRunsWithTimestamps(
|
||||
videoId
|
||||
id
|
||||
createdAt
|
||||
shotDifficulty: pocketingIntentionFeatures {
|
||||
difficulty
|
||||
pocketingIntentionFeatures {
|
||||
...PocketingIntentionFragment
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user