Compare commits
8 Commits
dean/updat
...
8463ebf0e7
Author | SHA1 | Date | |
---|---|---|---|
8463ebf0e7 | |||
753179ca58 | |||
9ee5c721c1 | |||
00cca10cb3 | |||
ad704cad75 | |||
e2743abb59 | |||
67bad20d24 | |||
0160455b9f |
@@ -3191,6 +3191,7 @@ export type GetFeedQuery = {
|
|||||||
id: string;
|
id: string;
|
||||||
lastIntendedSegmentBound?: number | null;
|
lastIntendedSegmentBound?: number | null;
|
||||||
isCompleted: boolean;
|
isCompleted: boolean;
|
||||||
|
streamSegmentType: StreamSegmentTypeEnum;
|
||||||
} | null;
|
} | null;
|
||||||
tags: Array<{
|
tags: Array<{
|
||||||
__typename?: "VideoTag";
|
__typename?: "VideoTag";
|
||||||
@@ -3264,6 +3265,7 @@ export type VideoCardFieldsFragment = {
|
|||||||
id: string;
|
id: string;
|
||||||
lastIntendedSegmentBound?: number | null;
|
lastIntendedSegmentBound?: number | null;
|
||||||
isCompleted: boolean;
|
isCompleted: boolean;
|
||||||
|
streamSegmentType: StreamSegmentTypeEnum;
|
||||||
} | null;
|
} | null;
|
||||||
tags: Array<{
|
tags: Array<{
|
||||||
__typename?: "VideoTag";
|
__typename?: "VideoTag";
|
||||||
@@ -3340,6 +3342,7 @@ export type GetVideoFeedQuery = {
|
|||||||
id: string;
|
id: string;
|
||||||
lastIntendedSegmentBound?: number | null;
|
lastIntendedSegmentBound?: number | null;
|
||||||
isCompleted: boolean;
|
isCompleted: boolean;
|
||||||
|
streamSegmentType: StreamSegmentTypeEnum;
|
||||||
} | null;
|
} | null;
|
||||||
tags: Array<{
|
tags: Array<{
|
||||||
__typename?: "VideoTag";
|
__typename?: "VideoTag";
|
||||||
@@ -3593,6 +3596,8 @@ export type GetRunsForHighlightsQueryVariables = Exact<{
|
|||||||
filterInput: RunFilterInput;
|
filterInput: RunFilterInput;
|
||||||
runIds?: InputMaybe<Array<Scalars["Int"]["input"]> | Scalars["Int"]["input"]>;
|
runIds?: InputMaybe<Array<Scalars["Int"]["input"]> | Scalars["Int"]["input"]>;
|
||||||
runsOrdering?: InputMaybe<GetRunsOrdering>;
|
runsOrdering?: InputMaybe<GetRunsOrdering>;
|
||||||
|
limit?: Scalars["Int"]["input"];
|
||||||
|
countRespectsLimit?: Scalars["Boolean"]["input"];
|
||||||
}>;
|
}>;
|
||||||
|
|
||||||
export type GetRunsForHighlightsQuery = {
|
export type GetRunsForHighlightsQuery = {
|
||||||
@@ -3612,6 +3617,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<{
|
export type GetRunsWithTimestampsQueryVariables = Exact<{
|
||||||
filterInput: RunFilterInput;
|
filterInput: RunFilterInput;
|
||||||
runIds?: InputMaybe<Array<Scalars["Int"]["input"]> | Scalars["Int"]["input"]>;
|
runIds?: InputMaybe<Array<Scalars["Int"]["input"]> | Scalars["Int"]["input"]>;
|
||||||
@@ -3635,8 +3651,14 @@ export type GetRunsWithTimestampsQuery = {
|
|||||||
videoId: number;
|
videoId: number;
|
||||||
id: number;
|
id: number;
|
||||||
createdAt?: any | null;
|
createdAt?: any | null;
|
||||||
shotDifficulty?: {
|
pocketingIntentionFeatures?: {
|
||||||
__typename?: "PocketingIntentionFeaturesGQL";
|
__typename?: "PocketingIntentionFeaturesGQL";
|
||||||
|
make?: boolean | null;
|
||||||
|
targetPocketDistance?: number | null;
|
||||||
|
targetPocketAngle?: number | null;
|
||||||
|
targetPocketAngleDirection?: ShotDirectionEnum | null;
|
||||||
|
marginOfErrorInDegrees?: number | null;
|
||||||
|
intendedPocketType?: PocketEnum | null;
|
||||||
difficulty?: number | null;
|
difficulty?: number | null;
|
||||||
} | null;
|
} | null;
|
||||||
}>;
|
}>;
|
||||||
@@ -3812,6 +3834,15 @@ export type GetShotsWithMetadataFilterResultQuery = {
|
|||||||
name: string;
|
name: string;
|
||||||
};
|
};
|
||||||
}>;
|
}>;
|
||||||
|
video?: {
|
||||||
|
__typename?: "VideoGQL";
|
||||||
|
id: number;
|
||||||
|
stream?: {
|
||||||
|
__typename?: "UploadStreamGQL";
|
||||||
|
id: string;
|
||||||
|
streamSegmentType: StreamSegmentTypeEnum;
|
||||||
|
} | null;
|
||||||
|
} | null;
|
||||||
}>;
|
}>;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
@@ -3881,6 +3912,15 @@ export type GetShotsWithMetadataQuery = {
|
|||||||
name: string;
|
name: string;
|
||||||
};
|
};
|
||||||
}>;
|
}>;
|
||||||
|
video?: {
|
||||||
|
__typename?: "VideoGQL";
|
||||||
|
id: number;
|
||||||
|
stream?: {
|
||||||
|
__typename?: "UploadStreamGQL";
|
||||||
|
id: string;
|
||||||
|
streamSegmentType: StreamSegmentTypeEnum;
|
||||||
|
} | null;
|
||||||
|
} | null;
|
||||||
}>;
|
}>;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
@@ -3939,6 +3979,15 @@ export type GetShotsByIdsQuery = {
|
|||||||
notes: string;
|
notes: string;
|
||||||
type: { __typename?: "ShotAnnotationTypeGQL"; id: number; name: string };
|
type: { __typename?: "ShotAnnotationTypeGQL"; id: number; name: string };
|
||||||
}>;
|
}>;
|
||||||
|
video?: {
|
||||||
|
__typename?: "VideoGQL";
|
||||||
|
id: number;
|
||||||
|
stream?: {
|
||||||
|
__typename?: "UploadStreamGQL";
|
||||||
|
id: string;
|
||||||
|
streamSegmentType: StreamSegmentTypeEnum;
|
||||||
|
} | null;
|
||||||
|
} | null;
|
||||||
}>;
|
}>;
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -3990,6 +4039,15 @@ export type ShotWithAllFeaturesFragment = {
|
|||||||
notes: string;
|
notes: string;
|
||||||
type: { __typename?: "ShotAnnotationTypeGQL"; id: number; name: 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<{
|
export type EditShotMutationVariables = Exact<{
|
||||||
@@ -4058,6 +4116,15 @@ export type EditShotMutation = {
|
|||||||
name: string;
|
name: string;
|
||||||
};
|
};
|
||||||
}>;
|
}>;
|
||||||
|
video?: {
|
||||||
|
__typename?: "VideoGQL";
|
||||||
|
id: number;
|
||||||
|
stream?: {
|
||||||
|
__typename?: "UploadStreamGQL";
|
||||||
|
id: string;
|
||||||
|
streamSegmentType: StreamSegmentTypeEnum;
|
||||||
|
} | null;
|
||||||
|
} | null;
|
||||||
} | null;
|
} | null;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
@@ -5081,6 +5148,7 @@ export const VideoCardFieldsFragmentDoc = gql`
|
|||||||
id
|
id
|
||||||
lastIntendedSegmentBound
|
lastIntendedSegmentBound
|
||||||
isCompleted
|
isCompleted
|
||||||
|
streamSegmentType
|
||||||
}
|
}
|
||||||
tableSize
|
tableSize
|
||||||
tags {
|
tags {
|
||||||
@@ -5121,6 +5189,17 @@ export const MedalFieldsFragmentDoc = gql`
|
|||||||
nickname
|
nickname
|
||||||
}
|
}
|
||||||
`;
|
`;
|
||||||
|
export const PocketingIntentionFragmentFragmentDoc = gql`
|
||||||
|
fragment PocketingIntentionFragment on PocketingIntentionFeaturesGQL {
|
||||||
|
make
|
||||||
|
targetPocketDistance
|
||||||
|
targetPocketAngle
|
||||||
|
targetPocketAngleDirection
|
||||||
|
marginOfErrorInDegrees
|
||||||
|
intendedPocketType
|
||||||
|
difficulty
|
||||||
|
}
|
||||||
|
`;
|
||||||
export const ShotWithAllFeaturesFragmentDoc = gql`
|
export const ShotWithAllFeaturesFragmentDoc = gql`
|
||||||
fragment ShotWithAllFeatures on ShotGQL {
|
fragment ShotWithAllFeatures on ShotGQL {
|
||||||
id
|
id
|
||||||
@@ -5175,6 +5254,13 @@ export const ShotWithAllFeaturesFragmentDoc = gql`
|
|||||||
}
|
}
|
||||||
notes
|
notes
|
||||||
}
|
}
|
||||||
|
video {
|
||||||
|
id
|
||||||
|
stream {
|
||||||
|
id
|
||||||
|
streamSegmentType
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
`;
|
`;
|
||||||
export const UserFragmentFragmentDoc = gql`
|
export const UserFragmentFragmentDoc = gql`
|
||||||
@@ -6092,11 +6178,15 @@ export const GetRunsForHighlightsDocument = gql`
|
|||||||
$filterInput: RunFilterInput!
|
$filterInput: RunFilterInput!
|
||||||
$runIds: [Int!] = null
|
$runIds: [Int!] = null
|
||||||
$runsOrdering: GetRunsOrdering
|
$runsOrdering: GetRunsOrdering
|
||||||
|
$limit: Int! = 500
|
||||||
|
$countRespectsLimit: Boolean! = false
|
||||||
) {
|
) {
|
||||||
getRuns(
|
getRuns(
|
||||||
filterInput: $filterInput
|
filterInput: $filterInput
|
||||||
runIds: $runIds
|
runIds: $runIds
|
||||||
runsOrdering: $runsOrdering
|
runsOrdering: $runsOrdering
|
||||||
|
limit: $limit
|
||||||
|
countRespectsLimit: $countRespectsLimit
|
||||||
) {
|
) {
|
||||||
count
|
count
|
||||||
runs {
|
runs {
|
||||||
@@ -6129,6 +6219,8 @@ export const GetRunsForHighlightsDocument = gql`
|
|||||||
* filterInput: // value for 'filterInput'
|
* filterInput: // value for 'filterInput'
|
||||||
* runIds: // value for 'runIds'
|
* runIds: // value for 'runIds'
|
||||||
* runsOrdering: // value for 'runsOrdering'
|
* runsOrdering: // value for 'runsOrdering'
|
||||||
|
* limit: // value for 'limit'
|
||||||
|
* countRespectsLimit: // value for 'countRespectsLimit'
|
||||||
* },
|
* },
|
||||||
* });
|
* });
|
||||||
*/
|
*/
|
||||||
@@ -6202,14 +6294,15 @@ export const GetRunsWithTimestampsDocument = gql`
|
|||||||
videoId
|
videoId
|
||||||
id
|
id
|
||||||
createdAt
|
createdAt
|
||||||
shotDifficulty: pocketingIntentionFeatures {
|
pocketingIntentionFeatures {
|
||||||
difficulty
|
...PocketingIntentionFragment
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
runIds
|
runIds
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
${PocketingIntentionFragmentFragmentDoc}
|
||||||
`;
|
`;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@@ -40,6 +40,7 @@ fragment VideoCardFields on VideoGQL {
|
|||||||
id
|
id
|
||||||
lastIntendedSegmentBound
|
lastIntendedSegmentBound
|
||||||
isCompleted
|
isCompleted
|
||||||
|
streamSegmentType
|
||||||
}
|
}
|
||||||
tableSize
|
tableSize
|
||||||
tags {
|
tags {
|
||||||
|
@@ -2,11 +2,15 @@ query GetRunsForHighlights(
|
|||||||
$filterInput: RunFilterInput!
|
$filterInput: RunFilterInput!
|
||||||
$runIds: [Int!] = null
|
$runIds: [Int!] = null
|
||||||
$runsOrdering: GetRunsOrdering
|
$runsOrdering: GetRunsOrdering
|
||||||
|
$limit: Int! = 500
|
||||||
|
$countRespectsLimit: Boolean! = false
|
||||||
) {
|
) {
|
||||||
getRuns(
|
getRuns(
|
||||||
filterInput: $filterInput
|
filterInput: $filterInput
|
||||||
runIds: $runIds
|
runIds: $runIds
|
||||||
runsOrdering: $runsOrdering
|
runsOrdering: $runsOrdering
|
||||||
|
limit: $limit
|
||||||
|
countRespectsLimit: $countRespectsLimit
|
||||||
) {
|
) {
|
||||||
count
|
count
|
||||||
runs {
|
runs {
|
||||||
@@ -23,6 +27,16 @@ query GetRunsForHighlights(
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
fragment PocketingIntentionFragment on PocketingIntentionFeaturesGQL {
|
||||||
|
make
|
||||||
|
targetPocketDistance
|
||||||
|
targetPocketAngle
|
||||||
|
targetPocketAngleDirection
|
||||||
|
marginOfErrorInDegrees
|
||||||
|
intendedPocketType
|
||||||
|
difficulty
|
||||||
|
}
|
||||||
|
|
||||||
query GetRunsWithTimestamps(
|
query GetRunsWithTimestamps(
|
||||||
$filterInput: RunFilterInput!
|
$filterInput: RunFilterInput!
|
||||||
$runIds: [Int!] = null
|
$runIds: [Int!] = null
|
||||||
@@ -43,8 +57,8 @@ query GetRunsWithTimestamps(
|
|||||||
videoId
|
videoId
|
||||||
id
|
id
|
||||||
createdAt
|
createdAt
|
||||||
shotDifficulty: pocketingIntentionFeatures {
|
pocketingIntentionFeatures {
|
||||||
difficulty
|
...PocketingIntentionFragment
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -185,6 +185,13 @@ fragment ShotWithAllFeatures on ShotGQL {
|
|||||||
}
|
}
|
||||||
notes
|
notes
|
||||||
}
|
}
|
||||||
|
video {
|
||||||
|
id
|
||||||
|
stream {
|
||||||
|
id
|
||||||
|
streamSegmentType
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
mutation EditShot($shotId: Int!, $fieldsToEdit: EditableShotFieldInputGQL!) {
|
mutation EditShot($shotId: Int!, $fieldsToEdit: EditableShotFieldInputGQL!) {
|
||||||
|
Reference in New Issue
Block a user