|
|
|
@@ -220,6 +220,7 @@ export type FilterInput =
|
|
|
|
|
missAngleInDegrees?: never;
|
|
|
|
|
notFilter?: never;
|
|
|
|
|
orFilters?: never;
|
|
|
|
|
runLength?: never;
|
|
|
|
|
shotDirection?: never;
|
|
|
|
|
spinType?: never;
|
|
|
|
|
tableSize?: never;
|
|
|
|
@@ -261,6 +262,7 @@ export type FilterInput =
|
|
|
|
|
missAngleInDegrees?: never;
|
|
|
|
|
notFilter?: never;
|
|
|
|
|
orFilters?: never;
|
|
|
|
|
runLength?: never;
|
|
|
|
|
shotDirection?: never;
|
|
|
|
|
spinType?: never;
|
|
|
|
|
tableSize?: never;
|
|
|
|
@@ -302,6 +304,7 @@ export type FilterInput =
|
|
|
|
|
missAngleInDegrees?: never;
|
|
|
|
|
notFilter?: never;
|
|
|
|
|
orFilters?: never;
|
|
|
|
|
runLength?: never;
|
|
|
|
|
shotDirection?: never;
|
|
|
|
|
spinType?: never;
|
|
|
|
|
tableSize?: never;
|
|
|
|
@@ -343,6 +346,7 @@ export type FilterInput =
|
|
|
|
|
missAngleInDegrees?: never;
|
|
|
|
|
notFilter?: never;
|
|
|
|
|
orFilters?: never;
|
|
|
|
|
runLength?: never;
|
|
|
|
|
shotDirection?: never;
|
|
|
|
|
spinType?: never;
|
|
|
|
|
tableSize?: never;
|
|
|
|
@@ -384,6 +388,7 @@ export type FilterInput =
|
|
|
|
|
missAngleInDegrees?: never;
|
|
|
|
|
notFilter?: never;
|
|
|
|
|
orFilters?: never;
|
|
|
|
|
runLength?: never;
|
|
|
|
|
shotDirection?: never;
|
|
|
|
|
spinType?: never;
|
|
|
|
|
tableSize?: never;
|
|
|
|
@@ -425,6 +430,7 @@ export type FilterInput =
|
|
|
|
|
missAngleInDegrees?: never;
|
|
|
|
|
notFilter?: never;
|
|
|
|
|
orFilters?: never;
|
|
|
|
|
runLength?: never;
|
|
|
|
|
shotDirection?: never;
|
|
|
|
|
spinType?: never;
|
|
|
|
|
tableSize?: never;
|
|
|
|
@@ -466,6 +472,7 @@ export type FilterInput =
|
|
|
|
|
missAngleInDegrees?: never;
|
|
|
|
|
notFilter?: never;
|
|
|
|
|
orFilters?: never;
|
|
|
|
|
runLength?: never;
|
|
|
|
|
shotDirection?: never;
|
|
|
|
|
spinType?: never;
|
|
|
|
|
tableSize?: never;
|
|
|
|
@@ -507,6 +514,7 @@ export type FilterInput =
|
|
|
|
|
missAngleInDegrees?: never;
|
|
|
|
|
notFilter?: never;
|
|
|
|
|
orFilters?: never;
|
|
|
|
|
runLength?: never;
|
|
|
|
|
shotDirection?: never;
|
|
|
|
|
spinType?: never;
|
|
|
|
|
tableSize?: never;
|
|
|
|
@@ -548,6 +556,7 @@ export type FilterInput =
|
|
|
|
|
missAngleInDegrees?: never;
|
|
|
|
|
notFilter?: never;
|
|
|
|
|
orFilters?: never;
|
|
|
|
|
runLength?: never;
|
|
|
|
|
shotDirection?: never;
|
|
|
|
|
spinType?: never;
|
|
|
|
|
tableSize?: never;
|
|
|
|
@@ -589,6 +598,7 @@ export type FilterInput =
|
|
|
|
|
missAngleInDegrees?: never;
|
|
|
|
|
notFilter?: never;
|
|
|
|
|
orFilters?: never;
|
|
|
|
|
runLength?: never;
|
|
|
|
|
shotDirection?: never;
|
|
|
|
|
spinType?: never;
|
|
|
|
|
tableSize?: never;
|
|
|
|
@@ -630,6 +640,7 @@ export type FilterInput =
|
|
|
|
|
missAngleInDegrees?: never;
|
|
|
|
|
notFilter?: never;
|
|
|
|
|
orFilters?: never;
|
|
|
|
|
runLength?: never;
|
|
|
|
|
shotDirection?: never;
|
|
|
|
|
spinType?: never;
|
|
|
|
|
tableSize?: never;
|
|
|
|
@@ -671,6 +682,7 @@ export type FilterInput =
|
|
|
|
|
missAngleInDegrees?: never;
|
|
|
|
|
notFilter?: never;
|
|
|
|
|
orFilters?: never;
|
|
|
|
|
runLength?: never;
|
|
|
|
|
shotDirection?: never;
|
|
|
|
|
spinType?: never;
|
|
|
|
|
tableSize?: never;
|
|
|
|
@@ -712,6 +724,7 @@ export type FilterInput =
|
|
|
|
|
missAngleInDegrees?: never;
|
|
|
|
|
notFilter?: never;
|
|
|
|
|
orFilters?: never;
|
|
|
|
|
runLength?: never;
|
|
|
|
|
shotDirection?: never;
|
|
|
|
|
spinType?: never;
|
|
|
|
|
tableSize?: never;
|
|
|
|
@@ -753,6 +766,7 @@ export type FilterInput =
|
|
|
|
|
missAngleInDegrees?: never;
|
|
|
|
|
notFilter?: never;
|
|
|
|
|
orFilters?: never;
|
|
|
|
|
runLength?: never;
|
|
|
|
|
shotDirection?: never;
|
|
|
|
|
spinType?: never;
|
|
|
|
|
tableSize?: never;
|
|
|
|
@@ -794,6 +808,7 @@ export type FilterInput =
|
|
|
|
|
missAngleInDegrees?: never;
|
|
|
|
|
notFilter?: never;
|
|
|
|
|
orFilters?: never;
|
|
|
|
|
runLength?: never;
|
|
|
|
|
shotDirection?: never;
|
|
|
|
|
spinType?: never;
|
|
|
|
|
tableSize?: never;
|
|
|
|
@@ -835,6 +850,7 @@ export type FilterInput =
|
|
|
|
|
missAngleInDegrees?: never;
|
|
|
|
|
notFilter?: never;
|
|
|
|
|
orFilters?: never;
|
|
|
|
|
runLength?: never;
|
|
|
|
|
shotDirection?: never;
|
|
|
|
|
spinType?: never;
|
|
|
|
|
tableSize?: never;
|
|
|
|
@@ -876,6 +892,7 @@ export type FilterInput =
|
|
|
|
|
missAngleInDegrees?: never;
|
|
|
|
|
notFilter?: never;
|
|
|
|
|
orFilters?: never;
|
|
|
|
|
runLength?: never;
|
|
|
|
|
shotDirection?: never;
|
|
|
|
|
spinType?: never;
|
|
|
|
|
tableSize?: never;
|
|
|
|
@@ -917,6 +934,7 @@ export type FilterInput =
|
|
|
|
|
missAngleInDegrees?: never;
|
|
|
|
|
notFilter?: never;
|
|
|
|
|
orFilters?: never;
|
|
|
|
|
runLength?: never;
|
|
|
|
|
shotDirection?: never;
|
|
|
|
|
spinType?: never;
|
|
|
|
|
tableSize?: never;
|
|
|
|
@@ -958,6 +976,7 @@ export type FilterInput =
|
|
|
|
|
missAngleInDegrees?: never;
|
|
|
|
|
notFilter?: never;
|
|
|
|
|
orFilters?: never;
|
|
|
|
|
runLength?: never;
|
|
|
|
|
shotDirection?: never;
|
|
|
|
|
spinType?: never;
|
|
|
|
|
tableSize?: never;
|
|
|
|
@@ -999,6 +1018,7 @@ export type FilterInput =
|
|
|
|
|
missAngleInDegrees?: never;
|
|
|
|
|
notFilter?: never;
|
|
|
|
|
orFilters?: never;
|
|
|
|
|
runLength?: never;
|
|
|
|
|
shotDirection?: never;
|
|
|
|
|
spinType?: never;
|
|
|
|
|
tableSize?: never;
|
|
|
|
@@ -1040,6 +1060,7 @@ export type FilterInput =
|
|
|
|
|
missAngleInDegrees?: never;
|
|
|
|
|
notFilter?: never;
|
|
|
|
|
orFilters?: never;
|
|
|
|
|
runLength?: never;
|
|
|
|
|
shotDirection?: never;
|
|
|
|
|
spinType?: never;
|
|
|
|
|
tableSize?: never;
|
|
|
|
@@ -1081,6 +1102,7 @@ export type FilterInput =
|
|
|
|
|
missAngleInDegrees?: never;
|
|
|
|
|
notFilter?: never;
|
|
|
|
|
orFilters?: never;
|
|
|
|
|
runLength?: never;
|
|
|
|
|
shotDirection?: never;
|
|
|
|
|
spinType?: never;
|
|
|
|
|
tableSize?: never;
|
|
|
|
@@ -1122,6 +1144,7 @@ export type FilterInput =
|
|
|
|
|
missAngleInDegrees?: never;
|
|
|
|
|
notFilter?: never;
|
|
|
|
|
orFilters?: never;
|
|
|
|
|
runLength?: never;
|
|
|
|
|
shotDirection?: never;
|
|
|
|
|
spinType?: never;
|
|
|
|
|
tableSize?: never;
|
|
|
|
@@ -1163,6 +1186,7 @@ export type FilterInput =
|
|
|
|
|
missAngleInDegrees?: never;
|
|
|
|
|
notFilter?: never;
|
|
|
|
|
orFilters?: never;
|
|
|
|
|
runLength?: never;
|
|
|
|
|
shotDirection?: never;
|
|
|
|
|
spinType?: never;
|
|
|
|
|
tableSize?: never;
|
|
|
|
@@ -1204,6 +1228,7 @@ export type FilterInput =
|
|
|
|
|
missAngleInDegrees?: never;
|
|
|
|
|
notFilter?: never;
|
|
|
|
|
orFilters?: never;
|
|
|
|
|
runLength?: never;
|
|
|
|
|
shotDirection?: never;
|
|
|
|
|
spinType?: never;
|
|
|
|
|
tableSize?: never;
|
|
|
|
@@ -1245,6 +1270,7 @@ export type FilterInput =
|
|
|
|
|
missAngleInDegrees: FloatRangeFilter;
|
|
|
|
|
notFilter?: never;
|
|
|
|
|
orFilters?: never;
|
|
|
|
|
runLength?: never;
|
|
|
|
|
shotDirection?: never;
|
|
|
|
|
spinType?: never;
|
|
|
|
|
tableSize?: never;
|
|
|
|
@@ -1286,6 +1312,7 @@ export type FilterInput =
|
|
|
|
|
missAngleInDegrees?: never;
|
|
|
|
|
notFilter: FilterInput;
|
|
|
|
|
orFilters?: never;
|
|
|
|
|
runLength?: never;
|
|
|
|
|
shotDirection?: never;
|
|
|
|
|
spinType?: never;
|
|
|
|
|
tableSize?: never;
|
|
|
|
@@ -1327,6 +1354,7 @@ export type FilterInput =
|
|
|
|
|
missAngleInDegrees?: never;
|
|
|
|
|
notFilter?: never;
|
|
|
|
|
orFilters: Array<FilterInput>;
|
|
|
|
|
runLength?: never;
|
|
|
|
|
shotDirection?: never;
|
|
|
|
|
spinType?: never;
|
|
|
|
|
tableSize?: never;
|
|
|
|
@@ -1368,6 +1396,49 @@ export type FilterInput =
|
|
|
|
|
missAngleInDegrees?: never;
|
|
|
|
|
notFilter?: never;
|
|
|
|
|
orFilters?: never;
|
|
|
|
|
runLength: FloatRangeFilter;
|
|
|
|
|
shotDirection?: never;
|
|
|
|
|
spinType?: never;
|
|
|
|
|
tableSize?: never;
|
|
|
|
|
tags?: never;
|
|
|
|
|
targetPocketAngle?: never;
|
|
|
|
|
targetPocketAngleDirection?: never;
|
|
|
|
|
targetPocketDistance?: never;
|
|
|
|
|
totalDistance?: never;
|
|
|
|
|
userId?: never;
|
|
|
|
|
username?: never;
|
|
|
|
|
videoId?: never;
|
|
|
|
|
}
|
|
|
|
|
| {
|
|
|
|
|
andFilters?: never;
|
|
|
|
|
annotations?: never;
|
|
|
|
|
backcut?: never;
|
|
|
|
|
bankAngle?: never;
|
|
|
|
|
bankDistance?: never;
|
|
|
|
|
createdAt?: never;
|
|
|
|
|
cueAngleAfterObject?: never;
|
|
|
|
|
cueBallSpeed?: never;
|
|
|
|
|
cueObjectAngle?: never;
|
|
|
|
|
cueObjectDistance?: never;
|
|
|
|
|
cueSpeedAfterObject?: never;
|
|
|
|
|
difficulty?: never;
|
|
|
|
|
falsePositiveScore?: never;
|
|
|
|
|
fargoRating?: never;
|
|
|
|
|
intendedPocketType?: never;
|
|
|
|
|
isDirect?: never;
|
|
|
|
|
isLeft?: never;
|
|
|
|
|
isLeftMiss?: never;
|
|
|
|
|
isRight?: never;
|
|
|
|
|
isRightMiss?: never;
|
|
|
|
|
isStraight?: never;
|
|
|
|
|
kickAngle?: never;
|
|
|
|
|
kickDistance?: never;
|
|
|
|
|
make?: never;
|
|
|
|
|
marginOfErrorInDegrees?: never;
|
|
|
|
|
missAngleInDegrees?: never;
|
|
|
|
|
notFilter?: never;
|
|
|
|
|
orFilters?: never;
|
|
|
|
|
runLength?: never;
|
|
|
|
|
shotDirection: Array<ShotDirectionEnum>;
|
|
|
|
|
spinType?: never;
|
|
|
|
|
tableSize?: never;
|
|
|
|
@@ -1409,6 +1480,7 @@ export type FilterInput =
|
|
|
|
|
missAngleInDegrees?: never;
|
|
|
|
|
notFilter?: never;
|
|
|
|
|
orFilters?: never;
|
|
|
|
|
runLength?: never;
|
|
|
|
|
shotDirection?: never;
|
|
|
|
|
spinType: Array<SpinTypeEnum>;
|
|
|
|
|
tableSize?: never;
|
|
|
|
@@ -1450,6 +1522,7 @@ export type FilterInput =
|
|
|
|
|
missAngleInDegrees?: never;
|
|
|
|
|
notFilter?: never;
|
|
|
|
|
orFilters?: never;
|
|
|
|
|
runLength?: never;
|
|
|
|
|
shotDirection?: never;
|
|
|
|
|
spinType?: never;
|
|
|
|
|
tableSize: FloatRangeFilter;
|
|
|
|
@@ -1491,6 +1564,7 @@ export type FilterInput =
|
|
|
|
|
missAngleInDegrees?: never;
|
|
|
|
|
notFilter?: never;
|
|
|
|
|
orFilters?: never;
|
|
|
|
|
runLength?: never;
|
|
|
|
|
shotDirection?: never;
|
|
|
|
|
spinType?: never;
|
|
|
|
|
tableSize?: never;
|
|
|
|
@@ -1532,6 +1606,7 @@ export type FilterInput =
|
|
|
|
|
missAngleInDegrees?: never;
|
|
|
|
|
notFilter?: never;
|
|
|
|
|
orFilters?: never;
|
|
|
|
|
runLength?: never;
|
|
|
|
|
shotDirection?: never;
|
|
|
|
|
spinType?: never;
|
|
|
|
|
tableSize?: never;
|
|
|
|
@@ -1573,6 +1648,7 @@ export type FilterInput =
|
|
|
|
|
missAngleInDegrees?: never;
|
|
|
|
|
notFilter?: never;
|
|
|
|
|
orFilters?: never;
|
|
|
|
|
runLength?: never;
|
|
|
|
|
shotDirection?: never;
|
|
|
|
|
spinType?: never;
|
|
|
|
|
tableSize?: never;
|
|
|
|
@@ -1614,6 +1690,7 @@ export type FilterInput =
|
|
|
|
|
missAngleInDegrees?: never;
|
|
|
|
|
notFilter?: never;
|
|
|
|
|
orFilters?: never;
|
|
|
|
|
runLength?: never;
|
|
|
|
|
shotDirection?: never;
|
|
|
|
|
spinType?: never;
|
|
|
|
|
tableSize?: never;
|
|
|
|
@@ -1655,6 +1732,7 @@ export type FilterInput =
|
|
|
|
|
missAngleInDegrees?: never;
|
|
|
|
|
notFilter?: never;
|
|
|
|
|
orFilters?: never;
|
|
|
|
|
runLength?: never;
|
|
|
|
|
shotDirection?: never;
|
|
|
|
|
spinType?: never;
|
|
|
|
|
tableSize?: never;
|
|
|
|
@@ -1696,6 +1774,7 @@ export type FilterInput =
|
|
|
|
|
missAngleInDegrees?: never;
|
|
|
|
|
notFilter?: never;
|
|
|
|
|
orFilters?: never;
|
|
|
|
|
runLength?: never;
|
|
|
|
|
shotDirection?: never;
|
|
|
|
|
spinType?: never;
|
|
|
|
|
tableSize?: never;
|
|
|
|
@@ -1737,6 +1816,7 @@ export type FilterInput =
|
|
|
|
|
missAngleInDegrees?: never;
|
|
|
|
|
notFilter?: never;
|
|
|
|
|
orFilters?: never;
|
|
|
|
|
runLength?: never;
|
|
|
|
|
shotDirection?: never;
|
|
|
|
|
spinType?: never;
|
|
|
|
|
tableSize?: never;
|
|
|
|
@@ -1778,6 +1858,7 @@ export type FilterInput =
|
|
|
|
|
missAngleInDegrees?: never;
|
|
|
|
|
notFilter?: never;
|
|
|
|
|
orFilters?: never;
|
|
|
|
|
runLength?: never;
|
|
|
|
|
shotDirection?: never;
|
|
|
|
|
spinType?: never;
|
|
|
|
|
tableSize?: never;
|
|
|
|
@@ -2085,6 +2166,7 @@ export type Query = {
|
|
|
|
|
getShotsByIds: Array<ShotGql>;
|
|
|
|
|
getShotsWithMetadata: GetShotsResult;
|
|
|
|
|
getUser?: Maybe<UserGql>;
|
|
|
|
|
getUserRelationshipsMatching: UserRelationshipsResult;
|
|
|
|
|
getUserTags: Array<TagGql>;
|
|
|
|
|
getUserVideos: VideoHistoryGql;
|
|
|
|
|
getUsernames: Array<Scalars["String"]["output"]>;
|
|
|
|
@@ -2144,6 +2226,13 @@ export type QueryGetUserArgs = {
|
|
|
|
|
userId: Scalars["Int"]["input"];
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type QueryGetUserRelationshipsMatchingArgs = {
|
|
|
|
|
after?: InputMaybe<Scalars["String"]["input"]>;
|
|
|
|
|
limit?: InputMaybe<Scalars["Int"]["input"]>;
|
|
|
|
|
matchString?: InputMaybe<Scalars["String"]["input"]>;
|
|
|
|
|
userId: Scalars["Int"]["input"];
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type QueryGetUserVideosArgs = {
|
|
|
|
|
after?: InputMaybe<Scalars["String"]["input"]>;
|
|
|
|
|
filters?: InputMaybe<VideoFilterInput>;
|
|
|
|
@@ -2255,24 +2344,35 @@ export type ShotGql = {
|
|
|
|
|
export type ShotsOrderingComponent =
|
|
|
|
|
| {
|
|
|
|
|
marginOfError: FloatShotOrdering;
|
|
|
|
|
runLength?: never;
|
|
|
|
|
startFrame?: never;
|
|
|
|
|
videoCreation?: never;
|
|
|
|
|
videoId?: never;
|
|
|
|
|
}
|
|
|
|
|
| {
|
|
|
|
|
marginOfError?: never;
|
|
|
|
|
runLength: IntShotOrdering;
|
|
|
|
|
startFrame?: never;
|
|
|
|
|
videoCreation?: never;
|
|
|
|
|
videoId?: never;
|
|
|
|
|
}
|
|
|
|
|
| {
|
|
|
|
|
marginOfError?: never;
|
|
|
|
|
runLength?: never;
|
|
|
|
|
startFrame: IntShotOrdering;
|
|
|
|
|
videoCreation?: never;
|
|
|
|
|
videoId?: never;
|
|
|
|
|
}
|
|
|
|
|
| {
|
|
|
|
|
marginOfError?: never;
|
|
|
|
|
runLength?: never;
|
|
|
|
|
startFrame?: never;
|
|
|
|
|
videoCreation: DatetimeShotOrdering;
|
|
|
|
|
videoId?: never;
|
|
|
|
|
}
|
|
|
|
|
| {
|
|
|
|
|
marginOfError?: never;
|
|
|
|
|
runLength?: never;
|
|
|
|
|
startFrame?: never;
|
|
|
|
|
videoCreation?: never;
|
|
|
|
|
videoId: IntShotOrdering;
|
|
|
|
@@ -2312,15 +2412,6 @@ export type SuccessfulAddAddShotAnnotationErrors =
|
|
|
|
|
| AddShotAnnotationErrors
|
|
|
|
|
| SuccessfulAdd;
|
|
|
|
|
|
|
|
|
|
export type SuccessfulUpdate = {
|
|
|
|
|
__typename?: "SuccessfulUpdate";
|
|
|
|
|
value: Scalars["Boolean"]["output"];
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type SuccessfulUpdateUpdateShotAnnotationErrors =
|
|
|
|
|
| SuccessfulUpdate
|
|
|
|
|
| UpdateShotAnnotationErrors;
|
|
|
|
|
|
|
|
|
|
export type TagGql = {
|
|
|
|
|
__typename?: "TagGQL";
|
|
|
|
|
group?: Maybe<Scalars["String"]["output"]>;
|
|
|
|
@@ -2363,14 +2454,10 @@ export type UpdateAnnotationInputGql = {
|
|
|
|
|
notes?: InputMaybe<Scalars["String"]["input"]>;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type UpdateShotAnnotationErrors = {
|
|
|
|
|
__typename?: "UpdateShotAnnotationErrors";
|
|
|
|
|
error?: Maybe<DoesNotOwnShotErr>;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type UpdateShotAnnotationReturn = {
|
|
|
|
|
__typename?: "UpdateShotAnnotationReturn";
|
|
|
|
|
value: SuccessfulUpdateUpdateShotAnnotationErrors;
|
|
|
|
|
error?: Maybe<DoesNotOwnShotErr>;
|
|
|
|
|
shot?: Maybe<ShotGql>;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type UploadLink = {
|
|
|
|
@@ -2421,11 +2508,11 @@ export type UserGql = {
|
|
|
|
|
activeVideoId?: Maybe<Scalars["Int"]["output"]>;
|
|
|
|
|
createdAt?: Maybe<Scalars["DateTime"]["output"]>;
|
|
|
|
|
fargoRating?: Maybe<Scalars["Int"]["output"]>;
|
|
|
|
|
firebaseUid: Scalars["String"]["output"];
|
|
|
|
|
followers?: Maybe<Array<Scalars["Int"]["output"]>>;
|
|
|
|
|
following?: Maybe<Array<Scalars["Int"]["output"]>>;
|
|
|
|
|
firebaseUid?: Maybe<Scalars["String"]["output"]>;
|
|
|
|
|
followers?: Maybe<Array<UserGql>>;
|
|
|
|
|
following?: Maybe<Array<UserGql>>;
|
|
|
|
|
id: Scalars["Int"]["output"];
|
|
|
|
|
isAdmin: Scalars["Boolean"]["output"];
|
|
|
|
|
isAdmin?: Maybe<Scalars["Boolean"]["output"]>;
|
|
|
|
|
profileImageUri?: Maybe<Scalars["String"]["output"]>;
|
|
|
|
|
updatedAt?: Maybe<Scalars["DateTime"]["output"]>;
|
|
|
|
|
username: Scalars["String"]["output"];
|
|
|
|
@@ -2436,6 +2523,19 @@ export type UserPlayTimeGql = {
|
|
|
|
|
totalSeconds: Scalars["Float"]["output"];
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type UserRelationship = {
|
|
|
|
|
__typename?: "UserRelationship";
|
|
|
|
|
toUser: UserGql;
|
|
|
|
|
toUserFollows: Scalars["Boolean"]["output"];
|
|
|
|
|
toUserIsFollowedBy: Scalars["Boolean"]["output"];
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type UserRelationshipsResult = {
|
|
|
|
|
__typename?: "UserRelationshipsResult";
|
|
|
|
|
inquiringUser: UserGql;
|
|
|
|
|
relationships: Array<UserRelationship>;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type VideoFilterInput = {
|
|
|
|
|
isStreamCompleted?: InputMaybe<Scalars["Boolean"]["input"]>;
|
|
|
|
|
requireCursorCompletion?: Scalars["Boolean"]["input"];
|
|
|
|
@@ -2606,7 +2706,11 @@ export type GetFeedQuery = {
|
|
|
|
|
elapsedTime?: number | null;
|
|
|
|
|
tableSize: number;
|
|
|
|
|
owner?: { __typename?: "UserGQL"; username: string } | null;
|
|
|
|
|
stream?: { __typename?: "UploadStreamGQL"; isCompleted: boolean } | null;
|
|
|
|
|
stream?: {
|
|
|
|
|
__typename?: "UploadStreamGQL";
|
|
|
|
|
id: string;
|
|
|
|
|
isCompleted: boolean;
|
|
|
|
|
} | null;
|
|
|
|
|
tags: Array<{
|
|
|
|
|
__typename?: "VideoTag";
|
|
|
|
|
name: string;
|
|
|
|
@@ -2667,6 +2771,37 @@ export type GetShotAnnotationTypesQuery = {
|
|
|
|
|
}>;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type UpdateShotAnnotationsMutationVariables = Exact<{
|
|
|
|
|
shotId: Scalars["Int"]["input"];
|
|
|
|
|
annotations: Array<UpdateAnnotationInputGql> | UpdateAnnotationInputGql;
|
|
|
|
|
}>;
|
|
|
|
|
|
|
|
|
|
export type UpdateShotAnnotationsMutation = {
|
|
|
|
|
__typename?: "Mutation";
|
|
|
|
|
updateShotAnnotations: {
|
|
|
|
|
__typename?: "UpdateShotAnnotationReturn";
|
|
|
|
|
shot?: {
|
|
|
|
|
__typename?: "ShotGQL";
|
|
|
|
|
id: number;
|
|
|
|
|
annotations: Array<{
|
|
|
|
|
__typename?: "ShotAnnotationGQL";
|
|
|
|
|
shotId: number;
|
|
|
|
|
notes: string;
|
|
|
|
|
type: {
|
|
|
|
|
__typename?: "ShotAnnotationTypeGQL";
|
|
|
|
|
id: number;
|
|
|
|
|
name: string;
|
|
|
|
|
};
|
|
|
|
|
}>;
|
|
|
|
|
} | null;
|
|
|
|
|
error?: {
|
|
|
|
|
__typename?: "DoesNotOwnShotErr";
|
|
|
|
|
shotId: number;
|
|
|
|
|
msg?: string | null;
|
|
|
|
|
} | null;
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type GetShotsWithVideoGqlQueryVariables = Exact<{
|
|
|
|
|
filterInput: FilterInput;
|
|
|
|
|
limit?: InputMaybe<Scalars["Int"]["input"]>;
|
|
|
|
@@ -2676,7 +2811,6 @@ export type GetShotsWithVideoGqlQuery = {
|
|
|
|
|
__typename?: "Query";
|
|
|
|
|
getShotsWithMetadata: {
|
|
|
|
|
__typename?: "GetShotsResult";
|
|
|
|
|
ids: Array<number>;
|
|
|
|
|
shots: Array<{
|
|
|
|
|
__typename?: "ShotGQL";
|
|
|
|
|
id: number;
|
|
|
|
@@ -2742,6 +2876,16 @@ export type GetShotsWithMetadataFilterResultQuery = {
|
|
|
|
|
__typename?: "SerializedShotPathsGQL";
|
|
|
|
|
b64EncodedBuffer?: string | null;
|
|
|
|
|
} | null;
|
|
|
|
|
annotations: Array<{
|
|
|
|
|
__typename?: "ShotAnnotationGQL";
|
|
|
|
|
shotId: number;
|
|
|
|
|
notes: string;
|
|
|
|
|
type: {
|
|
|
|
|
__typename?: "ShotAnnotationTypeGQL";
|
|
|
|
|
id: number;
|
|
|
|
|
name: string;
|
|
|
|
|
};
|
|
|
|
|
}>;
|
|
|
|
|
}>;
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
@@ -2798,6 +2942,16 @@ export type GetShotsWithMetadataQuery = {
|
|
|
|
|
__typename?: "SerializedShotPathsGQL";
|
|
|
|
|
b64EncodedBuffer?: string | null;
|
|
|
|
|
} | null;
|
|
|
|
|
annotations: Array<{
|
|
|
|
|
__typename?: "ShotAnnotationGQL";
|
|
|
|
|
shotId: number;
|
|
|
|
|
notes: string;
|
|
|
|
|
type: {
|
|
|
|
|
__typename?: "ShotAnnotationTypeGQL";
|
|
|
|
|
id: number;
|
|
|
|
|
name: string;
|
|
|
|
|
};
|
|
|
|
|
}>;
|
|
|
|
|
}>;
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
@@ -2847,6 +3001,12 @@ export type GetShotsByIdsQuery = {
|
|
|
|
|
__typename?: "SerializedShotPathsGQL";
|
|
|
|
|
b64EncodedBuffer?: string | null;
|
|
|
|
|
} | null;
|
|
|
|
|
annotations: Array<{
|
|
|
|
|
__typename?: "ShotAnnotationGQL";
|
|
|
|
|
shotId: number;
|
|
|
|
|
notes: string;
|
|
|
|
|
type: { __typename?: "ShotAnnotationTypeGQL"; id: number; name: string };
|
|
|
|
|
}>;
|
|
|
|
|
}>;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
@@ -2889,6 +3049,12 @@ export type ShotWithAllFeaturesFragment = {
|
|
|
|
|
__typename?: "SerializedShotPathsGQL";
|
|
|
|
|
b64EncodedBuffer?: string | null;
|
|
|
|
|
} | null;
|
|
|
|
|
annotations: Array<{
|
|
|
|
|
__typename?: "ShotAnnotationGQL";
|
|
|
|
|
shotId: number;
|
|
|
|
|
notes: string;
|
|
|
|
|
type: { __typename?: "ShotAnnotationTypeGQL"; id: number; name: string };
|
|
|
|
|
}>;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type GetProfileImageUploadLinkMutationVariables = Exact<{
|
|
|
|
@@ -2928,7 +3094,7 @@ export type EditProfileImageUriMutation = {
|
|
|
|
|
editProfileImageUri: {
|
|
|
|
|
__typename?: "UserGQL";
|
|
|
|
|
id: number;
|
|
|
|
|
firebaseUid: string;
|
|
|
|
|
firebaseUid?: string | null;
|
|
|
|
|
username: string;
|
|
|
|
|
profileImageUri?: string | null;
|
|
|
|
|
createdAt?: any | null;
|
|
|
|
@@ -2943,10 +3109,11 @@ export type GetLoggedInUserQuery = {
|
|
|
|
|
getLoggedInUser?: {
|
|
|
|
|
__typename?: "UserGQL";
|
|
|
|
|
id: number;
|
|
|
|
|
firebaseUid: string;
|
|
|
|
|
firebaseUid?: string | null;
|
|
|
|
|
username: string;
|
|
|
|
|
isAdmin: boolean;
|
|
|
|
|
isAdmin?: boolean | null;
|
|
|
|
|
profileImageUri?: string | null;
|
|
|
|
|
fargoRating?: number | null;
|
|
|
|
|
activeVideoId?: number | null;
|
|
|
|
|
createdAt?: any | null;
|
|
|
|
|
updatedAt?: any | null;
|
|
|
|
@@ -2973,6 +3140,26 @@ export type GetUsernamesQuery = {
|
|
|
|
|
getUsernames: Array<string>;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type GetUserRelationshipsMatchingQueryVariables = Exact<{
|
|
|
|
|
userId: Scalars["Int"]["input"];
|
|
|
|
|
matchString: Scalars["String"]["input"];
|
|
|
|
|
limit?: InputMaybe<Scalars["Int"]["input"]>;
|
|
|
|
|
after?: InputMaybe<Scalars["String"]["input"]>;
|
|
|
|
|
}>;
|
|
|
|
|
|
|
|
|
|
export type GetUserRelationshipsMatchingQuery = {
|
|
|
|
|
__typename?: "Query";
|
|
|
|
|
getUserRelationshipsMatching: {
|
|
|
|
|
__typename?: "UserRelationshipsResult";
|
|
|
|
|
relationships: Array<{
|
|
|
|
|
__typename?: "UserRelationship";
|
|
|
|
|
toUserFollows: boolean;
|
|
|
|
|
toUserIsFollowedBy: boolean;
|
|
|
|
|
toUser: { __typename?: "UserGQL"; username: string; id: number };
|
|
|
|
|
}>;
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type GetUserTagsQueryVariables = Exact<{ [key: string]: never }>;
|
|
|
|
|
|
|
|
|
|
export type GetUserTagsQuery = {
|
|
|
|
@@ -2980,6 +3167,34 @@ export type GetUserTagsQuery = {
|
|
|
|
|
getUserTags: Array<{ __typename?: "TagGQL"; id: number; name: string }>;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type FollowUserMutationVariables = Exact<{
|
|
|
|
|
followedUserId: Scalars["Int"]["input"];
|
|
|
|
|
}>;
|
|
|
|
|
|
|
|
|
|
export type FollowUserMutation = {
|
|
|
|
|
__typename?: "Mutation";
|
|
|
|
|
followUser: {
|
|
|
|
|
__typename?: "UserGQL";
|
|
|
|
|
username: string;
|
|
|
|
|
following?: Array<{ __typename?: "UserGQL"; id: number }> | null;
|
|
|
|
|
followers?: Array<{ __typename?: "UserGQL"; id: number }> | null;
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type UnfollowUserMutationVariables = Exact<{
|
|
|
|
|
followedUserId: Scalars["Int"]["input"];
|
|
|
|
|
}>;
|
|
|
|
|
|
|
|
|
|
export type UnfollowUserMutation = {
|
|
|
|
|
__typename?: "Mutation";
|
|
|
|
|
unfollowUser: {
|
|
|
|
|
__typename?: "UserGQL";
|
|
|
|
|
username: string;
|
|
|
|
|
following?: Array<{ __typename?: "UserGQL"; id: number }> | null;
|
|
|
|
|
followers?: Array<{ __typename?: "UserGQL"; id: number }> | null;
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type GetStreamMonitoringDetailsQueryVariables = Exact<{
|
|
|
|
|
videoId: Scalars["Int"]["input"];
|
|
|
|
|
debuggingJson?: InputMaybe<Scalars["JSON"]["input"]>;
|
|
|
|
@@ -3021,6 +3236,7 @@ export type GetStreamMonitoringDetailsQuery = {
|
|
|
|
|
} | null;
|
|
|
|
|
stream?: {
|
|
|
|
|
__typename?: "UploadStreamGQL";
|
|
|
|
|
id: string;
|
|
|
|
|
linksRequested: number;
|
|
|
|
|
uploadsCompleted: number;
|
|
|
|
|
segmentProcessingCursor: number;
|
|
|
|
@@ -3097,7 +3313,7 @@ export type GetVideoDetailsQuery = {
|
|
|
|
|
owner?: {
|
|
|
|
|
__typename?: "UserGQL";
|
|
|
|
|
id: number;
|
|
|
|
|
firebaseUid: string;
|
|
|
|
|
firebaseUid?: string | null;
|
|
|
|
|
username: string;
|
|
|
|
|
profileImageUri?: string | null;
|
|
|
|
|
} | null;
|
|
|
|
@@ -3234,6 +3450,7 @@ export type GetVideoQuery = {
|
|
|
|
|
}>;
|
|
|
|
|
stream?: {
|
|
|
|
|
__typename?: "UploadStreamGQL";
|
|
|
|
|
id: string;
|
|
|
|
|
streamSegmentType: StreamSegmentTypeEnum;
|
|
|
|
|
segments: Array<{
|
|
|
|
|
__typename?: "UploadSegmentGQL";
|
|
|
|
@@ -3616,6 +3833,14 @@ export const ShotWithAllFeaturesFragmentDoc = gql`
|
|
|
|
|
serializedShotPaths {
|
|
|
|
|
b64EncodedBuffer
|
|
|
|
|
}
|
|
|
|
|
annotations {
|
|
|
|
|
shotId
|
|
|
|
|
type {
|
|
|
|
|
id
|
|
|
|
|
name
|
|
|
|
|
}
|
|
|
|
|
notes
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
`;
|
|
|
|
|
export const VideoStreamMetadataFragmentDoc = gql`
|
|
|
|
@@ -3869,6 +4094,7 @@ export const GetFeedDocument = gql`
|
|
|
|
|
elapsedTime
|
|
|
|
|
screenshotUri
|
|
|
|
|
stream {
|
|
|
|
|
id
|
|
|
|
|
isCompleted
|
|
|
|
|
}
|
|
|
|
|
tableSize
|
|
|
|
@@ -4180,10 +4406,77 @@ export type GetShotAnnotationTypesQueryResult = Apollo.QueryResult<
|
|
|
|
|
GetShotAnnotationTypesQuery,
|
|
|
|
|
GetShotAnnotationTypesQueryVariables
|
|
|
|
|
>;
|
|
|
|
|
export const UpdateShotAnnotationsDocument = gql`
|
|
|
|
|
mutation UpdateShotAnnotations(
|
|
|
|
|
$shotId: Int!
|
|
|
|
|
$annotations: [UpdateAnnotationInputGQL!]!
|
|
|
|
|
) {
|
|
|
|
|
updateShotAnnotations(shotId: $shotId, annotations: $annotations) {
|
|
|
|
|
shot {
|
|
|
|
|
id
|
|
|
|
|
annotations {
|
|
|
|
|
shotId
|
|
|
|
|
type {
|
|
|
|
|
id
|
|
|
|
|
name
|
|
|
|
|
}
|
|
|
|
|
notes
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
error {
|
|
|
|
|
shotId
|
|
|
|
|
msg
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
`;
|
|
|
|
|
export type UpdateShotAnnotationsMutationFn = Apollo.MutationFunction<
|
|
|
|
|
UpdateShotAnnotationsMutation,
|
|
|
|
|
UpdateShotAnnotationsMutationVariables
|
|
|
|
|
>;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* __useUpdateShotAnnotationsMutation__
|
|
|
|
|
*
|
|
|
|
|
* To run a mutation, you first call `useUpdateShotAnnotationsMutation` within a React component and pass it any options that fit your needs.
|
|
|
|
|
* When your component renders, `useUpdateShotAnnotationsMutation` returns a tuple that includes:
|
|
|
|
|
* - A mutate function that you can call at any time to execute the mutation
|
|
|
|
|
* - An object with fields that represent the current status of the mutation's execution
|
|
|
|
|
*
|
|
|
|
|
* @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
|
|
|
|
|
*
|
|
|
|
|
* @example
|
|
|
|
|
* const [updateShotAnnotationsMutation, { data, loading, error }] = useUpdateShotAnnotationsMutation({
|
|
|
|
|
* variables: {
|
|
|
|
|
* shotId: // value for 'shotId'
|
|
|
|
|
* annotations: // value for 'annotations'
|
|
|
|
|
* },
|
|
|
|
|
* });
|
|
|
|
|
*/
|
|
|
|
|
export function useUpdateShotAnnotationsMutation(
|
|
|
|
|
baseOptions?: Apollo.MutationHookOptions<
|
|
|
|
|
UpdateShotAnnotationsMutation,
|
|
|
|
|
UpdateShotAnnotationsMutationVariables
|
|
|
|
|
>,
|
|
|
|
|
) {
|
|
|
|
|
const options = { ...defaultOptions, ...baseOptions };
|
|
|
|
|
return Apollo.useMutation<
|
|
|
|
|
UpdateShotAnnotationsMutation,
|
|
|
|
|
UpdateShotAnnotationsMutationVariables
|
|
|
|
|
>(UpdateShotAnnotationsDocument, options);
|
|
|
|
|
}
|
|
|
|
|
export type UpdateShotAnnotationsMutationHookResult = ReturnType<
|
|
|
|
|
typeof useUpdateShotAnnotationsMutation
|
|
|
|
|
>;
|
|
|
|
|
export type UpdateShotAnnotationsMutationResult =
|
|
|
|
|
Apollo.MutationResult<UpdateShotAnnotationsMutation>;
|
|
|
|
|
export type UpdateShotAnnotationsMutationOptions = Apollo.BaseMutationOptions<
|
|
|
|
|
UpdateShotAnnotationsMutation,
|
|
|
|
|
UpdateShotAnnotationsMutationVariables
|
|
|
|
|
>;
|
|
|
|
|
export const GetShotsWithVideoGqlDocument = gql`
|
|
|
|
|
query GetShotsWithVideoGql($filterInput: FilterInput!, $limit: Int) {
|
|
|
|
|
getShotsWithMetadata(filterInput: $filterInput, limit: $limit) {
|
|
|
|
|
ids
|
|
|
|
|
shots {
|
|
|
|
|
id
|
|
|
|
|
videoId
|
|
|
|
@@ -4646,6 +4939,7 @@ export const GetLoggedInUserDocument = gql`
|
|
|
|
|
username
|
|
|
|
|
isAdmin
|
|
|
|
|
profileImageUri
|
|
|
|
|
fargoRating
|
|
|
|
|
activeVideoId
|
|
|
|
|
createdAt
|
|
|
|
|
updatedAt
|
|
|
|
@@ -4867,6 +5161,99 @@ export type GetUsernamesQueryResult = Apollo.QueryResult<
|
|
|
|
|
GetUsernamesQuery,
|
|
|
|
|
GetUsernamesQueryVariables
|
|
|
|
|
>;
|
|
|
|
|
export const GetUserRelationshipsMatchingDocument = gql`
|
|
|
|
|
query getUserRelationshipsMatching(
|
|
|
|
|
$userId: Int!
|
|
|
|
|
$matchString: String!
|
|
|
|
|
$limit: Int = null
|
|
|
|
|
$after: String = null
|
|
|
|
|
) {
|
|
|
|
|
getUserRelationshipsMatching(
|
|
|
|
|
userId: $userId
|
|
|
|
|
matchString: $matchString
|
|
|
|
|
limit: $limit
|
|
|
|
|
after: $after
|
|
|
|
|
) {
|
|
|
|
|
relationships {
|
|
|
|
|
toUser {
|
|
|
|
|
username
|
|
|
|
|
id
|
|
|
|
|
}
|
|
|
|
|
toUserFollows
|
|
|
|
|
toUserIsFollowedBy
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
`;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* __useGetUserRelationshipsMatchingQuery__
|
|
|
|
|
*
|
|
|
|
|
* To run a query within a React component, call `useGetUserRelationshipsMatchingQuery` and pass it any options that fit your needs.
|
|
|
|
|
* When your component renders, `useGetUserRelationshipsMatchingQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
|
|
|
* you can use to render your UI.
|
|
|
|
|
*
|
|
|
|
|
* @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
|
|
|
|
|
*
|
|
|
|
|
* @example
|
|
|
|
|
* const { data, loading, error } = useGetUserRelationshipsMatchingQuery({
|
|
|
|
|
* variables: {
|
|
|
|
|
* userId: // value for 'userId'
|
|
|
|
|
* matchString: // value for 'matchString'
|
|
|
|
|
* limit: // value for 'limit'
|
|
|
|
|
* after: // value for 'after'
|
|
|
|
|
* },
|
|
|
|
|
* });
|
|
|
|
|
*/
|
|
|
|
|
export function useGetUserRelationshipsMatchingQuery(
|
|
|
|
|
baseOptions: Apollo.QueryHookOptions<
|
|
|
|
|
GetUserRelationshipsMatchingQuery,
|
|
|
|
|
GetUserRelationshipsMatchingQueryVariables
|
|
|
|
|
>,
|
|
|
|
|
) {
|
|
|
|
|
const options = { ...defaultOptions, ...baseOptions };
|
|
|
|
|
return Apollo.useQuery<
|
|
|
|
|
GetUserRelationshipsMatchingQuery,
|
|
|
|
|
GetUserRelationshipsMatchingQueryVariables
|
|
|
|
|
>(GetUserRelationshipsMatchingDocument, options);
|
|
|
|
|
}
|
|
|
|
|
export function useGetUserRelationshipsMatchingLazyQuery(
|
|
|
|
|
baseOptions?: Apollo.LazyQueryHookOptions<
|
|
|
|
|
GetUserRelationshipsMatchingQuery,
|
|
|
|
|
GetUserRelationshipsMatchingQueryVariables
|
|
|
|
|
>,
|
|
|
|
|
) {
|
|
|
|
|
const options = { ...defaultOptions, ...baseOptions };
|
|
|
|
|
return Apollo.useLazyQuery<
|
|
|
|
|
GetUserRelationshipsMatchingQuery,
|
|
|
|
|
GetUserRelationshipsMatchingQueryVariables
|
|
|
|
|
>(GetUserRelationshipsMatchingDocument, options);
|
|
|
|
|
}
|
|
|
|
|
export function useGetUserRelationshipsMatchingSuspenseQuery(
|
|
|
|
|
baseOptions?: Apollo.SuspenseQueryHookOptions<
|
|
|
|
|
GetUserRelationshipsMatchingQuery,
|
|
|
|
|
GetUserRelationshipsMatchingQueryVariables
|
|
|
|
|
>,
|
|
|
|
|
) {
|
|
|
|
|
const options = { ...defaultOptions, ...baseOptions };
|
|
|
|
|
return Apollo.useSuspenseQuery<
|
|
|
|
|
GetUserRelationshipsMatchingQuery,
|
|
|
|
|
GetUserRelationshipsMatchingQueryVariables
|
|
|
|
|
>(GetUserRelationshipsMatchingDocument, options);
|
|
|
|
|
}
|
|
|
|
|
export type GetUserRelationshipsMatchingQueryHookResult = ReturnType<
|
|
|
|
|
typeof useGetUserRelationshipsMatchingQuery
|
|
|
|
|
>;
|
|
|
|
|
export type GetUserRelationshipsMatchingLazyQueryHookResult = ReturnType<
|
|
|
|
|
typeof useGetUserRelationshipsMatchingLazyQuery
|
|
|
|
|
>;
|
|
|
|
|
export type GetUserRelationshipsMatchingSuspenseQueryHookResult = ReturnType<
|
|
|
|
|
typeof useGetUserRelationshipsMatchingSuspenseQuery
|
|
|
|
|
>;
|
|
|
|
|
export type GetUserRelationshipsMatchingQueryResult = Apollo.QueryResult<
|
|
|
|
|
GetUserRelationshipsMatchingQuery,
|
|
|
|
|
GetUserRelationshipsMatchingQueryVariables
|
|
|
|
|
>;
|
|
|
|
|
export const GetUserTagsDocument = gql`
|
|
|
|
|
query GetUserTags {
|
|
|
|
|
getUserTags {
|
|
|
|
@@ -4938,6 +5325,118 @@ export type GetUserTagsQueryResult = Apollo.QueryResult<
|
|
|
|
|
GetUserTagsQuery,
|
|
|
|
|
GetUserTagsQueryVariables
|
|
|
|
|
>;
|
|
|
|
|
export const FollowUserDocument = gql`
|
|
|
|
|
mutation followUser($followedUserId: Int!) {
|
|
|
|
|
followUser(followedUserId: $followedUserId) {
|
|
|
|
|
username
|
|
|
|
|
following {
|
|
|
|
|
id
|
|
|
|
|
}
|
|
|
|
|
followers {
|
|
|
|
|
id
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
`;
|
|
|
|
|
export type FollowUserMutationFn = Apollo.MutationFunction<
|
|
|
|
|
FollowUserMutation,
|
|
|
|
|
FollowUserMutationVariables
|
|
|
|
|
>;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* __useFollowUserMutation__
|
|
|
|
|
*
|
|
|
|
|
* To run a mutation, you first call `useFollowUserMutation` within a React component and pass it any options that fit your needs.
|
|
|
|
|
* When your component renders, `useFollowUserMutation` returns a tuple that includes:
|
|
|
|
|
* - A mutate function that you can call at any time to execute the mutation
|
|
|
|
|
* - An object with fields that represent the current status of the mutation's execution
|
|
|
|
|
*
|
|
|
|
|
* @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
|
|
|
|
|
*
|
|
|
|
|
* @example
|
|
|
|
|
* const [followUserMutation, { data, loading, error }] = useFollowUserMutation({
|
|
|
|
|
* variables: {
|
|
|
|
|
* followedUserId: // value for 'followedUserId'
|
|
|
|
|
* },
|
|
|
|
|
* });
|
|
|
|
|
*/
|
|
|
|
|
export function useFollowUserMutation(
|
|
|
|
|
baseOptions?: Apollo.MutationHookOptions<
|
|
|
|
|
FollowUserMutation,
|
|
|
|
|
FollowUserMutationVariables
|
|
|
|
|
>,
|
|
|
|
|
) {
|
|
|
|
|
const options = { ...defaultOptions, ...baseOptions };
|
|
|
|
|
return Apollo.useMutation<FollowUserMutation, FollowUserMutationVariables>(
|
|
|
|
|
FollowUserDocument,
|
|
|
|
|
options,
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
export type FollowUserMutationHookResult = ReturnType<
|
|
|
|
|
typeof useFollowUserMutation
|
|
|
|
|
>;
|
|
|
|
|
export type FollowUserMutationResult =
|
|
|
|
|
Apollo.MutationResult<FollowUserMutation>;
|
|
|
|
|
export type FollowUserMutationOptions = Apollo.BaseMutationOptions<
|
|
|
|
|
FollowUserMutation,
|
|
|
|
|
FollowUserMutationVariables
|
|
|
|
|
>;
|
|
|
|
|
export const UnfollowUserDocument = gql`
|
|
|
|
|
mutation unfollowUser($followedUserId: Int!) {
|
|
|
|
|
unfollowUser(followedUserId: $followedUserId) {
|
|
|
|
|
username
|
|
|
|
|
following {
|
|
|
|
|
id
|
|
|
|
|
}
|
|
|
|
|
followers {
|
|
|
|
|
id
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
`;
|
|
|
|
|
export type UnfollowUserMutationFn = Apollo.MutationFunction<
|
|
|
|
|
UnfollowUserMutation,
|
|
|
|
|
UnfollowUserMutationVariables
|
|
|
|
|
>;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* __useUnfollowUserMutation__
|
|
|
|
|
*
|
|
|
|
|
* To run a mutation, you first call `useUnfollowUserMutation` within a React component and pass it any options that fit your needs.
|
|
|
|
|
* When your component renders, `useUnfollowUserMutation` returns a tuple that includes:
|
|
|
|
|
* - A mutate function that you can call at any time to execute the mutation
|
|
|
|
|
* - An object with fields that represent the current status of the mutation's execution
|
|
|
|
|
*
|
|
|
|
|
* @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
|
|
|
|
|
*
|
|
|
|
|
* @example
|
|
|
|
|
* const [unfollowUserMutation, { data, loading, error }] = useUnfollowUserMutation({
|
|
|
|
|
* variables: {
|
|
|
|
|
* followedUserId: // value for 'followedUserId'
|
|
|
|
|
* },
|
|
|
|
|
* });
|
|
|
|
|
*/
|
|
|
|
|
export function useUnfollowUserMutation(
|
|
|
|
|
baseOptions?: Apollo.MutationHookOptions<
|
|
|
|
|
UnfollowUserMutation,
|
|
|
|
|
UnfollowUserMutationVariables
|
|
|
|
|
>,
|
|
|
|
|
) {
|
|
|
|
|
const options = { ...defaultOptions, ...baseOptions };
|
|
|
|
|
return Apollo.useMutation<
|
|
|
|
|
UnfollowUserMutation,
|
|
|
|
|
UnfollowUserMutationVariables
|
|
|
|
|
>(UnfollowUserDocument, options);
|
|
|
|
|
}
|
|
|
|
|
export type UnfollowUserMutationHookResult = ReturnType<
|
|
|
|
|
typeof useUnfollowUserMutation
|
|
|
|
|
>;
|
|
|
|
|
export type UnfollowUserMutationResult =
|
|
|
|
|
Apollo.MutationResult<UnfollowUserMutation>;
|
|
|
|
|
export type UnfollowUserMutationOptions = Apollo.BaseMutationOptions<
|
|
|
|
|
UnfollowUserMutation,
|
|
|
|
|
UnfollowUserMutationVariables
|
|
|
|
|
>;
|
|
|
|
|
export const GetStreamMonitoringDetailsDocument = gql`
|
|
|
|
|
query GetStreamMonitoringDetails($videoId: Int!, $debuggingJson: JSON) {
|
|
|
|
|
getVideo(videoId: $videoId, debuggingJson: $debuggingJson) {
|
|
|
|
@@ -4986,6 +5485,7 @@ export const GetStreamMonitoringDetailsDocument = gql`
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
stream {
|
|
|
|
|
id
|
|
|
|
|
linksRequested
|
|
|
|
|
uploadsCompleted
|
|
|
|
|
segmentProcessingCursor
|
|
|
|
@@ -5493,6 +5993,7 @@ export const GetVideoDocument = gql`
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
stream {
|
|
|
|
|
id
|
|
|
|
|
streamSegmentType
|
|
|
|
|
segments {
|
|
|
|
|
segmentIndex
|
|
|
|
|