Compare commits

..

No commits in common. "master" and "dean/update-run-gql" have entirely different histories.

4 changed files with 5 additions and 120 deletions

View File

@ -3191,7 +3191,6 @@ export type GetFeedQuery = {
id: string;
lastIntendedSegmentBound?: number | null;
isCompleted: boolean;
streamSegmentType: StreamSegmentTypeEnum;
} | null;
tags: Array<{
__typename?: "VideoTag";
@ -3265,7 +3264,6 @@ export type VideoCardFieldsFragment = {
id: string;
lastIntendedSegmentBound?: number | null;
isCompleted: boolean;
streamSegmentType: StreamSegmentTypeEnum;
} | null;
tags: Array<{
__typename?: "VideoTag";
@ -3342,7 +3340,6 @@ export type GetVideoFeedQuery = {
id: string;
lastIntendedSegmentBound?: number | null;
isCompleted: boolean;
streamSegmentType: StreamSegmentTypeEnum;
} | null;
tags: Array<{
__typename?: "VideoTag";
@ -3596,8 +3593,6 @@ export type GetRunsForHighlightsQueryVariables = Exact<{
filterInput: RunFilterInput;
runIds?: InputMaybe<Array<Scalars["Int"]["input"]> | Scalars["Int"]["input"]>;
runsOrdering?: InputMaybe<GetRunsOrdering>;
limit?: Scalars["Int"]["input"];
countRespectsLimit?: Scalars["Boolean"]["input"];
}>;
export type GetRunsForHighlightsQuery = {
@ -3617,17 +3612,6 @@ 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"]>;
@ -3651,14 +3635,8 @@ export type GetRunsWithTimestampsQuery = {
videoId: number;
id: number;
createdAt?: any | null;
pocketingIntentionFeatures?: {
shotDifficulty?: {
__typename?: "PocketingIntentionFeaturesGQL";
make?: boolean | null;
targetPocketDistance?: number | null;
targetPocketAngle?: number | null;
targetPocketAngleDirection?: ShotDirectionEnum | null;
marginOfErrorInDegrees?: number | null;
intendedPocketType?: PocketEnum | null;
difficulty?: number | null;
} | null;
}>;
@ -3834,15 +3812,6 @@ export type GetShotsWithMetadataFilterResultQuery = {
name: string;
};
}>;
video?: {
__typename?: "VideoGQL";
id: number;
stream?: {
__typename?: "UploadStreamGQL";
id: string;
streamSegmentType: StreamSegmentTypeEnum;
} | null;
} | null;
}>;
};
};
@ -3912,15 +3881,6 @@ export type GetShotsWithMetadataQuery = {
name: string;
};
}>;
video?: {
__typename?: "VideoGQL";
id: number;
stream?: {
__typename?: "UploadStreamGQL";
id: string;
streamSegmentType: StreamSegmentTypeEnum;
} | null;
} | null;
}>;
};
};
@ -3979,15 +3939,6 @@ export type GetShotsByIdsQuery = {
notes: string;
type: { __typename?: "ShotAnnotationTypeGQL"; id: number; name: string };
}>;
video?: {
__typename?: "VideoGQL";
id: number;
stream?: {
__typename?: "UploadStreamGQL";
id: string;
streamSegmentType: StreamSegmentTypeEnum;
} | null;
} | null;
}>;
};
@ -4039,15 +3990,6 @@ export type ShotWithAllFeaturesFragment = {
notes: string;
type: { __typename?: "ShotAnnotationTypeGQL"; id: number; name: string };
}>;
video?: {
__typename?: "VideoGQL";
id: number;
stream?: {
__typename?: "UploadStreamGQL";
id: string;
streamSegmentType: StreamSegmentTypeEnum;
} | null;
} | null;
};
export type EditShotMutationVariables = Exact<{
@ -4116,15 +4058,6 @@ export type EditShotMutation = {
name: string;
};
}>;
video?: {
__typename?: "VideoGQL";
id: number;
stream?: {
__typename?: "UploadStreamGQL";
id: string;
streamSegmentType: StreamSegmentTypeEnum;
} | null;
} | null;
} | null;
};
};
@ -5148,7 +5081,6 @@ export const VideoCardFieldsFragmentDoc = gql`
id
lastIntendedSegmentBound
isCompleted
streamSegmentType
}
tableSize
tags {
@ -5189,17 +5121,6 @@ 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
@ -5254,13 +5175,6 @@ export const ShotWithAllFeaturesFragmentDoc = gql`
}
notes
}
video {
id
stream {
id
streamSegmentType
}
}
}
`;
export const UserFragmentFragmentDoc = gql`
@ -6178,15 +6092,11 @@ export const GetRunsForHighlightsDocument = gql`
$filterInput: RunFilterInput!
$runIds: [Int!] = null
$runsOrdering: GetRunsOrdering
$limit: Int! = 500
$countRespectsLimit: Boolean! = false
) {
getRuns(
filterInput: $filterInput
runIds: $runIds
runsOrdering: $runsOrdering
limit: $limit
countRespectsLimit: $countRespectsLimit
) {
count
runs {
@ -6219,8 +6129,6 @@ export const GetRunsForHighlightsDocument = gql`
* filterInput: // value for 'filterInput'
* runIds: // value for 'runIds'
* runsOrdering: // value for 'runsOrdering'
* limit: // value for 'limit'
* countRespectsLimit: // value for 'countRespectsLimit'
* },
* });
*/
@ -6294,15 +6202,14 @@ export const GetRunsWithTimestampsDocument = gql`
videoId
id
createdAt
pocketingIntentionFeatures {
...PocketingIntentionFragment
shotDifficulty: pocketingIntentionFeatures {
difficulty
}
}
}
runIds
}
}
${PocketingIntentionFragmentFragmentDoc}
`;
/**

View File

@ -40,7 +40,6 @@ fragment VideoCardFields on VideoGQL {
id
lastIntendedSegmentBound
isCompleted
streamSegmentType
}
tableSize
tags {

View File

@ -2,15 +2,11 @@ query GetRunsForHighlights(
$filterInput: RunFilterInput!
$runIds: [Int!] = null
$runsOrdering: GetRunsOrdering
$limit: Int! = 500
$countRespectsLimit: Boolean! = false
) {
getRuns(
filterInput: $filterInput
runIds: $runIds
runsOrdering: $runsOrdering
limit: $limit
countRespectsLimit: $countRespectsLimit
) {
count
runs {
@ -27,16 +23,6 @@ query GetRunsForHighlights(
}
}
fragment PocketingIntentionFragment on PocketingIntentionFeaturesGQL {
make
targetPocketDistance
targetPocketAngle
targetPocketAngleDirection
marginOfErrorInDegrees
intendedPocketType
difficulty
}
query GetRunsWithTimestamps(
$filterInput: RunFilterInput!
$runIds: [Int!] = null
@ -57,8 +43,8 @@ query GetRunsWithTimestamps(
videoId
id
createdAt
pocketingIntentionFeatures {
...PocketingIntentionFragment
shotDifficulty: pocketingIntentionFeatures {
difficulty
}
}
}

View File

@ -185,13 +185,6 @@ fragment ShotWithAllFeatures on ShotGQL {
}
notes
}
video {
id
stream {
id
streamSegmentType
}
}
}
mutation EditShot($shotId: Int!, $fieldsToEdit: EditableShotFieldInputGQL!) {