From 768729a2816b68795bc026a21d003e9d93aab7b2 Mon Sep 17 00:00:00 2001 From: dean Date: Wed, 10 Dec 2025 09:37:34 -0800 Subject: [PATCH] feat: Add pocketSize to VideoCardFields fragment for feed --- src/index.tsx | 14155 ++++++++++++-------------------------- src/operations/feed.gql | 1 + 2 files changed, 4212 insertions(+), 9944 deletions(-) diff --git a/src/index.tsx b/src/index.tsx index 04f0d51..2d53e5e 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -1,48 +1,35 @@ -import * as Apollo from "@apollo/client"; -import { gql } from "@apollo/client"; +import { gql } from '@apollo/client'; +import * as Apollo from '@apollo/client'; export type Maybe = T | null; export type InputMaybe = Maybe; -export type Exact = { - [K in keyof T]: T[K]; -}; -export type MakeOptional = Omit & { - [SubKey in K]?: Maybe; -}; -export type MakeMaybe = Omit & { - [SubKey in K]: Maybe; -}; -export type MakeEmpty< - T extends { [key: string]: unknown }, - K extends keyof T, -> = { [_ in K]?: never }; -export type Incremental = - | T - | { - [P in keyof T]?: P extends " $fragmentName" | "__typename" ? T[P] : never; - }; +export type Exact = { [K in keyof T]: T[K] }; +export type MakeOptional = Omit & { [SubKey in K]?: Maybe }; +export type MakeMaybe = Omit & { [SubKey in K]: Maybe }; +export type MakeEmpty = { [_ in K]?: never }; +export type Incremental = T | { [P in keyof T]?: P extends ' $fragmentName' | '__typename' ? T[P] : never }; const defaultOptions = {} as const; /** All built-in and custom scalars, mapped to their actual values */ export type Scalars = { - ID: { input: string; output: string }; - String: { input: string; output: string }; - Boolean: { input: boolean; output: boolean }; - Int: { input: number; output: number }; - Float: { input: number; output: number }; + ID: { input: string; output: string; } + String: { input: string; output: string; } + Boolean: { input: boolean; output: boolean; } + Int: { input: number; output: number; } + Float: { input: number; output: number; } /** Date (isoformat) */ - Date: { input: any; output: any }; + Date: { input: any; output: any; } /** Date with time (isoformat) */ - DateTime: { input: any; output: any }; + DateTime: { input: any; output: any; } /** The `JSON` scalar type represents JSON values as specified by [ECMA-404](https://ecma-international.org/wp-content/uploads/ECMA-404_2nd_edition_december_2017.pdf). */ - JSON: { input: any; output: any }; + JSON: { input: any; output: any; } }; export type AddShotAnnotationErrors = { - __typename?: "AddShotAnnotationErrors"; + __typename?: 'AddShotAnnotationErrors'; error: DoesNotOwnShotErrOtherErrorNeedsNote; }; export type AddShotAnnotationReturn = { - __typename?: "AddShotAnnotationReturn"; + __typename?: 'AddShotAnnotationReturn'; value: SuccessfulAddAddShotAnnotationErrors; }; @@ -52,2083 +39,271 @@ export type AggregateInputGql = { }; export type AggregateResultGql = { - __typename?: "AggregateResultGQL"; + __typename?: 'AggregateResultGQL'; aggregationIdentifiers: Array; targetMetrics: TargetMetricsGql; }; export type AggregationIdentifierGql = { - __typename?: "AggregationIdentifierGQL"; - featureName: Scalars["String"]["output"]; - groupName: Scalars["String"]["output"]; + __typename?: 'AggregationIdentifierGQL'; + featureName: Scalars['String']['output']; + groupName: Scalars['String']['output']; }; export type AggregationInput = - | { bucketSet: BucketSetInputGql; datetimeRange?: never; enum?: never } - | { - bucketSet?: never; - datetimeRange: DatetimeRangeAggregationInput; - enum?: never; - } - | { bucketSet?: never; datetimeRange?: never; enum: EnumAggregation }; + { bucketSet: BucketSetInputGql; datetimeRange?: never; enum?: never; } + | { bucketSet?: never; datetimeRange: DatetimeRangeAggregationInput; enum?: never; } + | { bucketSet?: never; datetimeRange?: never; enum: EnumAggregation; }; export enum AlignedIntervalEnum { - Day = "DAY", - Month = "MONTH", - Week = "WEEK", - Year = "YEAR", + Day = 'DAY', + Month = 'MONTH', + Week = 'WEEK', + Year = 'YEAR' } export type BankFeaturesGql = { - __typename?: "BankFeaturesGQL"; - bankAngle: Scalars["Float"]["output"]; - distance: Scalars["Float"]["output"]; + __typename?: 'BankFeaturesGQL'; + bankAngle: Scalars['Float']['output']; + distance: Scalars['Float']['output']; wallsHit: Array; }; export type BannerGql = { - __typename?: "BannerGQL"; - color: Scalars["String"]["output"]; - dismissible: Scalars["Boolean"]["output"]; - id: Scalars["Int"]["output"]; + __typename?: 'BannerGQL'; + color: Scalars['String']['output']; + dismissible: Scalars['Boolean']['output']; + id: Scalars['Int']['output']; kind: BannerKindEnum; - message: Scalars["String"]["output"]; - priority: Scalars["Int"]["output"]; + message: Scalars['String']['output']; + priority: Scalars['Int']['output']; }; export enum BannerKindEnum { - Error = "ERROR", - Info = "INFO", - Warning = "WARNING", + Error = 'ERROR', + Info = 'INFO', + Warning = 'WARNING' } export type BoundingBoxGql = { - __typename?: "BoundingBoxGQL"; - height: Scalars["Float"]["output"]; - left: Scalars["Float"]["output"]; - top: Scalars["Float"]["output"]; - width: Scalars["Float"]["output"]; + __typename?: 'BoundingBoxGQL'; + height: Scalars['Float']['output']; + left: Scalars['Float']['output']; + top: Scalars['Float']['output']; + width: Scalars['Float']['output']; }; export type BoundingBoxInputGql = { - height: Scalars["Float"]["input"]; - left: Scalars["Float"]["input"]; - top: Scalars["Float"]["input"]; - width: Scalars["Float"]["input"]; + height: Scalars['Float']['input']; + left: Scalars['Float']['input']; + top: Scalars['Float']['input']; + width: Scalars['Float']['input']; }; export type BucketGql = { - __typename?: "BucketGQL"; - lowerBound: Scalars["Float"]["output"]; - rangeKey: Scalars["String"]["output"]; + __typename?: 'BucketGQL'; + lowerBound: Scalars['Float']['output']; + rangeKey: Scalars['String']['output']; }; export type BucketInputGql = { - lowerBound: Scalars["Float"]["input"]; - rangeKey: Scalars["String"]["input"]; + lowerBound: Scalars['Float']['input']; + rangeKey: Scalars['String']['input']; }; export type BucketSetGql = { - __typename?: "BucketSetGQL"; + __typename?: 'BucketSetGQL'; buckets: Array; - feature: Scalars["String"]["output"]; - keyName: Scalars["String"]["output"]; + feature: Scalars['String']['output']; + keyName: Scalars['String']['output']; }; export type BucketSetInputGql = { buckets: Array; - feature: Scalars["String"]["input"]; + feature: Scalars['String']['input']; }; export enum ClientUploadStatusEnum { - UploadDisabled = "UPLOAD_DISABLED", - UploadEnabled = "UPLOAD_ENABLED", + UploadDisabled = 'UPLOAD_DISABLED', + UploadEnabled = 'UPLOAD_ENABLED' } export type CommentGql = { - __typename?: "CommentGQL"; - id: Scalars["Int"]["output"]; - message: Scalars["String"]["output"]; + __typename?: 'CommentGQL'; + id: Scalars['Int']['output']; + message: Scalars['String']['output']; replies: Array; user: UserGql; }; export type CountLeaderboardGql = { - __typename?: "CountLeaderboardGQL"; + __typename?: 'CountLeaderboardGQL'; entries: Array; }; export type CreateBucketSetInput = { buckets: Array; - feature: Scalars["String"]["input"]; - keyName: Scalars["String"]["input"]; + feature: Scalars['String']['input']; + keyName: Scalars['String']['input']; }; export type CreateSubscriptionResultGql = { - __typename?: "CreateSubscriptionResultGQL"; - checkoutUrl: Scalars["String"]["output"]; - sessionId: Scalars["String"]["output"]; + __typename?: 'CreateSubscriptionResultGQL'; + checkoutUrl: Scalars['String']['output']; + sessionId: Scalars['String']['output']; }; export type CreateUploadStreamReturn = { - __typename?: "CreateUploadStreamReturn"; - videoId: Scalars["Int"]["output"]; + __typename?: 'CreateUploadStreamReturn'; + videoId: Scalars['Int']['output']; }; export type CreatedAfter = - | { createdAt: Scalars["DateTime"]["input"]; videoId?: never } - | { createdAt?: never; videoId: Scalars["Int"]["input"] }; + { createdAt: Scalars['DateTime']['input']; videoId?: never; } + | { createdAt?: never; videoId: Scalars['Int']['input']; }; export type CueObjectFeaturesGql = { - __typename?: "CueObjectFeaturesGQL"; - cueBallSpeed?: Maybe; - cueObjectAngle?: Maybe; - cueObjectDistance?: Maybe; + __typename?: 'CueObjectFeaturesGQL'; + cueBallSpeed?: Maybe; + cueObjectAngle?: Maybe; + cueObjectDistance?: Maybe; shotDirection?: Maybe; spinType?: Maybe; }; export type DateRangeFilter = { - greaterThan?: InputMaybe; - greaterThanEqualTo?: InputMaybe; - greaterThanInclusive?: Scalars["Boolean"]["input"]; - includeOnNone?: Scalars["Boolean"]["input"]; - lessThan?: InputMaybe; - lessThanInclusive?: Scalars["Boolean"]["input"]; + greaterThan?: InputMaybe; + greaterThanEqualTo?: InputMaybe; + greaterThanInclusive?: Scalars['Boolean']['input']; + includeOnNone?: Scalars['Boolean']['input']; + lessThan?: InputMaybe; + lessThanInclusive?: Scalars['Boolean']['input']; }; export type DatetimeOrdering = { - descending?: Scalars["Boolean"]["input"]; - startingAt?: InputMaybe; + descending?: Scalars['Boolean']['input']; + startingAt?: InputMaybe; }; export type DatetimeRangeAggregationInput = { - endDatetime?: InputMaybe; - feature?: Scalars["String"]["input"]; + endDatetime?: InputMaybe; + feature?: Scalars['String']['input']; interval: TimeInterval; - startDatetime?: InputMaybe; + startDatetime?: InputMaybe; }; export type DeployedConfigGql = { - __typename?: "DeployedConfigGQL"; - allowNewUsers: Scalars["Boolean"]["output"]; + __typename?: 'DeployedConfigGQL'; + allowNewUsers: Scalars['Boolean']['output']; bannerMessages: Array; - devMode: Scalars["Boolean"]["output"]; - environment: Scalars["String"]["output"]; - firebase: Scalars["Boolean"]["output"]; - minimumAllowedAppVersion: Scalars["String"]["output"]; - subscriptionGatingEnabled: Scalars["Boolean"]["output"]; + devMode: Scalars['Boolean']['output']; + environment: Scalars['String']['output']; + firebase: Scalars['Boolean']['output']; + minimumAllowedAppVersion: Scalars['String']['output']; + subscriptionGatingEnabled: Scalars['Boolean']['output']; }; export type DoesNotOwnShotErr = { - __typename?: "DoesNotOwnShotErr"; - msg?: Maybe; - shotId: Scalars["Int"]["output"]; + __typename?: 'DoesNotOwnShotErr'; + msg?: Maybe; + shotId: Scalars['Int']['output']; }; -export type DoesNotOwnShotErrOtherErrorNeedsNote = - | DoesNotOwnShotErr - | OtherErrorNeedsNote; +export type DoesNotOwnShotErrOtherErrorNeedsNote = DoesNotOwnShotErr | OtherErrorNeedsNote; export type EditShotReturn = { - __typename?: "EditShotReturn"; + __typename?: 'EditShotReturn'; error?: Maybe; shot?: Maybe; }; export type EditUserInputGql = { - agreesToMarketing?: InputMaybe; - fargoRating?: InputMaybe; - username?: InputMaybe; - videosPrivateByDefault?: InputMaybe; + agreesToMarketing?: InputMaybe; + fargoRating?: InputMaybe; + username?: InputMaybe; + videosPrivateByDefault?: InputMaybe; }; export type EditableShotFieldInputGql = { - backcut?: InputMaybe; - excludeFromStats?: InputMaybe; + backcut?: InputMaybe; + excludeFromStats?: InputMaybe; intendedPocketType?: InputMaybe; - make?: InputMaybe; - notes?: InputMaybe; + make?: InputMaybe; + notes?: InputMaybe; shotDirection?: InputMaybe; spinType?: InputMaybe; targetPocketAngleDirection?: InputMaybe; }; export type EnumAggregation = { - feature: Scalars["String"]["input"]; + feature: Scalars['String']['input']; }; export type FilterInput = - | { - andFilters: Array; - 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; - isBreakHeuristic?: 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; - runId?: never; - runLength?: never; - 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: Array; - 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; - isBreakHeuristic?: 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; - runId?: never; - runLength?: never; - 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: Array; - bankAngle?: never; - bankDistance?: never; - createdAt?: never; - cueAngleAfterObject?: never; - cueBallSpeed?: never; - cueObjectAngle?: never; - cueObjectDistance?: never; - cueSpeedAfterObject?: never; - difficulty?: never; - falsePositiveScore?: never; - fargoRating?: never; - intendedPocketType?: never; - isBreakHeuristic?: 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; - runId?: never; - runLength?: never; - 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: FloatRangeFilter; - bankDistance?: never; - createdAt?: never; - cueAngleAfterObject?: never; - cueBallSpeed?: never; - cueObjectAngle?: never; - cueObjectDistance?: never; - cueSpeedAfterObject?: never; - difficulty?: never; - falsePositiveScore?: never; - fargoRating?: never; - intendedPocketType?: never; - isBreakHeuristic?: 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; - runId?: never; - runLength?: never; - 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: FloatRangeFilter; - createdAt?: never; - cueAngleAfterObject?: never; - cueBallSpeed?: never; - cueObjectAngle?: never; - cueObjectDistance?: never; - cueSpeedAfterObject?: never; - difficulty?: never; - falsePositiveScore?: never; - fargoRating?: never; - intendedPocketType?: never; - isBreakHeuristic?: 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; - runId?: never; - runLength?: never; - 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: DateRangeFilter; - cueAngleAfterObject?: never; - cueBallSpeed?: never; - cueObjectAngle?: never; - cueObjectDistance?: never; - cueSpeedAfterObject?: never; - difficulty?: never; - falsePositiveScore?: never; - fargoRating?: never; - intendedPocketType?: never; - isBreakHeuristic?: 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; - runId?: never; - runLength?: never; - 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: FloatRangeFilter; - cueBallSpeed?: never; - cueObjectAngle?: never; - cueObjectDistance?: never; - cueSpeedAfterObject?: never; - difficulty?: never; - falsePositiveScore?: never; - fargoRating?: never; - intendedPocketType?: never; - isBreakHeuristic?: 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; - runId?: never; - runLength?: never; - 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: FloatRangeFilter; - cueObjectAngle?: never; - cueObjectDistance?: never; - cueSpeedAfterObject?: never; - difficulty?: never; - falsePositiveScore?: never; - fargoRating?: never; - intendedPocketType?: never; - isBreakHeuristic?: 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; - runId?: never; - runLength?: never; - 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: FloatRangeFilter; - cueObjectDistance?: never; - cueSpeedAfterObject?: never; - difficulty?: never; - falsePositiveScore?: never; - fargoRating?: never; - intendedPocketType?: never; - isBreakHeuristic?: 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; - runId?: never; - runLength?: never; - 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: FloatRangeFilter; - cueSpeedAfterObject?: never; - difficulty?: never; - falsePositiveScore?: never; - fargoRating?: never; - intendedPocketType?: never; - isBreakHeuristic?: 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; - runId?: never; - runLength?: never; - 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: FloatRangeFilter; - difficulty?: never; - falsePositiveScore?: never; - fargoRating?: never; - intendedPocketType?: never; - isBreakHeuristic?: 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; - runId?: never; - runLength?: never; - 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: FloatRangeFilter; - falsePositiveScore?: never; - fargoRating?: never; - intendedPocketType?: never; - isBreakHeuristic?: 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; - runId?: never; - runLength?: never; - 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: FloatRangeFilter; - fargoRating?: never; - intendedPocketType?: never; - isBreakHeuristic?: 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; - runId?: never; - runLength?: never; - 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: FloatRangeFilter; - intendedPocketType?: never; - isBreakHeuristic?: 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; - runId?: never; - runLength?: never; - 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: Array; - isBreakHeuristic?: 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; - runId?: never; - runLength?: never; - 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; - isBreakHeuristic: Array; - 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; - runId?: never; - runLength?: never; - 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; - isBreakHeuristic?: never; - isDirect: Array; - isLeft?: never; - isLeftMiss?: never; - isRight?: never; - isRightMiss?: never; - isStraight?: never; - kickAngle?: never; - kickDistance?: never; - make?: never; - marginOfErrorInDegrees?: never; - missAngleInDegrees?: never; - notFilter?: never; - orFilters?: never; - runId?: never; - runLength?: never; - 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; - isBreakHeuristic?: never; - isDirect?: never; - isLeft: Array; - isLeftMiss?: never; - isRight?: never; - isRightMiss?: never; - isStraight?: never; - kickAngle?: never; - kickDistance?: never; - make?: never; - marginOfErrorInDegrees?: never; - missAngleInDegrees?: never; - notFilter?: never; - orFilters?: never; - runId?: never; - runLength?: never; - 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; - isBreakHeuristic?: never; - isDirect?: never; - isLeft?: never; - isLeftMiss: Array; - isRight?: never; - isRightMiss?: never; - isStraight?: never; - kickAngle?: never; - kickDistance?: never; - make?: never; - marginOfErrorInDegrees?: never; - missAngleInDegrees?: never; - notFilter?: never; - orFilters?: never; - runId?: never; - runLength?: never; - 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; - isBreakHeuristic?: never; - isDirect?: never; - isLeft?: never; - isLeftMiss?: never; - isRight: Array; - isRightMiss?: never; - isStraight?: never; - kickAngle?: never; - kickDistance?: never; - make?: never; - marginOfErrorInDegrees?: never; - missAngleInDegrees?: never; - notFilter?: never; - orFilters?: never; - runId?: never; - runLength?: never; - 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; - isBreakHeuristic?: never; - isDirect?: never; - isLeft?: never; - isLeftMiss?: never; - isRight?: never; - isRightMiss: Array; - isStraight?: never; - kickAngle?: never; - kickDistance?: never; - make?: never; - marginOfErrorInDegrees?: never; - missAngleInDegrees?: never; - notFilter?: never; - orFilters?: never; - runId?: never; - runLength?: never; - 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; - isBreakHeuristic?: never; - isDirect?: never; - isLeft?: never; - isLeftMiss?: never; - isRight?: never; - isRightMiss?: never; - isStraight: Array; - kickAngle?: never; - kickDistance?: never; - make?: never; - marginOfErrorInDegrees?: never; - missAngleInDegrees?: never; - notFilter?: never; - orFilters?: never; - runId?: never; - runLength?: never; - 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; - isBreakHeuristic?: never; - isDirect?: never; - isLeft?: never; - isLeftMiss?: never; - isRight?: never; - isRightMiss?: never; - isStraight?: never; - kickAngle: FloatRangeFilter; - kickDistance?: never; - make?: never; - marginOfErrorInDegrees?: never; - missAngleInDegrees?: never; - notFilter?: never; - orFilters?: never; - runId?: never; - runLength?: never; - 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; - isBreakHeuristic?: never; - isDirect?: never; - isLeft?: never; - isLeftMiss?: never; - isRight?: never; - isRightMiss?: never; - isStraight?: never; - kickAngle?: never; - kickDistance: FloatRangeFilter; - make?: never; - marginOfErrorInDegrees?: never; - missAngleInDegrees?: never; - notFilter?: never; - orFilters?: never; - runId?: never; - runLength?: never; - 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; - isBreakHeuristic?: never; - isDirect?: never; - isLeft?: never; - isLeftMiss?: never; - isRight?: never; - isRightMiss?: never; - isStraight?: never; - kickAngle?: never; - kickDistance?: never; - make: Array; - marginOfErrorInDegrees?: never; - missAngleInDegrees?: never; - notFilter?: never; - orFilters?: never; - runId?: never; - runLength?: never; - 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; - isBreakHeuristic?: never; - isDirect?: never; - isLeft?: never; - isLeftMiss?: never; - isRight?: never; - isRightMiss?: never; - isStraight?: never; - kickAngle?: never; - kickDistance?: never; - make?: never; - marginOfErrorInDegrees: FloatRangeFilter; - missAngleInDegrees?: never; - notFilter?: never; - orFilters?: never; - runId?: never; - runLength?: never; - 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; - isBreakHeuristic?: never; - isDirect?: never; - isLeft?: never; - isLeftMiss?: never; - isRight?: never; - isRightMiss?: never; - isStraight?: never; - kickAngle?: never; - kickDistance?: never; - make?: never; - marginOfErrorInDegrees?: never; - missAngleInDegrees: FloatRangeFilter; - notFilter?: never; - orFilters?: never; - runId?: never; - runLength?: never; - 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; - isBreakHeuristic?: never; - isDirect?: never; - isLeft?: never; - isLeftMiss?: never; - isRight?: never; - isRightMiss?: never; - isStraight?: never; - kickAngle?: never; - kickDistance?: never; - make?: never; - marginOfErrorInDegrees?: never; - missAngleInDegrees?: never; - notFilter: FilterInput; - orFilters?: never; - runId?: never; - runLength?: never; - 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; - isBreakHeuristic?: 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: Array; - runId?: never; - runLength?: never; - 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; - isBreakHeuristic?: 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; - runId: Array; - runLength?: never; - 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; - isBreakHeuristic?: 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; - runId?: 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; - isBreakHeuristic?: 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; - runId?: never; - runLength?: never; - shotDirection: Array; - 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; - isBreakHeuristic?: 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; - runId?: never; - runLength?: never; - shotDirection?: never; - spinType: Array; - 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; - isBreakHeuristic?: 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; - runId?: never; - runLength?: never; - shotDirection?: never; - spinType?: never; - tableSize: FloatRangeFilter; - 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; - isBreakHeuristic?: 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; - runId?: never; - runLength?: never; - shotDirection?: never; - spinType?: never; - tableSize?: never; - tags: Array; - 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; - isBreakHeuristic?: 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; - runId?: never; - runLength?: never; - shotDirection?: never; - spinType?: never; - tableSize?: never; - tags?: never; - targetPocketAngle: FloatRangeFilter; - 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; - isBreakHeuristic?: 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; - runId?: never; - runLength?: never; - shotDirection?: never; - spinType?: never; - tableSize?: never; - tags?: never; - targetPocketAngle?: never; - targetPocketAngleDirection: Array; - 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; - isBreakHeuristic?: 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; - runId?: never; - runLength?: never; - shotDirection?: never; - spinType?: never; - tableSize?: never; - tags?: never; - targetPocketAngle?: never; - targetPocketAngleDirection?: never; - targetPocketDistance: FloatRangeFilter; - 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; - isBreakHeuristic?: 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; - runId?: never; - runLength?: never; - shotDirection?: never; - spinType?: never; - tableSize?: never; - tags?: never; - targetPocketAngle?: never; - targetPocketAngleDirection?: never; - targetPocketDistance?: never; - totalDistance: FloatRangeFilter; - 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; - isBreakHeuristic?: 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; - runId?: never; - runLength?: never; - shotDirection?: never; - spinType?: never; - tableSize?: never; - tags?: never; - targetPocketAngle?: never; - targetPocketAngleDirection?: never; - targetPocketDistance?: never; - totalDistance?: never; - userId: Array; - 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; - isBreakHeuristic?: 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; - runId?: never; - runLength?: never; - shotDirection?: never; - spinType?: never; - tableSize?: never; - tags?: never; - targetPocketAngle?: never; - targetPocketAngleDirection?: never; - targetPocketDistance?: never; - totalDistance?: never; - userId?: never; - username: Array; - 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; - isBreakHeuristic?: 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; - runId?: never; - runLength?: never; - shotDirection?: never; - spinType?: never; - tableSize?: never; - tags?: never; - targetPocketAngle?: never; - targetPocketAngleDirection?: never; - targetPocketDistance?: never; - totalDistance?: never; - userId?: never; - username?: never; - videoId: Array; - }; + { andFilters: Array; 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; isBreakHeuristic?: 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; runId?: never; runLength?: never; 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: Array; 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; isBreakHeuristic?: 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; runId?: never; runLength?: never; 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: Array; bankAngle?: never; bankDistance?: never; createdAt?: never; cueAngleAfterObject?: never; cueBallSpeed?: never; cueObjectAngle?: never; cueObjectDistance?: never; cueSpeedAfterObject?: never; difficulty?: never; falsePositiveScore?: never; fargoRating?: never; intendedPocketType?: never; isBreakHeuristic?: 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; runId?: never; runLength?: never; 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: FloatRangeFilter; bankDistance?: never; createdAt?: never; cueAngleAfterObject?: never; cueBallSpeed?: never; cueObjectAngle?: never; cueObjectDistance?: never; cueSpeedAfterObject?: never; difficulty?: never; falsePositiveScore?: never; fargoRating?: never; intendedPocketType?: never; isBreakHeuristic?: 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; runId?: never; runLength?: never; 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: FloatRangeFilter; createdAt?: never; cueAngleAfterObject?: never; cueBallSpeed?: never; cueObjectAngle?: never; cueObjectDistance?: never; cueSpeedAfterObject?: never; difficulty?: never; falsePositiveScore?: never; fargoRating?: never; intendedPocketType?: never; isBreakHeuristic?: 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; runId?: never; runLength?: never; 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: DateRangeFilter; cueAngleAfterObject?: never; cueBallSpeed?: never; cueObjectAngle?: never; cueObjectDistance?: never; cueSpeedAfterObject?: never; difficulty?: never; falsePositiveScore?: never; fargoRating?: never; intendedPocketType?: never; isBreakHeuristic?: 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; runId?: never; runLength?: never; 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: FloatRangeFilter; cueBallSpeed?: never; cueObjectAngle?: never; cueObjectDistance?: never; cueSpeedAfterObject?: never; difficulty?: never; falsePositiveScore?: never; fargoRating?: never; intendedPocketType?: never; isBreakHeuristic?: 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; runId?: never; runLength?: never; 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: FloatRangeFilter; cueObjectAngle?: never; cueObjectDistance?: never; cueSpeedAfterObject?: never; difficulty?: never; falsePositiveScore?: never; fargoRating?: never; intendedPocketType?: never; isBreakHeuristic?: 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; runId?: never; runLength?: never; 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: FloatRangeFilter; cueObjectDistance?: never; cueSpeedAfterObject?: never; difficulty?: never; falsePositiveScore?: never; fargoRating?: never; intendedPocketType?: never; isBreakHeuristic?: 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; runId?: never; runLength?: never; 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: FloatRangeFilter; cueSpeedAfterObject?: never; difficulty?: never; falsePositiveScore?: never; fargoRating?: never; intendedPocketType?: never; isBreakHeuristic?: 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; runId?: never; runLength?: never; 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: FloatRangeFilter; difficulty?: never; falsePositiveScore?: never; fargoRating?: never; intendedPocketType?: never; isBreakHeuristic?: 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; runId?: never; runLength?: never; 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: FloatRangeFilter; falsePositiveScore?: never; fargoRating?: never; intendedPocketType?: never; isBreakHeuristic?: 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; runId?: never; runLength?: never; 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: FloatRangeFilter; fargoRating?: never; intendedPocketType?: never; isBreakHeuristic?: 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; runId?: never; runLength?: never; 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: FloatRangeFilter; intendedPocketType?: never; isBreakHeuristic?: 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; runId?: never; runLength?: never; 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: Array; isBreakHeuristic?: 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; runId?: never; runLength?: never; 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; isBreakHeuristic: Array; 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; runId?: never; runLength?: never; 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; isBreakHeuristic?: never; isDirect: Array; isLeft?: never; isLeftMiss?: never; isRight?: never; isRightMiss?: never; isStraight?: never; kickAngle?: never; kickDistance?: never; make?: never; marginOfErrorInDegrees?: never; missAngleInDegrees?: never; notFilter?: never; orFilters?: never; runId?: never; runLength?: never; 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; isBreakHeuristic?: never; isDirect?: never; isLeft: Array; isLeftMiss?: never; isRight?: never; isRightMiss?: never; isStraight?: never; kickAngle?: never; kickDistance?: never; make?: never; marginOfErrorInDegrees?: never; missAngleInDegrees?: never; notFilter?: never; orFilters?: never; runId?: never; runLength?: never; 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; isBreakHeuristic?: never; isDirect?: never; isLeft?: never; isLeftMiss: Array; isRight?: never; isRightMiss?: never; isStraight?: never; kickAngle?: never; kickDistance?: never; make?: never; marginOfErrorInDegrees?: never; missAngleInDegrees?: never; notFilter?: never; orFilters?: never; runId?: never; runLength?: never; 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; isBreakHeuristic?: never; isDirect?: never; isLeft?: never; isLeftMiss?: never; isRight: Array; isRightMiss?: never; isStraight?: never; kickAngle?: never; kickDistance?: never; make?: never; marginOfErrorInDegrees?: never; missAngleInDegrees?: never; notFilter?: never; orFilters?: never; runId?: never; runLength?: never; 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; isBreakHeuristic?: never; isDirect?: never; isLeft?: never; isLeftMiss?: never; isRight?: never; isRightMiss: Array; isStraight?: never; kickAngle?: never; kickDistance?: never; make?: never; marginOfErrorInDegrees?: never; missAngleInDegrees?: never; notFilter?: never; orFilters?: never; runId?: never; runLength?: never; 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; isBreakHeuristic?: never; isDirect?: never; isLeft?: never; isLeftMiss?: never; isRight?: never; isRightMiss?: never; isStraight: Array; kickAngle?: never; kickDistance?: never; make?: never; marginOfErrorInDegrees?: never; missAngleInDegrees?: never; notFilter?: never; orFilters?: never; runId?: never; runLength?: never; 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; isBreakHeuristic?: never; isDirect?: never; isLeft?: never; isLeftMiss?: never; isRight?: never; isRightMiss?: never; isStraight?: never; kickAngle: FloatRangeFilter; kickDistance?: never; make?: never; marginOfErrorInDegrees?: never; missAngleInDegrees?: never; notFilter?: never; orFilters?: never; runId?: never; runLength?: never; 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; isBreakHeuristic?: never; isDirect?: never; isLeft?: never; isLeftMiss?: never; isRight?: never; isRightMiss?: never; isStraight?: never; kickAngle?: never; kickDistance: FloatRangeFilter; make?: never; marginOfErrorInDegrees?: never; missAngleInDegrees?: never; notFilter?: never; orFilters?: never; runId?: never; runLength?: never; 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; isBreakHeuristic?: never; isDirect?: never; isLeft?: never; isLeftMiss?: never; isRight?: never; isRightMiss?: never; isStraight?: never; kickAngle?: never; kickDistance?: never; make: Array; marginOfErrorInDegrees?: never; missAngleInDegrees?: never; notFilter?: never; orFilters?: never; runId?: never; runLength?: never; 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; isBreakHeuristic?: never; isDirect?: never; isLeft?: never; isLeftMiss?: never; isRight?: never; isRightMiss?: never; isStraight?: never; kickAngle?: never; kickDistance?: never; make?: never; marginOfErrorInDegrees: FloatRangeFilter; missAngleInDegrees?: never; notFilter?: never; orFilters?: never; runId?: never; runLength?: never; 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; isBreakHeuristic?: never; isDirect?: never; isLeft?: never; isLeftMiss?: never; isRight?: never; isRightMiss?: never; isStraight?: never; kickAngle?: never; kickDistance?: never; make?: never; marginOfErrorInDegrees?: never; missAngleInDegrees: FloatRangeFilter; notFilter?: never; orFilters?: never; runId?: never; runLength?: never; 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; isBreakHeuristic?: never; isDirect?: never; isLeft?: never; isLeftMiss?: never; isRight?: never; isRightMiss?: never; isStraight?: never; kickAngle?: never; kickDistance?: never; make?: never; marginOfErrorInDegrees?: never; missAngleInDegrees?: never; notFilter: FilterInput; orFilters?: never; runId?: never; runLength?: never; 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; isBreakHeuristic?: 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: Array; runId?: never; runLength?: never; 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; isBreakHeuristic?: 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; runId: Array; runLength?: never; 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; isBreakHeuristic?: 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; runId?: 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; isBreakHeuristic?: 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; runId?: never; runLength?: never; shotDirection: Array; 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; isBreakHeuristic?: 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; runId?: never; runLength?: never; shotDirection?: never; spinType: Array; 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; isBreakHeuristic?: 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; runId?: never; runLength?: never; shotDirection?: never; spinType?: never; tableSize: FloatRangeFilter; 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; isBreakHeuristic?: 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; runId?: never; runLength?: never; shotDirection?: never; spinType?: never; tableSize?: never; tags: Array; 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; isBreakHeuristic?: 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; runId?: never; runLength?: never; shotDirection?: never; spinType?: never; tableSize?: never; tags?: never; targetPocketAngle: FloatRangeFilter; 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; isBreakHeuristic?: 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; runId?: never; runLength?: never; shotDirection?: never; spinType?: never; tableSize?: never; tags?: never; targetPocketAngle?: never; targetPocketAngleDirection: Array; 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; isBreakHeuristic?: 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; runId?: never; runLength?: never; shotDirection?: never; spinType?: never; tableSize?: never; tags?: never; targetPocketAngle?: never; targetPocketAngleDirection?: never; targetPocketDistance: FloatRangeFilter; 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; isBreakHeuristic?: 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; runId?: never; runLength?: never; shotDirection?: never; spinType?: never; tableSize?: never; tags?: never; targetPocketAngle?: never; targetPocketAngleDirection?: never; targetPocketDistance?: never; totalDistance: FloatRangeFilter; 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; isBreakHeuristic?: 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; runId?: never; runLength?: never; shotDirection?: never; spinType?: never; tableSize?: never; tags?: never; targetPocketAngle?: never; targetPocketAngleDirection?: never; targetPocketDistance?: never; totalDistance?: never; userId: Array; 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; isBreakHeuristic?: 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; runId?: never; runLength?: never; shotDirection?: never; spinType?: never; tableSize?: never; tags?: never; targetPocketAngle?: never; targetPocketAngleDirection?: never; targetPocketDistance?: never; totalDistance?: never; userId?: never; username: Array; 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; isBreakHeuristic?: 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; runId?: never; runLength?: never; shotDirection?: never; spinType?: never; tableSize?: never; tags?: never; targetPocketAngle?: never; targetPocketAngleDirection?: never; targetPocketDistance?: never; totalDistance?: never; userId?: never; username?: never; videoId: Array; }; export type FloatOrdering = { - descending?: Scalars["Boolean"]["input"]; - startingAt?: InputMaybe; + descending?: Scalars['Boolean']['input']; + startingAt?: InputMaybe; }; export type FloatRangeFilter = { - greaterThan?: InputMaybe; - greaterThanEqualTo?: InputMaybe; - greaterThanInclusive?: Scalars["Boolean"]["input"]; - includeOnNone?: Scalars["Boolean"]["input"]; - lessThan?: InputMaybe; - lessThanInclusive?: Scalars["Boolean"]["input"]; + greaterThan?: InputMaybe; + greaterThanEqualTo?: InputMaybe; + greaterThanInclusive?: Scalars['Boolean']['input']; + includeOnNone?: Scalars['Boolean']['input']; + lessThan?: InputMaybe; + lessThanInclusive?: Scalars['Boolean']['input']; }; export type GetProfileUploadLinkErrors = { - __typename?: "GetProfileUploadLinkErrors"; + __typename?: 'GetProfileUploadLinkErrors'; error: TooManyProfileImageUploadsErr; }; export type GetProfileUploadLinkReturn = { - __typename?: "GetProfileUploadLinkReturn"; + __typename?: 'GetProfileUploadLinkReturn'; value: UploadLinkGetProfileUploadLinkErrors; }; @@ -2137,9 +312,9 @@ export type GetRunsOrdering = { }; export type GetRunsResult = { - __typename?: "GetRunsResult"; - count?: Maybe; - runIds: Array; + __typename?: 'GetRunsResult'; + count?: Maybe; + runIds: Array; runs: Array; }; @@ -2149,47 +324,47 @@ export type GetShotsOrdering = { export type GetShotsPagination = { createdAfter: CreatedAfter; - startFrameAfter: Scalars["Int"]["input"]; + startFrameAfter: Scalars['Int']['input']; }; export type GetShotsResult = { - __typename?: "GetShotsResult"; - count?: Maybe; - ids: Array; + __typename?: 'GetShotsResult'; + count?: Maybe; + ids: Array; shots: Array; }; export type GetUploadLinkErrors = { - __typename?: "GetUploadLinkErrors"; + __typename?: 'GetUploadLinkErrors'; error: MustHaveSetForUploadLinkErrSegmentAlreadyUploadedErrProcessingFailedErrNoInitForChunkedUploadErrTooManyProfileImageUploadsErrInitUploadAlreadyCompletedErrTooManyInitUploadsErr; }; export type GetUploadLinkReturn = { - __typename?: "GetUploadLinkReturn"; + __typename?: 'GetUploadLinkReturn'; stream?: Maybe; value: UploadLinkGetUploadLinkErrors; }; export type HlsPlaylistGql = { - __typename?: "HLSPlaylistGQL"; - m3u8Text: Scalars["String"]["output"]; - segmentDurations: Array; - segmentStartTimes: Array; - videoId: Scalars["Int"]["output"]; + __typename?: 'HLSPlaylistGQL'; + m3u8Text: Scalars['String']['output']; + segmentDurations: Array; + segmentStartTimes: Array; + videoId: Scalars['Int']['output']; }; export type Header = { - __typename?: "Header"; - key: Scalars["String"]["output"]; - value: Scalars["String"]["output"]; + __typename?: 'Header'; + key: Scalars['String']['output']; + value: Scalars['String']['output']; }; export type HomographyInfoGql = { - __typename?: "HomographyInfoGQL"; + __typename?: 'HomographyInfoGQL'; crop: BoundingBoxGql; destPoints: PocketPointsGql; - frameIndex: Scalars["Int"]["output"]; - id: Scalars["Int"]["output"]; + frameIndex: Scalars['Int']['output']; + id: Scalars['Int']['output']; pockets: Array; sourcePoints: PocketPointsGql; }; @@ -2202,98 +377,83 @@ export type HomographyInputGql = { }; export enum IncludePrivateEnum { - All = "ALL", - Mine = "MINE", - None = "NONE", + All = 'ALL', + Mine = 'MINE', + None = 'NONE' } export enum InitPlaylistUploadStatusEnum { - NotApplicable = "NOT_APPLICABLE", - NotUploaded = "NOT_UPLOADED", - Uploaded = "UPLOADED", + NotApplicable = 'NOT_APPLICABLE', + NotUploaded = 'NOT_UPLOADED', + Uploaded = 'UPLOADED' } export type InitUploadAlreadyCompletedErr = { - __typename?: "InitUploadAlreadyCompletedErr"; + __typename?: 'InitUploadAlreadyCompletedErr'; segmentType: StreamSegmentTypeEnum; }; export type IntOrdering = { - descending?: Scalars["Boolean"]["input"]; - startingAt?: InputMaybe; + descending?: Scalars['Boolean']['input']; + startingAt?: InputMaybe; }; export type IntPoint2D = { - __typename?: "IntPoint2D"; - x: Scalars["Int"]["output"]; - y: Scalars["Int"]["output"]; + __typename?: 'IntPoint2D'; + x: Scalars['Int']['output']; + y: Scalars['Int']['output']; }; export type IntPoint2DInput = { - x: Scalars["Int"]["input"]; - y: Scalars["Int"]["input"]; + x: Scalars['Int']['input']; + y: Scalars['Int']['input']; }; export type MakePercentageIntervalGql = { - __typename?: "MakePercentageIntervalGQL"; - elapsedTime: Scalars["Float"]["output"]; - makePercentage: Scalars["Float"]["output"]; + __typename?: 'MakePercentageIntervalGQL'; + elapsedTime: Scalars['Float']['output']; + makePercentage: Scalars['Float']['output']; }; export type MedalGql = { - __typename?: "MedalGQL"; - count: Scalars["Int"]["output"]; - nickname?: Maybe; + __typename?: 'MedalGQL'; + count: Scalars['Int']['output']; + nickname?: Maybe; }; export type MedalScope = - | { - datetimeRange: DatetimeRangeAggregationInput; - interval?: never; - videoId?: never; - } /** @deprecated NO LONGER SUPPORTED, USE DATETIME_RANGE */ - | { datetimeRange?: never; interval: TimeInterval; videoId?: never } - | { - datetimeRange?: never; - interval?: never; - videoId: Scalars["Int"]["input"]; - }; + { datetimeRange: DatetimeRangeAggregationInput; interval?: never; videoId?: never; } + | /** @deprecated NO LONGER SUPPORTED, USE DATETIME_RANGE */ + { datetimeRange?: never; interval: TimeInterval; videoId?: never; } + | { datetimeRange?: never; interval?: never; videoId: Scalars['Int']['input']; }; export type MustHaveSetForUploadLinkErr = { - __typename?: "MustHaveSetForUploadLinkErr"; - framesPerSecond?: Maybe; - resolution?: Maybe; + __typename?: 'MustHaveSetForUploadLinkErr'; + framesPerSecond?: Maybe; + resolution?: Maybe; }; -export type MustHaveSetForUploadLinkErrSegmentAlreadyUploadedErrProcessingFailedErrNoInitForChunkedUploadErrTooManyProfileImageUploadsErrInitUploadAlreadyCompletedErrTooManyInitUploadsErr = - - | InitUploadAlreadyCompletedErr - | MustHaveSetForUploadLinkErr - | NoInitForChunkedUploadErr - | ProcessingFailedErr - | SegmentAlreadyUploadedErr - | TooManyInitUploadsErr - | TooManyProfileImageUploadsErr; +export type MustHaveSetForUploadLinkErrSegmentAlreadyUploadedErrProcessingFailedErrNoInitForChunkedUploadErrTooManyProfileImageUploadsErrInitUploadAlreadyCompletedErrTooManyInitUploadsErr = InitUploadAlreadyCompletedErr | MustHaveSetForUploadLinkErr | NoInitForChunkedUploadErr | ProcessingFailedErr | SegmentAlreadyUploadedErr | TooManyInitUploadsErr | TooManyProfileImageUploadsErr; export type Mutation = { - __typename?: "Mutation"; + __typename?: 'Mutation'; addAnnotationToShot: AddShotAnnotationReturn; - blockContent: Scalars["Boolean"]["output"]; - blockUser: Scalars["Boolean"]["output"]; + blockContent: Scalars['Boolean']['output']; + blockUser: Scalars['Boolean']['output']; cancelSubscription: UserSubscriptionStatusGql; - commentOnVideo: Scalars["Boolean"]["output"]; + commentOnVideo: Scalars['Boolean']['output']; createBucketSet: BucketSetGql; createSubscription: CreateSubscriptionResultGql; createUploadStream: CreateUploadStreamReturn; - deleteComment: Scalars["Boolean"]["output"]; - deleteNotification: Scalars["Boolean"]["output"]; - deleteTags: Scalars["Boolean"]["output"]; - deleteUser: Scalars["Boolean"]["output"]; - deleteVideo: Scalars["Boolean"]["output"]; - editComment: Scalars["Boolean"]["output"]; + deleteComment: Scalars['Boolean']['output']; + deleteNotification: Scalars['Boolean']['output']; + deleteTags: Scalars['Boolean']['output']; + deleteUser: Scalars['Boolean']['output']; + deleteVideo: Scalars['Boolean']['output']; + editComment: Scalars['Boolean']['output']; editProfileImageUri: UserGql; editShot: EditShotReturn; - editUploadStream: Scalars["Boolean"]["output"]; + editUploadStream: Scalars['Boolean']['output']; editUser: UserGql; ensureStripeCustomerExists: UserGql; findPrerecordTableLayout?: Maybe; @@ -2301,222 +461,252 @@ export type Mutation = { getHlsInitUploadLink: GetUploadLinkReturn; getProfileImageUploadLink: GetProfileUploadLinkReturn; getUploadLink: GetUploadLinkReturn; - markAllNotificationsAsRead: Scalars["Boolean"]["output"]; - markNotificationAsRead: Scalars["Boolean"]["output"]; - markNotificationsAsRead: Scalars["Boolean"]["output"]; - reactToVideo: Scalars["Boolean"]["output"]; - reportContent: Scalars["Boolean"]["output"]; - retireTags: Scalars["Boolean"]["output"]; - setLoggerLevel: Scalars["Boolean"]["output"]; - setSegmentDuration: Scalars["Boolean"]["output"]; + markAllNotificationsAsRead: Scalars['Boolean']['output']; + markNotificationAsRead: Scalars['Boolean']['output']; + markNotificationsAsRead: Scalars['Boolean']['output']; + reactToVideo: Scalars['Boolean']['output']; + reportContent: Scalars['Boolean']['output']; + retireTags: Scalars['Boolean']['output']; + setLoggerLevel: Scalars['Boolean']['output']; + setSegmentDuration: Scalars['Boolean']['output']; unfollowUser: UserGql; updateShotAnnotations: UpdateShotAnnotationReturn; }; + export type MutationAddAnnotationToShotArgs = { - annotationName: Scalars["String"]["input"]; - notes?: InputMaybe; - shotId: Scalars["Int"]["input"]; + annotationName: Scalars['String']['input']; + notes?: InputMaybe; + shotId: Scalars['Int']['input']; }; + export type MutationBlockContentArgs = { - videoId: Scalars["Int"]["input"]; + videoId: Scalars['Int']['input']; }; + export type MutationBlockUserArgs = { - userId: Scalars["Int"]["input"]; + userId: Scalars['Int']['input']; }; + export type MutationCommentOnVideoArgs = { - message: Scalars["String"]["input"]; - parentCommentId?: InputMaybe; - videoId: Scalars["Int"]["input"]; + message: Scalars['String']['input']; + parentCommentId?: InputMaybe; + videoId: Scalars['Int']['input']; }; + export type MutationCreateBucketSetArgs = { params: CreateBucketSetInput; }; + export type MutationCreateSubscriptionArgs = { - priceId: Scalars["String"]["input"]; + priceId: Scalars['String']['input']; }; + export type MutationCreateUploadStreamArgs = { videoMetadata: VideoMetadataInput; }; + export type MutationDeleteCommentArgs = { - commentId: Scalars["Int"]["input"]; - videoId: Scalars["Int"]["input"]; + commentId: Scalars['Int']['input']; + videoId: Scalars['Int']['input']; }; + export type MutationDeleteNotificationArgs = { - notificationId: Scalars["Int"]["input"]; + notificationId: Scalars['Int']['input']; }; + export type MutationDeleteTagsArgs = { tagsToDelete: Array; - videoId: Scalars["Int"]["input"]; + videoId: Scalars['Int']['input']; }; + export type MutationDeleteVideoArgs = { - videoId: Scalars["Int"]["input"]; + videoId: Scalars['Int']['input']; }; + export type MutationEditCommentArgs = { - commentId: Scalars["Int"]["input"]; - newMessage: Scalars["String"]["input"]; - videoId: Scalars["Int"]["input"]; + commentId: Scalars['Int']['input']; + newMessage: Scalars['String']['input']; + videoId: Scalars['Int']['input']; }; + export type MutationEditProfileImageUriArgs = { - profileImageUri: Scalars["String"]["input"]; + profileImageUri: Scalars['String']['input']; }; + export type MutationEditShotArgs = { fieldsToEdit: EditableShotFieldInputGql; - shotId: Scalars["Int"]["input"]; + shotId: Scalars['Int']['input']; }; + export type MutationEditUploadStreamArgs = { - videoId: Scalars["Int"]["input"]; + videoId: Scalars['Int']['input']; videoMetadata: VideoMetadataInput; }; + export type MutationEditUserArgs = { input: EditUserInputGql; }; + export type MutationFindPrerecordTableLayoutArgs = { - b64Image: Scalars["String"]["input"]; - videoId: Scalars["Int"]["input"]; + b64Image: Scalars['String']['input']; + videoId: Scalars['Int']['input']; }; + export type MutationFollowUserArgs = { - followedUserId: Scalars["Int"]["input"]; + followedUserId: Scalars['Int']['input']; }; + export type MutationGetHlsInitUploadLinkArgs = { - videoId: Scalars["Int"]["input"]; + videoId: Scalars['Int']['input']; }; + export type MutationGetProfileImageUploadLinkArgs = { - fileExt?: InputMaybe; + fileExt?: InputMaybe; }; + export type MutationGetUploadLinkArgs = { - segmentIndex: Scalars["Int"]["input"]; - videoId: Scalars["Int"]["input"]; + segmentIndex: Scalars['Int']['input']; + videoId: Scalars['Int']['input']; }; + export type MutationMarkNotificationAsReadArgs = { - notificationId: Scalars["Int"]["input"]; + notificationId: Scalars['Int']['input']; }; + export type MutationMarkNotificationsAsReadArgs = { - notificationIds: Array; + notificationIds: Array; }; + export type MutationReactToVideoArgs = { reaction?: InputMaybe; - videoId: Scalars["Int"]["input"]; + videoId: Scalars['Int']['input']; }; + export type MutationReportContentArgs = { - customReason?: InputMaybe; + customReason?: InputMaybe; reason: ReportReasonEnum; - videoId: Scalars["Int"]["input"]; + videoId: Scalars['Int']['input']; }; + export type MutationRetireTagsArgs = { - tagIds: Array; + tagIds: Array; }; + export type MutationSetLoggerLevelArgs = { - level: Scalars["String"]["input"]; - path: Scalars["String"]["input"]; + level: Scalars['String']['input']; + path: Scalars['String']['input']; }; + export type MutationSetSegmentDurationArgs = { - duration: Scalars["Float"]["input"]; - segmentIndex: Scalars["Int"]["input"]; - videoId: Scalars["Int"]["input"]; + duration: Scalars['Float']['input']; + segmentIndex: Scalars['Int']['input']; + videoId: Scalars['Int']['input']; }; + export type MutationUnfollowUserArgs = { - followedUserId: Scalars["Int"]["input"]; + followedUserId: Scalars['Int']['input']; }; + export type MutationUpdateShotAnnotationsArgs = { annotations: Array; - shotId: Scalars["Int"]["input"]; + shotId: Scalars['Int']['input']; }; export type NoInitForChunkedUploadErr = { - __typename?: "NoInitForChunkedUploadErr"; + __typename?: 'NoInitForChunkedUploadErr'; segmentType: StreamSegmentTypeEnum; }; export type NotificationConnection = { - __typename?: "NotificationConnection"; - hasMore: Scalars["Boolean"]["output"]; + __typename?: 'NotificationConnection'; + hasMore: Scalars['Boolean']['output']; notifications: Array; - totalCount: Scalars["Int"]["output"]; - unreadCount: Scalars["Int"]["output"]; + totalCount: Scalars['Int']['output']; + unreadCount: Scalars['Int']['output']; }; export type NotificationFilters = { - isRead?: InputMaybe; + isRead?: InputMaybe; notificationTypes?: InputMaybe>; }; export type NotificationGql = { - __typename?: "NotificationGQL"; + __typename?: 'NotificationGQL'; actor: UserGql; comment?: Maybe; - createdAt: Scalars["DateTime"]["output"]; - id: Scalars["Int"]["output"]; - isRead: Scalars["Boolean"]["output"]; + createdAt: Scalars['DateTime']['output']; + id: Scalars['Int']['output']; + isRead: Scalars['Boolean']['output']; notificationType: NotificationTypeEnum; - reactionType?: Maybe; - readAt?: Maybe; - videoId?: Maybe; + reactionType?: Maybe; + readAt?: Maybe; + videoId?: Maybe; }; export enum NotificationTypeEnum { - Comment = "COMMENT", - CommentReply = "COMMENT_REPLY", - Follow = "FOLLOW", - Reaction = "REACTION", + Comment = 'COMMENT', + CommentReply = 'COMMENT_REPLY', + Follow = 'FOLLOW', + Reaction = 'REACTION' } export type OtherErrorNeedsNote = { - __typename?: "OtherErrorNeedsNote"; - msg?: Maybe; + __typename?: 'OtherErrorNeedsNote'; + msg?: Maybe; }; export type PageInfoGql = { - __typename?: "PageInfoGQL"; - endCursor?: Maybe; - hasNextPage: Scalars["Boolean"]["output"]; + __typename?: 'PageInfoGQL'; + endCursor?: Maybe; + hasNextPage: Scalars['Boolean']['output']; }; export enum PocketEnum { - Corner = "CORNER", - Side = "SIDE", + Corner = 'CORNER', + Side = 'SIDE' } export enum PocketIdentifier { - BottomLeft = "BOTTOM_LEFT", - BottomRight = "BOTTOM_RIGHT", - BottomSide = "BOTTOM_SIDE", - TopLeft = "TOP_LEFT", - TopRight = "TOP_RIGHT", - TopSide = "TOP_SIDE", + BottomLeft = 'BOTTOM_LEFT', + BottomRight = 'BOTTOM_RIGHT', + BottomSide = 'BOTTOM_SIDE', + TopLeft = 'TOP_LEFT', + TopRight = 'TOP_RIGHT', + TopSide = 'TOP_SIDE' } export type PocketPointsGql = { - __typename?: "PocketPointsGQL"; + __typename?: 'PocketPointsGQL'; bottomLeft: IntPoint2D; bottomRight: IntPoint2D; bottomSide: IntPoint2D; @@ -2535,43 +725,43 @@ export type PocketPointsInputGql = { }; export type PocketingIntentionFeaturesGql = { - __typename?: "PocketingIntentionFeaturesGQL"; - backcut?: Maybe; - difficulty?: Maybe; + __typename?: 'PocketingIntentionFeaturesGQL'; + backcut?: Maybe; + difficulty?: Maybe; intendedPocketType?: Maybe; - make?: Maybe; - marginOfErrorInDegrees?: Maybe; - targetPocketAngle?: Maybe; + make?: Maybe; + marginOfErrorInDegrees?: Maybe; + targetPocketAngle?: Maybe; targetPocketAngleDirection?: Maybe; - targetPocketDistance?: Maybe; + targetPocketDistance?: Maybe; }; export type PocketingIntentionInfoGql = { - __typename?: "PocketingIntentionInfoGQL"; - ballId: Scalars["Int"]["output"]; - pathMetadataIndex: Scalars["Int"]["output"]; + __typename?: 'PocketingIntentionInfoGQL'; + ballId: Scalars['Int']['output']; + pathMetadataIndex: Scalars['Int']['output']; pocketId: PocketIdentifier; }; export type ProcessingFailedErr = { - __typename?: "ProcessingFailedErr"; + __typename?: 'ProcessingFailedErr'; processing: VideoProcessingGql; }; export enum ProcessingStatusEnum { - Created = "CREATED", - Failed = "FAILED", - Queued = "QUEUED", - ReextractingFeatures = "REEXTRACTING_FEATURES", - Running = "RUNNING", - Started = "STARTED", - Succeeded = "SUCCEEDED", - Suspended = "SUSPENDED", + Created = 'CREATED', + Failed = 'FAILED', + Queued = 'QUEUED', + ReextractingFeatures = 'REEXTRACTING_FEATURES', + Running = 'RUNNING', + Started = 'STARTED', + Succeeded = 'SUCCEEDED', + Suspended = 'SUSPENDED' } export type Query = { - __typename?: "Query"; - doesUsernameExist: Scalars["Boolean"]["output"]; + __typename?: 'Query'; + doesUsernameExist: Scalars['Boolean']['output']; getAggregatedShotMetrics: Array; getAvailableSubscriptionOptions: StripeSubscriptionOptionsGql; getBucketSet?: Maybe; @@ -2594,189 +784,215 @@ export type Query = { getUserSubscriptionStatus: UserSubscriptionStatusGql; getUserTags: Array; getUserVideos: VideoHistoryGql; - getUsernames: Array; + getUsernames: Array; getUsersMatching: Array; getVideo: VideoGql; getVideoMakePercentageIntervals: Array; getVideos: Array; notifications: NotificationConnection; - unreadNotificationCount: Scalars["Int"]["output"]; - waitFor: Scalars["Float"]["output"]; + unreadNotificationCount: Scalars['Int']['output']; + waitFor: Scalars['Float']['output']; }; + export type QueryDoesUsernameExistArgs = { - candidateUsername: Scalars["String"]["input"]; + candidateUsername: Scalars['String']['input']; }; + export type QueryGetAggregatedShotMetricsArgs = { aggregateInput: AggregateInputGql; }; + export type QueryGetBucketSetArgs = { - keyName: Scalars["String"]["input"]; + keyName: Scalars['String']['input']; }; + export type QueryGetFeedVideosArgs = { - after?: InputMaybe; + after?: InputMaybe; feedInput?: InputMaybe; filters?: InputMaybe; - includeCallersVideos?: InputMaybe; + includeCallersVideos?: InputMaybe; includePrivate?: IncludePrivateEnum; - limit?: Scalars["Int"]["input"]; + limit?: Scalars['Int']['input']; }; + export type QueryGetLongestRunsLeaderboardArgs = { interval?: InputMaybe; - limit?: Scalars["Int"]["input"]; - requiredTags?: InputMaybe>; - when?: InputMaybe; + limit?: Scalars['Int']['input']; + requiredTags?: InputMaybe>; + when?: InputMaybe; }; + export type QueryGetMakesLeaderboardArgs = { interval?: InputMaybe; - when?: InputMaybe; + when?: InputMaybe; }; + export type QueryGetMedalsArgs = { scope: MedalScope; - userId?: InputMaybe; + userId?: InputMaybe; }; + export type QueryGetOrderedShotsArgs = { - countRespectsLimit?: Scalars["Boolean"]["input"]; + countRespectsLimit?: Scalars['Boolean']['input']; filterInput: FilterInput; - ids?: InputMaybe>; - limit?: Scalars["Int"]["input"]; + ids?: InputMaybe>; + limit?: Scalars['Int']['input']; shotsOrdering?: InputMaybe; }; + export type QueryGetPlayTimeArgs = { filters?: InputMaybe; - userId: Scalars["Int"]["input"]; + userId: Scalars['Int']['input']; }; + export type QueryGetRunsArgs = { - countRespectsLimit?: Scalars["Boolean"]["input"]; + countRespectsLimit?: Scalars['Boolean']['input']; filterInput: RunFilterInput; - limit?: Scalars["Int"]["input"]; - runIds?: InputMaybe>; + limit?: Scalars['Int']['input']; + runIds?: InputMaybe>; runsOrdering?: InputMaybe; }; + export type QueryGetShotAnnotationTypesArgs = { - errorTypes?: InputMaybe; + errorTypes?: InputMaybe; }; + export type QueryGetShotsArgs = { - countRespectsLimit?: Scalars["Boolean"]["input"]; + countRespectsLimit?: Scalars['Boolean']['input']; filterInput: FilterInput; - limit?: Scalars["Int"]["input"]; + limit?: Scalars['Int']['input']; shotsPagination?: InputMaybe; }; + export type QueryGetShotsByIdsArgs = { - ids: Array; + ids: Array; }; + export type QueryGetShotsWithMetadataArgs = { - countRespectsLimit?: Scalars["Boolean"]["input"]; + countRespectsLimit?: Scalars['Boolean']['input']; filterInput: FilterInput; - ids?: InputMaybe>; - limit?: Scalars["Int"]["input"]; + ids?: InputMaybe>; + limit?: Scalars['Int']['input']; shotsPagination?: InputMaybe; }; + export type QueryGetTableStateArgs = { - b64Image: Scalars["String"]["input"]; - tableSize?: InputMaybe; + b64Image: Scalars['String']['input']; + tableSize?: InputMaybe; useHomography?: InputMaybe; }; + export type QueryGetUserArgs = { - userId: Scalars["Int"]["input"]; + userId: Scalars['Int']['input']; }; + export type QueryGetUserRelationshipsMatchingArgs = { - after?: InputMaybe; - limit?: InputMaybe; - matchString?: InputMaybe; - userId: Scalars["Int"]["input"]; + after?: InputMaybe; + limit?: InputMaybe; + matchString?: InputMaybe; + userId: Scalars['Int']['input']; }; + export type QueryGetUserTagsArgs = { - includeRetiredTags?: InputMaybe; + includeRetiredTags?: InputMaybe; }; + export type QueryGetUserVideosArgs = { - after?: InputMaybe; + after?: InputMaybe; filters?: InputMaybe; - limit?: Scalars["Int"]["input"]; - userId?: InputMaybe; + limit?: Scalars['Int']['input']; + userId?: InputMaybe; }; + export type QueryGetUsernamesArgs = { - after?: InputMaybe; - limit?: InputMaybe; - matchString?: InputMaybe; + after?: InputMaybe; + limit?: InputMaybe; + matchString?: InputMaybe; }; + export type QueryGetUsersMatchingArgs = { - after?: InputMaybe; - limit?: InputMaybe; - matchString?: InputMaybe; + after?: InputMaybe; + limit?: InputMaybe; + matchString?: InputMaybe; }; + export type QueryGetVideoArgs = { - debuggingJson?: InputMaybe; - videoId: Scalars["Int"]["input"]; + debuggingJson?: InputMaybe; + videoId: Scalars['Int']['input']; }; + export type QueryGetVideoMakePercentageIntervalsArgs = { - intervalDuration?: Scalars["Int"]["input"]; - videoId: Scalars["ID"]["input"]; + intervalDuration?: Scalars['Int']['input']; + videoId: Scalars['ID']['input']; }; + export type QueryGetVideosArgs = { - videoIds: Array; + videoIds: Array; }; + export type QueryNotificationsArgs = { filters?: InputMaybe; - limit?: Scalars["Int"]["input"]; - offset?: Scalars["Int"]["input"]; + limit?: Scalars['Int']['input']; + offset?: Scalars['Int']['input']; }; + export type QueryWaitForArgs = { - duration: Scalars["Float"]["input"]; + duration: Scalars['Float']['input']; }; export enum ReactionEnum { - Bullseye = "BULLSEYE", - Heart = "HEART", - Hundred = "HUNDRED", - Like = "LIKE", + Bullseye = 'BULLSEYE', + Heart = 'HEART', + Hundred = 'HUNDRED', + Like = 'LIKE' } export type ReactionGql = { - __typename?: "ReactionGQL"; - createdAt?: Maybe; + __typename?: 'ReactionGQL'; + createdAt?: Maybe; reaction: ReactionEnum; - updatedAt?: Maybe; + updatedAt?: Maybe; user: UserGql; - videoId: Scalars["Int"]["output"]; + videoId: Scalars['Int']['output']; }; export enum ReportReasonEnum { - Copyright = "COPYRIGHT", - Hate = "HATE", - Nudity = "NUDITY", - Other = "OTHER", - Spam = "SPAM", - Violence = "VIOLENCE", + Copyright = 'COPYRIGHT', + Hate = 'HATE', + Nudity = 'NUDITY', + Other = 'OTHER', + Spam = 'SPAM', + Violence = 'VIOLENCE' } export type RequestedMedalsGql = { - __typename?: "RequestedMedalsGQL"; + __typename?: 'RequestedMedalsGQL'; dailyMakes50?: Maybe; dailyMakes100?: Maybe; dailyMakes150?: Maybe; @@ -2817,9 +1033,9 @@ export type RequestedMedalsGql = { }; export type RunFeaturesGql = { - __typename?: "RunFeaturesGQL"; - indexInRun: Scalars["Int"]["output"]; - runId: Scalars["Int"]["output"]; + __typename?: 'RunFeaturesGQL'; + indexInRun: Scalars['Int']['output']; + runId: Scalars['Int']['output']; }; export type RunFilterInput = { @@ -2829,3037 +1045,3954 @@ export type RunFilterInput = { orFilters?: InputMaybe>; runLength?: InputMaybe; tableSize?: InputMaybe; - userId?: InputMaybe>; - username?: InputMaybe>; - videoId?: InputMaybe>; + userId?: InputMaybe>; + username?: InputMaybe>; + videoId?: InputMaybe>; }; export type RunGql = { - __typename?: "RunGQL"; - id: Scalars["Int"]["output"]; - runLength: Scalars["Int"]["output"]; + __typename?: 'RunGQL'; + id: Scalars['Int']['output']; + runLength: Scalars['Int']['output']; shots: Array; user: UserGql; - userId: Scalars["Int"]["output"]; + userId: Scalars['Int']['output']; video: VideoGql; - videoId: Scalars["Int"]["output"]; + videoId: Scalars['Int']['output']; }; export type RunLeaderboardGql = { - __typename?: "RunLeaderboardGQL"; + __typename?: 'RunLeaderboardGQL'; entries: Array; }; export type RunsOrderingComponent = - | { runLength: IntOrdering; videoCreation?: never; videoId?: never } - | { runLength?: never; videoCreation: DatetimeOrdering; videoId?: never } - | { runLength?: never; videoCreation?: never; videoId: IntOrdering }; + { runLength: IntOrdering; videoCreation?: never; videoId?: never; } + | { runLength?: never; videoCreation: DatetimeOrdering; videoId?: never; } + | { runLength?: never; videoCreation?: never; videoId: IntOrdering; }; export type SegmentAlreadyUploadedErr = { - __typename?: "SegmentAlreadyUploadedErr"; - segmentId: Scalars["Int"]["output"]; + __typename?: 'SegmentAlreadyUploadedErr'; + segmentId: Scalars['Int']['output']; }; export type SegmentEndFramesGql = { - __typename?: "SegmentEndFramesGQL"; - id: Scalars["Int"]["output"]; - segmentEndFrames: Array; + __typename?: 'SegmentEndFramesGQL'; + id: Scalars['Int']['output']; + segmentEndFrames: Array; }; export type SegmentInfo = { - __typename?: "SegmentInfo"; - index: Scalars["Int"]["output"]; - time: Scalars["Float"]["output"]; + __typename?: 'SegmentInfo'; + index: Scalars['Int']['output']; + time: Scalars['Float']['output']; }; export type SegmentStartTimesGql = { - __typename?: "SegmentStartTimesGQL"; - id: Scalars["Int"]["output"]; - segmentStartTimes: Array; + __typename?: 'SegmentStartTimesGQL'; + id: Scalars['Int']['output']; + segmentStartTimes: Array; }; export type SerializedShotPathsGql = { - __typename?: "SerializedShotPathsGQL"; - b64EncodedBuffer?: Maybe; + __typename?: 'SerializedShotPathsGQL'; + b64EncodedBuffer?: Maybe; }; export type ShotAnnotationGql = { - __typename?: "ShotAnnotationGQL"; - createdAt?: Maybe; + __typename?: 'ShotAnnotationGQL'; + createdAt?: Maybe; creator: UserGql; - errorDefault: Scalars["Boolean"]["output"]; - notes: Scalars["String"]["output"]; - shotId: Scalars["Int"]["output"]; + errorDefault: Scalars['Boolean']['output']; + notes: Scalars['String']['output']; + shotId: Scalars['Int']['output']; type: ShotAnnotationTypeGql; - updatedAt?: Maybe; + updatedAt?: Maybe; }; export type ShotAnnotationInput = { - name: Scalars["String"]["input"]; + name: Scalars['String']['input']; }; export type ShotAnnotationTypeGql = { - __typename?: "ShotAnnotationTypeGQL"; - id: Scalars["Int"]["output"]; - name: Scalars["String"]["output"]; + __typename?: 'ShotAnnotationTypeGQL'; + id: Scalars['Int']['output']; + name: Scalars['String']['output']; }; export type ShotDirectionCountsGql = { - __typename?: "ShotDirectionCountsGQL"; - left: Scalars["Int"]["output"]; - right: Scalars["Int"]["output"]; - straight: Scalars["Int"]["output"]; + __typename?: 'ShotDirectionCountsGQL'; + left: Scalars['Int']['output']; + right: Scalars['Int']['output']; + straight: Scalars['Int']['output']; }; export enum ShotDirectionEnum { - Left = "LEFT", - Right = "RIGHT", - Straight = "STRAIGHT", + Left = 'LEFT', + Right = 'RIGHT', + Straight = 'STRAIGHT' } export type ShotGql = { - __typename?: "ShotGQL"; + __typename?: 'ShotGQL'; annotations: Array; bankFeatures?: Maybe; - createdAt?: Maybe; + createdAt?: Maybe; cueObjectFeatures?: Maybe; - endFrame: Scalars["Int"]["output"]; + endFrame: Scalars['Int']['output']; endSegment: SegmentInfo; - endTime: Scalars["Float"]["output"]; - falsePositiveScore?: Maybe; - id: Scalars["Int"]["output"]; + endTime: Scalars['Float']['output']; + falsePositiveScore?: Maybe; + id: Scalars['Int']['output']; pocketingIntentionFeatures?: Maybe; pocketingIntentionInfo?: Maybe; run?: Maybe; runFeatures?: Maybe; serializedShotPaths?: Maybe; - startFrame: Scalars["Int"]["output"]; + startFrame: Scalars['Int']['output']; startSegment: SegmentInfo; - startTime: Scalars["Float"]["output"]; - updatedAt?: Maybe; + startTime: Scalars['Float']['output']; + updatedAt?: Maybe; user?: Maybe; video?: Maybe; - videoId: Scalars["Int"]["output"]; + videoId: Scalars['Int']['output']; }; export type ShotsOrderingComponent = - | { - difficulty: FloatOrdering; - marginOfError?: never; - runLength?: never; - startFrame?: never; - videoCreation?: never; - videoId?: never; - } - | { - difficulty?: never; - marginOfError: FloatOrdering; - runLength?: never; - startFrame?: never; - videoCreation?: never; - videoId?: never; - } - | { - difficulty?: never; - marginOfError?: never; - runLength: IntOrdering; - startFrame?: never; - videoCreation?: never; - videoId?: never; - } - | { - difficulty?: never; - marginOfError?: never; - runLength?: never; - startFrame: IntOrdering; - videoCreation?: never; - videoId?: never; - } - | { - difficulty?: never; - marginOfError?: never; - runLength?: never; - startFrame?: never; - videoCreation: DatetimeOrdering; - videoId?: never; - } - | { - difficulty?: never; - marginOfError?: never; - runLength?: never; - startFrame?: never; - videoCreation?: never; - videoId: IntOrdering; - }; + { difficulty: FloatOrdering; marginOfError?: never; runLength?: never; startFrame?: never; videoCreation?: never; videoId?: never; } + | { difficulty?: never; marginOfError: FloatOrdering; runLength?: never; startFrame?: never; videoCreation?: never; videoId?: never; } + | { difficulty?: never; marginOfError?: never; runLength: IntOrdering; startFrame?: never; videoCreation?: never; videoId?: never; } + | { difficulty?: never; marginOfError?: never; runLength?: never; startFrame: IntOrdering; videoCreation?: never; videoId?: never; } + | { difficulty?: never; marginOfError?: never; runLength?: never; startFrame?: never; videoCreation: DatetimeOrdering; videoId?: never; } + | { difficulty?: never; marginOfError?: never; runLength?: never; startFrame?: never; videoCreation?: never; videoId: IntOrdering; }; export type SpinTypeCountsGql = { - __typename?: "SpinTypeCountsGQL"; - center: Scalars["Int"]["output"]; - draw: Scalars["Int"]["output"]; - follow: Scalars["Int"]["output"]; - unknown: Scalars["Int"]["output"]; + __typename?: 'SpinTypeCountsGQL'; + center: Scalars['Int']['output']; + draw: Scalars['Int']['output']; + follow: Scalars['Int']['output']; + unknown: Scalars['Int']['output']; }; export enum SpinTypeEnum { - Center = "CENTER", - Draw = "DRAW", - Follow = "FOLLOW", - Unknown = "UNKNOWN", + Center = 'CENTER', + Draw = 'DRAW', + Follow = 'FOLLOW', + Unknown = 'UNKNOWN' } export type StreamErrorGql = { - __typename?: "StreamErrorGQL"; - message: Scalars["String"]["output"]; + __typename?: 'StreamErrorGQL'; + message: Scalars['String']['output']; }; export enum StreamSegmentTypeEnum { - FragmentedMp4 = "FRAGMENTED_MP4", - RbChunkedMp4 = "RB_CHUNKED_MP4", + FragmentedMp4 = 'FRAGMENTED_MP4', + RbChunkedMp4 = 'RB_CHUNKED_MP4' } export type StripePriceGql = { - __typename?: "StripePriceGQL"; - active: Scalars["Boolean"]["output"]; - currency: Scalars["String"]["output"]; - id: Scalars["String"]["output"]; - recurringInterval?: Maybe; - recurringIntervalCount?: Maybe; - type: Scalars["String"]["output"]; - unitAmount?: Maybe; + __typename?: 'StripePriceGQL'; + active: Scalars['Boolean']['output']; + currency: Scalars['String']['output']; + id: Scalars['String']['output']; + recurringInterval?: Maybe; + recurringIntervalCount?: Maybe; + type: Scalars['String']['output']; + unitAmount?: Maybe; }; export type StripeProductGql = { - __typename?: "StripeProductGQL"; - active: Scalars["Boolean"]["output"]; - description?: Maybe; - id: Scalars["String"]["output"]; - name: Scalars["String"]["output"]; + __typename?: 'StripeProductGQL'; + active: Scalars['Boolean']['output']; + description?: Maybe; + id: Scalars['String']['output']; + name: Scalars['String']['output']; prices: Array; }; export type StripeSubscriptionOptionsGql = { - __typename?: "StripeSubscriptionOptionsGQL"; + __typename?: 'StripeSubscriptionOptionsGQL'; products: Array; }; export enum StripeSubscriptionStatusEnum { - Active = "ACTIVE", - Canceled = "CANCELED", - Incomplete = "INCOMPLETE", - IncompleteExpired = "INCOMPLETE_EXPIRED", - PastDue = "PAST_DUE", - Paused = "PAUSED", - Trialing = "TRIALING", - Unpaid = "UNPAID", + Active = 'ACTIVE', + Canceled = 'CANCELED', + Incomplete = 'INCOMPLETE', + IncompleteExpired = 'INCOMPLETE_EXPIRED', + PastDue = 'PAST_DUE', + Paused = 'PAUSED', + Trialing = 'TRIALING', + Unpaid = 'UNPAID' } export type SuccessfulAdd = { - __typename?: "SuccessfulAdd"; - value: Scalars["Boolean"]["output"]; + __typename?: 'SuccessfulAdd'; + value: Scalars['Boolean']['output']; }; -export type SuccessfulAddAddShotAnnotationErrors = - | AddShotAnnotationErrors - | SuccessfulAdd; +export type SuccessfulAddAddShotAnnotationErrors = AddShotAnnotationErrors | SuccessfulAdd; export type TableStateGql = { - __typename?: "TableStateGQL"; + __typename?: 'TableStateGQL'; homography?: Maybe; - identifierToPosition: Array>; + identifierToPosition: Array>; }; export type TagClassGql = { - __typename?: "TagClassGQL"; - id: Scalars["Int"]["output"]; - name: Scalars["String"]["output"]; + __typename?: 'TagClassGQL'; + id: Scalars['Int']['output']; + name: Scalars['String']['output']; }; export type TagGql = { - __typename?: "TagGQL"; - id: Scalars["Int"]["output"]; - name: Scalars["String"]["output"]; - retired: Scalars["Boolean"]["output"]; + __typename?: 'TagGQL'; + id: Scalars['Int']['output']; + name: Scalars['String']['output']; + retired: Scalars['Boolean']['output']; tagClasses?: Maybe>; }; export type TargetMetricsGql = { - __typename?: "TargetMetricsGQL"; - averageDifficulty?: Maybe; - count: Scalars["Int"]["output"]; - makePercentage?: Maybe; + __typename?: 'TargetMetricsGQL'; + averageDifficulty?: Maybe; + count: Scalars['Int']['output']; + makePercentage?: Maybe; shotDirectionCounts?: Maybe; spinTypeCounts?: Maybe; }; export type TimeDeltaGql = { - days?: InputMaybe; - months?: InputMaybe; - weeks?: InputMaybe; - years?: InputMaybe; + days?: InputMaybe; + months?: InputMaybe; + weeks?: InputMaybe; + years?: InputMaybe; }; export type TimeInterval = - | { aligned: AlignedIntervalEnum; timedelta?: never } - | { aligned?: never; timedelta: TimeDeltaGql }; + { aligned: AlignedIntervalEnum; timedelta?: never; } + | { aligned?: never; timedelta: TimeDeltaGql; }; export type TooManyInitUploadsErr = { - __typename?: "TooManyInitUploadsErr"; - linksRequested: Scalars["Int"]["output"]; + __typename?: 'TooManyInitUploadsErr'; + linksRequested: Scalars['Int']['output']; }; export type TooManyProfileImageUploadsErr = { - __typename?: "TooManyProfileImageUploadsErr"; - linksRequested: Scalars["Int"]["output"]; + __typename?: 'TooManyProfileImageUploadsErr'; + linksRequested: Scalars['Int']['output']; }; export type UpdateAnnotationInputGql = { - name: Scalars["String"]["input"]; - notes?: InputMaybe; + name: Scalars['String']['input']; + notes?: InputMaybe; }; export type UpdateShotAnnotationReturn = { - __typename?: "UpdateShotAnnotationReturn"; + __typename?: 'UpdateShotAnnotationReturn'; error?: Maybe; shot?: Maybe; }; export type UploadLink = { - __typename?: "UploadLink"; + __typename?: 'UploadLink'; headers: Array>; - uploadUrl: Scalars["String"]["output"]; + uploadUrl: Scalars['String']['output']; }; -export type UploadLinkGetProfileUploadLinkErrors = - | GetProfileUploadLinkErrors - | UploadLink; +export type UploadLinkGetProfileUploadLinkErrors = GetProfileUploadLinkErrors | UploadLink; export type UploadLinkGetUploadLinkErrors = GetUploadLinkErrors | UploadLink; export type UploadSegmentGql = { - __typename?: "UploadSegmentGQL"; - durationInSeconds?: Maybe; - endFrameIndex?: Maybe; - framesPerSecond?: Maybe; - linksRequested: Scalars["Int"]["output"]; - segmentIndex: Scalars["Int"]["output"]; - uploaded: Scalars["Boolean"]["output"]; - valid: Scalars["Boolean"]["output"]; + __typename?: 'UploadSegmentGQL'; + durationInSeconds?: Maybe; + endFrameIndex?: Maybe; + framesPerSecond?: Maybe; + linksRequested: Scalars['Int']['output']; + segmentIndex: Scalars['Int']['output']; + uploaded: Scalars['Boolean']['output']; + valid: Scalars['Boolean']['output']; }; export type UploadStreamGql = { - __typename?: "UploadStreamGQL"; + __typename?: 'UploadStreamGQL'; clientUploadStatus?: Maybe; - createdAt: Scalars["DateTime"]["output"]; + createdAt: Scalars['DateTime']['output']; errors: Array; - id: Scalars["ID"]["output"]; + id: Scalars['ID']['output']; initPlaylistUploadStatus?: Maybe; - isCompleted: Scalars["Boolean"]["output"]; - lastIntendedSegmentBound?: Maybe; - linksRequested: Scalars["Int"]["output"]; - lowestUnuploadedSegmentIndex: Scalars["Int"]["output"]; + isCompleted: Scalars['Boolean']['output']; + lastIntendedSegmentBound?: Maybe; + linksRequested: Scalars['Int']['output']; + lowestUnuploadedSegmentIndex: Scalars['Int']['output']; resolution: VideoResolutionGql; - segmentEndFrames: Array; - segmentProcessingCursor: Scalars["Int"]["output"]; + segmentEndFrames: Array; + segmentProcessingCursor: Scalars['Int']['output']; segments: Array; streamSegmentType: StreamSegmentTypeEnum; - updatedAt: Scalars["DateTime"]["output"]; - uploadCompletionCursor: Scalars["Int"]["output"]; - uploadsCompleted: Scalars["Int"]["output"]; + updatedAt: Scalars['DateTime']['output']; + uploadCompletionCursor: Scalars['Int']['output']; + uploadsCompleted: Scalars['Int']['output']; }; export type UserGql = { - __typename?: "UserGQL"; - activeVideoId?: Maybe; - agreesToMarketing?: Maybe; - createdAt?: Maybe; - fargoRating?: Maybe; - firebaseUid?: Maybe; + __typename?: 'UserGQL'; + activeVideoId?: Maybe; + agreesToMarketing?: Maybe; + createdAt?: Maybe; + fargoRating?: Maybe; + firebaseUid?: Maybe; followers?: Maybe>; following?: Maybe>; - id: Scalars["Int"]["output"]; - isAdmin?: Maybe; - isFollowedByCurrentUser?: Maybe; - profileImageUri?: Maybe; - stripeCustomerId?: Maybe; - updatedAt?: Maybe; - username: Scalars["String"]["output"]; - videosPrivateByDefault?: Maybe; + id: Scalars['Int']['output']; + isAdmin?: Maybe; + isFollowedByCurrentUser?: Maybe; + profileImageUri?: Maybe; + stripeCustomerId?: Maybe; + updatedAt?: Maybe; + username: Scalars['String']['output']; + videosPrivateByDefault?: Maybe; }; export type UserPlayTimeGql = { - __typename?: "UserPlayTimeGQL"; - totalSeconds: Scalars["Float"]["output"]; + __typename?: 'UserPlayTimeGQL'; + totalSeconds: Scalars['Float']['output']; }; export type UserRelationship = { - __typename?: "UserRelationship"; + __typename?: 'UserRelationship'; toUser: UserGql; - toUserFollows: Scalars["Boolean"]["output"]; - toUserIsFollowedBy: Scalars["Boolean"]["output"]; + toUserFollows: Scalars['Boolean']['output']; + toUserIsFollowedBy: Scalars['Boolean']['output']; }; export type UserRelationshipsResult = { - __typename?: "UserRelationshipsResult"; + __typename?: 'UserRelationshipsResult'; inquiringUser: UserGql; relationships: Array; }; export type UserShotCountEntry = { - __typename?: "UserShotCountEntry"; - proportionMade: Scalars["Float"]["output"]; - total: Scalars["Int"]["output"]; + __typename?: 'UserShotCountEntry'; + proportionMade: Scalars['Float']['output']; + total: Scalars['Int']['output']; user: UserGql; - value: Scalars["Int"]["output"]; - videos: Scalars["Int"]["output"]; + value: Scalars['Int']['output']; + videos: Scalars['Int']['output']; }; export type UserSubscriptionStatusGql = { - __typename?: "UserSubscriptionStatusGQL"; - currentPeriodEnd?: Maybe; - currentPeriodStart?: Maybe; - hasActiveSubscription: Scalars["Boolean"]["output"]; - stripePriceId?: Maybe; - stripeSubscriptionId?: Maybe; + __typename?: 'UserSubscriptionStatusGQL'; + currentPeriodEnd?: Maybe; + currentPeriodStart?: Maybe; + hasActiveSubscription: Scalars['Boolean']['output']; + stripePriceId?: Maybe; + stripeSubscriptionId?: Maybe; subscriptionStatus?: Maybe; - validUntil?: Maybe; + validUntil?: Maybe; }; export type VideoFeedInputGql = - | { - allUsers: Scalars["Boolean"]["input"]; - followedByUserId?: never; - home?: never; - userId?: never; - } - | { - allUsers?: never; - followedByUserId: Scalars["Int"]["input"]; - home?: never; - userId?: never; - } - | { - allUsers?: never; - followedByUserId?: never; - home: Scalars["Boolean"]["input"]; - userId?: never; - } - | { - allUsers?: never; - followedByUserId?: never; - home?: never; - userId: Scalars["Int"]["input"]; - }; + { allUsers: Scalars['Boolean']['input']; followedByUserId?: never; home?: never; userId?: never; } + | { allUsers?: never; followedByUserId: Scalars['Int']['input']; home?: never; userId?: never; } + | { allUsers?: never; followedByUserId?: never; home: Scalars['Boolean']['input']; userId?: never; } + | { allUsers?: never; followedByUserId?: never; home?: never; userId: Scalars['Int']['input']; }; export type VideoFilterInput = { createdAt?: InputMaybe; - excludeVideosWithNoShots?: InputMaybe; - isStreamCompleted?: InputMaybe; - requireCursorCompletion?: Scalars["Boolean"]["input"]; + excludeVideosWithNoShots?: InputMaybe; + isStreamCompleted?: InputMaybe; + requireCursorCompletion?: Scalars['Boolean']['input']; }; export type VideoGql = { - __typename?: "VideoGQL"; - averageDifficulty?: Maybe; - averageTimeBetweenShots?: Maybe; + __typename?: 'VideoGQL'; + averageDifficulty?: Maybe; + averageTimeBetweenShots?: Maybe; comments: Array; - createdAt?: Maybe; + createdAt?: Maybe; currentHomography?: Maybe; currentProcessing?: Maybe; - elapsedTime?: Maybe; - endTime?: Maybe; - framesPerSecond: Scalars["Float"]["output"]; + elapsedTime?: Maybe; + endTime?: Maybe; + framesPerSecond: Scalars['Float']['output']; homographyHistory: Array; - id: Scalars["Int"]["output"]; - makePercentage: Scalars["Float"]["output"]; - medianRun?: Maybe; - name?: Maybe; + id: Scalars['Int']['output']; + makePercentage: Scalars['Float']['output']; + medianRun?: Maybe; + name?: Maybe; owner?: Maybe; playlist?: Maybe; - pocketSize?: Maybe; - private: Scalars["Boolean"]["output"]; + pocketSize?: Maybe; + private: Scalars['Boolean']['output']; reactions: Array; - screenshotUri?: Maybe; + screenshotUri?: Maybe; shots: Array; - startTime?: Maybe; + startTime?: Maybe; stream?: Maybe; - tableSize: Scalars["Float"]["output"]; + tableSize: Scalars['Float']['output']; tags: Array; - totalShots: Scalars["Int"]["output"]; - totalShotsMade: Scalars["Int"]["output"]; - updatedAt?: Maybe; + totalShots: Scalars['Int']['output']; + totalShotsMade: Scalars['Int']['output']; + updatedAt?: Maybe; }; export type VideoHistoryGql = { - __typename?: "VideoHistoryGQL"; - hasFollowing: Scalars["Boolean"]["output"]; + __typename?: 'VideoHistoryGQL'; + hasFollowing: Scalars['Boolean']['output']; pageInfo: PageInfoGql; videos: Array; }; export type VideoMetadataInput = { clientUploadStatus?: InputMaybe; - endStream?: Scalars["Boolean"]["input"]; - endTime?: InputMaybe; - framesPerSecond?: InputMaybe; + endStream?: Scalars['Boolean']['input']; + endTime?: InputMaybe; + framesPerSecond?: InputMaybe; /** @deprecated `game_type` is deprecated. Use `tags` instead. */ - gameType?: InputMaybe; - lastIntendedSegmentBound?: InputMaybe; - pocketSize?: InputMaybe; - private?: InputMaybe; + gameType?: InputMaybe; + lastIntendedSegmentBound?: InputMaybe; + pocketSize?: InputMaybe; + private?: InputMaybe; resolution?: InputMaybe; - startTime?: InputMaybe; + startTime?: InputMaybe; streamSegmentType?: InputMaybe; - tableSize?: InputMaybe; + tableSize?: InputMaybe; /** A list of tags associated with the video. Replace `game_type` */ tags?: InputMaybe>; - videoName?: InputMaybe; + videoName?: InputMaybe; }; export type VideoProcessingErrorGql = { - __typename?: "VideoProcessingErrorGQL"; - endSegmentIndex?: Maybe; - message: Scalars["String"]["output"]; - startSegmentIndex?: Maybe; + __typename?: 'VideoProcessingErrorGQL'; + endSegmentIndex?: Maybe; + message: Scalars['String']['output']; + startSegmentIndex?: Maybe; }; export type VideoProcessingGql = { - __typename?: "VideoProcessingGQL"; - currentSegment?: Maybe; + __typename?: 'VideoProcessingGQL'; + currentSegment?: Maybe; errors: Array; - framesProcessed?: Maybe; - id: Scalars["Int"]["output"]; - progressPercentage?: Maybe; + framesProcessed?: Maybe; + id: Scalars['Int']['output']; + progressPercentage?: Maybe; status: ProcessingStatusEnum; statuses: Array; }; export type VideoProcessingStatusGql = { - __typename?: "VideoProcessingStatusGQL"; - appVersion: Scalars["String"]["output"]; - createdAt?: Maybe; - sequenceId: Scalars["Int"]["output"]; + __typename?: 'VideoProcessingStatusGQL'; + appVersion: Scalars['String']['output']; + createdAt?: Maybe; + sequenceId: Scalars['Int']['output']; status: ProcessingStatusEnum; - updatedAt?: Maybe; + updatedAt?: Maybe; }; export type VideoResolution = { - height: Scalars["Int"]["input"]; - width: Scalars["Int"]["input"]; + height: Scalars['Int']['input']; + width: Scalars['Int']['input']; }; export type VideoResolutionGql = { - __typename?: "VideoResolutionGQL"; - height?: Maybe; - width?: Maybe; + __typename?: 'VideoResolutionGQL'; + height?: Maybe; + width?: Maybe; }; export type VideoTag = { - __typename?: "VideoTag"; - name: Scalars["String"]["output"]; + __typename?: 'VideoTag'; + name: Scalars['String']['output']; tagClasses: Array; }; export type VideoTagClass = { - __typename?: "VideoTagClass"; - name: Scalars["String"]["output"]; + __typename?: 'VideoTagClass'; + name: Scalars['String']['output']; }; export type VideoTagClassInput = { - name: Scalars["String"]["input"]; + name: Scalars['String']['input']; }; export type VideoTagInput = { - name: Scalars["String"]["input"]; + name: Scalars['String']['input']; tagClasses?: Array; }; export enum WallTypeEnum { - Long = "LONG", - Short = "SHORT", + Long = 'LONG', + Short = 'SHORT' } export type GetAggregatedShotMetricsQueryVariables = Exact<{ aggregateInput: AggregateInputGql; }>; -export type GetAggregatedShotMetricsQuery = { - __typename?: "Query"; - getAggregatedShotMetrics: Array<{ - __typename?: "AggregateResultGQL"; - aggregationIdentifiers: Array<{ - __typename?: "AggregationIdentifierGQL"; - featureName: string; - groupName: string; - }>; - targetMetrics: { - __typename?: "TargetMetricsGQL"; - count: number; - makePercentage?: number | null; - }; - }>; -}; + +export type GetAggregatedShotMetricsQuery = { __typename?: 'Query', getAggregatedShotMetrics: Array<{ __typename?: 'AggregateResultGQL', aggregationIdentifiers: Array<{ __typename?: 'AggregationIdentifierGQL', featureName: string, groupName: string }>, targetMetrics: { __typename?: 'TargetMetricsGQL', count: number, makePercentage?: number | null } }> }; export type CommentOnVideoMutationVariables = Exact<{ - videoId: Scalars["Int"]["input"]; - message: Scalars["String"]["input"]; - parentCommentId?: InputMaybe; + videoId: Scalars['Int']['input']; + message: Scalars['String']['input']; + parentCommentId?: InputMaybe; }>; -export type CommentOnVideoMutation = { - __typename?: "Mutation"; - commentOnVideo: boolean; -}; + +export type CommentOnVideoMutation = { __typename?: 'Mutation', commentOnVideo: boolean }; export type EditCommentMutationVariables = Exact<{ - videoId: Scalars["Int"]["input"]; - commentId: Scalars["Int"]["input"]; - newMessage: Scalars["String"]["input"]; + videoId: Scalars['Int']['input']; + commentId: Scalars['Int']['input']; + newMessage: Scalars['String']['input']; }>; -export type EditCommentMutation = { - __typename?: "Mutation"; - editComment: boolean; -}; + +export type EditCommentMutation = { __typename?: 'Mutation', editComment: boolean }; export type DeleteCommentMutationVariables = Exact<{ - videoId: Scalars["Int"]["input"]; - commentId: Scalars["Int"]["input"]; + videoId: Scalars['Int']['input']; + commentId: Scalars['Int']['input']; }>; -export type DeleteCommentMutation = { - __typename?: "Mutation"; - deleteComment: boolean; -}; -export type GetDeployedConfigQueryVariables = Exact<{ [key: string]: never }>; +export type DeleteCommentMutation = { __typename?: 'Mutation', deleteComment: boolean }; -export type GetDeployedConfigQuery = { - __typename?: "Query"; - getDeployedConfig: { - __typename?: "DeployedConfigGQL"; - allowNewUsers: boolean; - devMode: boolean; - environment: string; - firebase: boolean; - minimumAllowedAppVersion: string; - subscriptionGatingEnabled: boolean; - bannerMessages: Array<{ - __typename?: "BannerGQL"; - color: string; - dismissible: boolean; - id: number; - kind: BannerKindEnum; - message: string; - priority: number; - }>; - }; -}; +export type GetDeployedConfigQueryVariables = Exact<{ [key: string]: never; }>; + + +export type GetDeployedConfigQuery = { __typename?: 'Query', getDeployedConfig: { __typename?: 'DeployedConfigGQL', allowNewUsers: boolean, devMode: boolean, environment: string, firebase: boolean, minimumAllowedAppVersion: string, subscriptionGatingEnabled: boolean, bannerMessages: Array<{ __typename?: 'BannerGQL', color: string, dismissible: boolean, id: number, kind: BannerKindEnum, message: string, priority: number }> } }; export type BlockContentMutationVariables = Exact<{ - videoId: Scalars["Int"]["input"]; + videoId: Scalars['Int']['input']; }>; -export type BlockContentMutation = { - __typename?: "Mutation"; - blockContent: boolean; -}; + +export type BlockContentMutation = { __typename?: 'Mutation', blockContent: boolean }; export type BlockUserMutationVariables = Exact<{ - userId: Scalars["Int"]["input"]; + userId: Scalars['Int']['input']; }>; -export type BlockUserMutation = { __typename?: "Mutation"; blockUser: boolean }; + +export type BlockUserMutation = { __typename?: 'Mutation', blockUser: boolean }; export type ReportContentMutationVariables = Exact<{ - videoId: Scalars["Int"]["input"]; + videoId: Scalars['Int']['input']; reason: ReportReasonEnum; - customReason?: InputMaybe; + customReason?: InputMaybe; }>; -export type ReportContentMutation = { - __typename?: "Mutation"; - reportContent: boolean; -}; + +export type ReportContentMutation = { __typename?: 'Mutation', reportContent: boolean }; export type GetFeedQueryVariables = Exact<{ - limit?: Scalars["Int"]["input"]; - after?: InputMaybe; + limit?: Scalars['Int']['input']; + after?: InputMaybe; filters?: InputMaybe; }>; -export type GetFeedQuery = { - __typename?: "Query"; - getUserVideos: { - __typename?: "VideoHistoryGQL"; - videos: Array<{ - __typename?: "VideoGQL"; - id: number; - name?: string | null; - screenshotUri?: string | null; - totalShotsMade: number; - totalShots: number; - makePercentage: number; - averageTimeBetweenShots?: number | null; - averageDifficulty?: number | null; - createdAt?: any | null; - updatedAt?: any | null; - startTime?: any | null; - endTime?: any | null; - private: boolean; - elapsedTime?: number | null; - tableSize: number; - owner?: { - __typename?: "UserGQL"; - id: number; - username: string; - profileImageUri?: string | null; - } | null; - stream?: { - __typename?: "UploadStreamGQL"; - id: string; - lastIntendedSegmentBound?: number | null; - isCompleted: boolean; - streamSegmentType: StreamSegmentTypeEnum; - } | null; - tags: Array<{ - __typename?: "VideoTag"; - name: string; - tagClasses: Array<{ __typename?: "VideoTagClass"; name: string }>; - }>; - currentProcessing?: { - __typename?: "VideoProcessingGQL"; - id: number; - status: ProcessingStatusEnum; - errors: Array<{ - __typename?: "VideoProcessingErrorGQL"; - message: string; - }>; - statuses: Array<{ - __typename?: "VideoProcessingStatusGQL"; - status: ProcessingStatusEnum; - }>; - } | null; - reactions: Array<{ - __typename?: "ReactionGQL"; - videoId: number; - reaction: ReactionEnum; - user: { - __typename?: "UserGQL"; - id: number; - username: string; - profileImageUri?: string | null; - isFollowedByCurrentUser?: boolean | null; - }; - }>; - comments: Array<{ - __typename?: "CommentGQL"; - id: number; - message: string; - user: { - __typename?: "UserGQL"; - id: number; - username: string; - profileImageUri?: string | null; - isFollowedByCurrentUser?: boolean | null; - }; - replies: Array<{ - __typename?: "CommentGQL"; - id: number; - message: string; - user: { - __typename?: "UserGQL"; - id: number; - username: string; - profileImageUri?: string | null; - isFollowedByCurrentUser?: boolean | null; - }; - }>; - }>; - }>; - pageInfo: { - __typename?: "PageInfoGQL"; - hasNextPage: boolean; - endCursor?: string | null; - }; - }; -}; -export type UserSocialsFieldsFragment = { - __typename?: "UserGQL"; - id: number; - username: string; - profileImageUri?: string | null; - isFollowedByCurrentUser?: boolean | null; -}; +export type GetFeedQuery = { __typename?: 'Query', getUserVideos: { __typename?: 'VideoHistoryGQL', videos: Array<{ __typename?: 'VideoGQL', id: number, name?: string | null, screenshotUri?: string | null, totalShotsMade: number, totalShots: number, makePercentage: number, averageTimeBetweenShots?: number | null, averageDifficulty?: number | null, createdAt?: any | null, updatedAt?: any | null, startTime?: any | null, endTime?: any | null, private: boolean, elapsedTime?: number | null, tableSize: number, pocketSize?: number | null, owner?: { __typename?: 'UserGQL', id: number, username: string, profileImageUri?: string | null } | null, stream?: { __typename?: 'UploadStreamGQL', id: string, lastIntendedSegmentBound?: number | null, isCompleted: boolean, streamSegmentType: StreamSegmentTypeEnum } | null, tags: Array<{ __typename?: 'VideoTag', name: string, tagClasses: Array<{ __typename?: 'VideoTagClass', name: string }> }>, currentProcessing?: { __typename?: 'VideoProcessingGQL', id: number, status: ProcessingStatusEnum, errors: Array<{ __typename?: 'VideoProcessingErrorGQL', message: string }>, statuses: Array<{ __typename?: 'VideoProcessingStatusGQL', status: ProcessingStatusEnum }> } | null, reactions: Array<{ __typename?: 'ReactionGQL', videoId: number, reaction: ReactionEnum, user: { __typename?: 'UserGQL', id: number, username: string, profileImageUri?: string | null, isFollowedByCurrentUser?: boolean | null } }>, comments: Array<{ __typename?: 'CommentGQL', id: number, message: string, user: { __typename?: 'UserGQL', id: number, username: string, profileImageUri?: string | null, isFollowedByCurrentUser?: boolean | null }, replies: Array<{ __typename?: 'CommentGQL', id: number, message: string, user: { __typename?: 'UserGQL', id: number, username: string, profileImageUri?: string | null, isFollowedByCurrentUser?: boolean | null } }> }> }>, pageInfo: { __typename?: 'PageInfoGQL', hasNextPage: boolean, endCursor?: string | null } } }; -export type VideoCardFieldsFragment = { - __typename?: "VideoGQL"; - id: number; - name?: string | null; - screenshotUri?: string | null; - totalShotsMade: number; - totalShots: number; - makePercentage: number; - averageTimeBetweenShots?: number | null; - averageDifficulty?: number | null; - createdAt?: any | null; - updatedAt?: any | null; - startTime?: any | null; - endTime?: any | null; - private: boolean; - elapsedTime?: number | null; - tableSize: number; - owner?: { - __typename?: "UserGQL"; - id: number; - username: string; - profileImageUri?: string | null; - } | null; - stream?: { - __typename?: "UploadStreamGQL"; - id: string; - lastIntendedSegmentBound?: number | null; - isCompleted: boolean; - streamSegmentType: StreamSegmentTypeEnum; - } | null; - tags: Array<{ - __typename?: "VideoTag"; - name: string; - tagClasses: Array<{ __typename?: "VideoTagClass"; name: string }>; - }>; - currentProcessing?: { - __typename?: "VideoProcessingGQL"; - id: number; - status: ProcessingStatusEnum; - errors: Array<{ __typename?: "VideoProcessingErrorGQL"; message: string }>; - statuses: Array<{ - __typename?: "VideoProcessingStatusGQL"; - status: ProcessingStatusEnum; - }>; - } | null; - reactions: Array<{ - __typename?: "ReactionGQL"; - videoId: number; - reaction: ReactionEnum; - user: { - __typename?: "UserGQL"; - id: number; - username: string; - profileImageUri?: string | null; - isFollowedByCurrentUser?: boolean | null; - }; - }>; - comments: Array<{ - __typename?: "CommentGQL"; - id: number; - message: string; - user: { - __typename?: "UserGQL"; - id: number; - username: string; - profileImageUri?: string | null; - isFollowedByCurrentUser?: boolean | null; - }; - replies: Array<{ - __typename?: "CommentGQL"; - id: number; - message: string; - user: { - __typename?: "UserGQL"; - id: number; - username: string; - profileImageUri?: string | null; - isFollowedByCurrentUser?: boolean | null; - }; - }>; - }>; -}; +export type UserSocialsFieldsFragment = { __typename?: 'UserGQL', id: number, username: string, profileImageUri?: string | null, isFollowedByCurrentUser?: boolean | null }; + +export type VideoCardFieldsFragment = { __typename?: 'VideoGQL', id: number, name?: string | null, screenshotUri?: string | null, totalShotsMade: number, totalShots: number, makePercentage: number, averageTimeBetweenShots?: number | null, averageDifficulty?: number | null, createdAt?: any | null, updatedAt?: any | null, startTime?: any | null, endTime?: any | null, private: boolean, elapsedTime?: number | null, tableSize: number, pocketSize?: number | null, owner?: { __typename?: 'UserGQL', id: number, username: string, profileImageUri?: string | null } | null, stream?: { __typename?: 'UploadStreamGQL', id: string, lastIntendedSegmentBound?: number | null, isCompleted: boolean, streamSegmentType: StreamSegmentTypeEnum } | null, tags: Array<{ __typename?: 'VideoTag', name: string, tagClasses: Array<{ __typename?: 'VideoTagClass', name: string }> }>, currentProcessing?: { __typename?: 'VideoProcessingGQL', id: number, status: ProcessingStatusEnum, errors: Array<{ __typename?: 'VideoProcessingErrorGQL', message: string }>, statuses: Array<{ __typename?: 'VideoProcessingStatusGQL', status: ProcessingStatusEnum }> } | null, reactions: Array<{ __typename?: 'ReactionGQL', videoId: number, reaction: ReactionEnum, user: { __typename?: 'UserGQL', id: number, username: string, profileImageUri?: string | null, isFollowedByCurrentUser?: boolean | null } }>, comments: Array<{ __typename?: 'CommentGQL', id: number, message: string, user: { __typename?: 'UserGQL', id: number, username: string, profileImageUri?: string | null, isFollowedByCurrentUser?: boolean | null }, replies: Array<{ __typename?: 'CommentGQL', id: number, message: string, user: { __typename?: 'UserGQL', id: number, username: string, profileImageUri?: string | null, isFollowedByCurrentUser?: boolean | null } }> }> }; export type GetVideoFeedQueryVariables = Exact<{ - limit?: Scalars["Int"]["input"]; - after?: InputMaybe; + limit?: Scalars['Int']['input']; + after?: InputMaybe; filters?: InputMaybe; - includeCallersVideos?: InputMaybe; + includeCallersVideos?: InputMaybe; includePrivate?: InputMaybe; feedInput?: InputMaybe; }>; -export type GetVideoFeedQuery = { - __typename?: "Query"; - getFeedVideos: { - __typename?: "VideoHistoryGQL"; - hasFollowing: boolean; - videos: Array<{ - __typename?: "VideoGQL"; - id: number; - name?: string | null; - screenshotUri?: string | null; - totalShotsMade: number; - totalShots: number; - makePercentage: number; - averageTimeBetweenShots?: number | null; - averageDifficulty?: number | null; - createdAt?: any | null; - updatedAt?: any | null; - startTime?: any | null; - endTime?: any | null; - private: boolean; - elapsedTime?: number | null; - tableSize: number; - owner?: { - __typename?: "UserGQL"; - id: number; - username: string; - profileImageUri?: string | null; - } | null; - stream?: { - __typename?: "UploadStreamGQL"; - id: string; - lastIntendedSegmentBound?: number | null; - isCompleted: boolean; - streamSegmentType: StreamSegmentTypeEnum; - } | null; - tags: Array<{ - __typename?: "VideoTag"; - name: string; - tagClasses: Array<{ __typename?: "VideoTagClass"; name: string }>; - }>; - currentProcessing?: { - __typename?: "VideoProcessingGQL"; - id: number; - status: ProcessingStatusEnum; - errors: Array<{ - __typename?: "VideoProcessingErrorGQL"; - message: string; - }>; - statuses: Array<{ - __typename?: "VideoProcessingStatusGQL"; - status: ProcessingStatusEnum; - }>; - } | null; - reactions: Array<{ - __typename?: "ReactionGQL"; - videoId: number; - reaction: ReactionEnum; - user: { - __typename?: "UserGQL"; - id: number; - username: string; - profileImageUri?: string | null; - isFollowedByCurrentUser?: boolean | null; - }; - }>; - comments: Array<{ - __typename?: "CommentGQL"; - id: number; - message: string; - user: { - __typename?: "UserGQL"; - id: number; - username: string; - profileImageUri?: string | null; - isFollowedByCurrentUser?: boolean | null; - }; - replies: Array<{ - __typename?: "CommentGQL"; - id: number; - message: string; - user: { - __typename?: "UserGQL"; - id: number; - username: string; - profileImageUri?: string | null; - isFollowedByCurrentUser?: boolean | null; - }; - }>; - }>; - }>; - pageInfo: { - __typename?: "PageInfoGQL"; - hasNextPage: boolean; - endCursor?: string | null; - }; - }; -}; + +export type GetVideoFeedQuery = { __typename?: 'Query', getFeedVideos: { __typename?: 'VideoHistoryGQL', hasFollowing: boolean, videos: Array<{ __typename?: 'VideoGQL', id: number, name?: string | null, screenshotUri?: string | null, totalShotsMade: number, totalShots: number, makePercentage: number, averageTimeBetweenShots?: number | null, averageDifficulty?: number | null, createdAt?: any | null, updatedAt?: any | null, startTime?: any | null, endTime?: any | null, private: boolean, elapsedTime?: number | null, tableSize: number, pocketSize?: number | null, owner?: { __typename?: 'UserGQL', id: number, username: string, profileImageUri?: string | null } | null, stream?: { __typename?: 'UploadStreamGQL', id: string, lastIntendedSegmentBound?: number | null, isCompleted: boolean, streamSegmentType: StreamSegmentTypeEnum } | null, tags: Array<{ __typename?: 'VideoTag', name: string, tagClasses: Array<{ __typename?: 'VideoTagClass', name: string }> }>, currentProcessing?: { __typename?: 'VideoProcessingGQL', id: number, status: ProcessingStatusEnum, errors: Array<{ __typename?: 'VideoProcessingErrorGQL', message: string }>, statuses: Array<{ __typename?: 'VideoProcessingStatusGQL', status: ProcessingStatusEnum }> } | null, reactions: Array<{ __typename?: 'ReactionGQL', videoId: number, reaction: ReactionEnum, user: { __typename?: 'UserGQL', id: number, username: string, profileImageUri?: string | null, isFollowedByCurrentUser?: boolean | null } }>, comments: Array<{ __typename?: 'CommentGQL', id: number, message: string, user: { __typename?: 'UserGQL', id: number, username: string, profileImageUri?: string | null, isFollowedByCurrentUser?: boolean | null }, replies: Array<{ __typename?: 'CommentGQL', id: number, message: string, user: { __typename?: 'UserGQL', id: number, username: string, profileImageUri?: string | null, isFollowedByCurrentUser?: boolean | null } }> }> }>, pageInfo: { __typename?: 'PageInfoGQL', hasNextPage: boolean, endCursor?: string | null } } }; export type GetMakesLeaderboardQueryVariables = Exact<{ interval?: InputMaybe; - when?: InputMaybe; + when?: InputMaybe; }>; -export type GetMakesLeaderboardQuery = { - __typename?: "Query"; - getMakesLeaderboard: { - __typename?: "CountLeaderboardGQL"; - entries: Array<{ - __typename?: "UserShotCountEntry"; - value: number; - proportionMade: number; - total: number; - user: { - __typename?: "UserGQL"; - id: number; - username: string; - profileImageUri?: string | null; - }; - }>; - }; -}; + +export type GetMakesLeaderboardQuery = { __typename?: 'Query', getMakesLeaderboard: { __typename?: 'CountLeaderboardGQL', entries: Array<{ __typename?: 'UserShotCountEntry', value: number, proportionMade: number, total: number, user: { __typename?: 'UserGQL', id: number, username: string, profileImageUri?: string | null } }> } }; export type GetRunsLeaderboardQueryVariables = Exact<{ interval?: InputMaybe; - when?: InputMaybe; + when?: InputMaybe; }>; -export type GetRunsLeaderboardQuery = { - __typename?: "Query"; - getLongestRunsLeaderboard: { - __typename?: "RunLeaderboardGQL"; - entries: Array<{ - __typename?: "RunGQL"; - id: number; - runLength: number; - video: { - __typename?: "VideoGQL"; - name?: string | null; - createdAt?: any | null; - }; - user: { - __typename?: "UserGQL"; - id: number; - username: string; - profileImageUri?: string | null; - }; - }>; - }; -}; + +export type GetRunsLeaderboardQuery = { __typename?: 'Query', getLongestRunsLeaderboard: { __typename?: 'RunLeaderboardGQL', entries: Array<{ __typename?: 'RunGQL', id: number, runLength: number, video: { __typename?: 'VideoGQL', name?: string | null, createdAt?: any | null }, user: { __typename?: 'UserGQL', id: number, username: string, profileImageUri?: string | null } }> } }; export type GetVideoMakePercentageIntervalsQueryVariables = Exact<{ - videoId: Scalars["ID"]["input"]; - intervalDuration: Scalars["Int"]["input"]; + videoId: Scalars['ID']['input']; + intervalDuration: Scalars['Int']['input']; }>; -export type GetVideoMakePercentageIntervalsQuery = { - __typename?: "Query"; - getVideoMakePercentageIntervals: Array<{ - __typename?: "MakePercentageIntervalGQL"; - makePercentage: number; - elapsedTime: number; - }>; -}; -export type MedalFieldsFragment = { - __typename?: "MedalGQL"; - count: number; - nickname?: string | null; -}; +export type GetVideoMakePercentageIntervalsQuery = { __typename?: 'Query', getVideoMakePercentageIntervals: Array<{ __typename?: 'MakePercentageIntervalGQL', makePercentage: number, elapsedTime: number }> }; + +export type MedalFieldsFragment = { __typename?: 'MedalGQL', count: number, nickname?: string | null }; export type GetMedalsQueryVariables = Exact<{ scope: MedalScope; - userId?: InputMaybe; + userId?: InputMaybe; }>; -export type GetMedalsQuery = { - __typename?: "Query"; - getMedals: { - __typename?: "RequestedMedalsGQL"; - distanceOver78?: { - __typename?: "MedalGQL"; - count: number; - nickname?: string | null; - } | null; - distanceOver90?: { - __typename?: "MedalGQL"; - count: number; - nickname?: string | null; - } | null; - runLength3?: { - __typename?: "MedalGQL"; - count: number; - nickname?: string | null; - } | null; - runLength5?: { - __typename?: "MedalGQL"; - count: number; - nickname?: string | null; - } | null; - runLength8?: { - __typename?: "MedalGQL"; - count: number; - nickname?: string | null; - } | null; - runLength10?: { - __typename?: "MedalGQL"; - count: number; - nickname?: string | null; - } | null; - runLength15?: { - __typename?: "MedalGQL"; - count: number; - nickname?: string | null; - } | null; - runLength20?: { - __typename?: "MedalGQL"; - count: number; - nickname?: string | null; - } | null; - runLength25?: { - __typename?: "MedalGQL"; - count: number; - nickname?: string | null; - } | null; - runLength30?: { - __typename?: "MedalGQL"; - count: number; - nickname?: string | null; - } | null; - runLength40?: { - __typename?: "MedalGQL"; - count: number; - nickname?: string | null; - } | null; - runLength50?: { - __typename?: "MedalGQL"; - count: number; - nickname?: string | null; - } | null; - totalMakes100?: { - __typename?: "MedalGQL"; - count: number; - nickname?: string | null; - } | null; - totalMakes500?: { - __typename?: "MedalGQL"; - count: number; - nickname?: string | null; - } | null; - totalMakes1000?: { - __typename?: "MedalGQL"; - count: number; - nickname?: string | null; - } | null; - totalMakes5000?: { - __typename?: "MedalGQL"; - count: number; - nickname?: string | null; - } | null; - totalMakes10000?: { - __typename?: "MedalGQL"; - count: number; - nickname?: string | null; - } | null; - dailyMakes50?: { - __typename?: "MedalGQL"; - count: number; - nickname?: string | null; - } | null; - dailyMakes100?: { - __typename?: "MedalGQL"; - count: number; - nickname?: string | null; - } | null; - dailyMakes150?: { - __typename?: "MedalGQL"; - count: number; - nickname?: string | null; - } | null; - dailyMakes200?: { - __typename?: "MedalGQL"; - count: number; - nickname?: string | null; - } | null; - dailyMakes250?: { - __typename?: "MedalGQL"; - count: number; - nickname?: string | null; - } | null; - }; -}; + +export type GetMedalsQuery = { __typename?: 'Query', getMedals: { __typename?: 'RequestedMedalsGQL', distanceOver78?: { __typename?: 'MedalGQL', count: number, nickname?: string | null } | null, distanceOver90?: { __typename?: 'MedalGQL', count: number, nickname?: string | null } | null, runLength3?: { __typename?: 'MedalGQL', count: number, nickname?: string | null } | null, runLength5?: { __typename?: 'MedalGQL', count: number, nickname?: string | null } | null, runLength8?: { __typename?: 'MedalGQL', count: number, nickname?: string | null } | null, runLength10?: { __typename?: 'MedalGQL', count: number, nickname?: string | null } | null, runLength15?: { __typename?: 'MedalGQL', count: number, nickname?: string | null } | null, runLength20?: { __typename?: 'MedalGQL', count: number, nickname?: string | null } | null, runLength25?: { __typename?: 'MedalGQL', count: number, nickname?: string | null } | null, runLength30?: { __typename?: 'MedalGQL', count: number, nickname?: string | null } | null, runLength40?: { __typename?: 'MedalGQL', count: number, nickname?: string | null } | null, runLength50?: { __typename?: 'MedalGQL', count: number, nickname?: string | null } | null, totalMakes100?: { __typename?: 'MedalGQL', count: number, nickname?: string | null } | null, totalMakes500?: { __typename?: 'MedalGQL', count: number, nickname?: string | null } | null, totalMakes1000?: { __typename?: 'MedalGQL', count: number, nickname?: string | null } | null, totalMakes5000?: { __typename?: 'MedalGQL', count: number, nickname?: string | null } | null, totalMakes10000?: { __typename?: 'MedalGQL', count: number, nickname?: string | null } | null, dailyMakes50?: { __typename?: 'MedalGQL', count: number, nickname?: string | null } | null, dailyMakes100?: { __typename?: 'MedalGQL', count: number, nickname?: string | null } | null, dailyMakes150?: { __typename?: 'MedalGQL', count: number, nickname?: string | null } | null, dailyMakes200?: { __typename?: 'MedalGQL', count: number, nickname?: string | null } | null, dailyMakes250?: { __typename?: 'MedalGQL', count: number, nickname?: string | null } | null } }; export type GetNotificationsQueryVariables = Exact<{ - limit?: Scalars["Int"]["input"]; - offset?: Scalars["Int"]["input"]; + limit?: Scalars['Int']['input']; + offset?: Scalars['Int']['input']; filters?: InputMaybe; }>; -export type GetNotificationsQuery = { - __typename?: "Query"; - notifications: { - __typename?: "NotificationConnection"; - totalCount: number; - unreadCount: number; - hasMore: boolean; - notifications: Array<{ - __typename?: "NotificationGQL"; - id: number; - notificationType: NotificationTypeEnum; - videoId?: number | null; - reactionType?: string | null; - isRead: boolean; - createdAt: any; - readAt?: any | null; - actor: { - __typename?: "UserGQL"; - id: number; - username: string; - profileImageUri?: string | null; - }; - comment?: { - __typename?: "CommentGQL"; - id: number; - message: string; - user: { - __typename?: "UserGQL"; - id: number; - username: string; - profileImageUri?: string | null; - }; - } | null; - }>; - }; -}; -export type GetUnreadNotificationCountQueryVariables = Exact<{ - [key: string]: never; -}>; +export type GetNotificationsQuery = { __typename?: 'Query', notifications: { __typename?: 'NotificationConnection', totalCount: number, unreadCount: number, hasMore: boolean, notifications: Array<{ __typename?: 'NotificationGQL', id: number, notificationType: NotificationTypeEnum, videoId?: number | null, reactionType?: string | null, isRead: boolean, createdAt: any, readAt?: any | null, actor: { __typename?: 'UserGQL', id: number, username: string, profileImageUri?: string | null }, comment?: { __typename?: 'CommentGQL', id: number, message: string, user: { __typename?: 'UserGQL', id: number, username: string, profileImageUri?: string | null } } | null }> } }; -export type GetUnreadNotificationCountQuery = { - __typename?: "Query"; - unreadNotificationCount: number; -}; +export type GetUnreadNotificationCountQueryVariables = Exact<{ [key: string]: never; }>; + + +export type GetUnreadNotificationCountQuery = { __typename?: 'Query', unreadNotificationCount: number }; export type MarkNotificationAsReadMutationVariables = Exact<{ - notificationId: Scalars["Int"]["input"]; + notificationId: Scalars['Int']['input']; }>; -export type MarkNotificationAsReadMutation = { - __typename?: "Mutation"; - markNotificationAsRead: boolean; -}; + +export type MarkNotificationAsReadMutation = { __typename?: 'Mutation', markNotificationAsRead: boolean }; export type MarkNotificationsAsReadMutationVariables = Exact<{ - notificationIds: Array | Scalars["Int"]["input"]; + notificationIds: Array | Scalars['Int']['input']; }>; -export type MarkNotificationsAsReadMutation = { - __typename?: "Mutation"; - markNotificationsAsRead: boolean; -}; -export type MarkAllNotificationsAsReadMutationVariables = Exact<{ - [key: string]: never; -}>; +export type MarkNotificationsAsReadMutation = { __typename?: 'Mutation', markNotificationsAsRead: boolean }; -export type MarkAllNotificationsAsReadMutation = { - __typename?: "Mutation"; - markAllNotificationsAsRead: boolean; -}; +export type MarkAllNotificationsAsReadMutationVariables = Exact<{ [key: string]: never; }>; + + +export type MarkAllNotificationsAsReadMutation = { __typename?: 'Mutation', markAllNotificationsAsRead: boolean }; export type DeleteNotificationMutationVariables = Exact<{ - notificationId: Scalars["Int"]["input"]; + notificationId: Scalars['Int']['input']; }>; -export type DeleteNotificationMutation = { - __typename?: "Mutation"; - deleteNotification: boolean; -}; -export type NotificationFragment = { - __typename?: "NotificationGQL"; - id: number; - notificationType: NotificationTypeEnum; - videoId?: number | null; - reactionType?: string | null; - isRead: boolean; - createdAt: any; - readAt?: any | null; - actor: { - __typename?: "UserGQL"; - id: number; - username: string; - profileImageUri?: string | null; - }; - comment?: { - __typename?: "CommentGQL"; - id: number; - message: string; - user: { - __typename?: "UserGQL"; - id: number; - username: string; - profileImageUri?: string | null; - }; - } | null; -}; +export type DeleteNotificationMutation = { __typename?: 'Mutation', deleteNotification: boolean }; -export type EnsureStripeCustomerExistsMutationVariables = Exact<{ - [key: string]: never; -}>; +export type NotificationFragment = { __typename?: 'NotificationGQL', id: number, notificationType: NotificationTypeEnum, videoId?: number | null, reactionType?: string | null, isRead: boolean, createdAt: any, readAt?: any | null, actor: { __typename?: 'UserGQL', id: number, username: string, profileImageUri?: string | null }, comment?: { __typename?: 'CommentGQL', id: number, message: string, user: { __typename?: 'UserGQL', id: number, username: string, profileImageUri?: string | null } } | null }; -export type EnsureStripeCustomerExistsMutation = { - __typename?: "Mutation"; - ensureStripeCustomerExists: { - __typename?: "UserGQL"; - id: number; - firebaseUid?: string | null; - username: string; - stripeCustomerId?: string | null; - profileImageUri?: string | null; - isAdmin?: boolean | null; - fargoRating?: number | null; - videosPrivateByDefault?: boolean | null; - createdAt?: any | null; - updatedAt?: any | null; - }; -}; +export type EnsureStripeCustomerExistsMutationVariables = Exact<{ [key: string]: never; }>; + + +export type EnsureStripeCustomerExistsMutation = { __typename?: 'Mutation', ensureStripeCustomerExists: { __typename?: 'UserGQL', id: number, firebaseUid?: string | null, username: string, stripeCustomerId?: string | null, profileImageUri?: string | null, isAdmin?: boolean | null, fargoRating?: number | null, videosPrivateByDefault?: boolean | null, createdAt?: any | null, updatedAt?: any | null } }; export type CreateSubscriptionMutationVariables = Exact<{ - priceId: Scalars["String"]["input"]; + priceId: Scalars['String']['input']; }>; -export type CreateSubscriptionMutation = { - __typename?: "Mutation"; - createSubscription: { - __typename?: "CreateSubscriptionResultGQL"; - checkoutUrl: string; - sessionId: string; - }; -}; -export type GetAvailableSubscriptionOptionsQueryVariables = Exact<{ - [key: string]: never; -}>; +export type CreateSubscriptionMutation = { __typename?: 'Mutation', createSubscription: { __typename?: 'CreateSubscriptionResultGQL', checkoutUrl: string, sessionId: string } }; -export type GetAvailableSubscriptionOptionsQuery = { - __typename?: "Query"; - getAvailableSubscriptionOptions: { - __typename?: "StripeSubscriptionOptionsGQL"; - products: Array<{ - __typename?: "StripeProductGQL"; - id: string; - name: string; - description?: string | null; - active: boolean; - prices: Array<{ - __typename?: "StripePriceGQL"; - id: string; - currency: string; - unitAmount?: number | null; - recurringInterval?: string | null; - recurringIntervalCount?: number | null; - type: string; - active: boolean; - }>; - }>; - }; -}; +export type GetAvailableSubscriptionOptionsQueryVariables = Exact<{ [key: string]: never; }>; -export type GetSubscriptionStatusQueryVariables = Exact<{ - [key: string]: never; -}>; -export type GetSubscriptionStatusQuery = { - __typename?: "Query"; - getUserSubscriptionStatus: { - __typename?: "UserSubscriptionStatusGQL"; - hasActiveSubscription: boolean; - subscriptionStatus?: StripeSubscriptionStatusEnum | null; - currentPeriodStart?: any | null; - currentPeriodEnd?: any | null; - validUntil?: any | null; - stripePriceId?: string | null; - stripeSubscriptionId?: string | null; - }; -}; +export type GetAvailableSubscriptionOptionsQuery = { __typename?: 'Query', getAvailableSubscriptionOptions: { __typename?: 'StripeSubscriptionOptionsGQL', products: Array<{ __typename?: 'StripeProductGQL', id: string, name: string, description?: string | null, active: boolean, prices: Array<{ __typename?: 'StripePriceGQL', id: string, currency: string, unitAmount?: number | null, recurringInterval?: string | null, recurringIntervalCount?: number | null, type: string, active: boolean }> }> } }; -export type CancelSubscriptionMutationVariables = Exact<{ - [key: string]: never; -}>; +export type GetSubscriptionStatusQueryVariables = Exact<{ [key: string]: never; }>; -export type CancelSubscriptionMutation = { - __typename?: "Mutation"; - cancelSubscription: { - __typename?: "UserSubscriptionStatusGQL"; - hasActiveSubscription: boolean; - subscriptionStatus?: StripeSubscriptionStatusEnum | null; - currentPeriodStart?: any | null; - currentPeriodEnd?: any | null; - validUntil?: any | null; - stripePriceId?: string | null; - stripeSubscriptionId?: string | null; - }; -}; + +export type GetSubscriptionStatusQuery = { __typename?: 'Query', getUserSubscriptionStatus: { __typename?: 'UserSubscriptionStatusGQL', hasActiveSubscription: boolean, subscriptionStatus?: StripeSubscriptionStatusEnum | null, currentPeriodStart?: any | null, currentPeriodEnd?: any | null, validUntil?: any | null, stripePriceId?: string | null, stripeSubscriptionId?: string | null } }; + +export type CancelSubscriptionMutationVariables = Exact<{ [key: string]: never; }>; + + +export type CancelSubscriptionMutation = { __typename?: 'Mutation', cancelSubscription: { __typename?: 'UserSubscriptionStatusGQL', hasActiveSubscription: boolean, subscriptionStatus?: StripeSubscriptionStatusEnum | null, currentPeriodStart?: any | null, currentPeriodEnd?: any | null, validUntil?: any | null, stripePriceId?: string | null, stripeSubscriptionId?: string | null } }; export type ReactToVideoMutationVariables = Exact<{ - videoId: Scalars["Int"]["input"]; + videoId: Scalars['Int']['input']; reaction?: InputMaybe; }>; -export type ReactToVideoMutation = { - __typename?: "Mutation"; - reactToVideo: boolean; -}; + +export type ReactToVideoMutation = { __typename?: 'Mutation', reactToVideo: boolean }; export type GetRunsForHighlightsQueryVariables = Exact<{ filterInput: RunFilterInput; - runIds?: InputMaybe | Scalars["Int"]["input"]>; + runIds?: InputMaybe | Scalars['Int']['input']>; runsOrdering?: InputMaybe; - limit?: Scalars["Int"]["input"]; - countRespectsLimit?: Scalars["Boolean"]["input"]; + limit?: Scalars['Int']['input']; + countRespectsLimit?: Scalars['Boolean']['input']; }>; -export type GetRunsForHighlightsQuery = { - __typename?: "Query"; - getRuns: { - __typename?: "GetRunsResult"; - count?: number | null; - runIds: Array; - runs: Array<{ - __typename?: "RunGQL"; - id: number; - runLength: number; - userId: number; - videoId: number; - shots: Array<{ __typename?: "ShotGQL"; videoId: number; id: number }>; - }>; - }; -}; -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 GetRunsForHighlightsQuery = { __typename?: 'Query', getRuns: { __typename?: 'GetRunsResult', count?: number | null, runIds: Array, runs: Array<{ __typename?: 'RunGQL', id: number, runLength: number, userId: number, videoId: number, shots: Array<{ __typename?: 'ShotGQL', videoId: number, id: number }> }> } }; + +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 | Scalars["Int"]["input"]>; + runIds?: InputMaybe | Scalars['Int']['input']>; runsOrdering?: InputMaybe; }>; -export type GetRunsWithTimestampsQuery = { - __typename?: "Query"; - getRuns: { - __typename?: "GetRunsResult"; - count?: number | null; - runIds: Array; - runs: Array<{ - __typename?: "RunGQL"; - id: number; - runLength: number; - userId: number; - videoId: number; - shots: Array<{ - __typename?: "ShotGQL"; - videoId: number; - id: number; - createdAt?: any | null; - 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; - }>; - }>; - }; -}; + +export type GetRunsWithTimestampsQuery = { __typename?: 'Query', getRuns: { __typename?: 'GetRunsResult', count?: number | null, runIds: Array, runs: Array<{ __typename?: 'RunGQL', id: number, runLength: number, userId: number, videoId: number, shots: Array<{ __typename?: 'ShotGQL', videoId: number, id: number, createdAt?: any | null, 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 }> }> } }; export type GetSerializedShotPathsQueryVariables = Exact<{ filterInput: FilterInput; }>; -export type GetSerializedShotPathsQuery = { - __typename?: "Query"; - getShots: Array<{ - __typename?: "ShotGQL"; - id: number; - videoId: number; - startFrame: number; - endFrame: number; - serializedShotPaths?: { - __typename?: "SerializedShotPathsGQL"; - b64EncodedBuffer?: string | null; - } | null; - }>; -}; -export type GetShotAnnotationTypesQueryVariables = Exact<{ - [key: string]: never; -}>; +export type GetSerializedShotPathsQuery = { __typename?: 'Query', getShots: Array<{ __typename?: 'ShotGQL', id: number, videoId: number, startFrame: number, endFrame: number, serializedShotPaths?: { __typename?: 'SerializedShotPathsGQL', b64EncodedBuffer?: string | null } | null }> }; -export type GetShotAnnotationTypesQuery = { - __typename?: "Query"; - getShotAnnotationTypes: Array<{ - __typename?: "ShotAnnotationTypeGQL"; - id: number; - name: string; - }>; -}; +export type GetShotAnnotationTypesQueryVariables = Exact<{ [key: string]: never; }>; + + +export type GetShotAnnotationTypesQuery = { __typename?: 'Query', getShotAnnotationTypes: Array<{ __typename?: 'ShotAnnotationTypeGQL', id: number, name: string }> }; export type UpdateShotAnnotationsMutationVariables = Exact<{ - shotId: Scalars["Int"]["input"]; + shotId: Scalars['Int']['input']; annotations: Array | 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 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; shotsOrdering?: InputMaybe; - limit?: InputMaybe; + limit?: InputMaybe; }>; -export type GetShotsWithVideoGqlQuery = { - __typename?: "Query"; - getOrderedShots: { - __typename?: "GetShotsResult"; - shots: Array<{ - __typename?: "ShotGQL"; - id: number; - videoId: number; - video?: { - __typename?: "VideoGQL"; - screenshotUri?: string | null; - endTime?: any | null; - } | null; - }>; - }; -}; + +export type GetShotsWithVideoGqlQuery = { __typename?: 'Query', getOrderedShots: { __typename?: 'GetShotsResult', shots: Array<{ __typename?: 'ShotGQL', id: number, videoId: number, video?: { __typename?: 'VideoGQL', screenshotUri?: string | null, endTime?: any | null } | null }> } }; export type GetShotsWithJustIdsQueryVariables = Exact<{ filterInput: FilterInput; shotsOrdering?: InputMaybe; - limit?: InputMaybe; - countRespectsLimit?: InputMaybe; + limit?: InputMaybe; + countRespectsLimit?: InputMaybe; }>; -export type GetShotsWithJustIdsQuery = { - __typename?: "Query"; - getOrderedShots: { - __typename?: "GetShotsResult"; - count?: number | null; - shots: Array<{ __typename?: "ShotGQL"; id: number; videoId: number }>; - }; -}; + +export type GetShotsWithJustIdsQuery = { __typename?: 'Query', getOrderedShots: { __typename?: 'GetShotsResult', count?: number | null, shots: Array<{ __typename?: 'ShotGQL', id: number, videoId: number }> } }; export type GetShotsWithMetadataFilterResultQueryVariables = Exact<{ filterInput: FilterInput; shotsOrdering?: InputMaybe; - limit?: InputMaybe; - ids?: InputMaybe | Scalars["Int"]["input"]>; - countRespectsLimit?: InputMaybe; + limit?: InputMaybe; + ids?: InputMaybe | Scalars['Int']['input']>; + countRespectsLimit?: InputMaybe; }>; -export type GetShotsWithMetadataFilterResultQuery = { - __typename?: "Query"; - getOrderedShots: { - __typename?: "GetShotsResult"; - count?: number | null; - ids: Array; - shots: Array<{ - __typename?: "ShotGQL"; - id: number; - videoId: number; - startFrame: number; - endFrame: number; - startTime: number; - endTime: number; - falsePositiveScore?: number | null; - createdAt?: any | null; - updatedAt?: any | null; - startSegment: { __typename?: "SegmentInfo"; index: number; time: number }; - endSegment: { __typename?: "SegmentInfo"; index: number; time: number }; - user?: { __typename?: "UserGQL"; id: number } | null; - cueObjectFeatures?: { - __typename?: "CueObjectFeaturesGQL"; - cueObjectDistance?: number | null; - cueObjectAngle?: number | null; - cueBallSpeed?: number | null; - shotDirection?: ShotDirectionEnum | null; - spinType?: SpinTypeEnum | null; - } | null; - 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; - pocketingIntentionInfo?: { - __typename?: "PocketingIntentionInfoGQL"; - ballId: number; - pocketId: PocketIdentifier; - pathMetadataIndex: number; - } | null; - serializedShotPaths?: { - __typename?: "SerializedShotPathsGQL"; - b64EncodedBuffer?: string | null; - } | null; - annotations: Array<{ - __typename?: "ShotAnnotationGQL"; - shotId: number; - notes: string; - type: { - __typename?: "ShotAnnotationTypeGQL"; - id: number; - name: string; - }; - }>; - video?: { - __typename?: "VideoGQL"; - id: number; - stream?: { - __typename?: "UploadStreamGQL"; - id: string; - streamSegmentType: StreamSegmentTypeEnum; - } | null; - playlist?: { - __typename?: "HLSPlaylistGQL"; - videoId: number; - segmentDurations: Array; - } | null; - } | null; - }>; - }; -}; + +export type GetShotsWithMetadataFilterResultQuery = { __typename?: 'Query', getOrderedShots: { __typename?: 'GetShotsResult', count?: number | null, ids: Array, shots: Array<{ __typename?: 'ShotGQL', id: number, videoId: number, startFrame: number, endFrame: number, startTime: number, endTime: number, falsePositiveScore?: number | null, createdAt?: any | null, updatedAt?: any | null, startSegment: { __typename?: 'SegmentInfo', index: number, time: number }, endSegment: { __typename?: 'SegmentInfo', index: number, time: number }, user?: { __typename?: 'UserGQL', id: number } | null, cueObjectFeatures?: { __typename?: 'CueObjectFeaturesGQL', cueObjectDistance?: number | null, cueObjectAngle?: number | null, cueBallSpeed?: number | null, shotDirection?: ShotDirectionEnum | null, spinType?: SpinTypeEnum | null } | null, 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, pocketingIntentionInfo?: { __typename?: 'PocketingIntentionInfoGQL', ballId: number, pocketId: PocketIdentifier, pathMetadataIndex: number } | null, serializedShotPaths?: { __typename?: 'SerializedShotPathsGQL', b64EncodedBuffer?: string | null } | null, annotations: Array<{ __typename?: 'ShotAnnotationGQL', shotId: number, notes: string, type: { __typename?: 'ShotAnnotationTypeGQL', id: number, name: string } }>, video?: { __typename?: 'VideoGQL', id: number, stream?: { __typename?: 'UploadStreamGQL', id: string, streamSegmentType: StreamSegmentTypeEnum } | null, playlist?: { __typename?: 'HLSPlaylistGQL', videoId: number, segmentDurations: Array } | null } | null }> } }; export type GetShotsWithMetadataQueryVariables = Exact<{ filterInput: FilterInput; shotsPagination?: InputMaybe; - limit?: InputMaybe; - ids?: InputMaybe | Scalars["Int"]["input"]>; + limit?: InputMaybe; + ids?: InputMaybe | Scalars['Int']['input']>; }>; -export type GetShotsWithMetadataQuery = { - __typename?: "Query"; - getShotsWithMetadata: { - __typename?: "GetShotsResult"; - count?: number | null; - ids: Array; - shots: Array<{ - __typename?: "ShotGQL"; - id: number; - videoId: number; - startFrame: number; - endFrame: number; - startTime: number; - endTime: number; - falsePositiveScore?: number | null; - createdAt?: any | null; - updatedAt?: any | null; - startSegment: { __typename?: "SegmentInfo"; index: number; time: number }; - endSegment: { __typename?: "SegmentInfo"; index: number; time: number }; - user?: { __typename?: "UserGQL"; id: number } | null; - cueObjectFeatures?: { - __typename?: "CueObjectFeaturesGQL"; - cueObjectDistance?: number | null; - cueObjectAngle?: number | null; - cueBallSpeed?: number | null; - shotDirection?: ShotDirectionEnum | null; - spinType?: SpinTypeEnum | null; - } | null; - 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; - pocketingIntentionInfo?: { - __typename?: "PocketingIntentionInfoGQL"; - ballId: number; - pocketId: PocketIdentifier; - pathMetadataIndex: number; - } | null; - serializedShotPaths?: { - __typename?: "SerializedShotPathsGQL"; - b64EncodedBuffer?: string | null; - } | null; - annotations: Array<{ - __typename?: "ShotAnnotationGQL"; - shotId: number; - notes: string; - type: { - __typename?: "ShotAnnotationTypeGQL"; - id: number; - name: string; - }; - }>; - video?: { - __typename?: "VideoGQL"; - id: number; - stream?: { - __typename?: "UploadStreamGQL"; - id: string; - streamSegmentType: StreamSegmentTypeEnum; - } | null; - playlist?: { - __typename?: "HLSPlaylistGQL"; - videoId: number; - segmentDurations: Array; - } | null; - } | null; - }>; - }; -}; + +export type GetShotsWithMetadataQuery = { __typename?: 'Query', getShotsWithMetadata: { __typename?: 'GetShotsResult', count?: number | null, ids: Array, shots: Array<{ __typename?: 'ShotGQL', id: number, videoId: number, startFrame: number, endFrame: number, startTime: number, endTime: number, falsePositiveScore?: number | null, createdAt?: any | null, updatedAt?: any | null, startSegment: { __typename?: 'SegmentInfo', index: number, time: number }, endSegment: { __typename?: 'SegmentInfo', index: number, time: number }, user?: { __typename?: 'UserGQL', id: number } | null, cueObjectFeatures?: { __typename?: 'CueObjectFeaturesGQL', cueObjectDistance?: number | null, cueObjectAngle?: number | null, cueBallSpeed?: number | null, shotDirection?: ShotDirectionEnum | null, spinType?: SpinTypeEnum | null } | null, 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, pocketingIntentionInfo?: { __typename?: 'PocketingIntentionInfoGQL', ballId: number, pocketId: PocketIdentifier, pathMetadataIndex: number } | null, serializedShotPaths?: { __typename?: 'SerializedShotPathsGQL', b64EncodedBuffer?: string | null } | null, annotations: Array<{ __typename?: 'ShotAnnotationGQL', shotId: number, notes: string, type: { __typename?: 'ShotAnnotationTypeGQL', id: number, name: string } }>, video?: { __typename?: 'VideoGQL', id: number, stream?: { __typename?: 'UploadStreamGQL', id: string, streamSegmentType: StreamSegmentTypeEnum } | null, playlist?: { __typename?: 'HLSPlaylistGQL', videoId: number, segmentDurations: Array } | null } | null }> } }; export type GetShotsByIdsQueryVariables = Exact<{ - ids: Array | Scalars["Int"]["input"]; + ids: Array | Scalars['Int']['input']; }>; -export type GetShotsByIdsQuery = { - __typename?: "Query"; - getShotsByIds: Array<{ - __typename?: "ShotGQL"; - id: number; - videoId: number; - startFrame: number; - endFrame: number; - startTime: number; - endTime: number; - falsePositiveScore?: number | null; - createdAt?: any | null; - updatedAt?: any | null; - startSegment: { __typename?: "SegmentInfo"; index: number; time: number }; - endSegment: { __typename?: "SegmentInfo"; index: number; time: number }; - user?: { __typename?: "UserGQL"; id: number } | null; - cueObjectFeatures?: { - __typename?: "CueObjectFeaturesGQL"; - cueObjectDistance?: number | null; - cueObjectAngle?: number | null; - cueBallSpeed?: number | null; - shotDirection?: ShotDirectionEnum | null; - spinType?: SpinTypeEnum | null; - } | null; - 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; - pocketingIntentionInfo?: { - __typename?: "PocketingIntentionInfoGQL"; - ballId: number; - pocketId: PocketIdentifier; - pathMetadataIndex: number; - } | null; - serializedShotPaths?: { - __typename?: "SerializedShotPathsGQL"; - b64EncodedBuffer?: string | null; - } | null; - annotations: Array<{ - __typename?: "ShotAnnotationGQL"; - shotId: number; - notes: string; - type: { __typename?: "ShotAnnotationTypeGQL"; id: number; name: string }; - }>; - video?: { - __typename?: "VideoGQL"; - id: number; - stream?: { - __typename?: "UploadStreamGQL"; - id: string; - streamSegmentType: StreamSegmentTypeEnum; - } | null; - playlist?: { - __typename?: "HLSPlaylistGQL"; - videoId: number; - segmentDurations: Array; - } | null; - } | null; - }>; -}; -export type ShotWithAllFeaturesFragment = { - __typename?: "ShotGQL"; - id: number; - videoId: number; - startFrame: number; - endFrame: number; - startTime: number; - endTime: number; - falsePositiveScore?: number | null; - createdAt?: any | null; - updatedAt?: any | null; - startSegment: { __typename?: "SegmentInfo"; index: number; time: number }; - endSegment: { __typename?: "SegmentInfo"; index: number; time: number }; - user?: { __typename?: "UserGQL"; id: number } | null; - cueObjectFeatures?: { - __typename?: "CueObjectFeaturesGQL"; - cueObjectDistance?: number | null; - cueObjectAngle?: number | null; - cueBallSpeed?: number | null; - shotDirection?: ShotDirectionEnum | null; - spinType?: SpinTypeEnum | null; - } | null; - 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; - pocketingIntentionInfo?: { - __typename?: "PocketingIntentionInfoGQL"; - ballId: number; - pocketId: PocketIdentifier; - pathMetadataIndex: number; - } | null; - serializedShotPaths?: { - __typename?: "SerializedShotPathsGQL"; - b64EncodedBuffer?: string | null; - } | null; - annotations: Array<{ - __typename?: "ShotAnnotationGQL"; - shotId: number; - notes: string; - type: { __typename?: "ShotAnnotationTypeGQL"; id: number; name: string }; - }>; - video?: { - __typename?: "VideoGQL"; - id: number; - stream?: { - __typename?: "UploadStreamGQL"; - id: string; - streamSegmentType: StreamSegmentTypeEnum; - } | null; - playlist?: { - __typename?: "HLSPlaylistGQL"; - videoId: number; - segmentDurations: Array; - } | null; - } | null; -}; +export type GetShotsByIdsQuery = { __typename?: 'Query', getShotsByIds: Array<{ __typename?: 'ShotGQL', id: number, videoId: number, startFrame: number, endFrame: number, startTime: number, endTime: number, falsePositiveScore?: number | null, createdAt?: any | null, updatedAt?: any | null, startSegment: { __typename?: 'SegmentInfo', index: number, time: number }, endSegment: { __typename?: 'SegmentInfo', index: number, time: number }, user?: { __typename?: 'UserGQL', id: number } | null, cueObjectFeatures?: { __typename?: 'CueObjectFeaturesGQL', cueObjectDistance?: number | null, cueObjectAngle?: number | null, cueBallSpeed?: number | null, shotDirection?: ShotDirectionEnum | null, spinType?: SpinTypeEnum | null } | null, 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, pocketingIntentionInfo?: { __typename?: 'PocketingIntentionInfoGQL', ballId: number, pocketId: PocketIdentifier, pathMetadataIndex: number } | null, serializedShotPaths?: { __typename?: 'SerializedShotPathsGQL', b64EncodedBuffer?: string | null } | null, annotations: Array<{ __typename?: 'ShotAnnotationGQL', shotId: number, notes: string, type: { __typename?: 'ShotAnnotationTypeGQL', id: number, name: string } }>, video?: { __typename?: 'VideoGQL', id: number, stream?: { __typename?: 'UploadStreamGQL', id: string, streamSegmentType: StreamSegmentTypeEnum } | null, playlist?: { __typename?: 'HLSPlaylistGQL', videoId: number, segmentDurations: Array } | null } | null }> }; + +export type ShotWithAllFeaturesFragment = { __typename?: 'ShotGQL', id: number, videoId: number, startFrame: number, endFrame: number, startTime: number, endTime: number, falsePositiveScore?: number | null, createdAt?: any | null, updatedAt?: any | null, startSegment: { __typename?: 'SegmentInfo', index: number, time: number }, endSegment: { __typename?: 'SegmentInfo', index: number, time: number }, user?: { __typename?: 'UserGQL', id: number } | null, cueObjectFeatures?: { __typename?: 'CueObjectFeaturesGQL', cueObjectDistance?: number | null, cueObjectAngle?: number | null, cueBallSpeed?: number | null, shotDirection?: ShotDirectionEnum | null, spinType?: SpinTypeEnum | null } | null, 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, pocketingIntentionInfo?: { __typename?: 'PocketingIntentionInfoGQL', ballId: number, pocketId: PocketIdentifier, pathMetadataIndex: number } | null, serializedShotPaths?: { __typename?: 'SerializedShotPathsGQL', b64EncodedBuffer?: string | null } | null, annotations: Array<{ __typename?: 'ShotAnnotationGQL', shotId: number, notes: string, type: { __typename?: 'ShotAnnotationTypeGQL', id: number, name: string } }>, video?: { __typename?: 'VideoGQL', id: number, stream?: { __typename?: 'UploadStreamGQL', id: string, streamSegmentType: StreamSegmentTypeEnum } | null, playlist?: { __typename?: 'HLSPlaylistGQL', videoId: number, segmentDurations: Array } | null } | null }; export type EditShotMutationVariables = Exact<{ - shotId: Scalars["Int"]["input"]; + shotId: Scalars['Int']['input']; fieldsToEdit: EditableShotFieldInputGql; }>; -export type EditShotMutation = { - __typename?: "Mutation"; - editShot: { - __typename?: "EditShotReturn"; - error?: { - __typename?: "DoesNotOwnShotErr"; - shotId: number; - msg?: string | null; - } | null; - shot?: { - __typename?: "ShotGQL"; - id: number; - videoId: number; - startFrame: number; - endFrame: number; - startTime: number; - endTime: number; - falsePositiveScore?: number | null; - createdAt?: any | null; - updatedAt?: any | null; - startSegment: { __typename?: "SegmentInfo"; index: number; time: number }; - endSegment: { __typename?: "SegmentInfo"; index: number; time: number }; - user?: { __typename?: "UserGQL"; id: number } | null; - cueObjectFeatures?: { - __typename?: "CueObjectFeaturesGQL"; - cueObjectDistance?: number | null; - cueObjectAngle?: number | null; - cueBallSpeed?: number | null; - shotDirection?: ShotDirectionEnum | null; - spinType?: SpinTypeEnum | null; - } | null; - 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; - pocketingIntentionInfo?: { - __typename?: "PocketingIntentionInfoGQL"; - ballId: number; - pocketId: PocketIdentifier; - pathMetadataIndex: number; - } | null; - serializedShotPaths?: { - __typename?: "SerializedShotPathsGQL"; - b64EncodedBuffer?: string | null; - } | null; - annotations: Array<{ - __typename?: "ShotAnnotationGQL"; - shotId: number; - notes: string; - type: { - __typename?: "ShotAnnotationTypeGQL"; - id: number; - name: string; - }; - }>; - video?: { - __typename?: "VideoGQL"; - id: number; - stream?: { - __typename?: "UploadStreamGQL"; - id: string; - streamSegmentType: StreamSegmentTypeEnum; - } | null; - playlist?: { - __typename?: "HLSPlaylistGQL"; - videoId: number; - segmentDurations: Array; - } | null; - } | null; - } | null; - }; -}; + +export type EditShotMutation = { __typename?: 'Mutation', editShot: { __typename?: 'EditShotReturn', error?: { __typename?: 'DoesNotOwnShotErr', shotId: number, msg?: string | null } | null, shot?: { __typename?: 'ShotGQL', id: number, videoId: number, startFrame: number, endFrame: number, startTime: number, endTime: number, falsePositiveScore?: number | null, createdAt?: any | null, updatedAt?: any | null, startSegment: { __typename?: 'SegmentInfo', index: number, time: number }, endSegment: { __typename?: 'SegmentInfo', index: number, time: number }, user?: { __typename?: 'UserGQL', id: number } | null, cueObjectFeatures?: { __typename?: 'CueObjectFeaturesGQL', cueObjectDistance?: number | null, cueObjectAngle?: number | null, cueBallSpeed?: number | null, shotDirection?: ShotDirectionEnum | null, spinType?: SpinTypeEnum | null } | null, 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, pocketingIntentionInfo?: { __typename?: 'PocketingIntentionInfoGQL', ballId: number, pocketId: PocketIdentifier, pathMetadataIndex: number } | null, serializedShotPaths?: { __typename?: 'SerializedShotPathsGQL', b64EncodedBuffer?: string | null } | null, annotations: Array<{ __typename?: 'ShotAnnotationGQL', shotId: number, notes: string, type: { __typename?: 'ShotAnnotationTypeGQL', id: number, name: string } }>, video?: { __typename?: 'VideoGQL', id: number, stream?: { __typename?: 'UploadStreamGQL', id: string, streamSegmentType: StreamSegmentTypeEnum } | null, playlist?: { __typename?: 'HLSPlaylistGQL', videoId: number, segmentDurations: Array } | null } | null } | null } }; export type RetireTagsMutationVariables = Exact<{ - tagIds: Array | Scalars["Int"]["input"]; + tagIds: Array | Scalars['Int']['input']; }>; -export type RetireTagsMutation = { - __typename?: "Mutation"; - retireTags: boolean; -}; + +export type RetireTagsMutation = { __typename?: 'Mutation', retireTags: boolean }; export type DeleteTagsMutationVariables = Exact<{ - videoId: Scalars["Int"]["input"]; + videoId: Scalars['Int']['input']; tagsToDelete: Array | VideoTagInput; }>; -export type DeleteTagsMutation = { - __typename?: "Mutation"; - deleteTags: boolean; -}; + +export type DeleteTagsMutation = { __typename?: 'Mutation', deleteTags: boolean }; export type GetProfileImageUploadLinkMutationVariables = Exact<{ - fileExt?: InputMaybe; + fileExt?: InputMaybe; }>; -export type GetProfileImageUploadLinkMutation = { - __typename?: "Mutation"; - getProfileImageUploadLink: { - __typename?: "GetProfileUploadLinkReturn"; - value: - | { - __typename?: "GetProfileUploadLinkErrors"; - error: { - __typename?: "TooManyProfileImageUploadsErr"; - linksRequested: number; - }; - } - | { - __typename?: "UploadLink"; - uploadUrl: string; - headers: Array<{ - __typename?: "Header"; - key: string; - value: string; - } | null>; - }; - }; -}; + +export type GetProfileImageUploadLinkMutation = { __typename?: 'Mutation', getProfileImageUploadLink: { __typename?: 'GetProfileUploadLinkReturn', value: + | { __typename?: 'GetProfileUploadLinkErrors', error: { __typename?: 'TooManyProfileImageUploadsErr', linksRequested: number } } + | { __typename?: 'UploadLink', uploadUrl: string, headers: Array<{ __typename?: 'Header', key: string, value: string } | null> } + } }; export type EditProfileImageUriMutationVariables = Exact<{ - profileImageUri: Scalars["String"]["input"]; + profileImageUri: Scalars['String']['input']; }>; -export type EditProfileImageUriMutation = { - __typename?: "Mutation"; - editProfileImageUri: { - __typename?: "UserGQL"; - id: number; - firebaseUid?: string | null; - username: string; - isAdmin?: boolean | null; - profileImageUri?: string | null; - fargoRating?: number | null; - activeVideoId?: number | null; - createdAt?: any | null; - updatedAt?: any | null; - videosPrivateByDefault?: boolean | null; - agreesToMarketing?: boolean | null; - }; -}; -export type GetLoggedInUserQueryVariables = Exact<{ [key: string]: never }>; +export type EditProfileImageUriMutation = { __typename?: 'Mutation', editProfileImageUri: { __typename?: 'UserGQL', id: number, firebaseUid?: string | null, username: string, isAdmin?: boolean | null, profileImageUri?: string | null, fargoRating?: number | null, activeVideoId?: number | null, createdAt?: any | null, updatedAt?: any | null, videosPrivateByDefault?: boolean | null, agreesToMarketing?: boolean | null } }; -export type GetLoggedInUserQuery = { - __typename?: "Query"; - getLoggedInUser?: { - __typename?: "UserGQL"; - id: number; - firebaseUid?: string | null; - username: string; - isAdmin?: boolean | null; - profileImageUri?: string | null; - fargoRating?: number | null; - activeVideoId?: number | null; - createdAt?: any | null; - updatedAt?: any | null; - videosPrivateByDefault?: boolean | null; - agreesToMarketing?: boolean | null; - } | null; -}; +export type GetLoggedInUserQueryVariables = Exact<{ [key: string]: never; }>; + + +export type GetLoggedInUserQuery = { __typename?: 'Query', getLoggedInUser?: { __typename?: 'UserGQL', id: number, firebaseUid?: string | null, username: string, isAdmin?: boolean | null, profileImageUri?: string | null, fargoRating?: number | null, activeVideoId?: number | null, createdAt?: any | null, updatedAt?: any | null, videosPrivateByDefault?: boolean | null, agreesToMarketing?: boolean | null } | null }; export type GetUserQueryVariables = Exact<{ - userId: Scalars["Int"]["input"]; + userId: Scalars['Int']['input']; }>; -export type GetUserQuery = { - __typename?: "Query"; - getUser?: { - __typename?: "UserGQL"; - id: number; - firebaseUid?: string | null; - username: string; - isAdmin?: boolean | null; - profileImageUri?: string | null; - fargoRating?: number | null; - activeVideoId?: number | null; - createdAt?: any | null; - updatedAt?: any | null; - videosPrivateByDefault?: boolean | null; - agreesToMarketing?: boolean | null; - } | null; -}; + +export type GetUserQuery = { __typename?: 'Query', getUser?: { __typename?: 'UserGQL', id: number, firebaseUid?: string | null, username: string, isAdmin?: boolean | null, profileImageUri?: string | null, fargoRating?: number | null, activeVideoId?: number | null, createdAt?: any | null, updatedAt?: any | null, videosPrivateByDefault?: boolean | null, agreesToMarketing?: boolean | null } | null }; export type GetUserPlayTimeQueryVariables = Exact<{ - userId: Scalars["Int"]["input"]; + userId: Scalars['Int']['input']; filters?: InputMaybe; }>; -export type GetUserPlayTimeQuery = { - __typename?: "Query"; - getPlayTime: { __typename?: "UserPlayTimeGQL"; totalSeconds: number }; -}; + +export type GetUserPlayTimeQuery = { __typename?: 'Query', getPlayTime: { __typename?: 'UserPlayTimeGQL', totalSeconds: number } }; export type GetUsernamesQueryVariables = Exact<{ - matchString: Scalars["String"]["input"]; - limit?: InputMaybe; - after?: InputMaybe; + matchString: Scalars['String']['input']; + limit?: InputMaybe; + after?: InputMaybe; }>; -export type GetUsernamesQuery = { - __typename?: "Query"; - getUsernames: Array; -}; + +export type GetUsernamesQuery = { __typename?: 'Query', getUsernames: Array }; export type GetUserRelationshipsMatchingQueryVariables = Exact<{ - userId: Scalars["Int"]["input"]; - matchString: Scalars["String"]["input"]; - limit?: InputMaybe; - after?: InputMaybe; + userId: Scalars['Int']['input']; + matchString: Scalars['String']['input']; + limit?: InputMaybe; + after?: InputMaybe; }>; -export type GetUserRelationshipsMatchingQuery = { - __typename?: "Query"; - getUserRelationshipsMatching: { - __typename?: "UserRelationshipsResult"; - relationships: Array<{ - __typename?: "UserRelationship"; - toUserFollows: boolean; - toUserIsFollowedBy: boolean; - toUser: { - __typename?: "UserGQL"; - username: string; - profileImageUri?: string | null; - id: number; - }; - }>; - }; -}; -export type GetUserTagsQueryVariables = Exact<{ [key: string]: never }>; +export type GetUserRelationshipsMatchingQuery = { __typename?: 'Query', getUserRelationshipsMatching: { __typename?: 'UserRelationshipsResult', relationships: Array<{ __typename?: 'UserRelationship', toUserFollows: boolean, toUserIsFollowedBy: boolean, toUser: { __typename?: 'UserGQL', username: string, profileImageUri?: string | null, id: number } }> } }; -export type GetUserTagsQuery = { - __typename?: "Query"; - getUserTags: Array<{ - __typename?: "TagGQL"; - id: number; - name: string; - tagClasses?: Array<{ - __typename?: "TagClassGQL"; - id: number; - name: string; - }> | null; - }>; -}; +export type GetUserTagsQueryVariables = Exact<{ [key: string]: never; }>; + + +export type GetUserTagsQuery = { __typename?: 'Query', getUserTags: Array<{ __typename?: 'TagGQL', id: number, name: string, tagClasses?: Array<{ __typename?: 'TagClassGQL', id: number, name: string }> | null }> }; export type FollowUserMutationVariables = Exact<{ - followedUserId: Scalars["Int"]["input"]; + followedUserId: Scalars['Int']['input']; }>; -export type FollowUserMutation = { - __typename?: "Mutation"; - followUser: { __typename?: "UserGQL"; id: number; username: string }; -}; + +export type FollowUserMutation = { __typename?: 'Mutation', followUser: { __typename?: 'UserGQL', id: number, username: string } }; export type UnfollowUserMutationVariables = Exact<{ - followedUserId: Scalars["Int"]["input"]; + followedUserId: Scalars['Int']['input']; }>; -export type UnfollowUserMutation = { - __typename?: "Mutation"; - unfollowUser: { __typename?: "UserGQL"; id: number; username: string }; -}; -export type GetUserFollowingFollowersQueryVariables = Exact<{ - [key: string]: never; -}>; +export type UnfollowUserMutation = { __typename?: 'Mutation', unfollowUser: { __typename?: 'UserGQL', id: number, username: string } }; -export type GetUserFollowingFollowersQuery = { - __typename?: "Query"; - getLoggedInUser?: { - __typename?: "UserGQL"; - id: number; - following?: Array<{ - __typename?: "UserGQL"; - id: number; - username: string; - profileImageUri?: string | null; - isFollowedByCurrentUser?: boolean | null; - }> | null; - followers?: Array<{ - __typename?: "UserGQL"; - id: number; - username: string; - profileImageUri?: string | null; - isFollowedByCurrentUser?: boolean | null; - }> | null; - } | null; -}; +export type GetUserFollowingFollowersQueryVariables = Exact<{ [key: string]: never; }>; + + +export type GetUserFollowingFollowersQuery = { __typename?: 'Query', getLoggedInUser?: { __typename?: 'UserGQL', id: number, following?: Array<{ __typename?: 'UserGQL', id: number, username: string, profileImageUri?: string | null, isFollowedByCurrentUser?: boolean | null }> | null, followers?: Array<{ __typename?: 'UserGQL', id: number, username: string, profileImageUri?: string | null, isFollowedByCurrentUser?: boolean | null }> | null } | null }; export type DoesUsernameExistQueryVariables = Exact<{ - candidateUsername: Scalars["String"]["input"]; + candidateUsername: Scalars['String']['input']; }>; -export type DoesUsernameExistQuery = { - __typename?: "Query"; - doesUsernameExist: boolean; -}; + +export type DoesUsernameExistQuery = { __typename?: 'Query', doesUsernameExist: boolean }; export type EditUserMutationVariables = Exact<{ - username?: InputMaybe; - fargoRating?: InputMaybe; - videosPrivateByDefault?: InputMaybe; - agreesToMarketing?: InputMaybe; + username?: InputMaybe; + fargoRating?: InputMaybe; + videosPrivateByDefault?: InputMaybe; + agreesToMarketing?: InputMaybe; }>; -export type EditUserMutation = { - __typename?: "Mutation"; - editUser: { - __typename?: "UserGQL"; - id: number; - firebaseUid?: string | null; - username: string; - fargoRating?: number | null; - updatedAt?: any | null; - videosPrivateByDefault?: boolean | null; - agreesToMarketing?: boolean | null; - }; -}; -export type DeleteUserMutationVariables = Exact<{ [key: string]: never }>; +export type EditUserMutation = { __typename?: 'Mutation', editUser: { __typename?: 'UserGQL', id: number, firebaseUid?: string | null, username: string, fargoRating?: number | null, updatedAt?: any | null, videosPrivateByDefault?: boolean | null, agreesToMarketing?: boolean | null } }; -export type DeleteUserMutation = { - __typename?: "Mutation"; - deleteUser: boolean; -}; +export type DeleteUserMutationVariables = Exact<{ [key: string]: never; }>; -export type UserFragmentFragment = { - __typename?: "UserGQL"; - id: number; - firebaseUid?: string | null; - username: string; - isAdmin?: boolean | null; - profileImageUri?: string | null; - fargoRating?: number | null; - activeVideoId?: number | null; - createdAt?: any | null; - updatedAt?: any | null; - videosPrivateByDefault?: boolean | null; - agreesToMarketing?: boolean | null; -}; + +export type DeleteUserMutation = { __typename?: 'Mutation', deleteUser: boolean }; + +export type UserFragmentFragment = { __typename?: 'UserGQL', id: number, firebaseUid?: string | null, username: string, isAdmin?: boolean | null, profileImageUri?: string | null, fargoRating?: number | null, activeVideoId?: number | null, createdAt?: any | null, updatedAt?: any | null, videosPrivateByDefault?: boolean | null, agreesToMarketing?: boolean | null }; export type GetStreamMonitoringDetailsQueryVariables = Exact<{ - videoId: Scalars["Int"]["input"]; - debuggingJson?: InputMaybe; + videoId: Scalars['Int']['input']; + debuggingJson?: InputMaybe; }>; -export type GetStreamMonitoringDetailsQuery = { - __typename?: "Query"; - getVideo: { - __typename?: "VideoGQL"; - id: number; - totalShots: number; - makePercentage: number; - elapsedTime?: number | null; - currentHomography?: { - __typename?: "HomographyInfoGQL"; - id: number; - frameIndex: number; - crop: { - __typename?: "BoundingBoxGQL"; - left: number; - top: number; - width: number; - height: number; - }; - pockets: Array<{ - __typename?: "BoundingBoxGQL"; - left: number; - top: number; - width: number; - height: number; - }>; - sourcePoints: { - __typename?: "PocketPointsGQL"; - topLeft: { __typename?: "IntPoint2D"; x: number; y: number }; - topSide: { __typename?: "IntPoint2D"; x: number; y: number }; - topRight: { __typename?: "IntPoint2D"; x: number; y: number }; - bottomLeft: { __typename?: "IntPoint2D"; x: number; y: number }; - bottomSide: { __typename?: "IntPoint2D"; x: number; y: number }; - bottomRight: { __typename?: "IntPoint2D"; x: number; y: number }; - }; - } | null; - stream?: { - __typename?: "UploadStreamGQL"; - id: string; - linksRequested: number; - uploadsCompleted: number; - segmentProcessingCursor: number; - isCompleted: boolean; - uploadCompletionCursor: number; - lastIntendedSegmentBound?: number | null; - initPlaylistUploadStatus?: InitPlaylistUploadStatusEnum | null; - } | null; - currentProcessing?: { - __typename?: "VideoProcessingGQL"; - id: number; - errors: Array<{ - __typename?: "VideoProcessingErrorGQL"; - message: string; - startSegmentIndex?: number | null; - endSegmentIndex?: number | null; - }>; - } | null; - }; -}; + +export type GetStreamMonitoringDetailsQuery = { __typename?: 'Query', getVideo: { __typename?: 'VideoGQL', id: number, totalShots: number, makePercentage: number, elapsedTime?: number | null, currentHomography?: { __typename?: 'HomographyInfoGQL', id: number, frameIndex: number, crop: { __typename?: 'BoundingBoxGQL', left: number, top: number, width: number, height: number }, pockets: Array<{ __typename?: 'BoundingBoxGQL', left: number, top: number, width: number, height: number }>, sourcePoints: { __typename?: 'PocketPointsGQL', topLeft: { __typename?: 'IntPoint2D', x: number, y: number }, topSide: { __typename?: 'IntPoint2D', x: number, y: number }, topRight: { __typename?: 'IntPoint2D', x: number, y: number }, bottomLeft: { __typename?: 'IntPoint2D', x: number, y: number }, bottomSide: { __typename?: 'IntPoint2D', x: number, y: number }, bottomRight: { __typename?: 'IntPoint2D', x: number, y: number } } } | null, stream?: { __typename?: 'UploadStreamGQL', id: string, linksRequested: number, uploadsCompleted: number, segmentProcessingCursor: number, isCompleted: boolean, uploadCompletionCursor: number, lastIntendedSegmentBound?: number | null, initPlaylistUploadStatus?: InitPlaylistUploadStatusEnum | null } | null, currentProcessing?: { __typename?: 'VideoProcessingGQL', id: number, errors: Array<{ __typename?: 'VideoProcessingErrorGQL', message: string, startSegmentIndex?: number | null, endSegmentIndex?: number | null }> } | null } }; export type GetVideoUpdatePageDetailsQueryVariables = Exact<{ - videoId: Scalars["Int"]["input"]; + videoId: Scalars['Int']['input']; }>; -export type GetVideoUpdatePageDetailsQuery = { - __typename?: "Query"; - getVideo: { - __typename?: "VideoGQL"; - id: number; - name?: string | null; - totalShots: number; - makePercentage: number; - elapsedTime?: number | null; - tableSize: number; - pocketSize?: number | null; - private: boolean; - tags: Array<{ - __typename?: "VideoTag"; - name: string; - tagClasses: Array<{ __typename?: "VideoTagClass"; name: string }>; - }>; - }; -}; + +export type GetVideoUpdatePageDetailsQuery = { __typename?: 'Query', getVideo: { __typename?: 'VideoGQL', id: number, name?: string | null, totalShots: number, makePercentage: number, elapsedTime?: number | null, tableSize: number, pocketSize?: number | null, private: boolean, tags: Array<{ __typename?: 'VideoTag', name: string, tagClasses: Array<{ __typename?: 'VideoTagClass', name: string }> }> } }; export type DeleteVideoMutationVariables = Exact<{ - videoId: Scalars["Int"]["input"]; + videoId: Scalars['Int']['input']; }>; -export type DeleteVideoMutation = { - __typename?: "Mutation"; - deleteVideo: boolean; -}; + +export type DeleteVideoMutation = { __typename?: 'Mutation', deleteVideo: boolean }; export type GetVideoDetailsQueryVariables = Exact<{ - videoId: Scalars["Int"]["input"]; + videoId: Scalars['Int']['input']; }>; -export type GetVideoDetailsQuery = { - __typename?: "Query"; - getVideo: { - __typename?: "VideoGQL"; - id: number; - name?: string | null; - screenshotUri?: string | null; - averageTimeBetweenShots?: number | null; - elapsedTime?: number | null; - endTime?: any | null; - makePercentage: number; - medianRun?: number | null; - startTime?: any | null; - totalShots: number; - totalShotsMade: number; - createdAt?: any | null; - updatedAt?: any | null; - tableSize: number; - pocketSize?: number | null; - private: boolean; - owner?: { - __typename?: "UserGQL"; - id: number; - firebaseUid?: string | null; - username: string; - profileImageUri?: string | null; - } | null; - tags: Array<{ - __typename?: "VideoTag"; - name: string; - tagClasses: Array<{ __typename?: "VideoTagClass"; name: string }>; - }>; - }; -}; + +export type GetVideoDetailsQuery = { __typename?: 'Query', getVideo: { __typename?: 'VideoGQL', id: number, name?: string | null, screenshotUri?: string | null, averageTimeBetweenShots?: number | null, elapsedTime?: number | null, endTime?: any | null, makePercentage: number, medianRun?: number | null, startTime?: any | null, totalShots: number, totalShotsMade: number, createdAt?: any | null, updatedAt?: any | null, tableSize: number, pocketSize?: number | null, private: boolean, owner?: { __typename?: 'UserGQL', id: number, firebaseUid?: string | null, username: string, profileImageUri?: string | null } | null, tags: Array<{ __typename?: 'VideoTag', name: string, tagClasses: Array<{ __typename?: 'VideoTagClass', name: string }> }> } }; export type GetVideoSocialDetailsByIdQueryVariables = Exact<{ - videoId: Scalars["Int"]["input"]; + videoId: Scalars['Int']['input']; }>; -export type GetVideoSocialDetailsByIdQuery = { - __typename?: "Query"; - getVideo: { - __typename?: "VideoGQL"; - id: number; - name?: string | null; - screenshotUri?: string | null; - makePercentage: number; - totalShots: number; - owner?: { - __typename?: "UserGQL"; - id: number; - firebaseUid?: string | null; - username: string; - profileImageUri?: string | null; - } | null; - tags: Array<{ - __typename?: "VideoTag"; - name: string; - tagClasses: Array<{ __typename?: "VideoTagClass"; name: string }>; - }>; - reactions: Array<{ - __typename?: "ReactionGQL"; - videoId: number; - reaction: ReactionEnum; - user: { - __typename?: "UserGQL"; - id: number; - username: string; - profileImageUri?: string | null; - isFollowedByCurrentUser?: boolean | null; - }; - }>; - comments: Array<{ - __typename?: "CommentGQL"; - id: number; - message: string; - user: { - __typename?: "UserGQL"; - id: number; - username: string; - profileImageUri?: string | null; - isFollowedByCurrentUser?: boolean | null; - }; - replies: Array<{ - __typename?: "CommentGQL"; - id: number; - message: string; - user: { - __typename?: "UserGQL"; - id: number; - username: string; - profileImageUri?: string | null; - isFollowedByCurrentUser?: boolean | null; - }; - }>; - }>; - }; -}; + +export type GetVideoSocialDetailsByIdQuery = { __typename?: 'Query', getVideo: { __typename?: 'VideoGQL', id: number, name?: string | null, screenshotUri?: string | null, makePercentage: number, totalShots: number, owner?: { __typename?: 'UserGQL', id: number, firebaseUid?: string | null, username: string, profileImageUri?: string | null } | null, tags: Array<{ __typename?: 'VideoTag', name: string, tagClasses: Array<{ __typename?: 'VideoTagClass', name: string }> }>, reactions: Array<{ __typename?: 'ReactionGQL', videoId: number, reaction: ReactionEnum, user: { __typename?: 'UserGQL', id: number, username: string, profileImageUri?: string | null, isFollowedByCurrentUser?: boolean | null } }>, comments: Array<{ __typename?: 'CommentGQL', id: number, message: string, user: { __typename?: 'UserGQL', id: number, username: string, profileImageUri?: string | null, isFollowedByCurrentUser?: boolean | null }, replies: Array<{ __typename?: 'CommentGQL', id: number, message: string, user: { __typename?: 'UserGQL', id: number, username: string, profileImageUri?: string | null, isFollowedByCurrentUser?: boolean | null } }> }> } }; export type GetVideosQueryVariables = Exact<{ - videoIds: Array | Scalars["Int"]["input"]; + videoIds: Array | Scalars['Int']['input']; }>; -export type GetVideosQuery = { - __typename?: "Query"; - getVideos: Array<{ - __typename?: "VideoGQL"; - id: number; - framesPerSecond: number; - stream?: { - __typename?: "UploadStreamGQL"; - id: string; - streamSegmentType: StreamSegmentTypeEnum; - segments: Array<{ - __typename?: "UploadSegmentGQL"; - uploaded: boolean; - valid: boolean; - segmentIndex: number; - endFrameIndex?: number | null; - framesPerSecond?: number | null; - }>; - } | null; - playlist?: { - __typename?: "HLSPlaylistGQL"; - segmentDurations: Array; - } | null; - }>; -}; -export type VideoStreamMetadataFragment = { - __typename?: "VideoGQL"; - id: number; - framesPerSecond: number; - stream?: { - __typename?: "UploadStreamGQL"; - id: string; - streamSegmentType: StreamSegmentTypeEnum; - segments: Array<{ - __typename?: "UploadSegmentGQL"; - uploaded: boolean; - valid: boolean; - segmentIndex: number; - endFrameIndex?: number | null; - framesPerSecond?: number | null; - }>; - } | null; - playlist?: { - __typename?: "HLSPlaylistGQL"; - segmentDurations: Array; - } | null; -}; +export type GetVideosQuery = { __typename?: 'Query', getVideos: Array<{ __typename?: 'VideoGQL', id: number, framesPerSecond: number, stream?: { __typename?: 'UploadStreamGQL', id: string, streamSegmentType: StreamSegmentTypeEnum, segments: Array<{ __typename?: 'UploadSegmentGQL', uploaded: boolean, valid: boolean, segmentIndex: number, endFrameIndex?: number | null, framesPerSecond?: number | null }> } | null, playlist?: { __typename?: 'HLSPlaylistGQL', segmentDurations: Array } | null }> }; + +export type VideoStreamMetadataFragment = { __typename?: 'VideoGQL', id: number, framesPerSecond: number, stream?: { __typename?: 'UploadStreamGQL', id: string, streamSegmentType: StreamSegmentTypeEnum, segments: Array<{ __typename?: 'UploadSegmentGQL', uploaded: boolean, valid: boolean, segmentIndex: number, endFrameIndex?: number | null, framesPerSecond?: number | null }> } | null, playlist?: { __typename?: 'HLSPlaylistGQL', segmentDurations: Array } | null }; export type GetVideoForShotTimeQueryVariables = Exact<{ - videoId: Scalars["Int"]["input"]; + videoId: Scalars['Int']['input']; }>; -export type GetVideoForShotTimeQuery = { - __typename?: "Query"; - getVideo: { - __typename?: "VideoGQL"; - id: number; - framesPerSecond: number; - stream?: { - __typename?: "UploadStreamGQL"; - id: string; - streamSegmentType: StreamSegmentTypeEnum; - segments: Array<{ - __typename?: "UploadSegmentGQL"; - uploaded: boolean; - valid: boolean; - segmentIndex: number; - endFrameIndex?: number | null; - framesPerSecond?: number | null; - }>; - } | null; - playlist?: { - __typename?: "HLSPlaylistGQL"; - segmentDurations: Array; - } | null; - }; -}; + +export type GetVideoForShotTimeQuery = { __typename?: 'Query', getVideo: { __typename?: 'VideoGQL', id: number, framesPerSecond: number, stream?: { __typename?: 'UploadStreamGQL', id: string, streamSegmentType: StreamSegmentTypeEnum, segments: Array<{ __typename?: 'UploadSegmentGQL', uploaded: boolean, valid: boolean, segmentIndex: number, endFrameIndex?: number | null, framesPerSecond?: number | null }> } | null, playlist?: { __typename?: 'HLSPlaylistGQL', segmentDurations: Array } | null } }; export type GetVideoQueryVariables = Exact<{ - videoId: Scalars["Int"]["input"]; + videoId: Scalars['Int']['input']; }>; -export type GetVideoQuery = { - __typename?: "Query"; - getVideo: { - __typename?: "VideoGQL"; - id: number; - playlist?: { - __typename?: "HLSPlaylistGQL"; - segmentDurations: Array; - } | null; - homographyHistory: Array<{ - __typename?: "HomographyInfoGQL"; - id: number; - frameIndex: number; - crop: { - __typename?: "BoundingBoxGQL"; - left: number; - top: number; - width: number; - height: number; - }; - pockets: Array<{ - __typename?: "BoundingBoxGQL"; - left: number; - top: number; - width: number; - height: number; - }>; - sourcePoints: { - __typename?: "PocketPointsGQL"; - topLeft: { __typename?: "IntPoint2D"; x: number; y: number }; - topSide: { __typename?: "IntPoint2D"; x: number; y: number }; - topRight: { __typename?: "IntPoint2D"; x: number; y: number }; - bottomLeft: { __typename?: "IntPoint2D"; x: number; y: number }; - bottomSide: { __typename?: "IntPoint2D"; x: number; y: number }; - bottomRight: { __typename?: "IntPoint2D"; x: number; y: number }; - }; - }>; - stream?: { - __typename?: "UploadStreamGQL"; - id: string; - streamSegmentType: StreamSegmentTypeEnum; - segments: Array<{ - __typename?: "UploadSegmentGQL"; - segmentIndex: number; - endFrameIndex?: number | null; - framesPerSecond?: number | null; - }>; - resolution: { - __typename?: "VideoResolutionGQL"; - width?: number | null; - height?: number | null; - }; - } | null; - }; -}; + +export type GetVideoQuery = { __typename?: 'Query', getVideo: { __typename?: 'VideoGQL', id: number, playlist?: { __typename?: 'HLSPlaylistGQL', segmentDurations: Array } | null, homographyHistory: Array<{ __typename?: 'HomographyInfoGQL', id: number, frameIndex: number, crop: { __typename?: 'BoundingBoxGQL', left: number, top: number, width: number, height: number }, pockets: Array<{ __typename?: 'BoundingBoxGQL', left: number, top: number, width: number, height: number }>, sourcePoints: { __typename?: 'PocketPointsGQL', topLeft: { __typename?: 'IntPoint2D', x: number, y: number }, topSide: { __typename?: 'IntPoint2D', x: number, y: number }, topRight: { __typename?: 'IntPoint2D', x: number, y: number }, bottomLeft: { __typename?: 'IntPoint2D', x: number, y: number }, bottomSide: { __typename?: 'IntPoint2D', x: number, y: number }, bottomRight: { __typename?: 'IntPoint2D', x: number, y: number } } }>, stream?: { __typename?: 'UploadStreamGQL', id: string, streamSegmentType: StreamSegmentTypeEnum, segments: Array<{ __typename?: 'UploadSegmentGQL', segmentIndex: number, endFrameIndex?: number | null, framesPerSecond?: number | null }>, resolution: { __typename?: 'VideoResolutionGQL', width?: number | null, height?: number | null } } | null } }; export type GetAverageTimePerShotForVideoQueryVariables = Exact<{ - videoId: Scalars["Int"]["input"]; + videoId: Scalars['Int']['input']; }>; -export type GetAverageTimePerShotForVideoQuery = { - __typename?: "Query"; - getVideo: { - __typename?: "VideoGQL"; - id: number; - averageTimeBetweenShots?: number | null; - }; -}; + +export type GetAverageTimePerShotForVideoQuery = { __typename?: 'Query', getVideo: { __typename?: 'VideoGQL', id: number, averageTimeBetweenShots?: number | null } }; export type GetElapsedTimeForVideoQueryVariables = Exact<{ - videoId: Scalars["Int"]["input"]; + videoId: Scalars['Int']['input']; }>; -export type GetElapsedTimeForVideoQuery = { - __typename?: "Query"; - getVideo: { - __typename?: "VideoGQL"; - id: number; - elapsedTime?: number | null; - }; -}; + +export type GetElapsedTimeForVideoQuery = { __typename?: 'Query', getVideo: { __typename?: 'VideoGQL', id: number, elapsedTime?: number | null } }; export type GetMedianRunForVideoQueryVariables = Exact<{ - videoId: Scalars["Int"]["input"]; + videoId: Scalars['Int']['input']; }>; -export type GetMedianRunForVideoQuery = { - __typename?: "Query"; - getVideo: { __typename?: "VideoGQL"; id: number; medianRun?: number | null }; -}; -export type StreamWithEndFramesFragment = { - __typename?: "UploadStreamGQL"; - id: string; - streamSegmentType: StreamSegmentTypeEnum; - segmentEndFrames: Array; - resolution: { - __typename?: "VideoResolutionGQL"; - width?: number | null; - height?: number | null; - }; - segments: Array<{ - __typename?: "UploadSegmentGQL"; - uploaded: boolean; - valid: boolean; - segmentIndex: number; - endFrameIndex?: number | null; - framesPerSecond?: number | null; - }>; -}; +export type GetMedianRunForVideoQuery = { __typename?: 'Query', getVideo: { __typename?: 'VideoGQL', id: number, medianRun?: number | null } }; -export type SegmentEndFramesFragment = { - __typename?: "SegmentEndFramesGQL"; - id: number; - segmentEndFrames: Array; -}; +export type StreamWithEndFramesFragment = { __typename?: 'UploadStreamGQL', id: string, streamSegmentType: StreamSegmentTypeEnum, segmentEndFrames: Array, resolution: { __typename?: 'VideoResolutionGQL', width?: number | null, height?: number | null }, segments: Array<{ __typename?: 'UploadSegmentGQL', uploaded: boolean, valid: boolean, segmentIndex: number, endFrameIndex?: number | null, framesPerSecond?: number | null }> }; -export type SegmentStartTimesFragment = { - __typename?: "SegmentStartTimesGQL"; - id: number; - segmentStartTimes: Array; -}; +export type SegmentEndFramesFragment = { __typename?: 'SegmentEndFramesGQL', id: number, segmentEndFrames: Array }; -export type PlaylistWithSegmentStartTimesFragment = { - __typename?: "HLSPlaylistGQL"; - videoId: number; - segmentDurations: Array; - segmentStartTimes: Array; -}; +export type SegmentStartTimesFragment = { __typename?: 'SegmentStartTimesGQL', id: number, segmentStartTimes: Array }; -export type VideoDurationDataFragment = { - __typename?: "VideoGQL"; - id: number; - framesPerSecond: number; - playlist?: { - __typename?: "HLSPlaylistGQL"; - videoId: number; - segmentDurations: Array; - segmentStartTimes: Array; - } | null; - stream?: { - __typename?: "UploadStreamGQL"; - id: string; - streamSegmentType: StreamSegmentTypeEnum; - segmentEndFrames: Array; - resolution: { - __typename?: "VideoResolutionGQL"; - width?: number | null; - height?: number | null; - }; - segments: Array<{ - __typename?: "UploadSegmentGQL"; - uploaded: boolean; - valid: boolean; - segmentIndex: number; - endFrameIndex?: number | null; - framesPerSecond?: number | null; - }>; - } | null; -}; +export type PlaylistWithSegmentStartTimesFragment = { __typename?: 'HLSPlaylistGQL', videoId: number, segmentDurations: Array, segmentStartTimes: Array }; + +export type VideoDurationDataFragment = { __typename?: 'VideoGQL', id: number, framesPerSecond: number, playlist?: { __typename?: 'HLSPlaylistGQL', videoId: number, segmentDurations: Array, segmentStartTimes: Array } | null, stream?: { __typename?: 'UploadStreamGQL', id: string, streamSegmentType: StreamSegmentTypeEnum, segmentEndFrames: Array, resolution: { __typename?: 'VideoResolutionGQL', width?: number | null, height?: number | null }, segments: Array<{ __typename?: 'UploadSegmentGQL', uploaded: boolean, valid: boolean, segmentIndex: number, endFrameIndex?: number | null, framesPerSecond?: number | null }> } | null }; export type GetVideoForClipTimesQueryVariables = Exact<{ - videoId: Scalars["Int"]["input"]; + videoId: Scalars['Int']['input']; }>; -export type GetVideoForClipTimesQuery = { - __typename?: "Query"; - getVideo: { - __typename?: "VideoGQL"; - id: number; - framesPerSecond: number; - playlist?: { - __typename?: "HLSPlaylistGQL"; - videoId: number; - segmentDurations: Array; - segmentStartTimes: Array; - } | null; - stream?: { - __typename?: "UploadStreamGQL"; - id: string; - streamSegmentType: StreamSegmentTypeEnum; - segmentEndFrames: Array; - resolution: { - __typename?: "VideoResolutionGQL"; - width?: number | null; - height?: number | null; - }; - segments: Array<{ - __typename?: "UploadSegmentGQL"; - uploaded: boolean; - valid: boolean; - segmentIndex: number; - endFrameIndex?: number | null; - framesPerSecond?: number | null; - }>; - } | null; - }; -}; + +export type GetVideoForClipTimesQuery = { __typename?: 'Query', getVideo: { __typename?: 'VideoGQL', id: number, framesPerSecond: number, playlist?: { __typename?: 'HLSPlaylistGQL', videoId: number, segmentDurations: Array, segmentStartTimes: Array } | null, stream?: { __typename?: 'UploadStreamGQL', id: string, streamSegmentType: StreamSegmentTypeEnum, segmentEndFrames: Array, resolution: { __typename?: 'VideoResolutionGQL', width?: number | null, height?: number | null }, segments: Array<{ __typename?: 'UploadSegmentGQL', uploaded: boolean, valid: boolean, segmentIndex: number, endFrameIndex?: number | null, framesPerSecond?: number | null }> } | null } }; export type GetHeaderInfoByVideoIdQueryVariables = Exact<{ - videoId: Scalars["Int"]["input"]; + videoId: Scalars['Int']['input']; }>; -export type GetHeaderInfoByVideoIdQuery = { - __typename?: "Query"; - getVideo: { - __typename?: "VideoGQL"; - id: number; - name?: string | null; - startTime?: any | null; - }; -}; + +export type GetHeaderInfoByVideoIdQuery = { __typename?: 'Query', getVideo: { __typename?: 'VideoGQL', id: number, name?: string | null, startTime?: any | null } }; export type GetBannerInfoByVideoIdQueryVariables = Exact<{ - videoId: Scalars["Int"]["input"]; + videoId: Scalars['Int']['input']; }>; -export type GetBannerInfoByVideoIdQuery = { - __typename?: "Query"; - getVideo: { - __typename?: "VideoGQL"; - id: number; - name?: string | null; - stream?: { - __typename?: "UploadStreamGQL"; - id: string; - lastIntendedSegmentBound?: number | null; - } | null; - owner?: { __typename?: "UserGQL"; id: number } | null; - currentProcessing?: { - __typename?: "VideoProcessingGQL"; - id: number; - status: ProcessingStatusEnum; - } | null; - }; -}; + +export type GetBannerInfoByVideoIdQuery = { __typename?: 'Query', getVideo: { __typename?: 'VideoGQL', id: number, name?: string | null, stream?: { __typename?: 'UploadStreamGQL', id: string, lastIntendedSegmentBound?: number | null } | null, owner?: { __typename?: 'UserGQL', id: number } | null, currentProcessing?: { __typename?: 'VideoProcessingGQL', id: number, status: ProcessingStatusEnum } | null } }; export type FindPrerecordTableLayoutMutationVariables = Exact<{ - b64Image: Scalars["String"]["input"]; - videoId: Scalars["Int"]["input"]; + b64Image: Scalars['String']['input']; + videoId: Scalars['Int']['input']; }>; -export type FindPrerecordTableLayoutMutation = { - __typename?: "Mutation"; - findPrerecordTableLayout?: { - __typename?: "HomographyInfoGQL"; - id: number; - frameIndex: number; - crop: { - __typename?: "BoundingBoxGQL"; - left: number; - top: number; - width: number; - height: number; - }; - pockets: Array<{ - __typename?: "BoundingBoxGQL"; - left: number; - top: number; - width: number; - height: number; - }>; - sourcePoints: { - __typename?: "PocketPointsGQL"; - topLeft: { __typename?: "IntPoint2D"; x: number; y: number }; - topSide: { __typename?: "IntPoint2D"; x: number; y: number }; - topRight: { __typename?: "IntPoint2D"; x: number; y: number }; - bottomLeft: { __typename?: "IntPoint2D"; x: number; y: number }; - bottomSide: { __typename?: "IntPoint2D"; x: number; y: number }; - bottomRight: { __typename?: "IntPoint2D"; x: number; y: number }; - }; - } | null; -}; -export type HomographyInfoFragment = { - __typename?: "HomographyInfoGQL"; - id: number; - frameIndex: number; - crop: { - __typename?: "BoundingBoxGQL"; - left: number; - top: number; - width: number; - height: number; - }; - pockets: Array<{ - __typename?: "BoundingBoxGQL"; - left: number; - top: number; - width: number; - height: number; - }>; - sourcePoints: { - __typename?: "PocketPointsGQL"; - topLeft: { __typename?: "IntPoint2D"; x: number; y: number }; - topSide: { __typename?: "IntPoint2D"; x: number; y: number }; - topRight: { __typename?: "IntPoint2D"; x: number; y: number }; - bottomLeft: { __typename?: "IntPoint2D"; x: number; y: number }; - bottomSide: { __typename?: "IntPoint2D"; x: number; y: number }; - bottomRight: { __typename?: "IntPoint2D"; x: number; y: number }; - }; -}; +export type FindPrerecordTableLayoutMutation = { __typename?: 'Mutation', findPrerecordTableLayout?: { __typename?: 'HomographyInfoGQL', id: number, frameIndex: number, crop: { __typename?: 'BoundingBoxGQL', left: number, top: number, width: number, height: number }, pockets: Array<{ __typename?: 'BoundingBoxGQL', left: number, top: number, width: number, height: number }>, sourcePoints: { __typename?: 'PocketPointsGQL', topLeft: { __typename?: 'IntPoint2D', x: number, y: number }, topSide: { __typename?: 'IntPoint2D', x: number, y: number }, topRight: { __typename?: 'IntPoint2D', x: number, y: number }, bottomLeft: { __typename?: 'IntPoint2D', x: number, y: number }, bottomSide: { __typename?: 'IntPoint2D', x: number, y: number }, bottomRight: { __typename?: 'IntPoint2D', x: number, y: number } } } | null }; + +export type HomographyInfoFragment = { __typename?: 'HomographyInfoGQL', id: number, frameIndex: number, crop: { __typename?: 'BoundingBoxGQL', left: number, top: number, width: number, height: number }, pockets: Array<{ __typename?: 'BoundingBoxGQL', left: number, top: number, width: number, height: number }>, sourcePoints: { __typename?: 'PocketPointsGQL', topLeft: { __typename?: 'IntPoint2D', x: number, y: number }, topSide: { __typename?: 'IntPoint2D', x: number, y: number }, topRight: { __typename?: 'IntPoint2D', x: number, y: number }, bottomLeft: { __typename?: 'IntPoint2D', x: number, y: number }, bottomSide: { __typename?: 'IntPoint2D', x: number, y: number }, bottomRight: { __typename?: 'IntPoint2D', x: number, y: number } } }; export type CreateUploadStreamMutationVariables = Exact<{ videoMetadataInput: VideoMetadataInput; }>; -export type CreateUploadStreamMutation = { - __typename?: "Mutation"; - createUploadStream: { - __typename?: "CreateUploadStreamReturn"; - videoId: number; - }; -}; + +export type CreateUploadStreamMutation = { __typename?: 'Mutation', createUploadStream: { __typename?: 'CreateUploadStreamReturn', videoId: number } }; export type GetUploadLinkMutationVariables = Exact<{ - videoId: Scalars["Int"]["input"]; - segmentIndex: Scalars["Int"]["input"]; + videoId: Scalars['Int']['input']; + segmentIndex: Scalars['Int']['input']; }>; -export type GetUploadLinkMutation = { - __typename?: "Mutation"; - getUploadLink: { - __typename?: "GetUploadLinkReturn"; - value: - | { - __typename?: "GetUploadLinkErrors"; - error: - | { __typename?: "InitUploadAlreadyCompletedErr" } - | { - __typename?: "MustHaveSetForUploadLinkErr"; - resolution?: boolean | null; - framesPerSecond?: boolean | null; - } - | { __typename?: "NoInitForChunkedUploadErr" } - | { - __typename?: "ProcessingFailedErr"; - processing: { - __typename?: "VideoProcessingGQL"; - status: ProcessingStatusEnum; - errors: Array<{ - __typename?: "VideoProcessingErrorGQL"; - message: string; - }>; - }; - } - | { __typename?: "SegmentAlreadyUploadedErr"; segmentId: number } - | { __typename?: "TooManyInitUploadsErr" } - | { __typename?: "TooManyProfileImageUploadsErr" }; - } - | { - __typename?: "UploadLink"; - uploadUrl: string; - headers: Array<{ - __typename?: "Header"; - key: string; - value: string; - } | null>; - }; - stream?: { - __typename?: "UploadStreamGQL"; - uploadCompletionCursor: number; - } | null; - }; -}; + +export type GetUploadLinkMutation = { __typename?: 'Mutation', getUploadLink: { __typename?: 'GetUploadLinkReturn', value: + | { __typename?: 'GetUploadLinkErrors', error: + | { __typename?: 'InitUploadAlreadyCompletedErr' } + | { __typename?: 'MustHaveSetForUploadLinkErr', resolution?: boolean | null, framesPerSecond?: boolean | null } + | { __typename?: 'NoInitForChunkedUploadErr' } + | { __typename?: 'ProcessingFailedErr', processing: { __typename?: 'VideoProcessingGQL', status: ProcessingStatusEnum, errors: Array<{ __typename?: 'VideoProcessingErrorGQL', message: string }> } } + | { __typename?: 'SegmentAlreadyUploadedErr', segmentId: number } + | { __typename?: 'TooManyInitUploadsErr' } + | { __typename?: 'TooManyProfileImageUploadsErr' } + } + | { __typename?: 'UploadLink', uploadUrl: string, headers: Array<{ __typename?: 'Header', key: string, value: string } | null> } + , stream?: { __typename?: 'UploadStreamGQL', uploadCompletionCursor: number } | null } }; export type GetHlsInitUploadLinkMutationVariables = Exact<{ - videoId: Scalars["Int"]["input"]; + videoId: Scalars['Int']['input']; }>; -export type GetHlsInitUploadLinkMutation = { - __typename?: "Mutation"; - getHlsInitUploadLink: { - __typename?: "GetUploadLinkReturn"; - value: - | { - __typename?: "GetUploadLinkErrors"; - error: - | { - __typename?: "InitUploadAlreadyCompletedErr"; - segmentType: StreamSegmentTypeEnum; - } - | { __typename?: "MustHaveSetForUploadLinkErr" } - | { - __typename?: "NoInitForChunkedUploadErr"; - segmentType: StreamSegmentTypeEnum; - } - | { __typename?: "ProcessingFailedErr" } - | { __typename?: "SegmentAlreadyUploadedErr" } - | { __typename?: "TooManyInitUploadsErr"; linksRequested: number } - | { __typename?: "TooManyProfileImageUploadsErr" }; - } - | { - __typename?: "UploadLink"; - uploadUrl: string; - headers: Array<{ - __typename?: "Header"; - key: string; - value: string; - } | null>; - }; - }; -}; + +export type GetHlsInitUploadLinkMutation = { __typename?: 'Mutation', getHlsInitUploadLink: { __typename?: 'GetUploadLinkReturn', value: + | { __typename?: 'GetUploadLinkErrors', error: + | { __typename?: 'InitUploadAlreadyCompletedErr', segmentType: StreamSegmentTypeEnum } + | { __typename?: 'MustHaveSetForUploadLinkErr' } + | { __typename?: 'NoInitForChunkedUploadErr', segmentType: StreamSegmentTypeEnum } + | { __typename?: 'ProcessingFailedErr' } + | { __typename?: 'SegmentAlreadyUploadedErr' } + | { __typename?: 'TooManyInitUploadsErr', linksRequested: number } + | { __typename?: 'TooManyProfileImageUploadsErr' } + } + | { __typename?: 'UploadLink', uploadUrl: string, headers: Array<{ __typename?: 'Header', key: string, value: string } | null> } + } }; export type SetSegmentDurationMutationVariables = Exact<{ - videoId: Scalars["Int"]["input"]; - segmentIndex: Scalars["Int"]["input"]; - duration: Scalars["Float"]["input"]; + videoId: Scalars['Int']['input']; + segmentIndex: Scalars['Int']['input']; + duration: Scalars['Float']['input']; }>; -export type SetSegmentDurationMutation = { - __typename?: "Mutation"; - setSegmentDuration: boolean; -}; + +export type SetSegmentDurationMutation = { __typename?: 'Mutation', setSegmentDuration: boolean }; export type EditUploadStreamMutationVariables = Exact<{ - videoId: Scalars["Int"]["input"]; + videoId: Scalars['Int']['input']; videoMetadataInput: VideoMetadataInput; }>; -export type EditUploadStreamMutation = { - __typename?: "Mutation"; - editUploadStream: boolean; -}; + +export type EditUploadStreamMutation = { __typename?: 'Mutation', editUploadStream: boolean }; export type GetUploadStreamsQueryVariables = Exact<{ - limit?: Scalars["Int"]["input"]; - after?: InputMaybe; + limit?: Scalars['Int']['input']; + after?: InputMaybe; filters?: InputMaybe; }>; -export type GetUploadStreamsQuery = { - __typename?: "Query"; - getUserVideos: { - __typename?: "VideoHistoryGQL"; - videos: Array<{ __typename?: "VideoGQL"; id: number }>; - pageInfo: { - __typename?: "PageInfoGQL"; - hasNextPage: boolean; - endCursor?: string | null; - }; - }; -}; -export type UploadStreamWithDetailsFragment = { - __typename?: "VideoGQL"; - id: number; - name?: string | null; - startTime?: any | null; - stream?: { - __typename?: "UploadStreamGQL"; - isCompleted: boolean; - lastIntendedSegmentBound?: number | null; - uploadCompletionCursor: number; - uploadsCompleted: number; - } | null; -}; +export type GetUploadStreamsQuery = { __typename?: 'Query', getUserVideos: { __typename?: 'VideoHistoryGQL', videos: Array<{ __typename?: 'VideoGQL', id: number }>, pageInfo: { __typename?: 'PageInfoGQL', hasNextPage: boolean, endCursor?: string | null } } }; + +export type UploadStreamWithDetailsFragment = { __typename?: 'VideoGQL', id: number, name?: string | null, startTime?: any | null, stream?: { __typename?: 'UploadStreamGQL', isCompleted: boolean, lastIntendedSegmentBound?: number | null, uploadCompletionCursor: number, uploadsCompleted: number } | null }; export type GetUploadStreamsWithDetailsQueryVariables = Exact<{ - limit?: Scalars["Int"]["input"]; - after?: InputMaybe; + limit?: Scalars['Int']['input']; + after?: InputMaybe; filters?: InputMaybe; }>; -export type GetUploadStreamsWithDetailsQuery = { - __typename?: "Query"; - getUserVideos: { - __typename?: "VideoHistoryGQL"; - videos: Array<{ - __typename?: "VideoGQL"; - id: number; - name?: string | null; - startTime?: any | null; - stream?: { - __typename?: "UploadStreamGQL"; - isCompleted: boolean; - lastIntendedSegmentBound?: number | null; - uploadCompletionCursor: number; - uploadsCompleted: number; - } | null; - }>; - pageInfo: { - __typename?: "PageInfoGQL"; - hasNextPage: boolean; - endCursor?: string | null; - }; - }; -}; + +export type GetUploadStreamsWithDetailsQuery = { __typename?: 'Query', getUserVideos: { __typename?: 'VideoHistoryGQL', videos: Array<{ __typename?: 'VideoGQL', id: number, name?: string | null, startTime?: any | null, stream?: { __typename?: 'UploadStreamGQL', isCompleted: boolean, lastIntendedSegmentBound?: number | null, uploadCompletionCursor: number, uploadsCompleted: number } | null }>, pageInfo: { __typename?: 'PageInfoGQL', hasNextPage: boolean, endCursor?: string | null } } }; export const UserSocialsFieldsFragmentDoc = gql` - fragment UserSocialsFields on UserGQL { + fragment UserSocialsFields on UserGQL { + id + username + profileImageUri + isFollowedByCurrentUser +} + `; +export const VideoCardFieldsFragmentDoc = gql` + fragment VideoCardFields on VideoGQL { + id + owner { id username profileImageUri - isFollowedByCurrentUser } -`; -export const VideoCardFieldsFragmentDoc = gql` - fragment VideoCardFields on VideoGQL { + name + screenshotUri + totalShotsMade + totalShots + makePercentage + averageTimeBetweenShots + averageDifficulty + createdAt + updatedAt + startTime + endTime + private + elapsedTime + screenshotUri + stream { id - owner { + lastIntendedSegmentBound + isCompleted + streamSegmentType + } + tableSize + pocketSize + tags { + tagClasses { + name + } + name + } + currentProcessing { + id + errors { + message + } + status + statuses { + status + } + } + reactions { + videoId + user { + ...UserSocialsFields + } + reaction + } + comments { + id + message + user { + ...UserSocialsFields + } + replies { + id + message + user { + ...UserSocialsFields + } + } + } +} + ${UserSocialsFieldsFragmentDoc}`; +export const MedalFieldsFragmentDoc = gql` + fragment MedalFields on MedalGQL { + count + nickname +} + `; +export const NotificationFragmentDoc = gql` + fragment Notification on NotificationGQL { + id + notificationType + actor { + id + username + profileImageUri + } + videoId + comment { + id + message + user { id username profileImageUri } - name - screenshotUri - totalShotsMade - totalShots - makePercentage - averageTimeBetweenShots - averageDifficulty - createdAt - updatedAt - startTime - endTime - private - elapsedTime - screenshotUri + } + reactionType + isRead + createdAt + readAt +} + `; +export const PocketingIntentionFragmentFragmentDoc = gql` + fragment PocketingIntentionFragment on PocketingIntentionFeaturesGQL { + make + targetPocketDistance + targetPocketAngle + targetPocketAngleDirection + marginOfErrorInDegrees + intendedPocketType + difficulty +} + `; +export const ShotWithAllFeaturesFragmentDoc = gql` + fragment ShotWithAllFeatures on ShotGQL { + id + videoId + startFrame + endFrame + startTime @client + endTime @client + startSegment @client { + index + time + } + endSegment @client { + index + time + } + user { + id + } + falsePositiveScore + createdAt + updatedAt + cueObjectFeatures { + cueObjectDistance + cueObjectAngle + cueBallSpeed + shotDirection + spinType + } + pocketingIntentionFeatures { + make + targetPocketDistance + targetPocketAngle + targetPocketAngleDirection + marginOfErrorInDegrees + intendedPocketType + difficulty + } + pocketingIntentionInfo { + ballId + pocketId + pathMetadataIndex + } + serializedShotPaths { + b64EncodedBuffer + } + annotations { + shotId + type { + id + name + } + notes + } + video { + id stream { id - lastIntendedSegmentBound - isCompleted streamSegmentType } + playlist { + videoId + segmentDurations + } + } +} + `; +export const UserFragmentFragmentDoc = gql` + fragment UserFragment on UserGQL { + id + firebaseUid + username + isAdmin + profileImageUri + fargoRating + activeVideoId + createdAt + updatedAt + videosPrivateByDefault + agreesToMarketing +} + `; +export const VideoStreamMetadataFragmentDoc = gql` + fragment VideoStreamMetadata on VideoGQL { + id + framesPerSecond + stream { + id + streamSegmentType + segments { + uploaded + valid + segmentIndex + endFrameIndex + framesPerSecond + } + } + playlist { + segmentDurations + } +} + `; +export const SegmentEndFramesFragmentDoc = gql` + fragment SegmentEndFrames on SegmentEndFramesGQL { + id + segmentEndFrames +} + `; +export const SegmentStartTimesFragmentDoc = gql` + fragment SegmentStartTimes on SegmentStartTimesGQL { + id + segmentStartTimes +} + `; +export const PlaylistWithSegmentStartTimesFragmentDoc = gql` + fragment PlaylistWithSegmentStartTimes on HLSPlaylistGQL { + videoId + segmentDurations + segmentStartTimes @client +} + `; +export const StreamWithEndFramesFragmentDoc = gql` + fragment StreamWithEndFrames on UploadStreamGQL { + id + streamSegmentType + segmentEndFrames @client + resolution { + width + height + } + segments { + uploaded + valid + segmentIndex + endFrameIndex + framesPerSecond + } +} + `; +export const VideoDurationDataFragmentDoc = gql` + fragment VideoDurationData on VideoGQL { + id + framesPerSecond + playlist { + ...PlaylistWithSegmentStartTimes + } + stream { + ...StreamWithEndFrames + } +} + ${PlaylistWithSegmentStartTimesFragmentDoc} +${StreamWithEndFramesFragmentDoc}`; +export const HomographyInfoFragmentDoc = gql` + fragment HomographyInfo on HomographyInfoGQL { + id + frameIndex + crop { + left + top + width + height + } + pockets { + left + top + width + height + } + sourcePoints { + topLeft { + x + y + } + topSide { + x + y + } + topRight { + x + y + } + bottomLeft { + x + y + } + bottomSide { + x + y + } + bottomRight { + x + y + } + } +} + `; +export const UploadStreamWithDetailsFragmentDoc = gql` + fragment UploadStreamWithDetails on VideoGQL { + id + name + startTime + stream { + isCompleted + lastIntendedSegmentBound + uploadCompletionCursor + uploadsCompleted + } +} + `; +export const GetAggregatedShotMetricsDocument = gql` + query GetAggregatedShotMetrics($aggregateInput: AggregateInputGQL!) { + getAggregatedShotMetrics(aggregateInput: $aggregateInput) { + aggregationIdentifiers { + featureName + groupName + } + targetMetrics { + count + makePercentage + } + } +} + `; + +/** + * __useGetAggregatedShotMetricsQuery__ + * + * To run a query within a React component, call `useGetAggregatedShotMetricsQuery` and pass it any options that fit your needs. + * When your component renders, `useGetAggregatedShotMetricsQuery` 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 } = useGetAggregatedShotMetricsQuery({ + * variables: { + * aggregateInput: // value for 'aggregateInput' + * }, + * }); + */ +export function useGetAggregatedShotMetricsQuery(baseOptions: Apollo.QueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useQuery(GetAggregatedShotMetricsDocument, options); + } +export function useGetAggregatedShotMetricsLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useLazyQuery(GetAggregatedShotMetricsDocument, options); + } +export function useGetAggregatedShotMetricsSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useSuspenseQuery(GetAggregatedShotMetricsDocument, options); + } +export type GetAggregatedShotMetricsQueryHookResult = ReturnType; +export type GetAggregatedShotMetricsLazyQueryHookResult = ReturnType; +export type GetAggregatedShotMetricsSuspenseQueryHookResult = ReturnType; +export type GetAggregatedShotMetricsQueryResult = Apollo.QueryResult; +export const CommentOnVideoDocument = gql` + mutation CommentOnVideo($videoId: Int!, $message: String!, $parentCommentId: Int) { + commentOnVideo( + videoId: $videoId + message: $message + parentCommentId: $parentCommentId + ) +} + `; +export type CommentOnVideoMutationFn = Apollo.MutationFunction; + +/** + * __useCommentOnVideoMutation__ + * + * To run a mutation, you first call `useCommentOnVideoMutation` within a React component and pass it any options that fit your needs. + * When your component renders, `useCommentOnVideoMutation` 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 [commentOnVideoMutation, { data, loading, error }] = useCommentOnVideoMutation({ + * variables: { + * videoId: // value for 'videoId' + * message: // value for 'message' + * parentCommentId: // value for 'parentCommentId' + * }, + * }); + */ +export function useCommentOnVideoMutation(baseOptions?: Apollo.MutationHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useMutation(CommentOnVideoDocument, options); + } +export type CommentOnVideoMutationHookResult = ReturnType; +export type CommentOnVideoMutationResult = Apollo.MutationResult; +export type CommentOnVideoMutationOptions = Apollo.BaseMutationOptions; +export const EditCommentDocument = gql` + mutation EditComment($videoId: Int!, $commentId: Int!, $newMessage: String!) { + editComment(videoId: $videoId, commentId: $commentId, newMessage: $newMessage) +} + `; +export type EditCommentMutationFn = Apollo.MutationFunction; + +/** + * __useEditCommentMutation__ + * + * To run a mutation, you first call `useEditCommentMutation` within a React component and pass it any options that fit your needs. + * When your component renders, `useEditCommentMutation` 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 [editCommentMutation, { data, loading, error }] = useEditCommentMutation({ + * variables: { + * videoId: // value for 'videoId' + * commentId: // value for 'commentId' + * newMessage: // value for 'newMessage' + * }, + * }); + */ +export function useEditCommentMutation(baseOptions?: Apollo.MutationHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useMutation(EditCommentDocument, options); + } +export type EditCommentMutationHookResult = ReturnType; +export type EditCommentMutationResult = Apollo.MutationResult; +export type EditCommentMutationOptions = Apollo.BaseMutationOptions; +export const DeleteCommentDocument = gql` + mutation DeleteComment($videoId: Int!, $commentId: Int!) { + deleteComment(videoId: $videoId, commentId: $commentId) +} + `; +export type DeleteCommentMutationFn = Apollo.MutationFunction; + +/** + * __useDeleteCommentMutation__ + * + * To run a mutation, you first call `useDeleteCommentMutation` within a React component and pass it any options that fit your needs. + * When your component renders, `useDeleteCommentMutation` 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 [deleteCommentMutation, { data, loading, error }] = useDeleteCommentMutation({ + * variables: { + * videoId: // value for 'videoId' + * commentId: // value for 'commentId' + * }, + * }); + */ +export function useDeleteCommentMutation(baseOptions?: Apollo.MutationHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useMutation(DeleteCommentDocument, options); + } +export type DeleteCommentMutationHookResult = ReturnType; +export type DeleteCommentMutationResult = Apollo.MutationResult; +export type DeleteCommentMutationOptions = Apollo.BaseMutationOptions; +export const GetDeployedConfigDocument = gql` + query getDeployedConfig { + getDeployedConfig { + allowNewUsers + devMode + environment + firebase + minimumAllowedAppVersion + subscriptionGatingEnabled + bannerMessages { + color + dismissible + id + kind + message + priority + } + } +} + `; + +/** + * __useGetDeployedConfigQuery__ + * + * To run a query within a React component, call `useGetDeployedConfigQuery` and pass it any options that fit your needs. + * When your component renders, `useGetDeployedConfigQuery` 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 } = useGetDeployedConfigQuery({ + * variables: { + * }, + * }); + */ +export function useGetDeployedConfigQuery(baseOptions?: Apollo.QueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useQuery(GetDeployedConfigDocument, options); + } +export function useGetDeployedConfigLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useLazyQuery(GetDeployedConfigDocument, options); + } +export function useGetDeployedConfigSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useSuspenseQuery(GetDeployedConfigDocument, options); + } +export type GetDeployedConfigQueryHookResult = ReturnType; +export type GetDeployedConfigLazyQueryHookResult = ReturnType; +export type GetDeployedConfigSuspenseQueryHookResult = ReturnType; +export type GetDeployedConfigQueryResult = Apollo.QueryResult; +export const BlockContentDocument = gql` + mutation blockContent($videoId: Int!) { + blockContent(videoId: $videoId) +} + `; +export type BlockContentMutationFn = Apollo.MutationFunction; + +/** + * __useBlockContentMutation__ + * + * To run a mutation, you first call `useBlockContentMutation` within a React component and pass it any options that fit your needs. + * When your component renders, `useBlockContentMutation` 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 [blockContentMutation, { data, loading, error }] = useBlockContentMutation({ + * variables: { + * videoId: // value for 'videoId' + * }, + * }); + */ +export function useBlockContentMutation(baseOptions?: Apollo.MutationHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useMutation(BlockContentDocument, options); + } +export type BlockContentMutationHookResult = ReturnType; +export type BlockContentMutationResult = Apollo.MutationResult; +export type BlockContentMutationOptions = Apollo.BaseMutationOptions; +export const BlockUserDocument = gql` + mutation blockUser($userId: Int!) { + blockUser(userId: $userId) +} + `; +export type BlockUserMutationFn = Apollo.MutationFunction; + +/** + * __useBlockUserMutation__ + * + * To run a mutation, you first call `useBlockUserMutation` within a React component and pass it any options that fit your needs. + * When your component renders, `useBlockUserMutation` 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 [blockUserMutation, { data, loading, error }] = useBlockUserMutation({ + * variables: { + * userId: // value for 'userId' + * }, + * }); + */ +export function useBlockUserMutation(baseOptions?: Apollo.MutationHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useMutation(BlockUserDocument, options); + } +export type BlockUserMutationHookResult = ReturnType; +export type BlockUserMutationResult = Apollo.MutationResult; +export type BlockUserMutationOptions = Apollo.BaseMutationOptions; +export const ReportContentDocument = gql` + mutation reportContent($videoId: Int!, $reason: ReportReasonEnum!, $customReason: String = null) { + reportContent(videoId: $videoId, reason: $reason, customReason: $customReason) +} + `; +export type ReportContentMutationFn = Apollo.MutationFunction; + +/** + * __useReportContentMutation__ + * + * To run a mutation, you first call `useReportContentMutation` within a React component and pass it any options that fit your needs. + * When your component renders, `useReportContentMutation` 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 [reportContentMutation, { data, loading, error }] = useReportContentMutation({ + * variables: { + * videoId: // value for 'videoId' + * reason: // value for 'reason' + * customReason: // value for 'customReason' + * }, + * }); + */ +export function useReportContentMutation(baseOptions?: Apollo.MutationHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useMutation(ReportContentDocument, options); + } +export type ReportContentMutationHookResult = ReturnType; +export type ReportContentMutationResult = Apollo.MutationResult; +export type ReportContentMutationOptions = Apollo.BaseMutationOptions; +export const GetFeedDocument = gql` + query GetFeed($limit: Int! = 5, $after: String = null, $filters: VideoFilterInput = null) { + getUserVideos(limit: $limit, after: $after, filters: $filters) { + videos { + ...VideoCardFields + } + pageInfo { + hasNextPage + endCursor + } + } +} + ${VideoCardFieldsFragmentDoc}`; + +/** + * __useGetFeedQuery__ + * + * To run a query within a React component, call `useGetFeedQuery` and pass it any options that fit your needs. + * When your component renders, `useGetFeedQuery` 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 } = useGetFeedQuery({ + * variables: { + * limit: // value for 'limit' + * after: // value for 'after' + * filters: // value for 'filters' + * }, + * }); + */ +export function useGetFeedQuery(baseOptions?: Apollo.QueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useQuery(GetFeedDocument, options); + } +export function useGetFeedLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useLazyQuery(GetFeedDocument, options); + } +export function useGetFeedSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useSuspenseQuery(GetFeedDocument, options); + } +export type GetFeedQueryHookResult = ReturnType; +export type GetFeedLazyQueryHookResult = ReturnType; +export type GetFeedSuspenseQueryHookResult = ReturnType; +export type GetFeedQueryResult = Apollo.QueryResult; +export const GetVideoFeedDocument = gql` + query GetVideoFeed($limit: Int! = 5, $after: String = null, $filters: VideoFilterInput = null, $includeCallersVideos: Boolean = null, $includePrivate: IncludePrivateEnum = MINE, $feedInput: VideoFeedInputGQL = null) { + getFeedVideos( + limit: $limit + after: $after + filters: $filters + includeCallersVideos: $includeCallersVideos + includePrivate: $includePrivate + feedInput: $feedInput + ) { + videos { + ...VideoCardFields + } + pageInfo { + hasNextPage + endCursor + } + hasFollowing + } +} + ${VideoCardFieldsFragmentDoc}`; + +/** + * __useGetVideoFeedQuery__ + * + * To run a query within a React component, call `useGetVideoFeedQuery` and pass it any options that fit your needs. + * When your component renders, `useGetVideoFeedQuery` 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 } = useGetVideoFeedQuery({ + * variables: { + * limit: // value for 'limit' + * after: // value for 'after' + * filters: // value for 'filters' + * includeCallersVideos: // value for 'includeCallersVideos' + * includePrivate: // value for 'includePrivate' + * feedInput: // value for 'feedInput' + * }, + * }); + */ +export function useGetVideoFeedQuery(baseOptions?: Apollo.QueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useQuery(GetVideoFeedDocument, options); + } +export function useGetVideoFeedLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useLazyQuery(GetVideoFeedDocument, options); + } +export function useGetVideoFeedSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useSuspenseQuery(GetVideoFeedDocument, options); + } +export type GetVideoFeedQueryHookResult = ReturnType; +export type GetVideoFeedLazyQueryHookResult = ReturnType; +export type GetVideoFeedSuspenseQueryHookResult = ReturnType; +export type GetVideoFeedQueryResult = Apollo.QueryResult; +export const GetMakesLeaderboardDocument = gql` + query GetMakesLeaderboard($interval: TimeInterval, $when: DateTime) { + getMakesLeaderboard(interval: $interval, when: $when) { + entries { + user { + id + username + profileImageUri + } + value + proportionMade + total + } + } +} + `; + +/** + * __useGetMakesLeaderboardQuery__ + * + * To run a query within a React component, call `useGetMakesLeaderboardQuery` and pass it any options that fit your needs. + * When your component renders, `useGetMakesLeaderboardQuery` 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 } = useGetMakesLeaderboardQuery({ + * variables: { + * interval: // value for 'interval' + * when: // value for 'when' + * }, + * }); + */ +export function useGetMakesLeaderboardQuery(baseOptions?: Apollo.QueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useQuery(GetMakesLeaderboardDocument, options); + } +export function useGetMakesLeaderboardLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useLazyQuery(GetMakesLeaderboardDocument, options); + } +export function useGetMakesLeaderboardSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useSuspenseQuery(GetMakesLeaderboardDocument, options); + } +export type GetMakesLeaderboardQueryHookResult = ReturnType; +export type GetMakesLeaderboardLazyQueryHookResult = ReturnType; +export type GetMakesLeaderboardSuspenseQueryHookResult = ReturnType; +export type GetMakesLeaderboardQueryResult = Apollo.QueryResult; +export const GetRunsLeaderboardDocument = gql` + query GetRunsLeaderboard($interval: TimeInterval, $when: DateTime) { + getLongestRunsLeaderboard(interval: $interval, when: $when) { + entries { + id + runLength + video { + name + createdAt + } + user { + id + username + profileImageUri + } + } + } +} + `; + +/** + * __useGetRunsLeaderboardQuery__ + * + * To run a query within a React component, call `useGetRunsLeaderboardQuery` and pass it any options that fit your needs. + * When your component renders, `useGetRunsLeaderboardQuery` 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 } = useGetRunsLeaderboardQuery({ + * variables: { + * interval: // value for 'interval' + * when: // value for 'when' + * }, + * }); + */ +export function useGetRunsLeaderboardQuery(baseOptions?: Apollo.QueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useQuery(GetRunsLeaderboardDocument, options); + } +export function useGetRunsLeaderboardLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useLazyQuery(GetRunsLeaderboardDocument, options); + } +export function useGetRunsLeaderboardSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useSuspenseQuery(GetRunsLeaderboardDocument, options); + } +export type GetRunsLeaderboardQueryHookResult = ReturnType; +export type GetRunsLeaderboardLazyQueryHookResult = ReturnType; +export type GetRunsLeaderboardSuspenseQueryHookResult = ReturnType; +export type GetRunsLeaderboardQueryResult = Apollo.QueryResult; +export const GetVideoMakePercentageIntervalsDocument = gql` + query GetVideoMakePercentageIntervals($videoId: ID!, $intervalDuration: Int!) { + getVideoMakePercentageIntervals( + videoId: $videoId + intervalDuration: $intervalDuration + ) { + makePercentage + elapsedTime + } +} + `; + +/** + * __useGetVideoMakePercentageIntervalsQuery__ + * + * To run a query within a React component, call `useGetVideoMakePercentageIntervalsQuery` and pass it any options that fit your needs. + * When your component renders, `useGetVideoMakePercentageIntervalsQuery` 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 } = useGetVideoMakePercentageIntervalsQuery({ + * variables: { + * videoId: // value for 'videoId' + * intervalDuration: // value for 'intervalDuration' + * }, + * }); + */ +export function useGetVideoMakePercentageIntervalsQuery(baseOptions: Apollo.QueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useQuery(GetVideoMakePercentageIntervalsDocument, options); + } +export function useGetVideoMakePercentageIntervalsLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useLazyQuery(GetVideoMakePercentageIntervalsDocument, options); + } +export function useGetVideoMakePercentageIntervalsSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useSuspenseQuery(GetVideoMakePercentageIntervalsDocument, options); + } +export type GetVideoMakePercentageIntervalsQueryHookResult = ReturnType; +export type GetVideoMakePercentageIntervalsLazyQueryHookResult = ReturnType; +export type GetVideoMakePercentageIntervalsSuspenseQueryHookResult = ReturnType; +export type GetVideoMakePercentageIntervalsQueryResult = Apollo.QueryResult; +export const GetMedalsDocument = gql` + query getMedals($scope: MedalScope!, $userId: Int) { + getMedals(scope: $scope, userId: $userId) { + distanceOver78 { + ...MedalFields + } + distanceOver90 { + ...MedalFields + } + runLength3 { + ...MedalFields + } + runLength5 { + ...MedalFields + } + runLength8 { + ...MedalFields + } + runLength10 { + ...MedalFields + } + runLength15 { + ...MedalFields + } + runLength20 { + ...MedalFields + } + runLength25 { + ...MedalFields + } + runLength30 { + ...MedalFields + } + runLength40 { + ...MedalFields + } + runLength50 { + ...MedalFields + } + totalMakes100 { + ...MedalFields + } + totalMakes500 { + ...MedalFields + } + totalMakes1000 { + ...MedalFields + } + totalMakes5000 { + ...MedalFields + } + totalMakes10000 { + ...MedalFields + } + dailyMakes50 { + ...MedalFields + } + dailyMakes100 { + ...MedalFields + } + dailyMakes150 { + ...MedalFields + } + dailyMakes200 { + ...MedalFields + } + dailyMakes250 { + ...MedalFields + } + } +} + ${MedalFieldsFragmentDoc}`; + +/** + * __useGetMedalsQuery__ + * + * To run a query within a React component, call `useGetMedalsQuery` and pass it any options that fit your needs. + * When your component renders, `useGetMedalsQuery` 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 } = useGetMedalsQuery({ + * variables: { + * scope: // value for 'scope' + * userId: // value for 'userId' + * }, + * }); + */ +export function useGetMedalsQuery(baseOptions: Apollo.QueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useQuery(GetMedalsDocument, options); + } +export function useGetMedalsLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useLazyQuery(GetMedalsDocument, options); + } +export function useGetMedalsSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useSuspenseQuery(GetMedalsDocument, options); + } +export type GetMedalsQueryHookResult = ReturnType; +export type GetMedalsLazyQueryHookResult = ReturnType; +export type GetMedalsSuspenseQueryHookResult = ReturnType; +export type GetMedalsQueryResult = Apollo.QueryResult; +export const GetNotificationsDocument = gql` + query GetNotifications($limit: Int! = 20, $offset: Int! = 0, $filters: NotificationFilters = null) { + notifications(limit: $limit, offset: $offset, filters: $filters) { + notifications { + ...Notification + } + totalCount + unreadCount + hasMore + } +} + ${NotificationFragmentDoc}`; + +/** + * __useGetNotificationsQuery__ + * + * To run a query within a React component, call `useGetNotificationsQuery` and pass it any options that fit your needs. + * When your component renders, `useGetNotificationsQuery` 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 } = useGetNotificationsQuery({ + * variables: { + * limit: // value for 'limit' + * offset: // value for 'offset' + * filters: // value for 'filters' + * }, + * }); + */ +export function useGetNotificationsQuery(baseOptions?: Apollo.QueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useQuery(GetNotificationsDocument, options); + } +export function useGetNotificationsLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useLazyQuery(GetNotificationsDocument, options); + } +export function useGetNotificationsSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useSuspenseQuery(GetNotificationsDocument, options); + } +export type GetNotificationsQueryHookResult = ReturnType; +export type GetNotificationsLazyQueryHookResult = ReturnType; +export type GetNotificationsSuspenseQueryHookResult = ReturnType; +export type GetNotificationsQueryResult = Apollo.QueryResult; +export const GetUnreadNotificationCountDocument = gql` + query GetUnreadNotificationCount { + unreadNotificationCount +} + `; + +/** + * __useGetUnreadNotificationCountQuery__ + * + * To run a query within a React component, call `useGetUnreadNotificationCountQuery` and pass it any options that fit your needs. + * When your component renders, `useGetUnreadNotificationCountQuery` 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 } = useGetUnreadNotificationCountQuery({ + * variables: { + * }, + * }); + */ +export function useGetUnreadNotificationCountQuery(baseOptions?: Apollo.QueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useQuery(GetUnreadNotificationCountDocument, options); + } +export function useGetUnreadNotificationCountLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useLazyQuery(GetUnreadNotificationCountDocument, options); + } +export function useGetUnreadNotificationCountSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useSuspenseQuery(GetUnreadNotificationCountDocument, options); + } +export type GetUnreadNotificationCountQueryHookResult = ReturnType; +export type GetUnreadNotificationCountLazyQueryHookResult = ReturnType; +export type GetUnreadNotificationCountSuspenseQueryHookResult = ReturnType; +export type GetUnreadNotificationCountQueryResult = Apollo.QueryResult; +export const MarkNotificationAsReadDocument = gql` + mutation MarkNotificationAsRead($notificationId: Int!) { + markNotificationAsRead(notificationId: $notificationId) +} + `; +export type MarkNotificationAsReadMutationFn = Apollo.MutationFunction; + +/** + * __useMarkNotificationAsReadMutation__ + * + * To run a mutation, you first call `useMarkNotificationAsReadMutation` within a React component and pass it any options that fit your needs. + * When your component renders, `useMarkNotificationAsReadMutation` 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 [markNotificationAsReadMutation, { data, loading, error }] = useMarkNotificationAsReadMutation({ + * variables: { + * notificationId: // value for 'notificationId' + * }, + * }); + */ +export function useMarkNotificationAsReadMutation(baseOptions?: Apollo.MutationHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useMutation(MarkNotificationAsReadDocument, options); + } +export type MarkNotificationAsReadMutationHookResult = ReturnType; +export type MarkNotificationAsReadMutationResult = Apollo.MutationResult; +export type MarkNotificationAsReadMutationOptions = Apollo.BaseMutationOptions; +export const MarkNotificationsAsReadDocument = gql` + mutation MarkNotificationsAsRead($notificationIds: [Int!]!) { + markNotificationsAsRead(notificationIds: $notificationIds) +} + `; +export type MarkNotificationsAsReadMutationFn = Apollo.MutationFunction; + +/** + * __useMarkNotificationsAsReadMutation__ + * + * To run a mutation, you first call `useMarkNotificationsAsReadMutation` within a React component and pass it any options that fit your needs. + * When your component renders, `useMarkNotificationsAsReadMutation` 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 [markNotificationsAsReadMutation, { data, loading, error }] = useMarkNotificationsAsReadMutation({ + * variables: { + * notificationIds: // value for 'notificationIds' + * }, + * }); + */ +export function useMarkNotificationsAsReadMutation(baseOptions?: Apollo.MutationHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useMutation(MarkNotificationsAsReadDocument, options); + } +export type MarkNotificationsAsReadMutationHookResult = ReturnType; +export type MarkNotificationsAsReadMutationResult = Apollo.MutationResult; +export type MarkNotificationsAsReadMutationOptions = Apollo.BaseMutationOptions; +export const MarkAllNotificationsAsReadDocument = gql` + mutation MarkAllNotificationsAsRead { + markAllNotificationsAsRead +} + `; +export type MarkAllNotificationsAsReadMutationFn = Apollo.MutationFunction; + +/** + * __useMarkAllNotificationsAsReadMutation__ + * + * To run a mutation, you first call `useMarkAllNotificationsAsReadMutation` within a React component and pass it any options that fit your needs. + * When your component renders, `useMarkAllNotificationsAsReadMutation` 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 [markAllNotificationsAsReadMutation, { data, loading, error }] = useMarkAllNotificationsAsReadMutation({ + * variables: { + * }, + * }); + */ +export function useMarkAllNotificationsAsReadMutation(baseOptions?: Apollo.MutationHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useMutation(MarkAllNotificationsAsReadDocument, options); + } +export type MarkAllNotificationsAsReadMutationHookResult = ReturnType; +export type MarkAllNotificationsAsReadMutationResult = Apollo.MutationResult; +export type MarkAllNotificationsAsReadMutationOptions = Apollo.BaseMutationOptions; +export const DeleteNotificationDocument = gql` + mutation DeleteNotification($notificationId: Int!) { + deleteNotification(notificationId: $notificationId) +} + `; +export type DeleteNotificationMutationFn = Apollo.MutationFunction; + +/** + * __useDeleteNotificationMutation__ + * + * To run a mutation, you first call `useDeleteNotificationMutation` within a React component and pass it any options that fit your needs. + * When your component renders, `useDeleteNotificationMutation` 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 [deleteNotificationMutation, { data, loading, error }] = useDeleteNotificationMutation({ + * variables: { + * notificationId: // value for 'notificationId' + * }, + * }); + */ +export function useDeleteNotificationMutation(baseOptions?: Apollo.MutationHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useMutation(DeleteNotificationDocument, options); + } +export type DeleteNotificationMutationHookResult = ReturnType; +export type DeleteNotificationMutationResult = Apollo.MutationResult; +export type DeleteNotificationMutationOptions = Apollo.BaseMutationOptions; +export const EnsureStripeCustomerExistsDocument = gql` + mutation EnsureStripeCustomerExists { + ensureStripeCustomerExists { + id + firebaseUid + username + stripeCustomerId + profileImageUri + isAdmin + fargoRating + videosPrivateByDefault + createdAt + updatedAt + } +} + `; +export type EnsureStripeCustomerExistsMutationFn = Apollo.MutationFunction; + +/** + * __useEnsureStripeCustomerExistsMutation__ + * + * To run a mutation, you first call `useEnsureStripeCustomerExistsMutation` within a React component and pass it any options that fit your needs. + * When your component renders, `useEnsureStripeCustomerExistsMutation` 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 [ensureStripeCustomerExistsMutation, { data, loading, error }] = useEnsureStripeCustomerExistsMutation({ + * variables: { + * }, + * }); + */ +export function useEnsureStripeCustomerExistsMutation(baseOptions?: Apollo.MutationHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useMutation(EnsureStripeCustomerExistsDocument, options); + } +export type EnsureStripeCustomerExistsMutationHookResult = ReturnType; +export type EnsureStripeCustomerExistsMutationResult = Apollo.MutationResult; +export type EnsureStripeCustomerExistsMutationOptions = Apollo.BaseMutationOptions; +export const CreateSubscriptionDocument = gql` + mutation CreateSubscription($priceId: String!) { + createSubscription(priceId: $priceId) { + checkoutUrl + sessionId + } +} + `; +export type CreateSubscriptionMutationFn = Apollo.MutationFunction; + +/** + * __useCreateSubscriptionMutation__ + * + * To run a mutation, you first call `useCreateSubscriptionMutation` within a React component and pass it any options that fit your needs. + * When your component renders, `useCreateSubscriptionMutation` 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 [createSubscriptionMutation, { data, loading, error }] = useCreateSubscriptionMutation({ + * variables: { + * priceId: // value for 'priceId' + * }, + * }); + */ +export function useCreateSubscriptionMutation(baseOptions?: Apollo.MutationHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useMutation(CreateSubscriptionDocument, options); + } +export type CreateSubscriptionMutationHookResult = ReturnType; +export type CreateSubscriptionMutationResult = Apollo.MutationResult; +export type CreateSubscriptionMutationOptions = Apollo.BaseMutationOptions; +export const GetAvailableSubscriptionOptionsDocument = gql` + query GetAvailableSubscriptionOptions { + getAvailableSubscriptionOptions { + products { + id + name + description + active + prices { + id + currency + unitAmount + recurringInterval + recurringIntervalCount + type + active + } + } + } +} + `; + +/** + * __useGetAvailableSubscriptionOptionsQuery__ + * + * To run a query within a React component, call `useGetAvailableSubscriptionOptionsQuery` and pass it any options that fit your needs. + * When your component renders, `useGetAvailableSubscriptionOptionsQuery` 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 } = useGetAvailableSubscriptionOptionsQuery({ + * variables: { + * }, + * }); + */ +export function useGetAvailableSubscriptionOptionsQuery(baseOptions?: Apollo.QueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useQuery(GetAvailableSubscriptionOptionsDocument, options); + } +export function useGetAvailableSubscriptionOptionsLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useLazyQuery(GetAvailableSubscriptionOptionsDocument, options); + } +export function useGetAvailableSubscriptionOptionsSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useSuspenseQuery(GetAvailableSubscriptionOptionsDocument, options); + } +export type GetAvailableSubscriptionOptionsQueryHookResult = ReturnType; +export type GetAvailableSubscriptionOptionsLazyQueryHookResult = ReturnType; +export type GetAvailableSubscriptionOptionsSuspenseQueryHookResult = ReturnType; +export type GetAvailableSubscriptionOptionsQueryResult = Apollo.QueryResult; +export const GetSubscriptionStatusDocument = gql` + query GetSubscriptionStatus { + getUserSubscriptionStatus { + hasActiveSubscription + subscriptionStatus + currentPeriodStart + currentPeriodEnd + validUntil + stripePriceId + stripeSubscriptionId + } +} + `; + +/** + * __useGetSubscriptionStatusQuery__ + * + * To run a query within a React component, call `useGetSubscriptionStatusQuery` and pass it any options that fit your needs. + * When your component renders, `useGetSubscriptionStatusQuery` 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 } = useGetSubscriptionStatusQuery({ + * variables: { + * }, + * }); + */ +export function useGetSubscriptionStatusQuery(baseOptions?: Apollo.QueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useQuery(GetSubscriptionStatusDocument, options); + } +export function useGetSubscriptionStatusLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useLazyQuery(GetSubscriptionStatusDocument, options); + } +export function useGetSubscriptionStatusSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useSuspenseQuery(GetSubscriptionStatusDocument, options); + } +export type GetSubscriptionStatusQueryHookResult = ReturnType; +export type GetSubscriptionStatusLazyQueryHookResult = ReturnType; +export type GetSubscriptionStatusSuspenseQueryHookResult = ReturnType; +export type GetSubscriptionStatusQueryResult = Apollo.QueryResult; +export const CancelSubscriptionDocument = gql` + mutation CancelSubscription { + cancelSubscription { + hasActiveSubscription + subscriptionStatus + currentPeriodStart + currentPeriodEnd + validUntil + stripePriceId + stripeSubscriptionId + } +} + `; +export type CancelSubscriptionMutationFn = Apollo.MutationFunction; + +/** + * __useCancelSubscriptionMutation__ + * + * To run a mutation, you first call `useCancelSubscriptionMutation` within a React component and pass it any options that fit your needs. + * When your component renders, `useCancelSubscriptionMutation` 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 [cancelSubscriptionMutation, { data, loading, error }] = useCancelSubscriptionMutation({ + * variables: { + * }, + * }); + */ +export function useCancelSubscriptionMutation(baseOptions?: Apollo.MutationHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useMutation(CancelSubscriptionDocument, options); + } +export type CancelSubscriptionMutationHookResult = ReturnType; +export type CancelSubscriptionMutationResult = Apollo.MutationResult; +export type CancelSubscriptionMutationOptions = Apollo.BaseMutationOptions; +export const ReactToVideoDocument = gql` + mutation ReactToVideo($videoId: Int!, $reaction: ReactionEnum) { + reactToVideo(videoId: $videoId, reaction: $reaction) +} + `; +export type ReactToVideoMutationFn = Apollo.MutationFunction; + +/** + * __useReactToVideoMutation__ + * + * To run a mutation, you first call `useReactToVideoMutation` within a React component and pass it any options that fit your needs. + * When your component renders, `useReactToVideoMutation` 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 [reactToVideoMutation, { data, loading, error }] = useReactToVideoMutation({ + * variables: { + * videoId: // value for 'videoId' + * reaction: // value for 'reaction' + * }, + * }); + */ +export function useReactToVideoMutation(baseOptions?: Apollo.MutationHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useMutation(ReactToVideoDocument, options); + } +export type ReactToVideoMutationHookResult = ReturnType; +export type ReactToVideoMutationResult = Apollo.MutationResult; +export type ReactToVideoMutationOptions = Apollo.BaseMutationOptions; +export const GetRunsForHighlightsDocument = gql` + 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 { + id + runLength + userId + videoId + shots { + videoId + id + } + } + runIds + } +} + `; + +/** + * __useGetRunsForHighlightsQuery__ + * + * To run a query within a React component, call `useGetRunsForHighlightsQuery` and pass it any options that fit your needs. + * When your component renders, `useGetRunsForHighlightsQuery` 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 } = useGetRunsForHighlightsQuery({ + * variables: { + * filterInput: // value for 'filterInput' + * runIds: // value for 'runIds' + * runsOrdering: // value for 'runsOrdering' + * limit: // value for 'limit' + * countRespectsLimit: // value for 'countRespectsLimit' + * }, + * }); + */ +export function useGetRunsForHighlightsQuery(baseOptions: Apollo.QueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useQuery(GetRunsForHighlightsDocument, options); + } +export function useGetRunsForHighlightsLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useLazyQuery(GetRunsForHighlightsDocument, options); + } +export function useGetRunsForHighlightsSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useSuspenseQuery(GetRunsForHighlightsDocument, options); + } +export type GetRunsForHighlightsQueryHookResult = ReturnType; +export type GetRunsForHighlightsLazyQueryHookResult = ReturnType; +export type GetRunsForHighlightsSuspenseQueryHookResult = ReturnType; +export type GetRunsForHighlightsQueryResult = Apollo.QueryResult; +export const GetRunsWithTimestampsDocument = gql` + query GetRunsWithTimestamps($filterInput: RunFilterInput!, $runIds: [Int!] = null, $runsOrdering: GetRunsOrdering) { + getRuns(filterInput: $filterInput, runIds: $runIds, runsOrdering: $runsOrdering) { + count + runs { + id + runLength + userId + videoId + shots { + videoId + id + createdAt + pocketingIntentionFeatures { + ...PocketingIntentionFragment + } + } + } + runIds + } +} + ${PocketingIntentionFragmentFragmentDoc}`; + +/** + * __useGetRunsWithTimestampsQuery__ + * + * To run a query within a React component, call `useGetRunsWithTimestampsQuery` and pass it any options that fit your needs. + * When your component renders, `useGetRunsWithTimestampsQuery` 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 } = useGetRunsWithTimestampsQuery({ + * variables: { + * filterInput: // value for 'filterInput' + * runIds: // value for 'runIds' + * runsOrdering: // value for 'runsOrdering' + * }, + * }); + */ +export function useGetRunsWithTimestampsQuery(baseOptions: Apollo.QueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useQuery(GetRunsWithTimestampsDocument, options); + } +export function useGetRunsWithTimestampsLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useLazyQuery(GetRunsWithTimestampsDocument, options); + } +export function useGetRunsWithTimestampsSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useSuspenseQuery(GetRunsWithTimestampsDocument, options); + } +export type GetRunsWithTimestampsQueryHookResult = ReturnType; +export type GetRunsWithTimestampsLazyQueryHookResult = ReturnType; +export type GetRunsWithTimestampsSuspenseQueryHookResult = ReturnType; +export type GetRunsWithTimestampsQueryResult = Apollo.QueryResult; +export const GetSerializedShotPathsDocument = gql` + query GetSerializedShotPaths($filterInput: FilterInput!) { + getShots(filterInput: $filterInput) { + id + videoId + startFrame + endFrame + serializedShotPaths { + b64EncodedBuffer + } + } +} + `; + +/** + * __useGetSerializedShotPathsQuery__ + * + * To run a query within a React component, call `useGetSerializedShotPathsQuery` and pass it any options that fit your needs. + * When your component renders, `useGetSerializedShotPathsQuery` 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 } = useGetSerializedShotPathsQuery({ + * variables: { + * filterInput: // value for 'filterInput' + * }, + * }); + */ +export function useGetSerializedShotPathsQuery(baseOptions: Apollo.QueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useQuery(GetSerializedShotPathsDocument, options); + } +export function useGetSerializedShotPathsLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useLazyQuery(GetSerializedShotPathsDocument, options); + } +export function useGetSerializedShotPathsSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useSuspenseQuery(GetSerializedShotPathsDocument, options); + } +export type GetSerializedShotPathsQueryHookResult = ReturnType; +export type GetSerializedShotPathsLazyQueryHookResult = ReturnType; +export type GetSerializedShotPathsSuspenseQueryHookResult = ReturnType; +export type GetSerializedShotPathsQueryResult = Apollo.QueryResult; +export const GetShotAnnotationTypesDocument = gql` + query GetShotAnnotationTypes { + getShotAnnotationTypes { + id + name + } +} + `; + +/** + * __useGetShotAnnotationTypesQuery__ + * + * To run a query within a React component, call `useGetShotAnnotationTypesQuery` and pass it any options that fit your needs. + * When your component renders, `useGetShotAnnotationTypesQuery` 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 } = useGetShotAnnotationTypesQuery({ + * variables: { + * }, + * }); + */ +export function useGetShotAnnotationTypesQuery(baseOptions?: Apollo.QueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useQuery(GetShotAnnotationTypesDocument, options); + } +export function useGetShotAnnotationTypesLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useLazyQuery(GetShotAnnotationTypesDocument, options); + } +export function useGetShotAnnotationTypesSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useSuspenseQuery(GetShotAnnotationTypesDocument, options); + } +export type GetShotAnnotationTypesQueryHookResult = ReturnType; +export type GetShotAnnotationTypesLazyQueryHookResult = ReturnType; +export type GetShotAnnotationTypesSuspenseQueryHookResult = ReturnType; +export type GetShotAnnotationTypesQueryResult = Apollo.QueryResult; +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; + +/** + * __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) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useMutation(UpdateShotAnnotationsDocument, options); + } +export type UpdateShotAnnotationsMutationHookResult = ReturnType; +export type UpdateShotAnnotationsMutationResult = Apollo.MutationResult; +export type UpdateShotAnnotationsMutationOptions = Apollo.BaseMutationOptions; +export const GetShotsWithVideoGqlDocument = gql` + query GetShotsWithVideoGql($filterInput: FilterInput!, $shotsOrdering: GetShotsOrdering, $limit: Int) { + getOrderedShots( + filterInput: $filterInput + shotsOrdering: $shotsOrdering + limit: $limit + ) { + shots { + id + videoId + video { + screenshotUri + endTime + } + } + } +} + `; + +/** + * __useGetShotsWithVideoGqlQuery__ + * + * To run a query within a React component, call `useGetShotsWithVideoGqlQuery` and pass it any options that fit your needs. + * When your component renders, `useGetShotsWithVideoGqlQuery` 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 } = useGetShotsWithVideoGqlQuery({ + * variables: { + * filterInput: // value for 'filterInput' + * shotsOrdering: // value for 'shotsOrdering' + * limit: // value for 'limit' + * }, + * }); + */ +export function useGetShotsWithVideoGqlQuery(baseOptions: Apollo.QueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useQuery(GetShotsWithVideoGqlDocument, options); + } +export function useGetShotsWithVideoGqlLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useLazyQuery(GetShotsWithVideoGqlDocument, options); + } +export function useGetShotsWithVideoGqlSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useSuspenseQuery(GetShotsWithVideoGqlDocument, options); + } +export type GetShotsWithVideoGqlQueryHookResult = ReturnType; +export type GetShotsWithVideoGqlLazyQueryHookResult = ReturnType; +export type GetShotsWithVideoGqlSuspenseQueryHookResult = ReturnType; +export type GetShotsWithVideoGqlQueryResult = Apollo.QueryResult; +export const GetShotsWithJustIdsDocument = gql` + query GetShotsWithJustIds($filterInput: FilterInput!, $shotsOrdering: GetShotsOrdering, $limit: Int, $countRespectsLimit: Boolean) { + getOrderedShots( + filterInput: $filterInput + shotsOrdering: $shotsOrdering + limit: $limit + countRespectsLimit: $countRespectsLimit + ) { + count + shots { + id + videoId + } + } +} + `; + +/** + * __useGetShotsWithJustIdsQuery__ + * + * To run a query within a React component, call `useGetShotsWithJustIdsQuery` and pass it any options that fit your needs. + * When your component renders, `useGetShotsWithJustIdsQuery` 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 } = useGetShotsWithJustIdsQuery({ + * variables: { + * filterInput: // value for 'filterInput' + * shotsOrdering: // value for 'shotsOrdering' + * limit: // value for 'limit' + * countRespectsLimit: // value for 'countRespectsLimit' + * }, + * }); + */ +export function useGetShotsWithJustIdsQuery(baseOptions: Apollo.QueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useQuery(GetShotsWithJustIdsDocument, options); + } +export function useGetShotsWithJustIdsLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useLazyQuery(GetShotsWithJustIdsDocument, options); + } +export function useGetShotsWithJustIdsSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useSuspenseQuery(GetShotsWithJustIdsDocument, options); + } +export type GetShotsWithJustIdsQueryHookResult = ReturnType; +export type GetShotsWithJustIdsLazyQueryHookResult = ReturnType; +export type GetShotsWithJustIdsSuspenseQueryHookResult = ReturnType; +export type GetShotsWithJustIdsQueryResult = Apollo.QueryResult; +export const GetShotsWithMetadataFilterResultDocument = gql` + query GetShotsWithMetadataFilterResult($filterInput: FilterInput!, $shotsOrdering: GetShotsOrdering, $limit: Int, $ids: [Int!], $countRespectsLimit: Boolean) { + getOrderedShots( + filterInput: $filterInput + shotsOrdering: $shotsOrdering + limit: $limit + ids: $ids + countRespectsLimit: $countRespectsLimit + ) { + count + shots { + ...ShotWithAllFeatures + } + ids + } +} + ${ShotWithAllFeaturesFragmentDoc}`; + +/** + * __useGetShotsWithMetadataFilterResultQuery__ + * + * To run a query within a React component, call `useGetShotsWithMetadataFilterResultQuery` and pass it any options that fit your needs. + * When your component renders, `useGetShotsWithMetadataFilterResultQuery` 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 } = useGetShotsWithMetadataFilterResultQuery({ + * variables: { + * filterInput: // value for 'filterInput' + * shotsOrdering: // value for 'shotsOrdering' + * limit: // value for 'limit' + * ids: // value for 'ids' + * countRespectsLimit: // value for 'countRespectsLimit' + * }, + * }); + */ +export function useGetShotsWithMetadataFilterResultQuery(baseOptions: Apollo.QueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useQuery(GetShotsWithMetadataFilterResultDocument, options); + } +export function useGetShotsWithMetadataFilterResultLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useLazyQuery(GetShotsWithMetadataFilterResultDocument, options); + } +export function useGetShotsWithMetadataFilterResultSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useSuspenseQuery(GetShotsWithMetadataFilterResultDocument, options); + } +export type GetShotsWithMetadataFilterResultQueryHookResult = ReturnType; +export type GetShotsWithMetadataFilterResultLazyQueryHookResult = ReturnType; +export type GetShotsWithMetadataFilterResultSuspenseQueryHookResult = ReturnType; +export type GetShotsWithMetadataFilterResultQueryResult = Apollo.QueryResult; +export const GetShotsWithMetadataDocument = gql` + query GetShotsWithMetadata($filterInput: FilterInput!, $shotsPagination: GetShotsPagination, $limit: Int, $ids: [Int!]) { + getShotsWithMetadata( + filterInput: $filterInput + shotsPagination: $shotsPagination + limit: $limit + ids: $ids + ) { + count + shots { + ...ShotWithAllFeatures + } + ids + } +} + ${ShotWithAllFeaturesFragmentDoc}`; + +/** + * __useGetShotsWithMetadataQuery__ + * + * To run a query within a React component, call `useGetShotsWithMetadataQuery` and pass it any options that fit your needs. + * When your component renders, `useGetShotsWithMetadataQuery` 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 } = useGetShotsWithMetadataQuery({ + * variables: { + * filterInput: // value for 'filterInput' + * shotsPagination: // value for 'shotsPagination' + * limit: // value for 'limit' + * ids: // value for 'ids' + * }, + * }); + */ +export function useGetShotsWithMetadataQuery(baseOptions: Apollo.QueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useQuery(GetShotsWithMetadataDocument, options); + } +export function useGetShotsWithMetadataLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useLazyQuery(GetShotsWithMetadataDocument, options); + } +export function useGetShotsWithMetadataSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useSuspenseQuery(GetShotsWithMetadataDocument, options); + } +export type GetShotsWithMetadataQueryHookResult = ReturnType; +export type GetShotsWithMetadataLazyQueryHookResult = ReturnType; +export type GetShotsWithMetadataSuspenseQueryHookResult = ReturnType; +export type GetShotsWithMetadataQueryResult = Apollo.QueryResult; +export const GetShotsByIdsDocument = gql` + query GetShotsByIds($ids: [Int!]!) { + getShotsByIds(ids: $ids) { + ...ShotWithAllFeatures + } +} + ${ShotWithAllFeaturesFragmentDoc}`; + +/** + * __useGetShotsByIdsQuery__ + * + * To run a query within a React component, call `useGetShotsByIdsQuery` and pass it any options that fit your needs. + * When your component renders, `useGetShotsByIdsQuery` 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 } = useGetShotsByIdsQuery({ + * variables: { + * ids: // value for 'ids' + * }, + * }); + */ +export function useGetShotsByIdsQuery(baseOptions: Apollo.QueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useQuery(GetShotsByIdsDocument, options); + } +export function useGetShotsByIdsLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useLazyQuery(GetShotsByIdsDocument, options); + } +export function useGetShotsByIdsSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useSuspenseQuery(GetShotsByIdsDocument, options); + } +export type GetShotsByIdsQueryHookResult = ReturnType; +export type GetShotsByIdsLazyQueryHookResult = ReturnType; +export type GetShotsByIdsSuspenseQueryHookResult = ReturnType; +export type GetShotsByIdsQueryResult = Apollo.QueryResult; +export const EditShotDocument = gql` + mutation EditShot($shotId: Int!, $fieldsToEdit: EditableShotFieldInputGQL!) { + editShot(shotId: $shotId, fieldsToEdit: $fieldsToEdit) { + error { + shotId + msg + } + shot { + ...ShotWithAllFeatures + } + } +} + ${ShotWithAllFeaturesFragmentDoc}`; +export type EditShotMutationFn = Apollo.MutationFunction; + +/** + * __useEditShotMutation__ + * + * To run a mutation, you first call `useEditShotMutation` within a React component and pass it any options that fit your needs. + * When your component renders, `useEditShotMutation` 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 [editShotMutation, { data, loading, error }] = useEditShotMutation({ + * variables: { + * shotId: // value for 'shotId' + * fieldsToEdit: // value for 'fieldsToEdit' + * }, + * }); + */ +export function useEditShotMutation(baseOptions?: Apollo.MutationHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useMutation(EditShotDocument, options); + } +export type EditShotMutationHookResult = ReturnType; +export type EditShotMutationResult = Apollo.MutationResult; +export type EditShotMutationOptions = Apollo.BaseMutationOptions; +export const RetireTagsDocument = gql` + mutation RetireTags($tagIds: [Int!]!) { + retireTags(tagIds: $tagIds) +} + `; +export type RetireTagsMutationFn = Apollo.MutationFunction; + +/** + * __useRetireTagsMutation__ + * + * To run a mutation, you first call `useRetireTagsMutation` within a React component and pass it any options that fit your needs. + * When your component renders, `useRetireTagsMutation` 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 [retireTagsMutation, { data, loading, error }] = useRetireTagsMutation({ + * variables: { + * tagIds: // value for 'tagIds' + * }, + * }); + */ +export function useRetireTagsMutation(baseOptions?: Apollo.MutationHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useMutation(RetireTagsDocument, options); + } +export type RetireTagsMutationHookResult = ReturnType; +export type RetireTagsMutationResult = Apollo.MutationResult; +export type RetireTagsMutationOptions = Apollo.BaseMutationOptions; +export const DeleteTagsDocument = gql` + mutation DeleteTags($videoId: Int!, $tagsToDelete: [VideoTagInput!]!) { + deleteTags(videoId: $videoId, tagsToDelete: $tagsToDelete) +} + `; +export type DeleteTagsMutationFn = Apollo.MutationFunction; + +/** + * __useDeleteTagsMutation__ + * + * To run a mutation, you first call `useDeleteTagsMutation` within a React component and pass it any options that fit your needs. + * When your component renders, `useDeleteTagsMutation` 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 [deleteTagsMutation, { data, loading, error }] = useDeleteTagsMutation({ + * variables: { + * videoId: // value for 'videoId' + * tagsToDelete: // value for 'tagsToDelete' + * }, + * }); + */ +export function useDeleteTagsMutation(baseOptions?: Apollo.MutationHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useMutation(DeleteTagsDocument, options); + } +export type DeleteTagsMutationHookResult = ReturnType; +export type DeleteTagsMutationResult = Apollo.MutationResult; +export type DeleteTagsMutationOptions = Apollo.BaseMutationOptions; +export const GetProfileImageUploadLinkDocument = gql` + mutation getProfileImageUploadLink($fileExt: String = ".png") { + getProfileImageUploadLink(fileExt: $fileExt) { + value { + ... on UploadLink { + uploadUrl + headers { + key + value + } + } + ... on GetProfileUploadLinkErrors { + error { + ... on TooManyProfileImageUploadsErr { + linksRequested + } + } + } + } + } +} + `; +export type GetProfileImageUploadLinkMutationFn = Apollo.MutationFunction; + +/** + * __useGetProfileImageUploadLinkMutation__ + * + * To run a mutation, you first call `useGetProfileImageUploadLinkMutation` within a React component and pass it any options that fit your needs. + * When your component renders, `useGetProfileImageUploadLinkMutation` 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 [getProfileImageUploadLinkMutation, { data, loading, error }] = useGetProfileImageUploadLinkMutation({ + * variables: { + * fileExt: // value for 'fileExt' + * }, + * }); + */ +export function useGetProfileImageUploadLinkMutation(baseOptions?: Apollo.MutationHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useMutation(GetProfileImageUploadLinkDocument, options); + } +export type GetProfileImageUploadLinkMutationHookResult = ReturnType; +export type GetProfileImageUploadLinkMutationResult = Apollo.MutationResult; +export type GetProfileImageUploadLinkMutationOptions = Apollo.BaseMutationOptions; +export const EditProfileImageUriDocument = gql` + mutation editProfileImageUri($profileImageUri: String!) { + editProfileImageUri(profileImageUri: $profileImageUri) { + ...UserFragment + } +} + ${UserFragmentFragmentDoc}`; +export type EditProfileImageUriMutationFn = Apollo.MutationFunction; + +/** + * __useEditProfileImageUriMutation__ + * + * To run a mutation, you first call `useEditProfileImageUriMutation` within a React component and pass it any options that fit your needs. + * When your component renders, `useEditProfileImageUriMutation` 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 [editProfileImageUriMutation, { data, loading, error }] = useEditProfileImageUriMutation({ + * variables: { + * profileImageUri: // value for 'profileImageUri' + * }, + * }); + */ +export function useEditProfileImageUriMutation(baseOptions?: Apollo.MutationHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useMutation(EditProfileImageUriDocument, options); + } +export type EditProfileImageUriMutationHookResult = ReturnType; +export type EditProfileImageUriMutationResult = Apollo.MutationResult; +export type EditProfileImageUriMutationOptions = Apollo.BaseMutationOptions; +export const GetLoggedInUserDocument = gql` + query getLoggedInUser { + getLoggedInUser { + ...UserFragment + } +} + ${UserFragmentFragmentDoc}`; + +/** + * __useGetLoggedInUserQuery__ + * + * To run a query within a React component, call `useGetLoggedInUserQuery` and pass it any options that fit your needs. + * When your component renders, `useGetLoggedInUserQuery` 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 } = useGetLoggedInUserQuery({ + * variables: { + * }, + * }); + */ +export function useGetLoggedInUserQuery(baseOptions?: Apollo.QueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useQuery(GetLoggedInUserDocument, options); + } +export function useGetLoggedInUserLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useLazyQuery(GetLoggedInUserDocument, options); + } +export function useGetLoggedInUserSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useSuspenseQuery(GetLoggedInUserDocument, options); + } +export type GetLoggedInUserQueryHookResult = ReturnType; +export type GetLoggedInUserLazyQueryHookResult = ReturnType; +export type GetLoggedInUserSuspenseQueryHookResult = ReturnType; +export type GetLoggedInUserQueryResult = Apollo.QueryResult; +export const GetUserDocument = gql` + query GetUser($userId: Int!) { + getUser(userId: $userId) { + ...UserFragment + } +} + ${UserFragmentFragmentDoc}`; + +/** + * __useGetUserQuery__ + * + * To run a query within a React component, call `useGetUserQuery` and pass it any options that fit your needs. + * When your component renders, `useGetUserQuery` 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 } = useGetUserQuery({ + * variables: { + * userId: // value for 'userId' + * }, + * }); + */ +export function useGetUserQuery(baseOptions: Apollo.QueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useQuery(GetUserDocument, options); + } +export function useGetUserLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useLazyQuery(GetUserDocument, options); + } +export function useGetUserSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useSuspenseQuery(GetUserDocument, options); + } +export type GetUserQueryHookResult = ReturnType; +export type GetUserLazyQueryHookResult = ReturnType; +export type GetUserSuspenseQueryHookResult = ReturnType; +export type GetUserQueryResult = Apollo.QueryResult; +export const GetUserPlayTimeDocument = gql` + query GetUserPlayTime($userId: Int!, $filters: VideoFilterInput) { + getPlayTime(userId: $userId, filters: $filters) { + totalSeconds + } +} + `; + +/** + * __useGetUserPlayTimeQuery__ + * + * To run a query within a React component, call `useGetUserPlayTimeQuery` and pass it any options that fit your needs. + * When your component renders, `useGetUserPlayTimeQuery` 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 } = useGetUserPlayTimeQuery({ + * variables: { + * userId: // value for 'userId' + * filters: // value for 'filters' + * }, + * }); + */ +export function useGetUserPlayTimeQuery(baseOptions: Apollo.QueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useQuery(GetUserPlayTimeDocument, options); + } +export function useGetUserPlayTimeLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useLazyQuery(GetUserPlayTimeDocument, options); + } +export function useGetUserPlayTimeSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useSuspenseQuery(GetUserPlayTimeDocument, options); + } +export type GetUserPlayTimeQueryHookResult = ReturnType; +export type GetUserPlayTimeLazyQueryHookResult = ReturnType; +export type GetUserPlayTimeSuspenseQueryHookResult = ReturnType; +export type GetUserPlayTimeQueryResult = Apollo.QueryResult; +export const GetUsernamesDocument = gql` + query getUsernames($matchString: String!, $limit: Int = null, $after: String = null) { + getUsernames(matchString: $matchString, limit: $limit, after: $after) +} + `; + +/** + * __useGetUsernamesQuery__ + * + * To run a query within a React component, call `useGetUsernamesQuery` and pass it any options that fit your needs. + * When your component renders, `useGetUsernamesQuery` 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 } = useGetUsernamesQuery({ + * variables: { + * matchString: // value for 'matchString' + * limit: // value for 'limit' + * after: // value for 'after' + * }, + * }); + */ +export function useGetUsernamesQuery(baseOptions: Apollo.QueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useQuery(GetUsernamesDocument, options); + } +export function useGetUsernamesLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useLazyQuery(GetUsernamesDocument, options); + } +export function useGetUsernamesSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useSuspenseQuery(GetUsernamesDocument, options); + } +export type GetUsernamesQueryHookResult = ReturnType; +export type GetUsernamesLazyQueryHookResult = ReturnType; +export type GetUsernamesSuspenseQueryHookResult = ReturnType; +export type GetUsernamesQueryResult = Apollo.QueryResult; +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 + profileImageUri + 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) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useQuery(GetUserRelationshipsMatchingDocument, options); + } +export function useGetUserRelationshipsMatchingLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useLazyQuery(GetUserRelationshipsMatchingDocument, options); + } +export function useGetUserRelationshipsMatchingSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useSuspenseQuery(GetUserRelationshipsMatchingDocument, options); + } +export type GetUserRelationshipsMatchingQueryHookResult = ReturnType; +export type GetUserRelationshipsMatchingLazyQueryHookResult = ReturnType; +export type GetUserRelationshipsMatchingSuspenseQueryHookResult = ReturnType; +export type GetUserRelationshipsMatchingQueryResult = Apollo.QueryResult; +export const GetUserTagsDocument = gql` + query GetUserTags { + getUserTags { + id + name + tagClasses { + id + name + } + } +} + `; + +/** + * __useGetUserTagsQuery__ + * + * To run a query within a React component, call `useGetUserTagsQuery` and pass it any options that fit your needs. + * When your component renders, `useGetUserTagsQuery` 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 } = useGetUserTagsQuery({ + * variables: { + * }, + * }); + */ +export function useGetUserTagsQuery(baseOptions?: Apollo.QueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useQuery(GetUserTagsDocument, options); + } +export function useGetUserTagsLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useLazyQuery(GetUserTagsDocument, options); + } +export function useGetUserTagsSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useSuspenseQuery(GetUserTagsDocument, options); + } +export type GetUserTagsQueryHookResult = ReturnType; +export type GetUserTagsLazyQueryHookResult = ReturnType; +export type GetUserTagsSuspenseQueryHookResult = ReturnType; +export type GetUserTagsQueryResult = Apollo.QueryResult; +export const FollowUserDocument = gql` + mutation followUser($followedUserId: Int!) { + followUser(followedUserId: $followedUserId) { + id + username + } +} + `; +export type FollowUserMutationFn = Apollo.MutationFunction; + +/** + * __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) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useMutation(FollowUserDocument, options); + } +export type FollowUserMutationHookResult = ReturnType; +export type FollowUserMutationResult = Apollo.MutationResult; +export type FollowUserMutationOptions = Apollo.BaseMutationOptions; +export const UnfollowUserDocument = gql` + mutation unfollowUser($followedUserId: Int!) { + unfollowUser(followedUserId: $followedUserId) { + id + username + } +} + `; +export type UnfollowUserMutationFn = Apollo.MutationFunction; + +/** + * __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) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useMutation(UnfollowUserDocument, options); + } +export type UnfollowUserMutationHookResult = ReturnType; +export type UnfollowUserMutationResult = Apollo.MutationResult; +export type UnfollowUserMutationOptions = Apollo.BaseMutationOptions; +export const GetUserFollowingFollowersDocument = gql` + query getUserFollowingFollowers { + getLoggedInUser { + id + following { + id + username + profileImageUri + isFollowedByCurrentUser + } + followers { + id + username + profileImageUri + isFollowedByCurrentUser + } + } +} + `; + +/** + * __useGetUserFollowingFollowersQuery__ + * + * To run a query within a React component, call `useGetUserFollowingFollowersQuery` and pass it any options that fit your needs. + * When your component renders, `useGetUserFollowingFollowersQuery` 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 } = useGetUserFollowingFollowersQuery({ + * variables: { + * }, + * }); + */ +export function useGetUserFollowingFollowersQuery(baseOptions?: Apollo.QueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useQuery(GetUserFollowingFollowersDocument, options); + } +export function useGetUserFollowingFollowersLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useLazyQuery(GetUserFollowingFollowersDocument, options); + } +export function useGetUserFollowingFollowersSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useSuspenseQuery(GetUserFollowingFollowersDocument, options); + } +export type GetUserFollowingFollowersQueryHookResult = ReturnType; +export type GetUserFollowingFollowersLazyQueryHookResult = ReturnType; +export type GetUserFollowingFollowersSuspenseQueryHookResult = ReturnType; +export type GetUserFollowingFollowersQueryResult = Apollo.QueryResult; +export const DoesUsernameExistDocument = gql` + query doesUsernameExist($candidateUsername: String!) { + doesUsernameExist(candidateUsername: $candidateUsername) +} + `; + +/** + * __useDoesUsernameExistQuery__ + * + * To run a query within a React component, call `useDoesUsernameExistQuery` and pass it any options that fit your needs. + * When your component renders, `useDoesUsernameExistQuery` 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 } = useDoesUsernameExistQuery({ + * variables: { + * candidateUsername: // value for 'candidateUsername' + * }, + * }); + */ +export function useDoesUsernameExistQuery(baseOptions: Apollo.QueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useQuery(DoesUsernameExistDocument, options); + } +export function useDoesUsernameExistLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useLazyQuery(DoesUsernameExistDocument, options); + } +export function useDoesUsernameExistSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useSuspenseQuery(DoesUsernameExistDocument, options); + } +export type DoesUsernameExistQueryHookResult = ReturnType; +export type DoesUsernameExistLazyQueryHookResult = ReturnType; +export type DoesUsernameExistSuspenseQueryHookResult = ReturnType; +export type DoesUsernameExistQueryResult = Apollo.QueryResult; +export const EditUserDocument = gql` + mutation editUser($username: String, $fargoRating: Int, $videosPrivateByDefault: Boolean, $agreesToMarketing: Boolean) { + editUser( + input: {username: $username, fargoRating: $fargoRating, videosPrivateByDefault: $videosPrivateByDefault, agreesToMarketing: $agreesToMarketing} + ) { + id + firebaseUid + username + fargoRating + updatedAt + videosPrivateByDefault + agreesToMarketing + } +} + `; +export type EditUserMutationFn = Apollo.MutationFunction; + +/** + * __useEditUserMutation__ + * + * To run a mutation, you first call `useEditUserMutation` within a React component and pass it any options that fit your needs. + * When your component renders, `useEditUserMutation` 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 [editUserMutation, { data, loading, error }] = useEditUserMutation({ + * variables: { + * username: // value for 'username' + * fargoRating: // value for 'fargoRating' + * videosPrivateByDefault: // value for 'videosPrivateByDefault' + * agreesToMarketing: // value for 'agreesToMarketing' + * }, + * }); + */ +export function useEditUserMutation(baseOptions?: Apollo.MutationHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useMutation(EditUserDocument, options); + } +export type EditUserMutationHookResult = ReturnType; +export type EditUserMutationResult = Apollo.MutationResult; +export type EditUserMutationOptions = Apollo.BaseMutationOptions; +export const DeleteUserDocument = gql` + mutation deleteUser { + deleteUser +} + `; +export type DeleteUserMutationFn = Apollo.MutationFunction; + +/** + * __useDeleteUserMutation__ + * + * To run a mutation, you first call `useDeleteUserMutation` within a React component and pass it any options that fit your needs. + * When your component renders, `useDeleteUserMutation` 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 [deleteUserMutation, { data, loading, error }] = useDeleteUserMutation({ + * variables: { + * }, + * }); + */ +export function useDeleteUserMutation(baseOptions?: Apollo.MutationHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useMutation(DeleteUserDocument, options); + } +export type DeleteUserMutationHookResult = ReturnType; +export type DeleteUserMutationResult = Apollo.MutationResult; +export type DeleteUserMutationOptions = Apollo.BaseMutationOptions; +export const GetStreamMonitoringDetailsDocument = gql` + query GetStreamMonitoringDetails($videoId: Int!, $debuggingJson: JSON) { + getVideo(videoId: $videoId, debuggingJson: $debuggingJson) { + id + totalShots + makePercentage + elapsedTime + currentHomography { + ...HomographyInfo + } + stream { + id + linksRequested + uploadsCompleted + segmentProcessingCursor + isCompleted + uploadCompletionCursor + lastIntendedSegmentBound + initPlaylistUploadStatus + } + currentProcessing { + id + errors { + message + startSegmentIndex + endSegmentIndex + } + } + } +} + ${HomographyInfoFragmentDoc}`; + +/** + * __useGetStreamMonitoringDetailsQuery__ + * + * To run a query within a React component, call `useGetStreamMonitoringDetailsQuery` and pass it any options that fit your needs. + * When your component renders, `useGetStreamMonitoringDetailsQuery` 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 } = useGetStreamMonitoringDetailsQuery({ + * variables: { + * videoId: // value for 'videoId' + * debuggingJson: // value for 'debuggingJson' + * }, + * }); + */ +export function useGetStreamMonitoringDetailsQuery(baseOptions: Apollo.QueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useQuery(GetStreamMonitoringDetailsDocument, options); + } +export function useGetStreamMonitoringDetailsLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useLazyQuery(GetStreamMonitoringDetailsDocument, options); + } +export function useGetStreamMonitoringDetailsSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useSuspenseQuery(GetStreamMonitoringDetailsDocument, options); + } +export type GetStreamMonitoringDetailsQueryHookResult = ReturnType; +export type GetStreamMonitoringDetailsLazyQueryHookResult = ReturnType; +export type GetStreamMonitoringDetailsSuspenseQueryHookResult = ReturnType; +export type GetStreamMonitoringDetailsQueryResult = Apollo.QueryResult; +export const GetVideoUpdatePageDetailsDocument = gql` + query GetVideoUpdatePageDetails($videoId: Int!) { + getVideo(videoId: $videoId) { + id + name + totalShots + makePercentage + elapsedTime tableSize + pocketSize + private tags { tagClasses { name } name } - currentProcessing { + } +} + `; + +/** + * __useGetVideoUpdatePageDetailsQuery__ + * + * To run a query within a React component, call `useGetVideoUpdatePageDetailsQuery` and pass it any options that fit your needs. + * When your component renders, `useGetVideoUpdatePageDetailsQuery` 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 } = useGetVideoUpdatePageDetailsQuery({ + * variables: { + * videoId: // value for 'videoId' + * }, + * }); + */ +export function useGetVideoUpdatePageDetailsQuery(baseOptions: Apollo.QueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useQuery(GetVideoUpdatePageDetailsDocument, options); + } +export function useGetVideoUpdatePageDetailsLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useLazyQuery(GetVideoUpdatePageDetailsDocument, options); + } +export function useGetVideoUpdatePageDetailsSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useSuspenseQuery(GetVideoUpdatePageDetailsDocument, options); + } +export type GetVideoUpdatePageDetailsQueryHookResult = ReturnType; +export type GetVideoUpdatePageDetailsLazyQueryHookResult = ReturnType; +export type GetVideoUpdatePageDetailsSuspenseQueryHookResult = ReturnType; +export type GetVideoUpdatePageDetailsQueryResult = Apollo.QueryResult; +export const DeleteVideoDocument = gql` + mutation DeleteVideo($videoId: Int!) { + deleteVideo(videoId: $videoId) +} + `; +export type DeleteVideoMutationFn = Apollo.MutationFunction; + +/** + * __useDeleteVideoMutation__ + * + * To run a mutation, you first call `useDeleteVideoMutation` within a React component and pass it any options that fit your needs. + * When your component renders, `useDeleteVideoMutation` 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 [deleteVideoMutation, { data, loading, error }] = useDeleteVideoMutation({ + * variables: { + * videoId: // value for 'videoId' + * }, + * }); + */ +export function useDeleteVideoMutation(baseOptions?: Apollo.MutationHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useMutation(DeleteVideoDocument, options); + } +export type DeleteVideoMutationHookResult = ReturnType; +export type DeleteVideoMutationResult = Apollo.MutationResult; +export type DeleteVideoMutationOptions = Apollo.BaseMutationOptions; +export const GetVideoDetailsDocument = gql` + query GetVideoDetails($videoId: Int!) { + getVideo(videoId: $videoId) { + id + name + screenshotUri + averageTimeBetweenShots + elapsedTime + endTime + makePercentage + medianRun + startTime + totalShots + totalShotsMade + createdAt + updatedAt + tableSize + pocketSize + private + owner { id - errors { - message + firebaseUid + username + profileImageUri + } + tags { + tagClasses { + name } - status - statuses { - status + name + } + } +} + `; + +/** + * __useGetVideoDetailsQuery__ + * + * To run a query within a React component, call `useGetVideoDetailsQuery` and pass it any options that fit your needs. + * When your component renders, `useGetVideoDetailsQuery` 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 } = useGetVideoDetailsQuery({ + * variables: { + * videoId: // value for 'videoId' + * }, + * }); + */ +export function useGetVideoDetailsQuery(baseOptions: Apollo.QueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useQuery(GetVideoDetailsDocument, options); } +export function useGetVideoDetailsLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useLazyQuery(GetVideoDetailsDocument, options); + } +export function useGetVideoDetailsSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useSuspenseQuery(GetVideoDetailsDocument, options); + } +export type GetVideoDetailsQueryHookResult = ReturnType; +export type GetVideoDetailsLazyQueryHookResult = ReturnType; +export type GetVideoDetailsSuspenseQueryHookResult = ReturnType; +export type GetVideoDetailsQueryResult = Apollo.QueryResult; +export const GetVideoSocialDetailsByIdDocument = gql` + query GetVideoSocialDetailsById($videoId: Int!) { + getVideo(videoId: $videoId) { + id + name + screenshotUri + makePercentage + totalShots + owner { + id + firebaseUid + username + profileImageUri + } + tags { + tagClasses { + name + } + name } reactions { videoId @@ -5883,4364 +5016,8 @@ export const VideoCardFieldsFragmentDoc = gql` } } } - ${UserSocialsFieldsFragmentDoc} -`; -export const MedalFieldsFragmentDoc = gql` - fragment MedalFields on MedalGQL { - count - nickname - } -`; -export const NotificationFragmentDoc = gql` - fragment Notification on NotificationGQL { - id - notificationType - actor { - id - username - profileImageUri - } - videoId - comment { - id - message - user { - id - username - profileImageUri - } - } - reactionType - isRead - createdAt - readAt - } -`; -export const PocketingIntentionFragmentFragmentDoc = gql` - fragment PocketingIntentionFragment on PocketingIntentionFeaturesGQL { - make - targetPocketDistance - targetPocketAngle - targetPocketAngleDirection - marginOfErrorInDegrees - intendedPocketType - difficulty - } -`; -export const ShotWithAllFeaturesFragmentDoc = gql` - fragment ShotWithAllFeatures on ShotGQL { - id - videoId - startFrame - endFrame - startTime @client - endTime @client - startSegment @client { - index - time - } - endSegment @client { - index - time - } - user { - id - } - falsePositiveScore - createdAt - updatedAt - cueObjectFeatures { - cueObjectDistance - cueObjectAngle - cueBallSpeed - shotDirection - spinType - } - pocketingIntentionFeatures { - make - targetPocketDistance - targetPocketAngle - targetPocketAngleDirection - marginOfErrorInDegrees - intendedPocketType - difficulty - } - pocketingIntentionInfo { - ballId - pocketId - pathMetadataIndex - } - serializedShotPaths { - b64EncodedBuffer - } - annotations { - shotId - type { - id - name - } - notes - } - video { - id - stream { - id - streamSegmentType - } - playlist { - videoId - segmentDurations - } - } - } -`; -export const UserFragmentFragmentDoc = gql` - fragment UserFragment on UserGQL { - id - firebaseUid - username - isAdmin - profileImageUri - fargoRating - activeVideoId - createdAt - updatedAt - videosPrivateByDefault - agreesToMarketing - } -`; -export const VideoStreamMetadataFragmentDoc = gql` - fragment VideoStreamMetadata on VideoGQL { - id - framesPerSecond - stream { - id - streamSegmentType - segments { - uploaded - valid - segmentIndex - endFrameIndex - framesPerSecond - } - } - playlist { - segmentDurations - } - } -`; -export const SegmentEndFramesFragmentDoc = gql` - fragment SegmentEndFrames on SegmentEndFramesGQL { - id - segmentEndFrames - } -`; -export const SegmentStartTimesFragmentDoc = gql` - fragment SegmentStartTimes on SegmentStartTimesGQL { - id - segmentStartTimes - } -`; -export const PlaylistWithSegmentStartTimesFragmentDoc = gql` - fragment PlaylistWithSegmentStartTimes on HLSPlaylistGQL { - videoId - segmentDurations - segmentStartTimes @client - } -`; -export const StreamWithEndFramesFragmentDoc = gql` - fragment StreamWithEndFrames on UploadStreamGQL { - id - streamSegmentType - segmentEndFrames @client - resolution { - width - height - } - segments { - uploaded - valid - segmentIndex - endFrameIndex - framesPerSecond - } - } -`; -export const VideoDurationDataFragmentDoc = gql` - fragment VideoDurationData on VideoGQL { - id - framesPerSecond - playlist { - ...PlaylistWithSegmentStartTimes - } - stream { - ...StreamWithEndFrames - } - } - ${PlaylistWithSegmentStartTimesFragmentDoc} - ${StreamWithEndFramesFragmentDoc} -`; -export const HomographyInfoFragmentDoc = gql` - fragment HomographyInfo on HomographyInfoGQL { - id - frameIndex - crop { - left - top - width - height - } - pockets { - left - top - width - height - } - sourcePoints { - topLeft { - x - y - } - topSide { - x - y - } - topRight { - x - y - } - bottomLeft { - x - y - } - bottomSide { - x - y - } - bottomRight { - x - y - } - } - } -`; -export const UploadStreamWithDetailsFragmentDoc = gql` - fragment UploadStreamWithDetails on VideoGQL { - id - name - startTime - stream { - isCompleted - lastIntendedSegmentBound - uploadCompletionCursor - uploadsCompleted - } - } -`; -export const GetAggregatedShotMetricsDocument = gql` - query GetAggregatedShotMetrics($aggregateInput: AggregateInputGQL!) { - getAggregatedShotMetrics(aggregateInput: $aggregateInput) { - aggregationIdentifiers { - featureName - groupName - } - targetMetrics { - count - makePercentage - } - } - } -`; - -/** - * __useGetAggregatedShotMetricsQuery__ - * - * To run a query within a React component, call `useGetAggregatedShotMetricsQuery` and pass it any options that fit your needs. - * When your component renders, `useGetAggregatedShotMetricsQuery` 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 } = useGetAggregatedShotMetricsQuery({ - * variables: { - * aggregateInput: // value for 'aggregateInput' - * }, - * }); - */ -export function useGetAggregatedShotMetricsQuery( - baseOptions: Apollo.QueryHookOptions< - GetAggregatedShotMetricsQuery, - GetAggregatedShotMetricsQueryVariables - >, -) { - const options = { ...defaultOptions, ...baseOptions }; - return Apollo.useQuery< - GetAggregatedShotMetricsQuery, - GetAggregatedShotMetricsQueryVariables - >(GetAggregatedShotMetricsDocument, options); } -export function useGetAggregatedShotMetricsLazyQuery( - baseOptions?: Apollo.LazyQueryHookOptions< - GetAggregatedShotMetricsQuery, - GetAggregatedShotMetricsQueryVariables - >, -) { - const options = { ...defaultOptions, ...baseOptions }; - return Apollo.useLazyQuery< - GetAggregatedShotMetricsQuery, - GetAggregatedShotMetricsQueryVariables - >(GetAggregatedShotMetricsDocument, options); -} -export function useGetAggregatedShotMetricsSuspenseQuery( - baseOptions?: Apollo.SuspenseQueryHookOptions< - GetAggregatedShotMetricsQuery, - GetAggregatedShotMetricsQueryVariables - >, -) { - const options = { ...defaultOptions, ...baseOptions }; - return Apollo.useSuspenseQuery< - GetAggregatedShotMetricsQuery, - GetAggregatedShotMetricsQueryVariables - >(GetAggregatedShotMetricsDocument, options); -} -export type GetAggregatedShotMetricsQueryHookResult = ReturnType< - typeof useGetAggregatedShotMetricsQuery ->; -export type GetAggregatedShotMetricsLazyQueryHookResult = ReturnType< - typeof useGetAggregatedShotMetricsLazyQuery ->; -export type GetAggregatedShotMetricsSuspenseQueryHookResult = ReturnType< - typeof useGetAggregatedShotMetricsSuspenseQuery ->; -export type GetAggregatedShotMetricsQueryResult = Apollo.QueryResult< - GetAggregatedShotMetricsQuery, - GetAggregatedShotMetricsQueryVariables ->; -export const CommentOnVideoDocument = gql` - mutation CommentOnVideo( - $videoId: Int! - $message: String! - $parentCommentId: Int - ) { - commentOnVideo( - videoId: $videoId - message: $message - parentCommentId: $parentCommentId - ) - } -`; -export type CommentOnVideoMutationFn = Apollo.MutationFunction< - CommentOnVideoMutation, - CommentOnVideoMutationVariables ->; - -/** - * __useCommentOnVideoMutation__ - * - * To run a mutation, you first call `useCommentOnVideoMutation` within a React component and pass it any options that fit your needs. - * When your component renders, `useCommentOnVideoMutation` 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 [commentOnVideoMutation, { data, loading, error }] = useCommentOnVideoMutation({ - * variables: { - * videoId: // value for 'videoId' - * message: // value for 'message' - * parentCommentId: // value for 'parentCommentId' - * }, - * }); - */ -export function useCommentOnVideoMutation( - baseOptions?: Apollo.MutationHookOptions< - CommentOnVideoMutation, - CommentOnVideoMutationVariables - >, -) { - const options = { ...defaultOptions, ...baseOptions }; - return Apollo.useMutation< - CommentOnVideoMutation, - CommentOnVideoMutationVariables - >(CommentOnVideoDocument, options); -} -export type CommentOnVideoMutationHookResult = ReturnType< - typeof useCommentOnVideoMutation ->; -export type CommentOnVideoMutationResult = - Apollo.MutationResult; -export type CommentOnVideoMutationOptions = Apollo.BaseMutationOptions< - CommentOnVideoMutation, - CommentOnVideoMutationVariables ->; -export const EditCommentDocument = gql` - mutation EditComment($videoId: Int!, $commentId: Int!, $newMessage: String!) { - editComment( - videoId: $videoId - commentId: $commentId - newMessage: $newMessage - ) - } -`; -export type EditCommentMutationFn = Apollo.MutationFunction< - EditCommentMutation, - EditCommentMutationVariables ->; - -/** - * __useEditCommentMutation__ - * - * To run a mutation, you first call `useEditCommentMutation` within a React component and pass it any options that fit your needs. - * When your component renders, `useEditCommentMutation` 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 [editCommentMutation, { data, loading, error }] = useEditCommentMutation({ - * variables: { - * videoId: // value for 'videoId' - * commentId: // value for 'commentId' - * newMessage: // value for 'newMessage' - * }, - * }); - */ -export function useEditCommentMutation( - baseOptions?: Apollo.MutationHookOptions< - EditCommentMutation, - EditCommentMutationVariables - >, -) { - const options = { ...defaultOptions, ...baseOptions }; - return Apollo.useMutation( - EditCommentDocument, - options, - ); -} -export type EditCommentMutationHookResult = ReturnType< - typeof useEditCommentMutation ->; -export type EditCommentMutationResult = - Apollo.MutationResult; -export type EditCommentMutationOptions = Apollo.BaseMutationOptions< - EditCommentMutation, - EditCommentMutationVariables ->; -export const DeleteCommentDocument = gql` - mutation DeleteComment($videoId: Int!, $commentId: Int!) { - deleteComment(videoId: $videoId, commentId: $commentId) - } -`; -export type DeleteCommentMutationFn = Apollo.MutationFunction< - DeleteCommentMutation, - DeleteCommentMutationVariables ->; - -/** - * __useDeleteCommentMutation__ - * - * To run a mutation, you first call `useDeleteCommentMutation` within a React component and pass it any options that fit your needs. - * When your component renders, `useDeleteCommentMutation` 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 [deleteCommentMutation, { data, loading, error }] = useDeleteCommentMutation({ - * variables: { - * videoId: // value for 'videoId' - * commentId: // value for 'commentId' - * }, - * }); - */ -export function useDeleteCommentMutation( - baseOptions?: Apollo.MutationHookOptions< - DeleteCommentMutation, - DeleteCommentMutationVariables - >, -) { - const options = { ...defaultOptions, ...baseOptions }; - return Apollo.useMutation< - DeleteCommentMutation, - DeleteCommentMutationVariables - >(DeleteCommentDocument, options); -} -export type DeleteCommentMutationHookResult = ReturnType< - typeof useDeleteCommentMutation ->; -export type DeleteCommentMutationResult = - Apollo.MutationResult; -export type DeleteCommentMutationOptions = Apollo.BaseMutationOptions< - DeleteCommentMutation, - DeleteCommentMutationVariables ->; -export const GetDeployedConfigDocument = gql` - query getDeployedConfig { - getDeployedConfig { - allowNewUsers - devMode - environment - firebase - minimumAllowedAppVersion - subscriptionGatingEnabled - bannerMessages { - color - dismissible - id - kind - message - priority - } - } - } -`; - -/** - * __useGetDeployedConfigQuery__ - * - * To run a query within a React component, call `useGetDeployedConfigQuery` and pass it any options that fit your needs. - * When your component renders, `useGetDeployedConfigQuery` 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 } = useGetDeployedConfigQuery({ - * variables: { - * }, - * }); - */ -export function useGetDeployedConfigQuery( - baseOptions?: Apollo.QueryHookOptions< - GetDeployedConfigQuery, - GetDeployedConfigQueryVariables - >, -) { - const options = { ...defaultOptions, ...baseOptions }; - return Apollo.useQuery< - GetDeployedConfigQuery, - GetDeployedConfigQueryVariables - >(GetDeployedConfigDocument, options); -} -export function useGetDeployedConfigLazyQuery( - baseOptions?: Apollo.LazyQueryHookOptions< - GetDeployedConfigQuery, - GetDeployedConfigQueryVariables - >, -) { - const options = { ...defaultOptions, ...baseOptions }; - return Apollo.useLazyQuery< - GetDeployedConfigQuery, - GetDeployedConfigQueryVariables - >(GetDeployedConfigDocument, options); -} -export function useGetDeployedConfigSuspenseQuery( - baseOptions?: Apollo.SuspenseQueryHookOptions< - GetDeployedConfigQuery, - GetDeployedConfigQueryVariables - >, -) { - const options = { ...defaultOptions, ...baseOptions }; - return Apollo.useSuspenseQuery< - GetDeployedConfigQuery, - GetDeployedConfigQueryVariables - >(GetDeployedConfigDocument, options); -} -export type GetDeployedConfigQueryHookResult = ReturnType< - typeof useGetDeployedConfigQuery ->; -export type GetDeployedConfigLazyQueryHookResult = ReturnType< - typeof useGetDeployedConfigLazyQuery ->; -export type GetDeployedConfigSuspenseQueryHookResult = ReturnType< - typeof useGetDeployedConfigSuspenseQuery ->; -export type GetDeployedConfigQueryResult = Apollo.QueryResult< - GetDeployedConfigQuery, - GetDeployedConfigQueryVariables ->; -export const BlockContentDocument = gql` - mutation blockContent($videoId: Int!) { - blockContent(videoId: $videoId) - } -`; -export type BlockContentMutationFn = Apollo.MutationFunction< - BlockContentMutation, - BlockContentMutationVariables ->; - -/** - * __useBlockContentMutation__ - * - * To run a mutation, you first call `useBlockContentMutation` within a React component and pass it any options that fit your needs. - * When your component renders, `useBlockContentMutation` 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 [blockContentMutation, { data, loading, error }] = useBlockContentMutation({ - * variables: { - * videoId: // value for 'videoId' - * }, - * }); - */ -export function useBlockContentMutation( - baseOptions?: Apollo.MutationHookOptions< - BlockContentMutation, - BlockContentMutationVariables - >, -) { - const options = { ...defaultOptions, ...baseOptions }; - return Apollo.useMutation< - BlockContentMutation, - BlockContentMutationVariables - >(BlockContentDocument, options); -} -export type BlockContentMutationHookResult = ReturnType< - typeof useBlockContentMutation ->; -export type BlockContentMutationResult = - Apollo.MutationResult; -export type BlockContentMutationOptions = Apollo.BaseMutationOptions< - BlockContentMutation, - BlockContentMutationVariables ->; -export const BlockUserDocument = gql` - mutation blockUser($userId: Int!) { - blockUser(userId: $userId) - } -`; -export type BlockUserMutationFn = Apollo.MutationFunction< - BlockUserMutation, - BlockUserMutationVariables ->; - -/** - * __useBlockUserMutation__ - * - * To run a mutation, you first call `useBlockUserMutation` within a React component and pass it any options that fit your needs. - * When your component renders, `useBlockUserMutation` 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 [blockUserMutation, { data, loading, error }] = useBlockUserMutation({ - * variables: { - * userId: // value for 'userId' - * }, - * }); - */ -export function useBlockUserMutation( - baseOptions?: Apollo.MutationHookOptions< - BlockUserMutation, - BlockUserMutationVariables - >, -) { - const options = { ...defaultOptions, ...baseOptions }; - return Apollo.useMutation( - BlockUserDocument, - options, - ); -} -export type BlockUserMutationHookResult = ReturnType< - typeof useBlockUserMutation ->; -export type BlockUserMutationResult = Apollo.MutationResult; -export type BlockUserMutationOptions = Apollo.BaseMutationOptions< - BlockUserMutation, - BlockUserMutationVariables ->; -export const ReportContentDocument = gql` - mutation reportContent( - $videoId: Int! - $reason: ReportReasonEnum! - $customReason: String = null - ) { - reportContent( - videoId: $videoId - reason: $reason - customReason: $customReason - ) - } -`; -export type ReportContentMutationFn = Apollo.MutationFunction< - ReportContentMutation, - ReportContentMutationVariables ->; - -/** - * __useReportContentMutation__ - * - * To run a mutation, you first call `useReportContentMutation` within a React component and pass it any options that fit your needs. - * When your component renders, `useReportContentMutation` 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 [reportContentMutation, { data, loading, error }] = useReportContentMutation({ - * variables: { - * videoId: // value for 'videoId' - * reason: // value for 'reason' - * customReason: // value for 'customReason' - * }, - * }); - */ -export function useReportContentMutation( - baseOptions?: Apollo.MutationHookOptions< - ReportContentMutation, - ReportContentMutationVariables - >, -) { - const options = { ...defaultOptions, ...baseOptions }; - return Apollo.useMutation< - ReportContentMutation, - ReportContentMutationVariables - >(ReportContentDocument, options); -} -export type ReportContentMutationHookResult = ReturnType< - typeof useReportContentMutation ->; -export type ReportContentMutationResult = - Apollo.MutationResult; -export type ReportContentMutationOptions = Apollo.BaseMutationOptions< - ReportContentMutation, - ReportContentMutationVariables ->; -export const GetFeedDocument = gql` - query GetFeed( - $limit: Int! = 5 - $after: String = null - $filters: VideoFilterInput = null - ) { - getUserVideos(limit: $limit, after: $after, filters: $filters) { - videos { - ...VideoCardFields - } - pageInfo { - hasNextPage - endCursor - } - } - } - ${VideoCardFieldsFragmentDoc} -`; - -/** - * __useGetFeedQuery__ - * - * To run a query within a React component, call `useGetFeedQuery` and pass it any options that fit your needs. - * When your component renders, `useGetFeedQuery` 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 } = useGetFeedQuery({ - * variables: { - * limit: // value for 'limit' - * after: // value for 'after' - * filters: // value for 'filters' - * }, - * }); - */ -export function useGetFeedQuery( - baseOptions?: Apollo.QueryHookOptions, -) { - const options = { ...defaultOptions, ...baseOptions }; - return Apollo.useQuery( - GetFeedDocument, - options, - ); -} -export function useGetFeedLazyQuery( - baseOptions?: Apollo.LazyQueryHookOptions< - GetFeedQuery, - GetFeedQueryVariables - >, -) { - const options = { ...defaultOptions, ...baseOptions }; - return Apollo.useLazyQuery( - GetFeedDocument, - options, - ); -} -export function useGetFeedSuspenseQuery( - baseOptions?: Apollo.SuspenseQueryHookOptions< - GetFeedQuery, - GetFeedQueryVariables - >, -) { - const options = { ...defaultOptions, ...baseOptions }; - return Apollo.useSuspenseQuery( - GetFeedDocument, - options, - ); -} -export type GetFeedQueryHookResult = ReturnType; -export type GetFeedLazyQueryHookResult = ReturnType; -export type GetFeedSuspenseQueryHookResult = ReturnType< - typeof useGetFeedSuspenseQuery ->; -export type GetFeedQueryResult = Apollo.QueryResult< - GetFeedQuery, - GetFeedQueryVariables ->; -export const GetVideoFeedDocument = gql` - query GetVideoFeed( - $limit: Int! = 5 - $after: String = null - $filters: VideoFilterInput = null - $includeCallersVideos: Boolean = null - $includePrivate: IncludePrivateEnum = MINE - $feedInput: VideoFeedInputGQL = null - ) { - getFeedVideos( - limit: $limit - after: $after - filters: $filters - includeCallersVideos: $includeCallersVideos - includePrivate: $includePrivate - feedInput: $feedInput - ) { - videos { - ...VideoCardFields - } - pageInfo { - hasNextPage - endCursor - } - hasFollowing - } - } - ${VideoCardFieldsFragmentDoc} -`; - -/** - * __useGetVideoFeedQuery__ - * - * To run a query within a React component, call `useGetVideoFeedQuery` and pass it any options that fit your needs. - * When your component renders, `useGetVideoFeedQuery` 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 } = useGetVideoFeedQuery({ - * variables: { - * limit: // value for 'limit' - * after: // value for 'after' - * filters: // value for 'filters' - * includeCallersVideos: // value for 'includeCallersVideos' - * includePrivate: // value for 'includePrivate' - * feedInput: // value for 'feedInput' - * }, - * }); - */ -export function useGetVideoFeedQuery( - baseOptions?: Apollo.QueryHookOptions< - GetVideoFeedQuery, - GetVideoFeedQueryVariables - >, -) { - const options = { ...defaultOptions, ...baseOptions }; - return Apollo.useQuery( - GetVideoFeedDocument, - options, - ); -} -export function useGetVideoFeedLazyQuery( - baseOptions?: Apollo.LazyQueryHookOptions< - GetVideoFeedQuery, - GetVideoFeedQueryVariables - >, -) { - const options = { ...defaultOptions, ...baseOptions }; - return Apollo.useLazyQuery( - GetVideoFeedDocument, - options, - ); -} -export function useGetVideoFeedSuspenseQuery( - baseOptions?: Apollo.SuspenseQueryHookOptions< - GetVideoFeedQuery, - GetVideoFeedQueryVariables - >, -) { - const options = { ...defaultOptions, ...baseOptions }; - return Apollo.useSuspenseQuery( - GetVideoFeedDocument, - options, - ); -} -export type GetVideoFeedQueryHookResult = ReturnType< - typeof useGetVideoFeedQuery ->; -export type GetVideoFeedLazyQueryHookResult = ReturnType< - typeof useGetVideoFeedLazyQuery ->; -export type GetVideoFeedSuspenseQueryHookResult = ReturnType< - typeof useGetVideoFeedSuspenseQuery ->; -export type GetVideoFeedQueryResult = Apollo.QueryResult< - GetVideoFeedQuery, - GetVideoFeedQueryVariables ->; -export const GetMakesLeaderboardDocument = gql` - query GetMakesLeaderboard($interval: TimeInterval, $when: DateTime) { - getMakesLeaderboard(interval: $interval, when: $when) { - entries { - user { - id - username - profileImageUri - } - value - proportionMade - total - } - } - } -`; - -/** - * __useGetMakesLeaderboardQuery__ - * - * To run a query within a React component, call `useGetMakesLeaderboardQuery` and pass it any options that fit your needs. - * When your component renders, `useGetMakesLeaderboardQuery` 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 } = useGetMakesLeaderboardQuery({ - * variables: { - * interval: // value for 'interval' - * when: // value for 'when' - * }, - * }); - */ -export function useGetMakesLeaderboardQuery( - baseOptions?: Apollo.QueryHookOptions< - GetMakesLeaderboardQuery, - GetMakesLeaderboardQueryVariables - >, -) { - const options = { ...defaultOptions, ...baseOptions }; - return Apollo.useQuery< - GetMakesLeaderboardQuery, - GetMakesLeaderboardQueryVariables - >(GetMakesLeaderboardDocument, options); -} -export function useGetMakesLeaderboardLazyQuery( - baseOptions?: Apollo.LazyQueryHookOptions< - GetMakesLeaderboardQuery, - GetMakesLeaderboardQueryVariables - >, -) { - const options = { ...defaultOptions, ...baseOptions }; - return Apollo.useLazyQuery< - GetMakesLeaderboardQuery, - GetMakesLeaderboardQueryVariables - >(GetMakesLeaderboardDocument, options); -} -export function useGetMakesLeaderboardSuspenseQuery( - baseOptions?: Apollo.SuspenseQueryHookOptions< - GetMakesLeaderboardQuery, - GetMakesLeaderboardQueryVariables - >, -) { - const options = { ...defaultOptions, ...baseOptions }; - return Apollo.useSuspenseQuery< - GetMakesLeaderboardQuery, - GetMakesLeaderboardQueryVariables - >(GetMakesLeaderboardDocument, options); -} -export type GetMakesLeaderboardQueryHookResult = ReturnType< - typeof useGetMakesLeaderboardQuery ->; -export type GetMakesLeaderboardLazyQueryHookResult = ReturnType< - typeof useGetMakesLeaderboardLazyQuery ->; -export type GetMakesLeaderboardSuspenseQueryHookResult = ReturnType< - typeof useGetMakesLeaderboardSuspenseQuery ->; -export type GetMakesLeaderboardQueryResult = Apollo.QueryResult< - GetMakesLeaderboardQuery, - GetMakesLeaderboardQueryVariables ->; -export const GetRunsLeaderboardDocument = gql` - query GetRunsLeaderboard($interval: TimeInterval, $when: DateTime) { - getLongestRunsLeaderboard(interval: $interval, when: $when) { - entries { - id - runLength - video { - name - createdAt - } - user { - id - username - profileImageUri - } - } - } - } -`; - -/** - * __useGetRunsLeaderboardQuery__ - * - * To run a query within a React component, call `useGetRunsLeaderboardQuery` and pass it any options that fit your needs. - * When your component renders, `useGetRunsLeaderboardQuery` 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 } = useGetRunsLeaderboardQuery({ - * variables: { - * interval: // value for 'interval' - * when: // value for 'when' - * }, - * }); - */ -export function useGetRunsLeaderboardQuery( - baseOptions?: Apollo.QueryHookOptions< - GetRunsLeaderboardQuery, - GetRunsLeaderboardQueryVariables - >, -) { - const options = { ...defaultOptions, ...baseOptions }; - return Apollo.useQuery< - GetRunsLeaderboardQuery, - GetRunsLeaderboardQueryVariables - >(GetRunsLeaderboardDocument, options); -} -export function useGetRunsLeaderboardLazyQuery( - baseOptions?: Apollo.LazyQueryHookOptions< - GetRunsLeaderboardQuery, - GetRunsLeaderboardQueryVariables - >, -) { - const options = { ...defaultOptions, ...baseOptions }; - return Apollo.useLazyQuery< - GetRunsLeaderboardQuery, - GetRunsLeaderboardQueryVariables - >(GetRunsLeaderboardDocument, options); -} -export function useGetRunsLeaderboardSuspenseQuery( - baseOptions?: Apollo.SuspenseQueryHookOptions< - GetRunsLeaderboardQuery, - GetRunsLeaderboardQueryVariables - >, -) { - const options = { ...defaultOptions, ...baseOptions }; - return Apollo.useSuspenseQuery< - GetRunsLeaderboardQuery, - GetRunsLeaderboardQueryVariables - >(GetRunsLeaderboardDocument, options); -} -export type GetRunsLeaderboardQueryHookResult = ReturnType< - typeof useGetRunsLeaderboardQuery ->; -export type GetRunsLeaderboardLazyQueryHookResult = ReturnType< - typeof useGetRunsLeaderboardLazyQuery ->; -export type GetRunsLeaderboardSuspenseQueryHookResult = ReturnType< - typeof useGetRunsLeaderboardSuspenseQuery ->; -export type GetRunsLeaderboardQueryResult = Apollo.QueryResult< - GetRunsLeaderboardQuery, - GetRunsLeaderboardQueryVariables ->; -export const GetVideoMakePercentageIntervalsDocument = gql` - query GetVideoMakePercentageIntervals( - $videoId: ID! - $intervalDuration: Int! - ) { - getVideoMakePercentageIntervals( - videoId: $videoId - intervalDuration: $intervalDuration - ) { - makePercentage - elapsedTime - } - } -`; - -/** - * __useGetVideoMakePercentageIntervalsQuery__ - * - * To run a query within a React component, call `useGetVideoMakePercentageIntervalsQuery` and pass it any options that fit your needs. - * When your component renders, `useGetVideoMakePercentageIntervalsQuery` 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 } = useGetVideoMakePercentageIntervalsQuery({ - * variables: { - * videoId: // value for 'videoId' - * intervalDuration: // value for 'intervalDuration' - * }, - * }); - */ -export function useGetVideoMakePercentageIntervalsQuery( - baseOptions: Apollo.QueryHookOptions< - GetVideoMakePercentageIntervalsQuery, - GetVideoMakePercentageIntervalsQueryVariables - >, -) { - const options = { ...defaultOptions, ...baseOptions }; - return Apollo.useQuery< - GetVideoMakePercentageIntervalsQuery, - GetVideoMakePercentageIntervalsQueryVariables - >(GetVideoMakePercentageIntervalsDocument, options); -} -export function useGetVideoMakePercentageIntervalsLazyQuery( - baseOptions?: Apollo.LazyQueryHookOptions< - GetVideoMakePercentageIntervalsQuery, - GetVideoMakePercentageIntervalsQueryVariables - >, -) { - const options = { ...defaultOptions, ...baseOptions }; - return Apollo.useLazyQuery< - GetVideoMakePercentageIntervalsQuery, - GetVideoMakePercentageIntervalsQueryVariables - >(GetVideoMakePercentageIntervalsDocument, options); -} -export function useGetVideoMakePercentageIntervalsSuspenseQuery( - baseOptions?: Apollo.SuspenseQueryHookOptions< - GetVideoMakePercentageIntervalsQuery, - GetVideoMakePercentageIntervalsQueryVariables - >, -) { - const options = { ...defaultOptions, ...baseOptions }; - return Apollo.useSuspenseQuery< - GetVideoMakePercentageIntervalsQuery, - GetVideoMakePercentageIntervalsQueryVariables - >(GetVideoMakePercentageIntervalsDocument, options); -} -export type GetVideoMakePercentageIntervalsQueryHookResult = ReturnType< - typeof useGetVideoMakePercentageIntervalsQuery ->; -export type GetVideoMakePercentageIntervalsLazyQueryHookResult = ReturnType< - typeof useGetVideoMakePercentageIntervalsLazyQuery ->; -export type GetVideoMakePercentageIntervalsSuspenseQueryHookResult = ReturnType< - typeof useGetVideoMakePercentageIntervalsSuspenseQuery ->; -export type GetVideoMakePercentageIntervalsQueryResult = Apollo.QueryResult< - GetVideoMakePercentageIntervalsQuery, - GetVideoMakePercentageIntervalsQueryVariables ->; -export const GetMedalsDocument = gql` - query getMedals($scope: MedalScope!, $userId: Int) { - getMedals(scope: $scope, userId: $userId) { - distanceOver78 { - ...MedalFields - } - distanceOver90 { - ...MedalFields - } - runLength3 { - ...MedalFields - } - runLength5 { - ...MedalFields - } - runLength8 { - ...MedalFields - } - runLength10 { - ...MedalFields - } - runLength15 { - ...MedalFields - } - runLength20 { - ...MedalFields - } - runLength25 { - ...MedalFields - } - runLength30 { - ...MedalFields - } - runLength40 { - ...MedalFields - } - runLength50 { - ...MedalFields - } - totalMakes100 { - ...MedalFields - } - totalMakes500 { - ...MedalFields - } - totalMakes1000 { - ...MedalFields - } - totalMakes5000 { - ...MedalFields - } - totalMakes10000 { - ...MedalFields - } - dailyMakes50 { - ...MedalFields - } - dailyMakes100 { - ...MedalFields - } - dailyMakes150 { - ...MedalFields - } - dailyMakes200 { - ...MedalFields - } - dailyMakes250 { - ...MedalFields - } - } - } - ${MedalFieldsFragmentDoc} -`; - -/** - * __useGetMedalsQuery__ - * - * To run a query within a React component, call `useGetMedalsQuery` and pass it any options that fit your needs. - * When your component renders, `useGetMedalsQuery` 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 } = useGetMedalsQuery({ - * variables: { - * scope: // value for 'scope' - * userId: // value for 'userId' - * }, - * }); - */ -export function useGetMedalsQuery( - baseOptions: Apollo.QueryHookOptions, -) { - const options = { ...defaultOptions, ...baseOptions }; - return Apollo.useQuery( - GetMedalsDocument, - options, - ); -} -export function useGetMedalsLazyQuery( - baseOptions?: Apollo.LazyQueryHookOptions< - GetMedalsQuery, - GetMedalsQueryVariables - >, -) { - const options = { ...defaultOptions, ...baseOptions }; - return Apollo.useLazyQuery( - GetMedalsDocument, - options, - ); -} -export function useGetMedalsSuspenseQuery( - baseOptions?: Apollo.SuspenseQueryHookOptions< - GetMedalsQuery, - GetMedalsQueryVariables - >, -) { - const options = { ...defaultOptions, ...baseOptions }; - return Apollo.useSuspenseQuery( - GetMedalsDocument, - options, - ); -} -export type GetMedalsQueryHookResult = ReturnType; -export type GetMedalsLazyQueryHookResult = ReturnType< - typeof useGetMedalsLazyQuery ->; -export type GetMedalsSuspenseQueryHookResult = ReturnType< - typeof useGetMedalsSuspenseQuery ->; -export type GetMedalsQueryResult = Apollo.QueryResult< - GetMedalsQuery, - GetMedalsQueryVariables ->; -export const GetNotificationsDocument = gql` - query GetNotifications( - $limit: Int! = 20 - $offset: Int! = 0 - $filters: NotificationFilters = null - ) { - notifications(limit: $limit, offset: $offset, filters: $filters) { - notifications { - ...Notification - } - totalCount - unreadCount - hasMore - } - } - ${NotificationFragmentDoc} -`; - -/** - * __useGetNotificationsQuery__ - * - * To run a query within a React component, call `useGetNotificationsQuery` and pass it any options that fit your needs. - * When your component renders, `useGetNotificationsQuery` 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 } = useGetNotificationsQuery({ - * variables: { - * limit: // value for 'limit' - * offset: // value for 'offset' - * filters: // value for 'filters' - * }, - * }); - */ -export function useGetNotificationsQuery( - baseOptions?: Apollo.QueryHookOptions< - GetNotificationsQuery, - GetNotificationsQueryVariables - >, -) { - const options = { ...defaultOptions, ...baseOptions }; - return Apollo.useQuery( - GetNotificationsDocument, - options, - ); -} -export function useGetNotificationsLazyQuery( - baseOptions?: Apollo.LazyQueryHookOptions< - GetNotificationsQuery, - GetNotificationsQueryVariables - >, -) { - const options = { ...defaultOptions, ...baseOptions }; - return Apollo.useLazyQuery< - GetNotificationsQuery, - GetNotificationsQueryVariables - >(GetNotificationsDocument, options); -} -export function useGetNotificationsSuspenseQuery( - baseOptions?: Apollo.SuspenseQueryHookOptions< - GetNotificationsQuery, - GetNotificationsQueryVariables - >, -) { - const options = { ...defaultOptions, ...baseOptions }; - return Apollo.useSuspenseQuery< - GetNotificationsQuery, - GetNotificationsQueryVariables - >(GetNotificationsDocument, options); -} -export type GetNotificationsQueryHookResult = ReturnType< - typeof useGetNotificationsQuery ->; -export type GetNotificationsLazyQueryHookResult = ReturnType< - typeof useGetNotificationsLazyQuery ->; -export type GetNotificationsSuspenseQueryHookResult = ReturnType< - typeof useGetNotificationsSuspenseQuery ->; -export type GetNotificationsQueryResult = Apollo.QueryResult< - GetNotificationsQuery, - GetNotificationsQueryVariables ->; -export const GetUnreadNotificationCountDocument = gql` - query GetUnreadNotificationCount { - unreadNotificationCount - } -`; - -/** - * __useGetUnreadNotificationCountQuery__ - * - * To run a query within a React component, call `useGetUnreadNotificationCountQuery` and pass it any options that fit your needs. - * When your component renders, `useGetUnreadNotificationCountQuery` 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 } = useGetUnreadNotificationCountQuery({ - * variables: { - * }, - * }); - */ -export function useGetUnreadNotificationCountQuery( - baseOptions?: Apollo.QueryHookOptions< - GetUnreadNotificationCountQuery, - GetUnreadNotificationCountQueryVariables - >, -) { - const options = { ...defaultOptions, ...baseOptions }; - return Apollo.useQuery< - GetUnreadNotificationCountQuery, - GetUnreadNotificationCountQueryVariables - >(GetUnreadNotificationCountDocument, options); -} -export function useGetUnreadNotificationCountLazyQuery( - baseOptions?: Apollo.LazyQueryHookOptions< - GetUnreadNotificationCountQuery, - GetUnreadNotificationCountQueryVariables - >, -) { - const options = { ...defaultOptions, ...baseOptions }; - return Apollo.useLazyQuery< - GetUnreadNotificationCountQuery, - GetUnreadNotificationCountQueryVariables - >(GetUnreadNotificationCountDocument, options); -} -export function useGetUnreadNotificationCountSuspenseQuery( - baseOptions?: Apollo.SuspenseQueryHookOptions< - GetUnreadNotificationCountQuery, - GetUnreadNotificationCountQueryVariables - >, -) { - const options = { ...defaultOptions, ...baseOptions }; - return Apollo.useSuspenseQuery< - GetUnreadNotificationCountQuery, - GetUnreadNotificationCountQueryVariables - >(GetUnreadNotificationCountDocument, options); -} -export type GetUnreadNotificationCountQueryHookResult = ReturnType< - typeof useGetUnreadNotificationCountQuery ->; -export type GetUnreadNotificationCountLazyQueryHookResult = ReturnType< - typeof useGetUnreadNotificationCountLazyQuery ->; -export type GetUnreadNotificationCountSuspenseQueryHookResult = ReturnType< - typeof useGetUnreadNotificationCountSuspenseQuery ->; -export type GetUnreadNotificationCountQueryResult = Apollo.QueryResult< - GetUnreadNotificationCountQuery, - GetUnreadNotificationCountQueryVariables ->; -export const MarkNotificationAsReadDocument = gql` - mutation MarkNotificationAsRead($notificationId: Int!) { - markNotificationAsRead(notificationId: $notificationId) - } -`; -export type MarkNotificationAsReadMutationFn = Apollo.MutationFunction< - MarkNotificationAsReadMutation, - MarkNotificationAsReadMutationVariables ->; - -/** - * __useMarkNotificationAsReadMutation__ - * - * To run a mutation, you first call `useMarkNotificationAsReadMutation` within a React component and pass it any options that fit your needs. - * When your component renders, `useMarkNotificationAsReadMutation` 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 [markNotificationAsReadMutation, { data, loading, error }] = useMarkNotificationAsReadMutation({ - * variables: { - * notificationId: // value for 'notificationId' - * }, - * }); - */ -export function useMarkNotificationAsReadMutation( - baseOptions?: Apollo.MutationHookOptions< - MarkNotificationAsReadMutation, - MarkNotificationAsReadMutationVariables - >, -) { - const options = { ...defaultOptions, ...baseOptions }; - return Apollo.useMutation< - MarkNotificationAsReadMutation, - MarkNotificationAsReadMutationVariables - >(MarkNotificationAsReadDocument, options); -} -export type MarkNotificationAsReadMutationHookResult = ReturnType< - typeof useMarkNotificationAsReadMutation ->; -export type MarkNotificationAsReadMutationResult = - Apollo.MutationResult; -export type MarkNotificationAsReadMutationOptions = Apollo.BaseMutationOptions< - MarkNotificationAsReadMutation, - MarkNotificationAsReadMutationVariables ->; -export const MarkNotificationsAsReadDocument = gql` - mutation MarkNotificationsAsRead($notificationIds: [Int!]!) { - markNotificationsAsRead(notificationIds: $notificationIds) - } -`; -export type MarkNotificationsAsReadMutationFn = Apollo.MutationFunction< - MarkNotificationsAsReadMutation, - MarkNotificationsAsReadMutationVariables ->; - -/** - * __useMarkNotificationsAsReadMutation__ - * - * To run a mutation, you first call `useMarkNotificationsAsReadMutation` within a React component and pass it any options that fit your needs. - * When your component renders, `useMarkNotificationsAsReadMutation` 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 [markNotificationsAsReadMutation, { data, loading, error }] = useMarkNotificationsAsReadMutation({ - * variables: { - * notificationIds: // value for 'notificationIds' - * }, - * }); - */ -export function useMarkNotificationsAsReadMutation( - baseOptions?: Apollo.MutationHookOptions< - MarkNotificationsAsReadMutation, - MarkNotificationsAsReadMutationVariables - >, -) { - const options = { ...defaultOptions, ...baseOptions }; - return Apollo.useMutation< - MarkNotificationsAsReadMutation, - MarkNotificationsAsReadMutationVariables - >(MarkNotificationsAsReadDocument, options); -} -export type MarkNotificationsAsReadMutationHookResult = ReturnType< - typeof useMarkNotificationsAsReadMutation ->; -export type MarkNotificationsAsReadMutationResult = - Apollo.MutationResult; -export type MarkNotificationsAsReadMutationOptions = Apollo.BaseMutationOptions< - MarkNotificationsAsReadMutation, - MarkNotificationsAsReadMutationVariables ->; -export const MarkAllNotificationsAsReadDocument = gql` - mutation MarkAllNotificationsAsRead { - markAllNotificationsAsRead - } -`; -export type MarkAllNotificationsAsReadMutationFn = Apollo.MutationFunction< - MarkAllNotificationsAsReadMutation, - MarkAllNotificationsAsReadMutationVariables ->; - -/** - * __useMarkAllNotificationsAsReadMutation__ - * - * To run a mutation, you first call `useMarkAllNotificationsAsReadMutation` within a React component and pass it any options that fit your needs. - * When your component renders, `useMarkAllNotificationsAsReadMutation` 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 [markAllNotificationsAsReadMutation, { data, loading, error }] = useMarkAllNotificationsAsReadMutation({ - * variables: { - * }, - * }); - */ -export function useMarkAllNotificationsAsReadMutation( - baseOptions?: Apollo.MutationHookOptions< - MarkAllNotificationsAsReadMutation, - MarkAllNotificationsAsReadMutationVariables - >, -) { - const options = { ...defaultOptions, ...baseOptions }; - return Apollo.useMutation< - MarkAllNotificationsAsReadMutation, - MarkAllNotificationsAsReadMutationVariables - >(MarkAllNotificationsAsReadDocument, options); -} -export type MarkAllNotificationsAsReadMutationHookResult = ReturnType< - typeof useMarkAllNotificationsAsReadMutation ->; -export type MarkAllNotificationsAsReadMutationResult = - Apollo.MutationResult; -export type MarkAllNotificationsAsReadMutationOptions = - Apollo.BaseMutationOptions< - MarkAllNotificationsAsReadMutation, - MarkAllNotificationsAsReadMutationVariables - >; -export const DeleteNotificationDocument = gql` - mutation DeleteNotification($notificationId: Int!) { - deleteNotification(notificationId: $notificationId) - } -`; -export type DeleteNotificationMutationFn = Apollo.MutationFunction< - DeleteNotificationMutation, - DeleteNotificationMutationVariables ->; - -/** - * __useDeleteNotificationMutation__ - * - * To run a mutation, you first call `useDeleteNotificationMutation` within a React component and pass it any options that fit your needs. - * When your component renders, `useDeleteNotificationMutation` 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 [deleteNotificationMutation, { data, loading, error }] = useDeleteNotificationMutation({ - * variables: { - * notificationId: // value for 'notificationId' - * }, - * }); - */ -export function useDeleteNotificationMutation( - baseOptions?: Apollo.MutationHookOptions< - DeleteNotificationMutation, - DeleteNotificationMutationVariables - >, -) { - const options = { ...defaultOptions, ...baseOptions }; - return Apollo.useMutation< - DeleteNotificationMutation, - DeleteNotificationMutationVariables - >(DeleteNotificationDocument, options); -} -export type DeleteNotificationMutationHookResult = ReturnType< - typeof useDeleteNotificationMutation ->; -export type DeleteNotificationMutationResult = - Apollo.MutationResult; -export type DeleteNotificationMutationOptions = Apollo.BaseMutationOptions< - DeleteNotificationMutation, - DeleteNotificationMutationVariables ->; -export const EnsureStripeCustomerExistsDocument = gql` - mutation EnsureStripeCustomerExists { - ensureStripeCustomerExists { - id - firebaseUid - username - stripeCustomerId - profileImageUri - isAdmin - fargoRating - videosPrivateByDefault - createdAt - updatedAt - } - } -`; -export type EnsureStripeCustomerExistsMutationFn = Apollo.MutationFunction< - EnsureStripeCustomerExistsMutation, - EnsureStripeCustomerExistsMutationVariables ->; - -/** - * __useEnsureStripeCustomerExistsMutation__ - * - * To run a mutation, you first call `useEnsureStripeCustomerExistsMutation` within a React component and pass it any options that fit your needs. - * When your component renders, `useEnsureStripeCustomerExistsMutation` 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 [ensureStripeCustomerExistsMutation, { data, loading, error }] = useEnsureStripeCustomerExistsMutation({ - * variables: { - * }, - * }); - */ -export function useEnsureStripeCustomerExistsMutation( - baseOptions?: Apollo.MutationHookOptions< - EnsureStripeCustomerExistsMutation, - EnsureStripeCustomerExistsMutationVariables - >, -) { - const options = { ...defaultOptions, ...baseOptions }; - return Apollo.useMutation< - EnsureStripeCustomerExistsMutation, - EnsureStripeCustomerExistsMutationVariables - >(EnsureStripeCustomerExistsDocument, options); -} -export type EnsureStripeCustomerExistsMutationHookResult = ReturnType< - typeof useEnsureStripeCustomerExistsMutation ->; -export type EnsureStripeCustomerExistsMutationResult = - Apollo.MutationResult; -export type EnsureStripeCustomerExistsMutationOptions = - Apollo.BaseMutationOptions< - EnsureStripeCustomerExistsMutation, - EnsureStripeCustomerExistsMutationVariables - >; -export const CreateSubscriptionDocument = gql` - mutation CreateSubscription($priceId: String!) { - createSubscription(priceId: $priceId) { - checkoutUrl - sessionId - } - } -`; -export type CreateSubscriptionMutationFn = Apollo.MutationFunction< - CreateSubscriptionMutation, - CreateSubscriptionMutationVariables ->; - -/** - * __useCreateSubscriptionMutation__ - * - * To run a mutation, you first call `useCreateSubscriptionMutation` within a React component and pass it any options that fit your needs. - * When your component renders, `useCreateSubscriptionMutation` 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 [createSubscriptionMutation, { data, loading, error }] = useCreateSubscriptionMutation({ - * variables: { - * priceId: // value for 'priceId' - * }, - * }); - */ -export function useCreateSubscriptionMutation( - baseOptions?: Apollo.MutationHookOptions< - CreateSubscriptionMutation, - CreateSubscriptionMutationVariables - >, -) { - const options = { ...defaultOptions, ...baseOptions }; - return Apollo.useMutation< - CreateSubscriptionMutation, - CreateSubscriptionMutationVariables - >(CreateSubscriptionDocument, options); -} -export type CreateSubscriptionMutationHookResult = ReturnType< - typeof useCreateSubscriptionMutation ->; -export type CreateSubscriptionMutationResult = - Apollo.MutationResult; -export type CreateSubscriptionMutationOptions = Apollo.BaseMutationOptions< - CreateSubscriptionMutation, - CreateSubscriptionMutationVariables ->; -export const GetAvailableSubscriptionOptionsDocument = gql` - query GetAvailableSubscriptionOptions { - getAvailableSubscriptionOptions { - products { - id - name - description - active - prices { - id - currency - unitAmount - recurringInterval - recurringIntervalCount - type - active - } - } - } - } -`; - -/** - * __useGetAvailableSubscriptionOptionsQuery__ - * - * To run a query within a React component, call `useGetAvailableSubscriptionOptionsQuery` and pass it any options that fit your needs. - * When your component renders, `useGetAvailableSubscriptionOptionsQuery` 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 } = useGetAvailableSubscriptionOptionsQuery({ - * variables: { - * }, - * }); - */ -export function useGetAvailableSubscriptionOptionsQuery( - baseOptions?: Apollo.QueryHookOptions< - GetAvailableSubscriptionOptionsQuery, - GetAvailableSubscriptionOptionsQueryVariables - >, -) { - const options = { ...defaultOptions, ...baseOptions }; - return Apollo.useQuery< - GetAvailableSubscriptionOptionsQuery, - GetAvailableSubscriptionOptionsQueryVariables - >(GetAvailableSubscriptionOptionsDocument, options); -} -export function useGetAvailableSubscriptionOptionsLazyQuery( - baseOptions?: Apollo.LazyQueryHookOptions< - GetAvailableSubscriptionOptionsQuery, - GetAvailableSubscriptionOptionsQueryVariables - >, -) { - const options = { ...defaultOptions, ...baseOptions }; - return Apollo.useLazyQuery< - GetAvailableSubscriptionOptionsQuery, - GetAvailableSubscriptionOptionsQueryVariables - >(GetAvailableSubscriptionOptionsDocument, options); -} -export function useGetAvailableSubscriptionOptionsSuspenseQuery( - baseOptions?: Apollo.SuspenseQueryHookOptions< - GetAvailableSubscriptionOptionsQuery, - GetAvailableSubscriptionOptionsQueryVariables - >, -) { - const options = { ...defaultOptions, ...baseOptions }; - return Apollo.useSuspenseQuery< - GetAvailableSubscriptionOptionsQuery, - GetAvailableSubscriptionOptionsQueryVariables - >(GetAvailableSubscriptionOptionsDocument, options); -} -export type GetAvailableSubscriptionOptionsQueryHookResult = ReturnType< - typeof useGetAvailableSubscriptionOptionsQuery ->; -export type GetAvailableSubscriptionOptionsLazyQueryHookResult = ReturnType< - typeof useGetAvailableSubscriptionOptionsLazyQuery ->; -export type GetAvailableSubscriptionOptionsSuspenseQueryHookResult = ReturnType< - typeof useGetAvailableSubscriptionOptionsSuspenseQuery ->; -export type GetAvailableSubscriptionOptionsQueryResult = Apollo.QueryResult< - GetAvailableSubscriptionOptionsQuery, - GetAvailableSubscriptionOptionsQueryVariables ->; -export const GetSubscriptionStatusDocument = gql` - query GetSubscriptionStatus { - getUserSubscriptionStatus { - hasActiveSubscription - subscriptionStatus - currentPeriodStart - currentPeriodEnd - validUntil - stripePriceId - stripeSubscriptionId - } - } -`; - -/** - * __useGetSubscriptionStatusQuery__ - * - * To run a query within a React component, call `useGetSubscriptionStatusQuery` and pass it any options that fit your needs. - * When your component renders, `useGetSubscriptionStatusQuery` 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 } = useGetSubscriptionStatusQuery({ - * variables: { - * }, - * }); - */ -export function useGetSubscriptionStatusQuery( - baseOptions?: Apollo.QueryHookOptions< - GetSubscriptionStatusQuery, - GetSubscriptionStatusQueryVariables - >, -) { - const options = { ...defaultOptions, ...baseOptions }; - return Apollo.useQuery< - GetSubscriptionStatusQuery, - GetSubscriptionStatusQueryVariables - >(GetSubscriptionStatusDocument, options); -} -export function useGetSubscriptionStatusLazyQuery( - baseOptions?: Apollo.LazyQueryHookOptions< - GetSubscriptionStatusQuery, - GetSubscriptionStatusQueryVariables - >, -) { - const options = { ...defaultOptions, ...baseOptions }; - return Apollo.useLazyQuery< - GetSubscriptionStatusQuery, - GetSubscriptionStatusQueryVariables - >(GetSubscriptionStatusDocument, options); -} -export function useGetSubscriptionStatusSuspenseQuery( - baseOptions?: Apollo.SuspenseQueryHookOptions< - GetSubscriptionStatusQuery, - GetSubscriptionStatusQueryVariables - >, -) { - const options = { ...defaultOptions, ...baseOptions }; - return Apollo.useSuspenseQuery< - GetSubscriptionStatusQuery, - GetSubscriptionStatusQueryVariables - >(GetSubscriptionStatusDocument, options); -} -export type GetSubscriptionStatusQueryHookResult = ReturnType< - typeof useGetSubscriptionStatusQuery ->; -export type GetSubscriptionStatusLazyQueryHookResult = ReturnType< - typeof useGetSubscriptionStatusLazyQuery ->; -export type GetSubscriptionStatusSuspenseQueryHookResult = ReturnType< - typeof useGetSubscriptionStatusSuspenseQuery ->; -export type GetSubscriptionStatusQueryResult = Apollo.QueryResult< - GetSubscriptionStatusQuery, - GetSubscriptionStatusQueryVariables ->; -export const CancelSubscriptionDocument = gql` - mutation CancelSubscription { - cancelSubscription { - hasActiveSubscription - subscriptionStatus - currentPeriodStart - currentPeriodEnd - validUntil - stripePriceId - stripeSubscriptionId - } - } -`; -export type CancelSubscriptionMutationFn = Apollo.MutationFunction< - CancelSubscriptionMutation, - CancelSubscriptionMutationVariables ->; - -/** - * __useCancelSubscriptionMutation__ - * - * To run a mutation, you first call `useCancelSubscriptionMutation` within a React component and pass it any options that fit your needs. - * When your component renders, `useCancelSubscriptionMutation` 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 [cancelSubscriptionMutation, { data, loading, error }] = useCancelSubscriptionMutation({ - * variables: { - * }, - * }); - */ -export function useCancelSubscriptionMutation( - baseOptions?: Apollo.MutationHookOptions< - CancelSubscriptionMutation, - CancelSubscriptionMutationVariables - >, -) { - const options = { ...defaultOptions, ...baseOptions }; - return Apollo.useMutation< - CancelSubscriptionMutation, - CancelSubscriptionMutationVariables - >(CancelSubscriptionDocument, options); -} -export type CancelSubscriptionMutationHookResult = ReturnType< - typeof useCancelSubscriptionMutation ->; -export type CancelSubscriptionMutationResult = - Apollo.MutationResult; -export type CancelSubscriptionMutationOptions = Apollo.BaseMutationOptions< - CancelSubscriptionMutation, - CancelSubscriptionMutationVariables ->; -export const ReactToVideoDocument = gql` - mutation ReactToVideo($videoId: Int!, $reaction: ReactionEnum) { - reactToVideo(videoId: $videoId, reaction: $reaction) - } -`; -export type ReactToVideoMutationFn = Apollo.MutationFunction< - ReactToVideoMutation, - ReactToVideoMutationVariables ->; - -/** - * __useReactToVideoMutation__ - * - * To run a mutation, you first call `useReactToVideoMutation` within a React component and pass it any options that fit your needs. - * When your component renders, `useReactToVideoMutation` 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 [reactToVideoMutation, { data, loading, error }] = useReactToVideoMutation({ - * variables: { - * videoId: // value for 'videoId' - * reaction: // value for 'reaction' - * }, - * }); - */ -export function useReactToVideoMutation( - baseOptions?: Apollo.MutationHookOptions< - ReactToVideoMutation, - ReactToVideoMutationVariables - >, -) { - const options = { ...defaultOptions, ...baseOptions }; - return Apollo.useMutation< - ReactToVideoMutation, - ReactToVideoMutationVariables - >(ReactToVideoDocument, options); -} -export type ReactToVideoMutationHookResult = ReturnType< - typeof useReactToVideoMutation ->; -export type ReactToVideoMutationResult = - Apollo.MutationResult; -export type ReactToVideoMutationOptions = Apollo.BaseMutationOptions< - ReactToVideoMutation, - ReactToVideoMutationVariables ->; -export const GetRunsForHighlightsDocument = gql` - 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 { - id - runLength - userId - videoId - shots { - videoId - id - } - } - runIds - } - } -`; - -/** - * __useGetRunsForHighlightsQuery__ - * - * To run a query within a React component, call `useGetRunsForHighlightsQuery` and pass it any options that fit your needs. - * When your component renders, `useGetRunsForHighlightsQuery` 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 } = useGetRunsForHighlightsQuery({ - * variables: { - * filterInput: // value for 'filterInput' - * runIds: // value for 'runIds' - * runsOrdering: // value for 'runsOrdering' - * limit: // value for 'limit' - * countRespectsLimit: // value for 'countRespectsLimit' - * }, - * }); - */ -export function useGetRunsForHighlightsQuery( - baseOptions: Apollo.QueryHookOptions< - GetRunsForHighlightsQuery, - GetRunsForHighlightsQueryVariables - >, -) { - const options = { ...defaultOptions, ...baseOptions }; - return Apollo.useQuery< - GetRunsForHighlightsQuery, - GetRunsForHighlightsQueryVariables - >(GetRunsForHighlightsDocument, options); -} -export function useGetRunsForHighlightsLazyQuery( - baseOptions?: Apollo.LazyQueryHookOptions< - GetRunsForHighlightsQuery, - GetRunsForHighlightsQueryVariables - >, -) { - const options = { ...defaultOptions, ...baseOptions }; - return Apollo.useLazyQuery< - GetRunsForHighlightsQuery, - GetRunsForHighlightsQueryVariables - >(GetRunsForHighlightsDocument, options); -} -export function useGetRunsForHighlightsSuspenseQuery( - baseOptions?: Apollo.SuspenseQueryHookOptions< - GetRunsForHighlightsQuery, - GetRunsForHighlightsQueryVariables - >, -) { - const options = { ...defaultOptions, ...baseOptions }; - return Apollo.useSuspenseQuery< - GetRunsForHighlightsQuery, - GetRunsForHighlightsQueryVariables - >(GetRunsForHighlightsDocument, options); -} -export type GetRunsForHighlightsQueryHookResult = ReturnType< - typeof useGetRunsForHighlightsQuery ->; -export type GetRunsForHighlightsLazyQueryHookResult = ReturnType< - typeof useGetRunsForHighlightsLazyQuery ->; -export type GetRunsForHighlightsSuspenseQueryHookResult = ReturnType< - typeof useGetRunsForHighlightsSuspenseQuery ->; -export type GetRunsForHighlightsQueryResult = Apollo.QueryResult< - GetRunsForHighlightsQuery, - GetRunsForHighlightsQueryVariables ->; -export const GetRunsWithTimestampsDocument = gql` - query GetRunsWithTimestamps( - $filterInput: RunFilterInput! - $runIds: [Int!] = null - $runsOrdering: GetRunsOrdering - ) { - getRuns( - filterInput: $filterInput - runIds: $runIds - runsOrdering: $runsOrdering - ) { - count - runs { - id - runLength - userId - videoId - shots { - videoId - id - createdAt - pocketingIntentionFeatures { - ...PocketingIntentionFragment - } - } - } - runIds - } - } - ${PocketingIntentionFragmentFragmentDoc} -`; - -/** - * __useGetRunsWithTimestampsQuery__ - * - * To run a query within a React component, call `useGetRunsWithTimestampsQuery` and pass it any options that fit your needs. - * When your component renders, `useGetRunsWithTimestampsQuery` 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 } = useGetRunsWithTimestampsQuery({ - * variables: { - * filterInput: // value for 'filterInput' - * runIds: // value for 'runIds' - * runsOrdering: // value for 'runsOrdering' - * }, - * }); - */ -export function useGetRunsWithTimestampsQuery( - baseOptions: Apollo.QueryHookOptions< - GetRunsWithTimestampsQuery, - GetRunsWithTimestampsQueryVariables - >, -) { - const options = { ...defaultOptions, ...baseOptions }; - return Apollo.useQuery< - GetRunsWithTimestampsQuery, - GetRunsWithTimestampsQueryVariables - >(GetRunsWithTimestampsDocument, options); -} -export function useGetRunsWithTimestampsLazyQuery( - baseOptions?: Apollo.LazyQueryHookOptions< - GetRunsWithTimestampsQuery, - GetRunsWithTimestampsQueryVariables - >, -) { - const options = { ...defaultOptions, ...baseOptions }; - return Apollo.useLazyQuery< - GetRunsWithTimestampsQuery, - GetRunsWithTimestampsQueryVariables - >(GetRunsWithTimestampsDocument, options); -} -export function useGetRunsWithTimestampsSuspenseQuery( - baseOptions?: Apollo.SuspenseQueryHookOptions< - GetRunsWithTimestampsQuery, - GetRunsWithTimestampsQueryVariables - >, -) { - const options = { ...defaultOptions, ...baseOptions }; - return Apollo.useSuspenseQuery< - GetRunsWithTimestampsQuery, - GetRunsWithTimestampsQueryVariables - >(GetRunsWithTimestampsDocument, options); -} -export type GetRunsWithTimestampsQueryHookResult = ReturnType< - typeof useGetRunsWithTimestampsQuery ->; -export type GetRunsWithTimestampsLazyQueryHookResult = ReturnType< - typeof useGetRunsWithTimestampsLazyQuery ->; -export type GetRunsWithTimestampsSuspenseQueryHookResult = ReturnType< - typeof useGetRunsWithTimestampsSuspenseQuery ->; -export type GetRunsWithTimestampsQueryResult = Apollo.QueryResult< - GetRunsWithTimestampsQuery, - GetRunsWithTimestampsQueryVariables ->; -export const GetSerializedShotPathsDocument = gql` - query GetSerializedShotPaths($filterInput: FilterInput!) { - getShots(filterInput: $filterInput) { - id - videoId - startFrame - endFrame - serializedShotPaths { - b64EncodedBuffer - } - } - } -`; - -/** - * __useGetSerializedShotPathsQuery__ - * - * To run a query within a React component, call `useGetSerializedShotPathsQuery` and pass it any options that fit your needs. - * When your component renders, `useGetSerializedShotPathsQuery` 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 } = useGetSerializedShotPathsQuery({ - * variables: { - * filterInput: // value for 'filterInput' - * }, - * }); - */ -export function useGetSerializedShotPathsQuery( - baseOptions: Apollo.QueryHookOptions< - GetSerializedShotPathsQuery, - GetSerializedShotPathsQueryVariables - >, -) { - const options = { ...defaultOptions, ...baseOptions }; - return Apollo.useQuery< - GetSerializedShotPathsQuery, - GetSerializedShotPathsQueryVariables - >(GetSerializedShotPathsDocument, options); -} -export function useGetSerializedShotPathsLazyQuery( - baseOptions?: Apollo.LazyQueryHookOptions< - GetSerializedShotPathsQuery, - GetSerializedShotPathsQueryVariables - >, -) { - const options = { ...defaultOptions, ...baseOptions }; - return Apollo.useLazyQuery< - GetSerializedShotPathsQuery, - GetSerializedShotPathsQueryVariables - >(GetSerializedShotPathsDocument, options); -} -export function useGetSerializedShotPathsSuspenseQuery( - baseOptions?: Apollo.SuspenseQueryHookOptions< - GetSerializedShotPathsQuery, - GetSerializedShotPathsQueryVariables - >, -) { - const options = { ...defaultOptions, ...baseOptions }; - return Apollo.useSuspenseQuery< - GetSerializedShotPathsQuery, - GetSerializedShotPathsQueryVariables - >(GetSerializedShotPathsDocument, options); -} -export type GetSerializedShotPathsQueryHookResult = ReturnType< - typeof useGetSerializedShotPathsQuery ->; -export type GetSerializedShotPathsLazyQueryHookResult = ReturnType< - typeof useGetSerializedShotPathsLazyQuery ->; -export type GetSerializedShotPathsSuspenseQueryHookResult = ReturnType< - typeof useGetSerializedShotPathsSuspenseQuery ->; -export type GetSerializedShotPathsQueryResult = Apollo.QueryResult< - GetSerializedShotPathsQuery, - GetSerializedShotPathsQueryVariables ->; -export const GetShotAnnotationTypesDocument = gql` - query GetShotAnnotationTypes { - getShotAnnotationTypes { - id - name - } - } -`; - -/** - * __useGetShotAnnotationTypesQuery__ - * - * To run a query within a React component, call `useGetShotAnnotationTypesQuery` and pass it any options that fit your needs. - * When your component renders, `useGetShotAnnotationTypesQuery` 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 } = useGetShotAnnotationTypesQuery({ - * variables: { - * }, - * }); - */ -export function useGetShotAnnotationTypesQuery( - baseOptions?: Apollo.QueryHookOptions< - GetShotAnnotationTypesQuery, - GetShotAnnotationTypesQueryVariables - >, -) { - const options = { ...defaultOptions, ...baseOptions }; - return Apollo.useQuery< - GetShotAnnotationTypesQuery, - GetShotAnnotationTypesQueryVariables - >(GetShotAnnotationTypesDocument, options); -} -export function useGetShotAnnotationTypesLazyQuery( - baseOptions?: Apollo.LazyQueryHookOptions< - GetShotAnnotationTypesQuery, - GetShotAnnotationTypesQueryVariables - >, -) { - const options = { ...defaultOptions, ...baseOptions }; - return Apollo.useLazyQuery< - GetShotAnnotationTypesQuery, - GetShotAnnotationTypesQueryVariables - >(GetShotAnnotationTypesDocument, options); -} -export function useGetShotAnnotationTypesSuspenseQuery( - baseOptions?: Apollo.SuspenseQueryHookOptions< - GetShotAnnotationTypesQuery, - GetShotAnnotationTypesQueryVariables - >, -) { - const options = { ...defaultOptions, ...baseOptions }; - return Apollo.useSuspenseQuery< - GetShotAnnotationTypesQuery, - GetShotAnnotationTypesQueryVariables - >(GetShotAnnotationTypesDocument, options); -} -export type GetShotAnnotationTypesQueryHookResult = ReturnType< - typeof useGetShotAnnotationTypesQuery ->; -export type GetShotAnnotationTypesLazyQueryHookResult = ReturnType< - typeof useGetShotAnnotationTypesLazyQuery ->; -export type GetShotAnnotationTypesSuspenseQueryHookResult = ReturnType< - typeof useGetShotAnnotationTypesSuspenseQuery ->; -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; -export type UpdateShotAnnotationsMutationOptions = Apollo.BaseMutationOptions< - UpdateShotAnnotationsMutation, - UpdateShotAnnotationsMutationVariables ->; -export const GetShotsWithVideoGqlDocument = gql` - query GetShotsWithVideoGql( - $filterInput: FilterInput! - $shotsOrdering: GetShotsOrdering - $limit: Int - ) { - getOrderedShots( - filterInput: $filterInput - shotsOrdering: $shotsOrdering - limit: $limit - ) { - shots { - id - videoId - video { - screenshotUri - endTime - } - } - } - } -`; - -/** - * __useGetShotsWithVideoGqlQuery__ - * - * To run a query within a React component, call `useGetShotsWithVideoGqlQuery` and pass it any options that fit your needs. - * When your component renders, `useGetShotsWithVideoGqlQuery` 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 } = useGetShotsWithVideoGqlQuery({ - * variables: { - * filterInput: // value for 'filterInput' - * shotsOrdering: // value for 'shotsOrdering' - * limit: // value for 'limit' - * }, - * }); - */ -export function useGetShotsWithVideoGqlQuery( - baseOptions: Apollo.QueryHookOptions< - GetShotsWithVideoGqlQuery, - GetShotsWithVideoGqlQueryVariables - >, -) { - const options = { ...defaultOptions, ...baseOptions }; - return Apollo.useQuery< - GetShotsWithVideoGqlQuery, - GetShotsWithVideoGqlQueryVariables - >(GetShotsWithVideoGqlDocument, options); -} -export function useGetShotsWithVideoGqlLazyQuery( - baseOptions?: Apollo.LazyQueryHookOptions< - GetShotsWithVideoGqlQuery, - GetShotsWithVideoGqlQueryVariables - >, -) { - const options = { ...defaultOptions, ...baseOptions }; - return Apollo.useLazyQuery< - GetShotsWithVideoGqlQuery, - GetShotsWithVideoGqlQueryVariables - >(GetShotsWithVideoGqlDocument, options); -} -export function useGetShotsWithVideoGqlSuspenseQuery( - baseOptions?: Apollo.SuspenseQueryHookOptions< - GetShotsWithVideoGqlQuery, - GetShotsWithVideoGqlQueryVariables - >, -) { - const options = { ...defaultOptions, ...baseOptions }; - return Apollo.useSuspenseQuery< - GetShotsWithVideoGqlQuery, - GetShotsWithVideoGqlQueryVariables - >(GetShotsWithVideoGqlDocument, options); -} -export type GetShotsWithVideoGqlQueryHookResult = ReturnType< - typeof useGetShotsWithVideoGqlQuery ->; -export type GetShotsWithVideoGqlLazyQueryHookResult = ReturnType< - typeof useGetShotsWithVideoGqlLazyQuery ->; -export type GetShotsWithVideoGqlSuspenseQueryHookResult = ReturnType< - typeof useGetShotsWithVideoGqlSuspenseQuery ->; -export type GetShotsWithVideoGqlQueryResult = Apollo.QueryResult< - GetShotsWithVideoGqlQuery, - GetShotsWithVideoGqlQueryVariables ->; -export const GetShotsWithJustIdsDocument = gql` - query GetShotsWithJustIds( - $filterInput: FilterInput! - $shotsOrdering: GetShotsOrdering - $limit: Int - $countRespectsLimit: Boolean - ) { - getOrderedShots( - filterInput: $filterInput - shotsOrdering: $shotsOrdering - limit: $limit - countRespectsLimit: $countRespectsLimit - ) { - count - shots { - id - videoId - } - } - } -`; - -/** - * __useGetShotsWithJustIdsQuery__ - * - * To run a query within a React component, call `useGetShotsWithJustIdsQuery` and pass it any options that fit your needs. - * When your component renders, `useGetShotsWithJustIdsQuery` 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 } = useGetShotsWithJustIdsQuery({ - * variables: { - * filterInput: // value for 'filterInput' - * shotsOrdering: // value for 'shotsOrdering' - * limit: // value for 'limit' - * countRespectsLimit: // value for 'countRespectsLimit' - * }, - * }); - */ -export function useGetShotsWithJustIdsQuery( - baseOptions: Apollo.QueryHookOptions< - GetShotsWithJustIdsQuery, - GetShotsWithJustIdsQueryVariables - >, -) { - const options = { ...defaultOptions, ...baseOptions }; - return Apollo.useQuery< - GetShotsWithJustIdsQuery, - GetShotsWithJustIdsQueryVariables - >(GetShotsWithJustIdsDocument, options); -} -export function useGetShotsWithJustIdsLazyQuery( - baseOptions?: Apollo.LazyQueryHookOptions< - GetShotsWithJustIdsQuery, - GetShotsWithJustIdsQueryVariables - >, -) { - const options = { ...defaultOptions, ...baseOptions }; - return Apollo.useLazyQuery< - GetShotsWithJustIdsQuery, - GetShotsWithJustIdsQueryVariables - >(GetShotsWithJustIdsDocument, options); -} -export function useGetShotsWithJustIdsSuspenseQuery( - baseOptions?: Apollo.SuspenseQueryHookOptions< - GetShotsWithJustIdsQuery, - GetShotsWithJustIdsQueryVariables - >, -) { - const options = { ...defaultOptions, ...baseOptions }; - return Apollo.useSuspenseQuery< - GetShotsWithJustIdsQuery, - GetShotsWithJustIdsQueryVariables - >(GetShotsWithJustIdsDocument, options); -} -export type GetShotsWithJustIdsQueryHookResult = ReturnType< - typeof useGetShotsWithJustIdsQuery ->; -export type GetShotsWithJustIdsLazyQueryHookResult = ReturnType< - typeof useGetShotsWithJustIdsLazyQuery ->; -export type GetShotsWithJustIdsSuspenseQueryHookResult = ReturnType< - typeof useGetShotsWithJustIdsSuspenseQuery ->; -export type GetShotsWithJustIdsQueryResult = Apollo.QueryResult< - GetShotsWithJustIdsQuery, - GetShotsWithJustIdsQueryVariables ->; -export const GetShotsWithMetadataFilterResultDocument = gql` - query GetShotsWithMetadataFilterResult( - $filterInput: FilterInput! - $shotsOrdering: GetShotsOrdering - $limit: Int - $ids: [Int!] - $countRespectsLimit: Boolean - ) { - getOrderedShots( - filterInput: $filterInput - shotsOrdering: $shotsOrdering - limit: $limit - ids: $ids - countRespectsLimit: $countRespectsLimit - ) { - count - shots { - ...ShotWithAllFeatures - } - ids - } - } - ${ShotWithAllFeaturesFragmentDoc} -`; - -/** - * __useGetShotsWithMetadataFilterResultQuery__ - * - * To run a query within a React component, call `useGetShotsWithMetadataFilterResultQuery` and pass it any options that fit your needs. - * When your component renders, `useGetShotsWithMetadataFilterResultQuery` 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 } = useGetShotsWithMetadataFilterResultQuery({ - * variables: { - * filterInput: // value for 'filterInput' - * shotsOrdering: // value for 'shotsOrdering' - * limit: // value for 'limit' - * ids: // value for 'ids' - * countRespectsLimit: // value for 'countRespectsLimit' - * }, - * }); - */ -export function useGetShotsWithMetadataFilterResultQuery( - baseOptions: Apollo.QueryHookOptions< - GetShotsWithMetadataFilterResultQuery, - GetShotsWithMetadataFilterResultQueryVariables - >, -) { - const options = { ...defaultOptions, ...baseOptions }; - return Apollo.useQuery< - GetShotsWithMetadataFilterResultQuery, - GetShotsWithMetadataFilterResultQueryVariables - >(GetShotsWithMetadataFilterResultDocument, options); -} -export function useGetShotsWithMetadataFilterResultLazyQuery( - baseOptions?: Apollo.LazyQueryHookOptions< - GetShotsWithMetadataFilterResultQuery, - GetShotsWithMetadataFilterResultQueryVariables - >, -) { - const options = { ...defaultOptions, ...baseOptions }; - return Apollo.useLazyQuery< - GetShotsWithMetadataFilterResultQuery, - GetShotsWithMetadataFilterResultQueryVariables - >(GetShotsWithMetadataFilterResultDocument, options); -} -export function useGetShotsWithMetadataFilterResultSuspenseQuery( - baseOptions?: Apollo.SuspenseQueryHookOptions< - GetShotsWithMetadataFilterResultQuery, - GetShotsWithMetadataFilterResultQueryVariables - >, -) { - const options = { ...defaultOptions, ...baseOptions }; - return Apollo.useSuspenseQuery< - GetShotsWithMetadataFilterResultQuery, - GetShotsWithMetadataFilterResultQueryVariables - >(GetShotsWithMetadataFilterResultDocument, options); -} -export type GetShotsWithMetadataFilterResultQueryHookResult = ReturnType< - typeof useGetShotsWithMetadataFilterResultQuery ->; -export type GetShotsWithMetadataFilterResultLazyQueryHookResult = ReturnType< - typeof useGetShotsWithMetadataFilterResultLazyQuery ->; -export type GetShotsWithMetadataFilterResultSuspenseQueryHookResult = - ReturnType; -export type GetShotsWithMetadataFilterResultQueryResult = Apollo.QueryResult< - GetShotsWithMetadataFilterResultQuery, - GetShotsWithMetadataFilterResultQueryVariables ->; -export const GetShotsWithMetadataDocument = gql` - query GetShotsWithMetadata( - $filterInput: FilterInput! - $shotsPagination: GetShotsPagination - $limit: Int - $ids: [Int!] - ) { - getShotsWithMetadata( - filterInput: $filterInput - shotsPagination: $shotsPagination - limit: $limit - ids: $ids - ) { - count - shots { - ...ShotWithAllFeatures - } - ids - } - } - ${ShotWithAllFeaturesFragmentDoc} -`; - -/** - * __useGetShotsWithMetadataQuery__ - * - * To run a query within a React component, call `useGetShotsWithMetadataQuery` and pass it any options that fit your needs. - * When your component renders, `useGetShotsWithMetadataQuery` 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 } = useGetShotsWithMetadataQuery({ - * variables: { - * filterInput: // value for 'filterInput' - * shotsPagination: // value for 'shotsPagination' - * limit: // value for 'limit' - * ids: // value for 'ids' - * }, - * }); - */ -export function useGetShotsWithMetadataQuery( - baseOptions: Apollo.QueryHookOptions< - GetShotsWithMetadataQuery, - GetShotsWithMetadataQueryVariables - >, -) { - const options = { ...defaultOptions, ...baseOptions }; - return Apollo.useQuery< - GetShotsWithMetadataQuery, - GetShotsWithMetadataQueryVariables - >(GetShotsWithMetadataDocument, options); -} -export function useGetShotsWithMetadataLazyQuery( - baseOptions?: Apollo.LazyQueryHookOptions< - GetShotsWithMetadataQuery, - GetShotsWithMetadataQueryVariables - >, -) { - const options = { ...defaultOptions, ...baseOptions }; - return Apollo.useLazyQuery< - GetShotsWithMetadataQuery, - GetShotsWithMetadataQueryVariables - >(GetShotsWithMetadataDocument, options); -} -export function useGetShotsWithMetadataSuspenseQuery( - baseOptions?: Apollo.SuspenseQueryHookOptions< - GetShotsWithMetadataQuery, - GetShotsWithMetadataQueryVariables - >, -) { - const options = { ...defaultOptions, ...baseOptions }; - return Apollo.useSuspenseQuery< - GetShotsWithMetadataQuery, - GetShotsWithMetadataQueryVariables - >(GetShotsWithMetadataDocument, options); -} -export type GetShotsWithMetadataQueryHookResult = ReturnType< - typeof useGetShotsWithMetadataQuery ->; -export type GetShotsWithMetadataLazyQueryHookResult = ReturnType< - typeof useGetShotsWithMetadataLazyQuery ->; -export type GetShotsWithMetadataSuspenseQueryHookResult = ReturnType< - typeof useGetShotsWithMetadataSuspenseQuery ->; -export type GetShotsWithMetadataQueryResult = Apollo.QueryResult< - GetShotsWithMetadataQuery, - GetShotsWithMetadataQueryVariables ->; -export const GetShotsByIdsDocument = gql` - query GetShotsByIds($ids: [Int!]!) { - getShotsByIds(ids: $ids) { - ...ShotWithAllFeatures - } - } - ${ShotWithAllFeaturesFragmentDoc} -`; - -/** - * __useGetShotsByIdsQuery__ - * - * To run a query within a React component, call `useGetShotsByIdsQuery` and pass it any options that fit your needs. - * When your component renders, `useGetShotsByIdsQuery` 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 } = useGetShotsByIdsQuery({ - * variables: { - * ids: // value for 'ids' - * }, - * }); - */ -export function useGetShotsByIdsQuery( - baseOptions: Apollo.QueryHookOptions< - GetShotsByIdsQuery, - GetShotsByIdsQueryVariables - >, -) { - const options = { ...defaultOptions, ...baseOptions }; - return Apollo.useQuery( - GetShotsByIdsDocument, - options, - ); -} -export function useGetShotsByIdsLazyQuery( - baseOptions?: Apollo.LazyQueryHookOptions< - GetShotsByIdsQuery, - GetShotsByIdsQueryVariables - >, -) { - const options = { ...defaultOptions, ...baseOptions }; - return Apollo.useLazyQuery( - GetShotsByIdsDocument, - options, - ); -} -export function useGetShotsByIdsSuspenseQuery( - baseOptions?: Apollo.SuspenseQueryHookOptions< - GetShotsByIdsQuery, - GetShotsByIdsQueryVariables - >, -) { - const options = { ...defaultOptions, ...baseOptions }; - return Apollo.useSuspenseQuery< - GetShotsByIdsQuery, - GetShotsByIdsQueryVariables - >(GetShotsByIdsDocument, options); -} -export type GetShotsByIdsQueryHookResult = ReturnType< - typeof useGetShotsByIdsQuery ->; -export type GetShotsByIdsLazyQueryHookResult = ReturnType< - typeof useGetShotsByIdsLazyQuery ->; -export type GetShotsByIdsSuspenseQueryHookResult = ReturnType< - typeof useGetShotsByIdsSuspenseQuery ->; -export type GetShotsByIdsQueryResult = Apollo.QueryResult< - GetShotsByIdsQuery, - GetShotsByIdsQueryVariables ->; -export const EditShotDocument = gql` - mutation EditShot($shotId: Int!, $fieldsToEdit: EditableShotFieldInputGQL!) { - editShot(shotId: $shotId, fieldsToEdit: $fieldsToEdit) { - error { - shotId - msg - } - shot { - ...ShotWithAllFeatures - } - } - } - ${ShotWithAllFeaturesFragmentDoc} -`; -export type EditShotMutationFn = Apollo.MutationFunction< - EditShotMutation, - EditShotMutationVariables ->; - -/** - * __useEditShotMutation__ - * - * To run a mutation, you first call `useEditShotMutation` within a React component and pass it any options that fit your needs. - * When your component renders, `useEditShotMutation` 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 [editShotMutation, { data, loading, error }] = useEditShotMutation({ - * variables: { - * shotId: // value for 'shotId' - * fieldsToEdit: // value for 'fieldsToEdit' - * }, - * }); - */ -export function useEditShotMutation( - baseOptions?: Apollo.MutationHookOptions< - EditShotMutation, - EditShotMutationVariables - >, -) { - const options = { ...defaultOptions, ...baseOptions }; - return Apollo.useMutation( - EditShotDocument, - options, - ); -} -export type EditShotMutationHookResult = ReturnType; -export type EditShotMutationResult = Apollo.MutationResult; -export type EditShotMutationOptions = Apollo.BaseMutationOptions< - EditShotMutation, - EditShotMutationVariables ->; -export const RetireTagsDocument = gql` - mutation RetireTags($tagIds: [Int!]!) { - retireTags(tagIds: $tagIds) - } -`; -export type RetireTagsMutationFn = Apollo.MutationFunction< - RetireTagsMutation, - RetireTagsMutationVariables ->; - -/** - * __useRetireTagsMutation__ - * - * To run a mutation, you first call `useRetireTagsMutation` within a React component and pass it any options that fit your needs. - * When your component renders, `useRetireTagsMutation` 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 [retireTagsMutation, { data, loading, error }] = useRetireTagsMutation({ - * variables: { - * tagIds: // value for 'tagIds' - * }, - * }); - */ -export function useRetireTagsMutation( - baseOptions?: Apollo.MutationHookOptions< - RetireTagsMutation, - RetireTagsMutationVariables - >, -) { - const options = { ...defaultOptions, ...baseOptions }; - return Apollo.useMutation( - RetireTagsDocument, - options, - ); -} -export type RetireTagsMutationHookResult = ReturnType< - typeof useRetireTagsMutation ->; -export type RetireTagsMutationResult = - Apollo.MutationResult; -export type RetireTagsMutationOptions = Apollo.BaseMutationOptions< - RetireTagsMutation, - RetireTagsMutationVariables ->; -export const DeleteTagsDocument = gql` - mutation DeleteTags($videoId: Int!, $tagsToDelete: [VideoTagInput!]!) { - deleteTags(videoId: $videoId, tagsToDelete: $tagsToDelete) - } -`; -export type DeleteTagsMutationFn = Apollo.MutationFunction< - DeleteTagsMutation, - DeleteTagsMutationVariables ->; - -/** - * __useDeleteTagsMutation__ - * - * To run a mutation, you first call `useDeleteTagsMutation` within a React component and pass it any options that fit your needs. - * When your component renders, `useDeleteTagsMutation` 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 [deleteTagsMutation, { data, loading, error }] = useDeleteTagsMutation({ - * variables: { - * videoId: // value for 'videoId' - * tagsToDelete: // value for 'tagsToDelete' - * }, - * }); - */ -export function useDeleteTagsMutation( - baseOptions?: Apollo.MutationHookOptions< - DeleteTagsMutation, - DeleteTagsMutationVariables - >, -) { - const options = { ...defaultOptions, ...baseOptions }; - return Apollo.useMutation( - DeleteTagsDocument, - options, - ); -} -export type DeleteTagsMutationHookResult = ReturnType< - typeof useDeleteTagsMutation ->; -export type DeleteTagsMutationResult = - Apollo.MutationResult; -export type DeleteTagsMutationOptions = Apollo.BaseMutationOptions< - DeleteTagsMutation, - DeleteTagsMutationVariables ->; -export const GetProfileImageUploadLinkDocument = gql` - mutation getProfileImageUploadLink($fileExt: String = ".png") { - getProfileImageUploadLink(fileExt: $fileExt) { - value { - ... on UploadLink { - uploadUrl - headers { - key - value - } - } - ... on GetProfileUploadLinkErrors { - error { - ... on TooManyProfileImageUploadsErr { - linksRequested - } - } - } - } - } - } -`; -export type GetProfileImageUploadLinkMutationFn = Apollo.MutationFunction< - GetProfileImageUploadLinkMutation, - GetProfileImageUploadLinkMutationVariables ->; - -/** - * __useGetProfileImageUploadLinkMutation__ - * - * To run a mutation, you first call `useGetProfileImageUploadLinkMutation` within a React component and pass it any options that fit your needs. - * When your component renders, `useGetProfileImageUploadLinkMutation` 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 [getProfileImageUploadLinkMutation, { data, loading, error }] = useGetProfileImageUploadLinkMutation({ - * variables: { - * fileExt: // value for 'fileExt' - * }, - * }); - */ -export function useGetProfileImageUploadLinkMutation( - baseOptions?: Apollo.MutationHookOptions< - GetProfileImageUploadLinkMutation, - GetProfileImageUploadLinkMutationVariables - >, -) { - const options = { ...defaultOptions, ...baseOptions }; - return Apollo.useMutation< - GetProfileImageUploadLinkMutation, - GetProfileImageUploadLinkMutationVariables - >(GetProfileImageUploadLinkDocument, options); -} -export type GetProfileImageUploadLinkMutationHookResult = ReturnType< - typeof useGetProfileImageUploadLinkMutation ->; -export type GetProfileImageUploadLinkMutationResult = - Apollo.MutationResult; -export type GetProfileImageUploadLinkMutationOptions = - Apollo.BaseMutationOptions< - GetProfileImageUploadLinkMutation, - GetProfileImageUploadLinkMutationVariables - >; -export const EditProfileImageUriDocument = gql` - mutation editProfileImageUri($profileImageUri: String!) { - editProfileImageUri(profileImageUri: $profileImageUri) { - ...UserFragment - } - } - ${UserFragmentFragmentDoc} -`; -export type EditProfileImageUriMutationFn = Apollo.MutationFunction< - EditProfileImageUriMutation, - EditProfileImageUriMutationVariables ->; - -/** - * __useEditProfileImageUriMutation__ - * - * To run a mutation, you first call `useEditProfileImageUriMutation` within a React component and pass it any options that fit your needs. - * When your component renders, `useEditProfileImageUriMutation` 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 [editProfileImageUriMutation, { data, loading, error }] = useEditProfileImageUriMutation({ - * variables: { - * profileImageUri: // value for 'profileImageUri' - * }, - * }); - */ -export function useEditProfileImageUriMutation( - baseOptions?: Apollo.MutationHookOptions< - EditProfileImageUriMutation, - EditProfileImageUriMutationVariables - >, -) { - const options = { ...defaultOptions, ...baseOptions }; - return Apollo.useMutation< - EditProfileImageUriMutation, - EditProfileImageUriMutationVariables - >(EditProfileImageUriDocument, options); -} -export type EditProfileImageUriMutationHookResult = ReturnType< - typeof useEditProfileImageUriMutation ->; -export type EditProfileImageUriMutationResult = - Apollo.MutationResult; -export type EditProfileImageUriMutationOptions = Apollo.BaseMutationOptions< - EditProfileImageUriMutation, - EditProfileImageUriMutationVariables ->; -export const GetLoggedInUserDocument = gql` - query getLoggedInUser { - getLoggedInUser { - ...UserFragment - } - } - ${UserFragmentFragmentDoc} -`; - -/** - * __useGetLoggedInUserQuery__ - * - * To run a query within a React component, call `useGetLoggedInUserQuery` and pass it any options that fit your needs. - * When your component renders, `useGetLoggedInUserQuery` 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 } = useGetLoggedInUserQuery({ - * variables: { - * }, - * }); - */ -export function useGetLoggedInUserQuery( - baseOptions?: Apollo.QueryHookOptions< - GetLoggedInUserQuery, - GetLoggedInUserQueryVariables - >, -) { - const options = { ...defaultOptions, ...baseOptions }; - return Apollo.useQuery( - GetLoggedInUserDocument, - options, - ); -} -export function useGetLoggedInUserLazyQuery( - baseOptions?: Apollo.LazyQueryHookOptions< - GetLoggedInUserQuery, - GetLoggedInUserQueryVariables - >, -) { - const options = { ...defaultOptions, ...baseOptions }; - return Apollo.useLazyQuery< - GetLoggedInUserQuery, - GetLoggedInUserQueryVariables - >(GetLoggedInUserDocument, options); -} -export function useGetLoggedInUserSuspenseQuery( - baseOptions?: Apollo.SuspenseQueryHookOptions< - GetLoggedInUserQuery, - GetLoggedInUserQueryVariables - >, -) { - const options = { ...defaultOptions, ...baseOptions }; - return Apollo.useSuspenseQuery< - GetLoggedInUserQuery, - GetLoggedInUserQueryVariables - >(GetLoggedInUserDocument, options); -} -export type GetLoggedInUserQueryHookResult = ReturnType< - typeof useGetLoggedInUserQuery ->; -export type GetLoggedInUserLazyQueryHookResult = ReturnType< - typeof useGetLoggedInUserLazyQuery ->; -export type GetLoggedInUserSuspenseQueryHookResult = ReturnType< - typeof useGetLoggedInUserSuspenseQuery ->; -export type GetLoggedInUserQueryResult = Apollo.QueryResult< - GetLoggedInUserQuery, - GetLoggedInUserQueryVariables ->; -export const GetUserDocument = gql` - query GetUser($userId: Int!) { - getUser(userId: $userId) { - ...UserFragment - } - } - ${UserFragmentFragmentDoc} -`; - -/** - * __useGetUserQuery__ - * - * To run a query within a React component, call `useGetUserQuery` and pass it any options that fit your needs. - * When your component renders, `useGetUserQuery` 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 } = useGetUserQuery({ - * variables: { - * userId: // value for 'userId' - * }, - * }); - */ -export function useGetUserQuery( - baseOptions: Apollo.QueryHookOptions, -) { - const options = { ...defaultOptions, ...baseOptions }; - return Apollo.useQuery( - GetUserDocument, - options, - ); -} -export function useGetUserLazyQuery( - baseOptions?: Apollo.LazyQueryHookOptions< - GetUserQuery, - GetUserQueryVariables - >, -) { - const options = { ...defaultOptions, ...baseOptions }; - return Apollo.useLazyQuery( - GetUserDocument, - options, - ); -} -export function useGetUserSuspenseQuery( - baseOptions?: Apollo.SuspenseQueryHookOptions< - GetUserQuery, - GetUserQueryVariables - >, -) { - const options = { ...defaultOptions, ...baseOptions }; - return Apollo.useSuspenseQuery( - GetUserDocument, - options, - ); -} -export type GetUserQueryHookResult = ReturnType; -export type GetUserLazyQueryHookResult = ReturnType; -export type GetUserSuspenseQueryHookResult = ReturnType< - typeof useGetUserSuspenseQuery ->; -export type GetUserQueryResult = Apollo.QueryResult< - GetUserQuery, - GetUserQueryVariables ->; -export const GetUserPlayTimeDocument = gql` - query GetUserPlayTime($userId: Int!, $filters: VideoFilterInput) { - getPlayTime(userId: $userId, filters: $filters) { - totalSeconds - } - } -`; - -/** - * __useGetUserPlayTimeQuery__ - * - * To run a query within a React component, call `useGetUserPlayTimeQuery` and pass it any options that fit your needs. - * When your component renders, `useGetUserPlayTimeQuery` 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 } = useGetUserPlayTimeQuery({ - * variables: { - * userId: // value for 'userId' - * filters: // value for 'filters' - * }, - * }); - */ -export function useGetUserPlayTimeQuery( - baseOptions: Apollo.QueryHookOptions< - GetUserPlayTimeQuery, - GetUserPlayTimeQueryVariables - >, -) { - const options = { ...defaultOptions, ...baseOptions }; - return Apollo.useQuery( - GetUserPlayTimeDocument, - options, - ); -} -export function useGetUserPlayTimeLazyQuery( - baseOptions?: Apollo.LazyQueryHookOptions< - GetUserPlayTimeQuery, - GetUserPlayTimeQueryVariables - >, -) { - const options = { ...defaultOptions, ...baseOptions }; - return Apollo.useLazyQuery< - GetUserPlayTimeQuery, - GetUserPlayTimeQueryVariables - >(GetUserPlayTimeDocument, options); -} -export function useGetUserPlayTimeSuspenseQuery( - baseOptions?: Apollo.SuspenseQueryHookOptions< - GetUserPlayTimeQuery, - GetUserPlayTimeQueryVariables - >, -) { - const options = { ...defaultOptions, ...baseOptions }; - return Apollo.useSuspenseQuery< - GetUserPlayTimeQuery, - GetUserPlayTimeQueryVariables - >(GetUserPlayTimeDocument, options); -} -export type GetUserPlayTimeQueryHookResult = ReturnType< - typeof useGetUserPlayTimeQuery ->; -export type GetUserPlayTimeLazyQueryHookResult = ReturnType< - typeof useGetUserPlayTimeLazyQuery ->; -export type GetUserPlayTimeSuspenseQueryHookResult = ReturnType< - typeof useGetUserPlayTimeSuspenseQuery ->; -export type GetUserPlayTimeQueryResult = Apollo.QueryResult< - GetUserPlayTimeQuery, - GetUserPlayTimeQueryVariables ->; -export const GetUsernamesDocument = gql` - query getUsernames( - $matchString: String! - $limit: Int = null - $after: String = null - ) { - getUsernames(matchString: $matchString, limit: $limit, after: $after) - } -`; - -/** - * __useGetUsernamesQuery__ - * - * To run a query within a React component, call `useGetUsernamesQuery` and pass it any options that fit your needs. - * When your component renders, `useGetUsernamesQuery` 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 } = useGetUsernamesQuery({ - * variables: { - * matchString: // value for 'matchString' - * limit: // value for 'limit' - * after: // value for 'after' - * }, - * }); - */ -export function useGetUsernamesQuery( - baseOptions: Apollo.QueryHookOptions< - GetUsernamesQuery, - GetUsernamesQueryVariables - >, -) { - const options = { ...defaultOptions, ...baseOptions }; - return Apollo.useQuery( - GetUsernamesDocument, - options, - ); -} -export function useGetUsernamesLazyQuery( - baseOptions?: Apollo.LazyQueryHookOptions< - GetUsernamesQuery, - GetUsernamesQueryVariables - >, -) { - const options = { ...defaultOptions, ...baseOptions }; - return Apollo.useLazyQuery( - GetUsernamesDocument, - options, - ); -} -export function useGetUsernamesSuspenseQuery( - baseOptions?: Apollo.SuspenseQueryHookOptions< - GetUsernamesQuery, - GetUsernamesQueryVariables - >, -) { - const options = { ...defaultOptions, ...baseOptions }; - return Apollo.useSuspenseQuery( - GetUsernamesDocument, - options, - ); -} -export type GetUsernamesQueryHookResult = ReturnType< - typeof useGetUsernamesQuery ->; -export type GetUsernamesLazyQueryHookResult = ReturnType< - typeof useGetUsernamesLazyQuery ->; -export type GetUsernamesSuspenseQueryHookResult = ReturnType< - typeof useGetUsernamesSuspenseQuery ->; -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 - profileImageUri - 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 { - id - name - tagClasses { - id - name - } - } - } -`; - -/** - * __useGetUserTagsQuery__ - * - * To run a query within a React component, call `useGetUserTagsQuery` and pass it any options that fit your needs. - * When your component renders, `useGetUserTagsQuery` 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 } = useGetUserTagsQuery({ - * variables: { - * }, - * }); - */ -export function useGetUserTagsQuery( - baseOptions?: Apollo.QueryHookOptions< - GetUserTagsQuery, - GetUserTagsQueryVariables - >, -) { - const options = { ...defaultOptions, ...baseOptions }; - return Apollo.useQuery( - GetUserTagsDocument, - options, - ); -} -export function useGetUserTagsLazyQuery( - baseOptions?: Apollo.LazyQueryHookOptions< - GetUserTagsQuery, - GetUserTagsQueryVariables - >, -) { - const options = { ...defaultOptions, ...baseOptions }; - return Apollo.useLazyQuery( - GetUserTagsDocument, - options, - ); -} -export function useGetUserTagsSuspenseQuery( - baseOptions?: Apollo.SuspenseQueryHookOptions< - GetUserTagsQuery, - GetUserTagsQueryVariables - >, -) { - const options = { ...defaultOptions, ...baseOptions }; - return Apollo.useSuspenseQuery( - GetUserTagsDocument, - options, - ); -} -export type GetUserTagsQueryHookResult = ReturnType; -export type GetUserTagsLazyQueryHookResult = ReturnType< - typeof useGetUserTagsLazyQuery ->; -export type GetUserTagsSuspenseQueryHookResult = ReturnType< - typeof useGetUserTagsSuspenseQuery ->; -export type GetUserTagsQueryResult = Apollo.QueryResult< - GetUserTagsQuery, - GetUserTagsQueryVariables ->; -export const FollowUserDocument = gql` - mutation followUser($followedUserId: Int!) { - followUser(followedUserId: $followedUserId) { - id - username - } - } -`; -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( - FollowUserDocument, - options, - ); -} -export type FollowUserMutationHookResult = ReturnType< - typeof useFollowUserMutation ->; -export type FollowUserMutationResult = - Apollo.MutationResult; -export type FollowUserMutationOptions = Apollo.BaseMutationOptions< - FollowUserMutation, - FollowUserMutationVariables ->; -export const UnfollowUserDocument = gql` - mutation unfollowUser($followedUserId: Int!) { - unfollowUser(followedUserId: $followedUserId) { - id - username - } - } -`; -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; -export type UnfollowUserMutationOptions = Apollo.BaseMutationOptions< - UnfollowUserMutation, - UnfollowUserMutationVariables ->; -export const GetUserFollowingFollowersDocument = gql` - query getUserFollowingFollowers { - getLoggedInUser { - id - following { - id - username - profileImageUri - isFollowedByCurrentUser - } - followers { - id - username - profileImageUri - isFollowedByCurrentUser - } - } - } -`; - -/** - * __useGetUserFollowingFollowersQuery__ - * - * To run a query within a React component, call `useGetUserFollowingFollowersQuery` and pass it any options that fit your needs. - * When your component renders, `useGetUserFollowingFollowersQuery` 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 } = useGetUserFollowingFollowersQuery({ - * variables: { - * }, - * }); - */ -export function useGetUserFollowingFollowersQuery( - baseOptions?: Apollo.QueryHookOptions< - GetUserFollowingFollowersQuery, - GetUserFollowingFollowersQueryVariables - >, -) { - const options = { ...defaultOptions, ...baseOptions }; - return Apollo.useQuery< - GetUserFollowingFollowersQuery, - GetUserFollowingFollowersQueryVariables - >(GetUserFollowingFollowersDocument, options); -} -export function useGetUserFollowingFollowersLazyQuery( - baseOptions?: Apollo.LazyQueryHookOptions< - GetUserFollowingFollowersQuery, - GetUserFollowingFollowersQueryVariables - >, -) { - const options = { ...defaultOptions, ...baseOptions }; - return Apollo.useLazyQuery< - GetUserFollowingFollowersQuery, - GetUserFollowingFollowersQueryVariables - >(GetUserFollowingFollowersDocument, options); -} -export function useGetUserFollowingFollowersSuspenseQuery( - baseOptions?: Apollo.SuspenseQueryHookOptions< - GetUserFollowingFollowersQuery, - GetUserFollowingFollowersQueryVariables - >, -) { - const options = { ...defaultOptions, ...baseOptions }; - return Apollo.useSuspenseQuery< - GetUserFollowingFollowersQuery, - GetUserFollowingFollowersQueryVariables - >(GetUserFollowingFollowersDocument, options); -} -export type GetUserFollowingFollowersQueryHookResult = ReturnType< - typeof useGetUserFollowingFollowersQuery ->; -export type GetUserFollowingFollowersLazyQueryHookResult = ReturnType< - typeof useGetUserFollowingFollowersLazyQuery ->; -export type GetUserFollowingFollowersSuspenseQueryHookResult = ReturnType< - typeof useGetUserFollowingFollowersSuspenseQuery ->; -export type GetUserFollowingFollowersQueryResult = Apollo.QueryResult< - GetUserFollowingFollowersQuery, - GetUserFollowingFollowersQueryVariables ->; -export const DoesUsernameExistDocument = gql` - query doesUsernameExist($candidateUsername: String!) { - doesUsernameExist(candidateUsername: $candidateUsername) - } -`; - -/** - * __useDoesUsernameExistQuery__ - * - * To run a query within a React component, call `useDoesUsernameExistQuery` and pass it any options that fit your needs. - * When your component renders, `useDoesUsernameExistQuery` 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 } = useDoesUsernameExistQuery({ - * variables: { - * candidateUsername: // value for 'candidateUsername' - * }, - * }); - */ -export function useDoesUsernameExistQuery( - baseOptions: Apollo.QueryHookOptions< - DoesUsernameExistQuery, - DoesUsernameExistQueryVariables - >, -) { - const options = { ...defaultOptions, ...baseOptions }; - return Apollo.useQuery< - DoesUsernameExistQuery, - DoesUsernameExistQueryVariables - >(DoesUsernameExistDocument, options); -} -export function useDoesUsernameExistLazyQuery( - baseOptions?: Apollo.LazyQueryHookOptions< - DoesUsernameExistQuery, - DoesUsernameExistQueryVariables - >, -) { - const options = { ...defaultOptions, ...baseOptions }; - return Apollo.useLazyQuery< - DoesUsernameExistQuery, - DoesUsernameExistQueryVariables - >(DoesUsernameExistDocument, options); -} -export function useDoesUsernameExistSuspenseQuery( - baseOptions?: Apollo.SuspenseQueryHookOptions< - DoesUsernameExistQuery, - DoesUsernameExistQueryVariables - >, -) { - const options = { ...defaultOptions, ...baseOptions }; - return Apollo.useSuspenseQuery< - DoesUsernameExistQuery, - DoesUsernameExistQueryVariables - >(DoesUsernameExistDocument, options); -} -export type DoesUsernameExistQueryHookResult = ReturnType< - typeof useDoesUsernameExistQuery ->; -export type DoesUsernameExistLazyQueryHookResult = ReturnType< - typeof useDoesUsernameExistLazyQuery ->; -export type DoesUsernameExistSuspenseQueryHookResult = ReturnType< - typeof useDoesUsernameExistSuspenseQuery ->; -export type DoesUsernameExistQueryResult = Apollo.QueryResult< - DoesUsernameExistQuery, - DoesUsernameExistQueryVariables ->; -export const EditUserDocument = gql` - mutation editUser( - $username: String - $fargoRating: Int - $videosPrivateByDefault: Boolean - $agreesToMarketing: Boolean - ) { - editUser( - input: { - username: $username - fargoRating: $fargoRating - videosPrivateByDefault: $videosPrivateByDefault - agreesToMarketing: $agreesToMarketing - } - ) { - id - firebaseUid - username - fargoRating - updatedAt - videosPrivateByDefault - agreesToMarketing - } - } -`; -export type EditUserMutationFn = Apollo.MutationFunction< - EditUserMutation, - EditUserMutationVariables ->; - -/** - * __useEditUserMutation__ - * - * To run a mutation, you first call `useEditUserMutation` within a React component and pass it any options that fit your needs. - * When your component renders, `useEditUserMutation` 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 [editUserMutation, { data, loading, error }] = useEditUserMutation({ - * variables: { - * username: // value for 'username' - * fargoRating: // value for 'fargoRating' - * videosPrivateByDefault: // value for 'videosPrivateByDefault' - * agreesToMarketing: // value for 'agreesToMarketing' - * }, - * }); - */ -export function useEditUserMutation( - baseOptions?: Apollo.MutationHookOptions< - EditUserMutation, - EditUserMutationVariables - >, -) { - const options = { ...defaultOptions, ...baseOptions }; - return Apollo.useMutation( - EditUserDocument, - options, - ); -} -export type EditUserMutationHookResult = ReturnType; -export type EditUserMutationResult = Apollo.MutationResult; -export type EditUserMutationOptions = Apollo.BaseMutationOptions< - EditUserMutation, - EditUserMutationVariables ->; -export const DeleteUserDocument = gql` - mutation deleteUser { - deleteUser - } -`; -export type DeleteUserMutationFn = Apollo.MutationFunction< - DeleteUserMutation, - DeleteUserMutationVariables ->; - -/** - * __useDeleteUserMutation__ - * - * To run a mutation, you first call `useDeleteUserMutation` within a React component and pass it any options that fit your needs. - * When your component renders, `useDeleteUserMutation` 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 [deleteUserMutation, { data, loading, error }] = useDeleteUserMutation({ - * variables: { - * }, - * }); - */ -export function useDeleteUserMutation( - baseOptions?: Apollo.MutationHookOptions< - DeleteUserMutation, - DeleteUserMutationVariables - >, -) { - const options = { ...defaultOptions, ...baseOptions }; - return Apollo.useMutation( - DeleteUserDocument, - options, - ); -} -export type DeleteUserMutationHookResult = ReturnType< - typeof useDeleteUserMutation ->; -export type DeleteUserMutationResult = - Apollo.MutationResult; -export type DeleteUserMutationOptions = Apollo.BaseMutationOptions< - DeleteUserMutation, - DeleteUserMutationVariables ->; -export const GetStreamMonitoringDetailsDocument = gql` - query GetStreamMonitoringDetails($videoId: Int!, $debuggingJson: JSON) { - getVideo(videoId: $videoId, debuggingJson: $debuggingJson) { - id - totalShots - makePercentage - elapsedTime - currentHomography { - ...HomographyInfo - } - stream { - id - linksRequested - uploadsCompleted - segmentProcessingCursor - isCompleted - uploadCompletionCursor - lastIntendedSegmentBound - initPlaylistUploadStatus - } - currentProcessing { - id - errors { - message - startSegmentIndex - endSegmentIndex - } - } - } - } - ${HomographyInfoFragmentDoc} -`; - -/** - * __useGetStreamMonitoringDetailsQuery__ - * - * To run a query within a React component, call `useGetStreamMonitoringDetailsQuery` and pass it any options that fit your needs. - * When your component renders, `useGetStreamMonitoringDetailsQuery` 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 } = useGetStreamMonitoringDetailsQuery({ - * variables: { - * videoId: // value for 'videoId' - * debuggingJson: // value for 'debuggingJson' - * }, - * }); - */ -export function useGetStreamMonitoringDetailsQuery( - baseOptions: Apollo.QueryHookOptions< - GetStreamMonitoringDetailsQuery, - GetStreamMonitoringDetailsQueryVariables - >, -) { - const options = { ...defaultOptions, ...baseOptions }; - return Apollo.useQuery< - GetStreamMonitoringDetailsQuery, - GetStreamMonitoringDetailsQueryVariables - >(GetStreamMonitoringDetailsDocument, options); -} -export function useGetStreamMonitoringDetailsLazyQuery( - baseOptions?: Apollo.LazyQueryHookOptions< - GetStreamMonitoringDetailsQuery, - GetStreamMonitoringDetailsQueryVariables - >, -) { - const options = { ...defaultOptions, ...baseOptions }; - return Apollo.useLazyQuery< - GetStreamMonitoringDetailsQuery, - GetStreamMonitoringDetailsQueryVariables - >(GetStreamMonitoringDetailsDocument, options); -} -export function useGetStreamMonitoringDetailsSuspenseQuery( - baseOptions?: Apollo.SuspenseQueryHookOptions< - GetStreamMonitoringDetailsQuery, - GetStreamMonitoringDetailsQueryVariables - >, -) { - const options = { ...defaultOptions, ...baseOptions }; - return Apollo.useSuspenseQuery< - GetStreamMonitoringDetailsQuery, - GetStreamMonitoringDetailsQueryVariables - >(GetStreamMonitoringDetailsDocument, options); -} -export type GetStreamMonitoringDetailsQueryHookResult = ReturnType< - typeof useGetStreamMonitoringDetailsQuery ->; -export type GetStreamMonitoringDetailsLazyQueryHookResult = ReturnType< - typeof useGetStreamMonitoringDetailsLazyQuery ->; -export type GetStreamMonitoringDetailsSuspenseQueryHookResult = ReturnType< - typeof useGetStreamMonitoringDetailsSuspenseQuery ->; -export type GetStreamMonitoringDetailsQueryResult = Apollo.QueryResult< - GetStreamMonitoringDetailsQuery, - GetStreamMonitoringDetailsQueryVariables ->; -export const GetVideoUpdatePageDetailsDocument = gql` - query GetVideoUpdatePageDetails($videoId: Int!) { - getVideo(videoId: $videoId) { - id - name - totalShots - makePercentage - elapsedTime - tableSize - pocketSize - private - tags { - tagClasses { - name - } - name - } - } - } -`; - -/** - * __useGetVideoUpdatePageDetailsQuery__ - * - * To run a query within a React component, call `useGetVideoUpdatePageDetailsQuery` and pass it any options that fit your needs. - * When your component renders, `useGetVideoUpdatePageDetailsQuery` 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 } = useGetVideoUpdatePageDetailsQuery({ - * variables: { - * videoId: // value for 'videoId' - * }, - * }); - */ -export function useGetVideoUpdatePageDetailsQuery( - baseOptions: Apollo.QueryHookOptions< - GetVideoUpdatePageDetailsQuery, - GetVideoUpdatePageDetailsQueryVariables - >, -) { - const options = { ...defaultOptions, ...baseOptions }; - return Apollo.useQuery< - GetVideoUpdatePageDetailsQuery, - GetVideoUpdatePageDetailsQueryVariables - >(GetVideoUpdatePageDetailsDocument, options); -} -export function useGetVideoUpdatePageDetailsLazyQuery( - baseOptions?: Apollo.LazyQueryHookOptions< - GetVideoUpdatePageDetailsQuery, - GetVideoUpdatePageDetailsQueryVariables - >, -) { - const options = { ...defaultOptions, ...baseOptions }; - return Apollo.useLazyQuery< - GetVideoUpdatePageDetailsQuery, - GetVideoUpdatePageDetailsQueryVariables - >(GetVideoUpdatePageDetailsDocument, options); -} -export function useGetVideoUpdatePageDetailsSuspenseQuery( - baseOptions?: Apollo.SuspenseQueryHookOptions< - GetVideoUpdatePageDetailsQuery, - GetVideoUpdatePageDetailsQueryVariables - >, -) { - const options = { ...defaultOptions, ...baseOptions }; - return Apollo.useSuspenseQuery< - GetVideoUpdatePageDetailsQuery, - GetVideoUpdatePageDetailsQueryVariables - >(GetVideoUpdatePageDetailsDocument, options); -} -export type GetVideoUpdatePageDetailsQueryHookResult = ReturnType< - typeof useGetVideoUpdatePageDetailsQuery ->; -export type GetVideoUpdatePageDetailsLazyQueryHookResult = ReturnType< - typeof useGetVideoUpdatePageDetailsLazyQuery ->; -export type GetVideoUpdatePageDetailsSuspenseQueryHookResult = ReturnType< - typeof useGetVideoUpdatePageDetailsSuspenseQuery ->; -export type GetVideoUpdatePageDetailsQueryResult = Apollo.QueryResult< - GetVideoUpdatePageDetailsQuery, - GetVideoUpdatePageDetailsQueryVariables ->; -export const DeleteVideoDocument = gql` - mutation DeleteVideo($videoId: Int!) { - deleteVideo(videoId: $videoId) - } -`; -export type DeleteVideoMutationFn = Apollo.MutationFunction< - DeleteVideoMutation, - DeleteVideoMutationVariables ->; - -/** - * __useDeleteVideoMutation__ - * - * To run a mutation, you first call `useDeleteVideoMutation` within a React component and pass it any options that fit your needs. - * When your component renders, `useDeleteVideoMutation` 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 [deleteVideoMutation, { data, loading, error }] = useDeleteVideoMutation({ - * variables: { - * videoId: // value for 'videoId' - * }, - * }); - */ -export function useDeleteVideoMutation( - baseOptions?: Apollo.MutationHookOptions< - DeleteVideoMutation, - DeleteVideoMutationVariables - >, -) { - const options = { ...defaultOptions, ...baseOptions }; - return Apollo.useMutation( - DeleteVideoDocument, - options, - ); -} -export type DeleteVideoMutationHookResult = ReturnType< - typeof useDeleteVideoMutation ->; -export type DeleteVideoMutationResult = - Apollo.MutationResult; -export type DeleteVideoMutationOptions = Apollo.BaseMutationOptions< - DeleteVideoMutation, - DeleteVideoMutationVariables ->; -export const GetVideoDetailsDocument = gql` - query GetVideoDetails($videoId: Int!) { - getVideo(videoId: $videoId) { - id - name - screenshotUri - averageTimeBetweenShots - elapsedTime - endTime - makePercentage - medianRun - startTime - totalShots - totalShotsMade - createdAt - updatedAt - tableSize - pocketSize - private - owner { - id - firebaseUid - username - profileImageUri - } - tags { - tagClasses { - name - } - name - } - } - } -`; - -/** - * __useGetVideoDetailsQuery__ - * - * To run a query within a React component, call `useGetVideoDetailsQuery` and pass it any options that fit your needs. - * When your component renders, `useGetVideoDetailsQuery` 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 } = useGetVideoDetailsQuery({ - * variables: { - * videoId: // value for 'videoId' - * }, - * }); - */ -export function useGetVideoDetailsQuery( - baseOptions: Apollo.QueryHookOptions< - GetVideoDetailsQuery, - GetVideoDetailsQueryVariables - >, -) { - const options = { ...defaultOptions, ...baseOptions }; - return Apollo.useQuery( - GetVideoDetailsDocument, - options, - ); -} -export function useGetVideoDetailsLazyQuery( - baseOptions?: Apollo.LazyQueryHookOptions< - GetVideoDetailsQuery, - GetVideoDetailsQueryVariables - >, -) { - const options = { ...defaultOptions, ...baseOptions }; - return Apollo.useLazyQuery< - GetVideoDetailsQuery, - GetVideoDetailsQueryVariables - >(GetVideoDetailsDocument, options); -} -export function useGetVideoDetailsSuspenseQuery( - baseOptions?: Apollo.SuspenseQueryHookOptions< - GetVideoDetailsQuery, - GetVideoDetailsQueryVariables - >, -) { - const options = { ...defaultOptions, ...baseOptions }; - return Apollo.useSuspenseQuery< - GetVideoDetailsQuery, - GetVideoDetailsQueryVariables - >(GetVideoDetailsDocument, options); -} -export type GetVideoDetailsQueryHookResult = ReturnType< - typeof useGetVideoDetailsQuery ->; -export type GetVideoDetailsLazyQueryHookResult = ReturnType< - typeof useGetVideoDetailsLazyQuery ->; -export type GetVideoDetailsSuspenseQueryHookResult = ReturnType< - typeof useGetVideoDetailsSuspenseQuery ->; -export type GetVideoDetailsQueryResult = Apollo.QueryResult< - GetVideoDetailsQuery, - GetVideoDetailsQueryVariables ->; -export const GetVideoSocialDetailsByIdDocument = gql` - query GetVideoSocialDetailsById($videoId: Int!) { - getVideo(videoId: $videoId) { - id - name - screenshotUri - makePercentage - totalShots - owner { - id - firebaseUid - username - profileImageUri - } - tags { - tagClasses { - name - } - name - } - reactions { - videoId - user { - ...UserSocialsFields - } - reaction - } - comments { - id - message - user { - ...UserSocialsFields - } - replies { - id - message - user { - ...UserSocialsFields - } - } - } - } - } - ${UserSocialsFieldsFragmentDoc} -`; + ${UserSocialsFieldsFragmentDoc}`; /** * __useGetVideoSocialDetailsByIdQuery__ @@ -10258,63 +5035,29 @@ export const GetVideoSocialDetailsByIdDocument = gql` * }, * }); */ -export function useGetVideoSocialDetailsByIdQuery( - baseOptions: Apollo.QueryHookOptions< - GetVideoSocialDetailsByIdQuery, - GetVideoSocialDetailsByIdQueryVariables - >, -) { - const options = { ...defaultOptions, ...baseOptions }; - return Apollo.useQuery< - GetVideoSocialDetailsByIdQuery, - GetVideoSocialDetailsByIdQueryVariables - >(GetVideoSocialDetailsByIdDocument, options); -} -export function useGetVideoSocialDetailsByIdLazyQuery( - baseOptions?: Apollo.LazyQueryHookOptions< - GetVideoSocialDetailsByIdQuery, - GetVideoSocialDetailsByIdQueryVariables - >, -) { - const options = { ...defaultOptions, ...baseOptions }; - return Apollo.useLazyQuery< - GetVideoSocialDetailsByIdQuery, - GetVideoSocialDetailsByIdQueryVariables - >(GetVideoSocialDetailsByIdDocument, options); -} -export function useGetVideoSocialDetailsByIdSuspenseQuery( - baseOptions?: Apollo.SuspenseQueryHookOptions< - GetVideoSocialDetailsByIdQuery, - GetVideoSocialDetailsByIdQueryVariables - >, -) { - const options = { ...defaultOptions, ...baseOptions }; - return Apollo.useSuspenseQuery< - GetVideoSocialDetailsByIdQuery, - GetVideoSocialDetailsByIdQueryVariables - >(GetVideoSocialDetailsByIdDocument, options); -} -export type GetVideoSocialDetailsByIdQueryHookResult = ReturnType< - typeof useGetVideoSocialDetailsByIdQuery ->; -export type GetVideoSocialDetailsByIdLazyQueryHookResult = ReturnType< - typeof useGetVideoSocialDetailsByIdLazyQuery ->; -export type GetVideoSocialDetailsByIdSuspenseQueryHookResult = ReturnType< - typeof useGetVideoSocialDetailsByIdSuspenseQuery ->; -export type GetVideoSocialDetailsByIdQueryResult = Apollo.QueryResult< - GetVideoSocialDetailsByIdQuery, - GetVideoSocialDetailsByIdQueryVariables ->; +export function useGetVideoSocialDetailsByIdQuery(baseOptions: Apollo.QueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useQuery(GetVideoSocialDetailsByIdDocument, options); + } +export function useGetVideoSocialDetailsByIdLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useLazyQuery(GetVideoSocialDetailsByIdDocument, options); + } +export function useGetVideoSocialDetailsByIdSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useSuspenseQuery(GetVideoSocialDetailsByIdDocument, options); + } +export type GetVideoSocialDetailsByIdQueryHookResult = ReturnType; +export type GetVideoSocialDetailsByIdLazyQueryHookResult = ReturnType; +export type GetVideoSocialDetailsByIdSuspenseQueryHookResult = ReturnType; +export type GetVideoSocialDetailsByIdQueryResult = Apollo.QueryResult; export const GetVideosDocument = gql` - query GetVideos($videoIds: [Int!]!) { - getVideos(videoIds: $videoIds) { - ...VideoStreamMetadata - } + query GetVideos($videoIds: [Int!]!) { + getVideos(videoIds: $videoIds) { + ...VideoStreamMetadata } - ${VideoStreamMetadataFragmentDoc} -`; +} + ${VideoStreamMetadataFragmentDoc}`; /** * __useGetVideosQuery__ @@ -10332,58 +5075,29 @@ export const GetVideosDocument = gql` * }, * }); */ -export function useGetVideosQuery( - baseOptions: Apollo.QueryHookOptions, -) { - const options = { ...defaultOptions, ...baseOptions }; - return Apollo.useQuery( - GetVideosDocument, - options, - ); -} -export function useGetVideosLazyQuery( - baseOptions?: Apollo.LazyQueryHookOptions< - GetVideosQuery, - GetVideosQueryVariables - >, -) { - const options = { ...defaultOptions, ...baseOptions }; - return Apollo.useLazyQuery( - GetVideosDocument, - options, - ); -} -export function useGetVideosSuspenseQuery( - baseOptions?: Apollo.SuspenseQueryHookOptions< - GetVideosQuery, - GetVideosQueryVariables - >, -) { - const options = { ...defaultOptions, ...baseOptions }; - return Apollo.useSuspenseQuery( - GetVideosDocument, - options, - ); -} +export function useGetVideosQuery(baseOptions: Apollo.QueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useQuery(GetVideosDocument, options); + } +export function useGetVideosLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useLazyQuery(GetVideosDocument, options); + } +export function useGetVideosSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useSuspenseQuery(GetVideosDocument, options); + } export type GetVideosQueryHookResult = ReturnType; -export type GetVideosLazyQueryHookResult = ReturnType< - typeof useGetVideosLazyQuery ->; -export type GetVideosSuspenseQueryHookResult = ReturnType< - typeof useGetVideosSuspenseQuery ->; -export type GetVideosQueryResult = Apollo.QueryResult< - GetVideosQuery, - GetVideosQueryVariables ->; +export type GetVideosLazyQueryHookResult = ReturnType; +export type GetVideosSuspenseQueryHookResult = ReturnType; +export type GetVideosQueryResult = Apollo.QueryResult; export const GetVideoForShotTimeDocument = gql` - query GetVideoForShotTime($videoId: Int!) { - getVideo(videoId: $videoId) { - ...VideoStreamMetadata - } + query GetVideoForShotTime($videoId: Int!) { + getVideo(videoId: $videoId) { + ...VideoStreamMetadata } - ${VideoStreamMetadataFragmentDoc} -`; +} + ${VideoStreamMetadataFragmentDoc}`; /** * __useGetVideoForShotTimeQuery__ @@ -10401,82 +5115,48 @@ export const GetVideoForShotTimeDocument = gql` * }, * }); */ -export function useGetVideoForShotTimeQuery( - baseOptions: Apollo.QueryHookOptions< - GetVideoForShotTimeQuery, - GetVideoForShotTimeQueryVariables - >, -) { - const options = { ...defaultOptions, ...baseOptions }; - return Apollo.useQuery< - GetVideoForShotTimeQuery, - GetVideoForShotTimeQueryVariables - >(GetVideoForShotTimeDocument, options); -} -export function useGetVideoForShotTimeLazyQuery( - baseOptions?: Apollo.LazyQueryHookOptions< - GetVideoForShotTimeQuery, - GetVideoForShotTimeQueryVariables - >, -) { - const options = { ...defaultOptions, ...baseOptions }; - return Apollo.useLazyQuery< - GetVideoForShotTimeQuery, - GetVideoForShotTimeQueryVariables - >(GetVideoForShotTimeDocument, options); -} -export function useGetVideoForShotTimeSuspenseQuery( - baseOptions?: Apollo.SuspenseQueryHookOptions< - GetVideoForShotTimeQuery, - GetVideoForShotTimeQueryVariables - >, -) { - const options = { ...defaultOptions, ...baseOptions }; - return Apollo.useSuspenseQuery< - GetVideoForShotTimeQuery, - GetVideoForShotTimeQueryVariables - >(GetVideoForShotTimeDocument, options); -} -export type GetVideoForShotTimeQueryHookResult = ReturnType< - typeof useGetVideoForShotTimeQuery ->; -export type GetVideoForShotTimeLazyQueryHookResult = ReturnType< - typeof useGetVideoForShotTimeLazyQuery ->; -export type GetVideoForShotTimeSuspenseQueryHookResult = ReturnType< - typeof useGetVideoForShotTimeSuspenseQuery ->; -export type GetVideoForShotTimeQueryResult = Apollo.QueryResult< - GetVideoForShotTimeQuery, - GetVideoForShotTimeQueryVariables ->; +export function useGetVideoForShotTimeQuery(baseOptions: Apollo.QueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useQuery(GetVideoForShotTimeDocument, options); + } +export function useGetVideoForShotTimeLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useLazyQuery(GetVideoForShotTimeDocument, options); + } +export function useGetVideoForShotTimeSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useSuspenseQuery(GetVideoForShotTimeDocument, options); + } +export type GetVideoForShotTimeQueryHookResult = ReturnType; +export type GetVideoForShotTimeLazyQueryHookResult = ReturnType; +export type GetVideoForShotTimeSuspenseQueryHookResult = ReturnType; +export type GetVideoForShotTimeQueryResult = Apollo.QueryResult; export const GetVideoDocument = gql` - query GetVideo($videoId: Int!) { - getVideo(videoId: $videoId) { + query GetVideo($videoId: Int!) { + getVideo(videoId: $videoId) { + id + playlist { + segmentDurations + } + homographyHistory { + ...HomographyInfo + } + stream { id - playlist { - segmentDurations + streamSegmentType + segments { + segmentIndex + endFrameIndex + framesPerSecond } - homographyHistory { - ...HomographyInfo - } - stream { - id - streamSegmentType - segments { - segmentIndex - endFrameIndex - framesPerSecond - } - resolution { - width - height - } + resolution { + width + height } } } - ${HomographyInfoFragmentDoc} -`; +} + ${HomographyInfoFragmentDoc}`; /** * __useGetVideoQuery__ @@ -10494,58 +5174,30 @@ export const GetVideoDocument = gql` * }, * }); */ -export function useGetVideoQuery( - baseOptions: Apollo.QueryHookOptions, -) { - const options = { ...defaultOptions, ...baseOptions }; - return Apollo.useQuery( - GetVideoDocument, - options, - ); -} -export function useGetVideoLazyQuery( - baseOptions?: Apollo.LazyQueryHookOptions< - GetVideoQuery, - GetVideoQueryVariables - >, -) { - const options = { ...defaultOptions, ...baseOptions }; - return Apollo.useLazyQuery( - GetVideoDocument, - options, - ); -} -export function useGetVideoSuspenseQuery( - baseOptions?: Apollo.SuspenseQueryHookOptions< - GetVideoQuery, - GetVideoQueryVariables - >, -) { - const options = { ...defaultOptions, ...baseOptions }; - return Apollo.useSuspenseQuery( - GetVideoDocument, - options, - ); -} +export function useGetVideoQuery(baseOptions: Apollo.QueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useQuery(GetVideoDocument, options); + } +export function useGetVideoLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useLazyQuery(GetVideoDocument, options); + } +export function useGetVideoSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useSuspenseQuery(GetVideoDocument, options); + } export type GetVideoQueryHookResult = ReturnType; -export type GetVideoLazyQueryHookResult = ReturnType< - typeof useGetVideoLazyQuery ->; -export type GetVideoSuspenseQueryHookResult = ReturnType< - typeof useGetVideoSuspenseQuery ->; -export type GetVideoQueryResult = Apollo.QueryResult< - GetVideoQuery, - GetVideoQueryVariables ->; +export type GetVideoLazyQueryHookResult = ReturnType; +export type GetVideoSuspenseQueryHookResult = ReturnType; +export type GetVideoQueryResult = Apollo.QueryResult; export const GetAverageTimePerShotForVideoDocument = gql` - query GetAverageTimePerShotForVideo($videoId: Int!) { - getVideo(videoId: $videoId) { - id - averageTimeBetweenShots - } + query GetAverageTimePerShotForVideo($videoId: Int!) { + getVideo(videoId: $videoId) { + id + averageTimeBetweenShots } -`; +} + `; /** * __useGetAverageTimePerShotForVideoQuery__ @@ -10563,63 +5215,30 @@ export const GetAverageTimePerShotForVideoDocument = gql` * }, * }); */ -export function useGetAverageTimePerShotForVideoQuery( - baseOptions: Apollo.QueryHookOptions< - GetAverageTimePerShotForVideoQuery, - GetAverageTimePerShotForVideoQueryVariables - >, -) { - const options = { ...defaultOptions, ...baseOptions }; - return Apollo.useQuery< - GetAverageTimePerShotForVideoQuery, - GetAverageTimePerShotForVideoQueryVariables - >(GetAverageTimePerShotForVideoDocument, options); -} -export function useGetAverageTimePerShotForVideoLazyQuery( - baseOptions?: Apollo.LazyQueryHookOptions< - GetAverageTimePerShotForVideoQuery, - GetAverageTimePerShotForVideoQueryVariables - >, -) { - const options = { ...defaultOptions, ...baseOptions }; - return Apollo.useLazyQuery< - GetAverageTimePerShotForVideoQuery, - GetAverageTimePerShotForVideoQueryVariables - >(GetAverageTimePerShotForVideoDocument, options); -} -export function useGetAverageTimePerShotForVideoSuspenseQuery( - baseOptions?: Apollo.SuspenseQueryHookOptions< - GetAverageTimePerShotForVideoQuery, - GetAverageTimePerShotForVideoQueryVariables - >, -) { - const options = { ...defaultOptions, ...baseOptions }; - return Apollo.useSuspenseQuery< - GetAverageTimePerShotForVideoQuery, - GetAverageTimePerShotForVideoQueryVariables - >(GetAverageTimePerShotForVideoDocument, options); -} -export type GetAverageTimePerShotForVideoQueryHookResult = ReturnType< - typeof useGetAverageTimePerShotForVideoQuery ->; -export type GetAverageTimePerShotForVideoLazyQueryHookResult = ReturnType< - typeof useGetAverageTimePerShotForVideoLazyQuery ->; -export type GetAverageTimePerShotForVideoSuspenseQueryHookResult = ReturnType< - typeof useGetAverageTimePerShotForVideoSuspenseQuery ->; -export type GetAverageTimePerShotForVideoQueryResult = Apollo.QueryResult< - GetAverageTimePerShotForVideoQuery, - GetAverageTimePerShotForVideoQueryVariables ->; +export function useGetAverageTimePerShotForVideoQuery(baseOptions: Apollo.QueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useQuery(GetAverageTimePerShotForVideoDocument, options); + } +export function useGetAverageTimePerShotForVideoLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useLazyQuery(GetAverageTimePerShotForVideoDocument, options); + } +export function useGetAverageTimePerShotForVideoSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useSuspenseQuery(GetAverageTimePerShotForVideoDocument, options); + } +export type GetAverageTimePerShotForVideoQueryHookResult = ReturnType; +export type GetAverageTimePerShotForVideoLazyQueryHookResult = ReturnType; +export type GetAverageTimePerShotForVideoSuspenseQueryHookResult = ReturnType; +export type GetAverageTimePerShotForVideoQueryResult = Apollo.QueryResult; export const GetElapsedTimeForVideoDocument = gql` - query GetElapsedTimeForVideo($videoId: Int!) { - getVideo(videoId: $videoId) { - id - elapsedTime - } + query GetElapsedTimeForVideo($videoId: Int!) { + getVideo(videoId: $videoId) { + id + elapsedTime } -`; +} + `; /** * __useGetElapsedTimeForVideoQuery__ @@ -10637,63 +5256,30 @@ export const GetElapsedTimeForVideoDocument = gql` * }, * }); */ -export function useGetElapsedTimeForVideoQuery( - baseOptions: Apollo.QueryHookOptions< - GetElapsedTimeForVideoQuery, - GetElapsedTimeForVideoQueryVariables - >, -) { - const options = { ...defaultOptions, ...baseOptions }; - return Apollo.useQuery< - GetElapsedTimeForVideoQuery, - GetElapsedTimeForVideoQueryVariables - >(GetElapsedTimeForVideoDocument, options); -} -export function useGetElapsedTimeForVideoLazyQuery( - baseOptions?: Apollo.LazyQueryHookOptions< - GetElapsedTimeForVideoQuery, - GetElapsedTimeForVideoQueryVariables - >, -) { - const options = { ...defaultOptions, ...baseOptions }; - return Apollo.useLazyQuery< - GetElapsedTimeForVideoQuery, - GetElapsedTimeForVideoQueryVariables - >(GetElapsedTimeForVideoDocument, options); -} -export function useGetElapsedTimeForVideoSuspenseQuery( - baseOptions?: Apollo.SuspenseQueryHookOptions< - GetElapsedTimeForVideoQuery, - GetElapsedTimeForVideoQueryVariables - >, -) { - const options = { ...defaultOptions, ...baseOptions }; - return Apollo.useSuspenseQuery< - GetElapsedTimeForVideoQuery, - GetElapsedTimeForVideoQueryVariables - >(GetElapsedTimeForVideoDocument, options); -} -export type GetElapsedTimeForVideoQueryHookResult = ReturnType< - typeof useGetElapsedTimeForVideoQuery ->; -export type GetElapsedTimeForVideoLazyQueryHookResult = ReturnType< - typeof useGetElapsedTimeForVideoLazyQuery ->; -export type GetElapsedTimeForVideoSuspenseQueryHookResult = ReturnType< - typeof useGetElapsedTimeForVideoSuspenseQuery ->; -export type GetElapsedTimeForVideoQueryResult = Apollo.QueryResult< - GetElapsedTimeForVideoQuery, - GetElapsedTimeForVideoQueryVariables ->; +export function useGetElapsedTimeForVideoQuery(baseOptions: Apollo.QueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useQuery(GetElapsedTimeForVideoDocument, options); + } +export function useGetElapsedTimeForVideoLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useLazyQuery(GetElapsedTimeForVideoDocument, options); + } +export function useGetElapsedTimeForVideoSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useSuspenseQuery(GetElapsedTimeForVideoDocument, options); + } +export type GetElapsedTimeForVideoQueryHookResult = ReturnType; +export type GetElapsedTimeForVideoLazyQueryHookResult = ReturnType; +export type GetElapsedTimeForVideoSuspenseQueryHookResult = ReturnType; +export type GetElapsedTimeForVideoQueryResult = Apollo.QueryResult; export const GetMedianRunForVideoDocument = gql` - query GetMedianRunForVideo($videoId: Int!) { - getVideo(videoId: $videoId) { - id - medianRun - } + query GetMedianRunForVideo($videoId: Int!) { + getVideo(videoId: $videoId) { + id + medianRun } -`; +} + `; /** * __useGetMedianRunForVideoQuery__ @@ -10711,63 +5297,29 @@ export const GetMedianRunForVideoDocument = gql` * }, * }); */ -export function useGetMedianRunForVideoQuery( - baseOptions: Apollo.QueryHookOptions< - GetMedianRunForVideoQuery, - GetMedianRunForVideoQueryVariables - >, -) { - const options = { ...defaultOptions, ...baseOptions }; - return Apollo.useQuery< - GetMedianRunForVideoQuery, - GetMedianRunForVideoQueryVariables - >(GetMedianRunForVideoDocument, options); -} -export function useGetMedianRunForVideoLazyQuery( - baseOptions?: Apollo.LazyQueryHookOptions< - GetMedianRunForVideoQuery, - GetMedianRunForVideoQueryVariables - >, -) { - const options = { ...defaultOptions, ...baseOptions }; - return Apollo.useLazyQuery< - GetMedianRunForVideoQuery, - GetMedianRunForVideoQueryVariables - >(GetMedianRunForVideoDocument, options); -} -export function useGetMedianRunForVideoSuspenseQuery( - baseOptions?: Apollo.SuspenseQueryHookOptions< - GetMedianRunForVideoQuery, - GetMedianRunForVideoQueryVariables - >, -) { - const options = { ...defaultOptions, ...baseOptions }; - return Apollo.useSuspenseQuery< - GetMedianRunForVideoQuery, - GetMedianRunForVideoQueryVariables - >(GetMedianRunForVideoDocument, options); -} -export type GetMedianRunForVideoQueryHookResult = ReturnType< - typeof useGetMedianRunForVideoQuery ->; -export type GetMedianRunForVideoLazyQueryHookResult = ReturnType< - typeof useGetMedianRunForVideoLazyQuery ->; -export type GetMedianRunForVideoSuspenseQueryHookResult = ReturnType< - typeof useGetMedianRunForVideoSuspenseQuery ->; -export type GetMedianRunForVideoQueryResult = Apollo.QueryResult< - GetMedianRunForVideoQuery, - GetMedianRunForVideoQueryVariables ->; +export function useGetMedianRunForVideoQuery(baseOptions: Apollo.QueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useQuery(GetMedianRunForVideoDocument, options); + } +export function useGetMedianRunForVideoLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useLazyQuery(GetMedianRunForVideoDocument, options); + } +export function useGetMedianRunForVideoSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useSuspenseQuery(GetMedianRunForVideoDocument, options); + } +export type GetMedianRunForVideoQueryHookResult = ReturnType; +export type GetMedianRunForVideoLazyQueryHookResult = ReturnType; +export type GetMedianRunForVideoSuspenseQueryHookResult = ReturnType; +export type GetMedianRunForVideoQueryResult = Apollo.QueryResult; export const GetVideoForClipTimesDocument = gql` - query GetVideoForClipTimes($videoId: Int!) { - getVideo(videoId: $videoId) { - ...VideoDurationData - } + query GetVideoForClipTimes($videoId: Int!) { + getVideo(videoId: $videoId) { + ...VideoDurationData } - ${VideoDurationDataFragmentDoc} -`; +} + ${VideoDurationDataFragmentDoc}`; /** * __useGetVideoForClipTimesQuery__ @@ -10785,64 +5337,31 @@ export const GetVideoForClipTimesDocument = gql` * }, * }); */ -export function useGetVideoForClipTimesQuery( - baseOptions: Apollo.QueryHookOptions< - GetVideoForClipTimesQuery, - GetVideoForClipTimesQueryVariables - >, -) { - const options = { ...defaultOptions, ...baseOptions }; - return Apollo.useQuery< - GetVideoForClipTimesQuery, - GetVideoForClipTimesQueryVariables - >(GetVideoForClipTimesDocument, options); -} -export function useGetVideoForClipTimesLazyQuery( - baseOptions?: Apollo.LazyQueryHookOptions< - GetVideoForClipTimesQuery, - GetVideoForClipTimesQueryVariables - >, -) { - const options = { ...defaultOptions, ...baseOptions }; - return Apollo.useLazyQuery< - GetVideoForClipTimesQuery, - GetVideoForClipTimesQueryVariables - >(GetVideoForClipTimesDocument, options); -} -export function useGetVideoForClipTimesSuspenseQuery( - baseOptions?: Apollo.SuspenseQueryHookOptions< - GetVideoForClipTimesQuery, - GetVideoForClipTimesQueryVariables - >, -) { - const options = { ...defaultOptions, ...baseOptions }; - return Apollo.useSuspenseQuery< - GetVideoForClipTimesQuery, - GetVideoForClipTimesQueryVariables - >(GetVideoForClipTimesDocument, options); -} -export type GetVideoForClipTimesQueryHookResult = ReturnType< - typeof useGetVideoForClipTimesQuery ->; -export type GetVideoForClipTimesLazyQueryHookResult = ReturnType< - typeof useGetVideoForClipTimesLazyQuery ->; -export type GetVideoForClipTimesSuspenseQueryHookResult = ReturnType< - typeof useGetVideoForClipTimesSuspenseQuery ->; -export type GetVideoForClipTimesQueryResult = Apollo.QueryResult< - GetVideoForClipTimesQuery, - GetVideoForClipTimesQueryVariables ->; +export function useGetVideoForClipTimesQuery(baseOptions: Apollo.QueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useQuery(GetVideoForClipTimesDocument, options); + } +export function useGetVideoForClipTimesLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useLazyQuery(GetVideoForClipTimesDocument, options); + } +export function useGetVideoForClipTimesSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useSuspenseQuery(GetVideoForClipTimesDocument, options); + } +export type GetVideoForClipTimesQueryHookResult = ReturnType; +export type GetVideoForClipTimesLazyQueryHookResult = ReturnType; +export type GetVideoForClipTimesSuspenseQueryHookResult = ReturnType; +export type GetVideoForClipTimesQueryResult = Apollo.QueryResult; export const GetHeaderInfoByVideoIdDocument = gql` - query GetHeaderInfoByVideoId($videoId: Int!) { - getVideo(videoId: $videoId) { - id - name - startTime - } + query GetHeaderInfoByVideoId($videoId: Int!) { + getVideo(videoId: $videoId) { + id + name + startTime } -`; +} + `; /** * __useGetHeaderInfoByVideoIdQuery__ @@ -10860,74 +5379,41 @@ export const GetHeaderInfoByVideoIdDocument = gql` * }, * }); */ -export function useGetHeaderInfoByVideoIdQuery( - baseOptions: Apollo.QueryHookOptions< - GetHeaderInfoByVideoIdQuery, - GetHeaderInfoByVideoIdQueryVariables - >, -) { - const options = { ...defaultOptions, ...baseOptions }; - return Apollo.useQuery< - GetHeaderInfoByVideoIdQuery, - GetHeaderInfoByVideoIdQueryVariables - >(GetHeaderInfoByVideoIdDocument, options); -} -export function useGetHeaderInfoByVideoIdLazyQuery( - baseOptions?: Apollo.LazyQueryHookOptions< - GetHeaderInfoByVideoIdQuery, - GetHeaderInfoByVideoIdQueryVariables - >, -) { - const options = { ...defaultOptions, ...baseOptions }; - return Apollo.useLazyQuery< - GetHeaderInfoByVideoIdQuery, - GetHeaderInfoByVideoIdQueryVariables - >(GetHeaderInfoByVideoIdDocument, options); -} -export function useGetHeaderInfoByVideoIdSuspenseQuery( - baseOptions?: Apollo.SuspenseQueryHookOptions< - GetHeaderInfoByVideoIdQuery, - GetHeaderInfoByVideoIdQueryVariables - >, -) { - const options = { ...defaultOptions, ...baseOptions }; - return Apollo.useSuspenseQuery< - GetHeaderInfoByVideoIdQuery, - GetHeaderInfoByVideoIdQueryVariables - >(GetHeaderInfoByVideoIdDocument, options); -} -export type GetHeaderInfoByVideoIdQueryHookResult = ReturnType< - typeof useGetHeaderInfoByVideoIdQuery ->; -export type GetHeaderInfoByVideoIdLazyQueryHookResult = ReturnType< - typeof useGetHeaderInfoByVideoIdLazyQuery ->; -export type GetHeaderInfoByVideoIdSuspenseQueryHookResult = ReturnType< - typeof useGetHeaderInfoByVideoIdSuspenseQuery ->; -export type GetHeaderInfoByVideoIdQueryResult = Apollo.QueryResult< - GetHeaderInfoByVideoIdQuery, - GetHeaderInfoByVideoIdQueryVariables ->; +export function useGetHeaderInfoByVideoIdQuery(baseOptions: Apollo.QueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useQuery(GetHeaderInfoByVideoIdDocument, options); + } +export function useGetHeaderInfoByVideoIdLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useLazyQuery(GetHeaderInfoByVideoIdDocument, options); + } +export function useGetHeaderInfoByVideoIdSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useSuspenseQuery(GetHeaderInfoByVideoIdDocument, options); + } +export type GetHeaderInfoByVideoIdQueryHookResult = ReturnType; +export type GetHeaderInfoByVideoIdLazyQueryHookResult = ReturnType; +export type GetHeaderInfoByVideoIdSuspenseQueryHookResult = ReturnType; +export type GetHeaderInfoByVideoIdQueryResult = Apollo.QueryResult; export const GetBannerInfoByVideoIdDocument = gql` - query GetBannerInfoByVideoId($videoId: Int!) { - getVideo(videoId: $videoId) { + query GetBannerInfoByVideoId($videoId: Int!) { + getVideo(videoId: $videoId) { + id + name + stream { id - name - stream { - id - lastIntendedSegmentBound - } - owner { - id - } - currentProcessing { - id - status - } + lastIntendedSegmentBound + } + owner { + id + } + currentProcessing { + id + status } } -`; +} + `; /** * __useGetBannerInfoByVideoIdQuery__ @@ -10945,67 +5431,30 @@ export const GetBannerInfoByVideoIdDocument = gql` * }, * }); */ -export function useGetBannerInfoByVideoIdQuery( - baseOptions: Apollo.QueryHookOptions< - GetBannerInfoByVideoIdQuery, - GetBannerInfoByVideoIdQueryVariables - >, -) { - const options = { ...defaultOptions, ...baseOptions }; - return Apollo.useQuery< - GetBannerInfoByVideoIdQuery, - GetBannerInfoByVideoIdQueryVariables - >(GetBannerInfoByVideoIdDocument, options); -} -export function useGetBannerInfoByVideoIdLazyQuery( - baseOptions?: Apollo.LazyQueryHookOptions< - GetBannerInfoByVideoIdQuery, - GetBannerInfoByVideoIdQueryVariables - >, -) { - const options = { ...defaultOptions, ...baseOptions }; - return Apollo.useLazyQuery< - GetBannerInfoByVideoIdQuery, - GetBannerInfoByVideoIdQueryVariables - >(GetBannerInfoByVideoIdDocument, options); -} -export function useGetBannerInfoByVideoIdSuspenseQuery( - baseOptions?: Apollo.SuspenseQueryHookOptions< - GetBannerInfoByVideoIdQuery, - GetBannerInfoByVideoIdQueryVariables - >, -) { - const options = { ...defaultOptions, ...baseOptions }; - return Apollo.useSuspenseQuery< - GetBannerInfoByVideoIdQuery, - GetBannerInfoByVideoIdQueryVariables - >(GetBannerInfoByVideoIdDocument, options); -} -export type GetBannerInfoByVideoIdQueryHookResult = ReturnType< - typeof useGetBannerInfoByVideoIdQuery ->; -export type GetBannerInfoByVideoIdLazyQueryHookResult = ReturnType< - typeof useGetBannerInfoByVideoIdLazyQuery ->; -export type GetBannerInfoByVideoIdSuspenseQueryHookResult = ReturnType< - typeof useGetBannerInfoByVideoIdSuspenseQuery ->; -export type GetBannerInfoByVideoIdQueryResult = Apollo.QueryResult< - GetBannerInfoByVideoIdQuery, - GetBannerInfoByVideoIdQueryVariables ->; +export function useGetBannerInfoByVideoIdQuery(baseOptions: Apollo.QueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useQuery(GetBannerInfoByVideoIdDocument, options); + } +export function useGetBannerInfoByVideoIdLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useLazyQuery(GetBannerInfoByVideoIdDocument, options); + } +export function useGetBannerInfoByVideoIdSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useSuspenseQuery(GetBannerInfoByVideoIdDocument, options); + } +export type GetBannerInfoByVideoIdQueryHookResult = ReturnType; +export type GetBannerInfoByVideoIdLazyQueryHookResult = ReturnType; +export type GetBannerInfoByVideoIdSuspenseQueryHookResult = ReturnType; +export type GetBannerInfoByVideoIdQueryResult = Apollo.QueryResult; export const FindPrerecordTableLayoutDocument = gql` - mutation FindPrerecordTableLayout($b64Image: String!, $videoId: Int!) { - findPrerecordTableLayout(b64Image: $b64Image, videoId: $videoId) { - ...HomographyInfo - } + mutation FindPrerecordTableLayout($b64Image: String!, $videoId: Int!) { + findPrerecordTableLayout(b64Image: $b64Image, videoId: $videoId) { + ...HomographyInfo } - ${HomographyInfoFragmentDoc} -`; -export type FindPrerecordTableLayoutMutationFn = Apollo.MutationFunction< - FindPrerecordTableLayoutMutation, - FindPrerecordTableLayoutMutationVariables ->; +} + ${HomographyInfoFragmentDoc}`; +export type FindPrerecordTableLayoutMutationFn = Apollo.MutationFunction; /** * __useFindPrerecordTableLayoutMutation__ @@ -11025,39 +5474,21 @@ export type FindPrerecordTableLayoutMutationFn = Apollo.MutationFunction< * }, * }); */ -export function useFindPrerecordTableLayoutMutation( - baseOptions?: Apollo.MutationHookOptions< - FindPrerecordTableLayoutMutation, - FindPrerecordTableLayoutMutationVariables - >, -) { - const options = { ...defaultOptions, ...baseOptions }; - return Apollo.useMutation< - FindPrerecordTableLayoutMutation, - FindPrerecordTableLayoutMutationVariables - >(FindPrerecordTableLayoutDocument, options); -} -export type FindPrerecordTableLayoutMutationHookResult = ReturnType< - typeof useFindPrerecordTableLayoutMutation ->; -export type FindPrerecordTableLayoutMutationResult = - Apollo.MutationResult; -export type FindPrerecordTableLayoutMutationOptions = - Apollo.BaseMutationOptions< - FindPrerecordTableLayoutMutation, - FindPrerecordTableLayoutMutationVariables - >; +export function useFindPrerecordTableLayoutMutation(baseOptions?: Apollo.MutationHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useMutation(FindPrerecordTableLayoutDocument, options); + } +export type FindPrerecordTableLayoutMutationHookResult = ReturnType; +export type FindPrerecordTableLayoutMutationResult = Apollo.MutationResult; +export type FindPrerecordTableLayoutMutationOptions = Apollo.BaseMutationOptions; export const CreateUploadStreamDocument = gql` - mutation CreateUploadStream($videoMetadataInput: VideoMetadataInput!) { - createUploadStream(videoMetadata: $videoMetadataInput) { - videoId - } + mutation CreateUploadStream($videoMetadataInput: VideoMetadataInput!) { + createUploadStream(videoMetadata: $videoMetadataInput) { + videoId } -`; -export type CreateUploadStreamMutationFn = Apollo.MutationFunction< - CreateUploadStreamMutation, - CreateUploadStreamMutationVariables ->; +} + `; +export type CreateUploadStreamMutationFn = Apollo.MutationFunction; /** * __useCreateUploadStreamMutation__ @@ -11076,68 +5507,51 @@ export type CreateUploadStreamMutationFn = Apollo.MutationFunction< * }, * }); */ -export function useCreateUploadStreamMutation( - baseOptions?: Apollo.MutationHookOptions< - CreateUploadStreamMutation, - CreateUploadStreamMutationVariables - >, -) { - const options = { ...defaultOptions, ...baseOptions }; - return Apollo.useMutation< - CreateUploadStreamMutation, - CreateUploadStreamMutationVariables - >(CreateUploadStreamDocument, options); -} -export type CreateUploadStreamMutationHookResult = ReturnType< - typeof useCreateUploadStreamMutation ->; -export type CreateUploadStreamMutationResult = - Apollo.MutationResult; -export type CreateUploadStreamMutationOptions = Apollo.BaseMutationOptions< - CreateUploadStreamMutation, - CreateUploadStreamMutationVariables ->; +export function useCreateUploadStreamMutation(baseOptions?: Apollo.MutationHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useMutation(CreateUploadStreamDocument, options); + } +export type CreateUploadStreamMutationHookResult = ReturnType; +export type CreateUploadStreamMutationResult = Apollo.MutationResult; +export type CreateUploadStreamMutationOptions = Apollo.BaseMutationOptions; export const GetUploadLinkDocument = gql` - mutation GetUploadLink($videoId: Int!, $segmentIndex: Int!) { - getUploadLink(videoId: $videoId, segmentIndex: $segmentIndex) { - value { - ... on UploadLink { - uploadUrl - headers { - key - value - } + mutation GetUploadLink($videoId: Int!, $segmentIndex: Int!) { + getUploadLink(videoId: $videoId, segmentIndex: $segmentIndex) { + value { + ... on UploadLink { + uploadUrl + headers { + key + value } - ... on GetUploadLinkErrors { - error { - ... on MustHaveSetForUploadLinkErr { - resolution - framesPerSecond - } - ... on SegmentAlreadyUploadedErr { - segmentId - } - ... on ProcessingFailedErr { - processing { - status - errors { - message - } + } + ... on GetUploadLinkErrors { + error { + ... on MustHaveSetForUploadLinkErr { + resolution + framesPerSecond + } + ... on SegmentAlreadyUploadedErr { + segmentId + } + ... on ProcessingFailedErr { + processing { + status + errors { + message } } } } } - stream { - uploadCompletionCursor - } + } + stream { + uploadCompletionCursor } } -`; -export type GetUploadLinkMutationFn = Apollo.MutationFunction< - GetUploadLinkMutation, - GetUploadLinkMutationVariables ->; +} + `; +export type GetUploadLinkMutationFn = Apollo.MutationFunction; /** * __useGetUploadLinkMutation__ @@ -11157,59 +5571,42 @@ export type GetUploadLinkMutationFn = Apollo.MutationFunction< * }, * }); */ -export function useGetUploadLinkMutation( - baseOptions?: Apollo.MutationHookOptions< - GetUploadLinkMutation, - GetUploadLinkMutationVariables - >, -) { - const options = { ...defaultOptions, ...baseOptions }; - return Apollo.useMutation< - GetUploadLinkMutation, - GetUploadLinkMutationVariables - >(GetUploadLinkDocument, options); -} -export type GetUploadLinkMutationHookResult = ReturnType< - typeof useGetUploadLinkMutation ->; -export type GetUploadLinkMutationResult = - Apollo.MutationResult; -export type GetUploadLinkMutationOptions = Apollo.BaseMutationOptions< - GetUploadLinkMutation, - GetUploadLinkMutationVariables ->; +export function useGetUploadLinkMutation(baseOptions?: Apollo.MutationHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useMutation(GetUploadLinkDocument, options); + } +export type GetUploadLinkMutationHookResult = ReturnType; +export type GetUploadLinkMutationResult = Apollo.MutationResult; +export type GetUploadLinkMutationOptions = Apollo.BaseMutationOptions; export const GetHlsInitUploadLinkDocument = gql` - mutation GetHlsInitUploadLink($videoId: Int!) { - getHlsInitUploadLink(videoId: $videoId) { - value { - ... on UploadLink { - uploadUrl - headers { - key - value - } + mutation GetHlsInitUploadLink($videoId: Int!) { + getHlsInitUploadLink(videoId: $videoId) { + value { + ... on UploadLink { + uploadUrl + headers { + key + value } - ... on GetUploadLinkErrors { - error { - ... on NoInitForChunkedUploadErr { - segmentType - } - ... on InitUploadAlreadyCompletedErr { - segmentType - } - ... on TooManyInitUploadsErr { - linksRequested - } + } + ... on GetUploadLinkErrors { + error { + ... on NoInitForChunkedUploadErr { + segmentType + } + ... on InitUploadAlreadyCompletedErr { + segmentType + } + ... on TooManyInitUploadsErr { + linksRequested } } } } } -`; -export type GetHlsInitUploadLinkMutationFn = Apollo.MutationFunction< - GetHlsInitUploadLinkMutation, - GetHlsInitUploadLinkMutationVariables ->; +} + `; +export type GetHlsInitUploadLinkMutationFn = Apollo.MutationFunction; /** * __useGetHlsInitUploadLinkMutation__ @@ -11228,44 +5625,23 @@ export type GetHlsInitUploadLinkMutationFn = Apollo.MutationFunction< * }, * }); */ -export function useGetHlsInitUploadLinkMutation( - baseOptions?: Apollo.MutationHookOptions< - GetHlsInitUploadLinkMutation, - GetHlsInitUploadLinkMutationVariables - >, -) { - const options = { ...defaultOptions, ...baseOptions }; - return Apollo.useMutation< - GetHlsInitUploadLinkMutation, - GetHlsInitUploadLinkMutationVariables - >(GetHlsInitUploadLinkDocument, options); -} -export type GetHlsInitUploadLinkMutationHookResult = ReturnType< - typeof useGetHlsInitUploadLinkMutation ->; -export type GetHlsInitUploadLinkMutationResult = - Apollo.MutationResult; -export type GetHlsInitUploadLinkMutationOptions = Apollo.BaseMutationOptions< - GetHlsInitUploadLinkMutation, - GetHlsInitUploadLinkMutationVariables ->; +export function useGetHlsInitUploadLinkMutation(baseOptions?: Apollo.MutationHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useMutation(GetHlsInitUploadLinkDocument, options); + } +export type GetHlsInitUploadLinkMutationHookResult = ReturnType; +export type GetHlsInitUploadLinkMutationResult = Apollo.MutationResult; +export type GetHlsInitUploadLinkMutationOptions = Apollo.BaseMutationOptions; export const SetSegmentDurationDocument = gql` - mutation SetSegmentDuration( - $videoId: Int! - $segmentIndex: Int! - $duration: Float! - ) { - setSegmentDuration( - videoId: $videoId - segmentIndex: $segmentIndex - duration: $duration - ) - } -`; -export type SetSegmentDurationMutationFn = Apollo.MutationFunction< - SetSegmentDurationMutation, - SetSegmentDurationMutationVariables ->; + mutation SetSegmentDuration($videoId: Int!, $segmentIndex: Int!, $duration: Float!) { + setSegmentDuration( + videoId: $videoId + segmentIndex: $segmentIndex + duration: $duration + ) +} + `; +export type SetSegmentDurationMutationFn = Apollo.MutationFunction; /** * __useSetSegmentDurationMutation__ @@ -11286,39 +5662,19 @@ export type SetSegmentDurationMutationFn = Apollo.MutationFunction< * }, * }); */ -export function useSetSegmentDurationMutation( - baseOptions?: Apollo.MutationHookOptions< - SetSegmentDurationMutation, - SetSegmentDurationMutationVariables - >, -) { - const options = { ...defaultOptions, ...baseOptions }; - return Apollo.useMutation< - SetSegmentDurationMutation, - SetSegmentDurationMutationVariables - >(SetSegmentDurationDocument, options); -} -export type SetSegmentDurationMutationHookResult = ReturnType< - typeof useSetSegmentDurationMutation ->; -export type SetSegmentDurationMutationResult = - Apollo.MutationResult; -export type SetSegmentDurationMutationOptions = Apollo.BaseMutationOptions< - SetSegmentDurationMutation, - SetSegmentDurationMutationVariables ->; +export function useSetSegmentDurationMutation(baseOptions?: Apollo.MutationHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useMutation(SetSegmentDurationDocument, options); + } +export type SetSegmentDurationMutationHookResult = ReturnType; +export type SetSegmentDurationMutationResult = Apollo.MutationResult; +export type SetSegmentDurationMutationOptions = Apollo.BaseMutationOptions; export const EditUploadStreamDocument = gql` - mutation EditUploadStream( - $videoId: Int! - $videoMetadataInput: VideoMetadataInput! - ) { - editUploadStream(videoId: $videoId, videoMetadata: $videoMetadataInput) - } -`; -export type EditUploadStreamMutationFn = Apollo.MutationFunction< - EditUploadStreamMutation, - EditUploadStreamMutationVariables ->; + mutation EditUploadStream($videoId: Int!, $videoMetadataInput: VideoMetadataInput!) { + editUploadStream(videoId: $videoId, videoMetadata: $videoMetadataInput) +} + `; +export type EditUploadStreamMutationFn = Apollo.MutationFunction; /** * __useEditUploadStreamMutation__ @@ -11338,44 +5694,26 @@ export type EditUploadStreamMutationFn = Apollo.MutationFunction< * }, * }); */ -export function useEditUploadStreamMutation( - baseOptions?: Apollo.MutationHookOptions< - EditUploadStreamMutation, - EditUploadStreamMutationVariables - >, -) { - const options = { ...defaultOptions, ...baseOptions }; - return Apollo.useMutation< - EditUploadStreamMutation, - EditUploadStreamMutationVariables - >(EditUploadStreamDocument, options); -} -export type EditUploadStreamMutationHookResult = ReturnType< - typeof useEditUploadStreamMutation ->; -export type EditUploadStreamMutationResult = - Apollo.MutationResult; -export type EditUploadStreamMutationOptions = Apollo.BaseMutationOptions< - EditUploadStreamMutation, - EditUploadStreamMutationVariables ->; +export function useEditUploadStreamMutation(baseOptions?: Apollo.MutationHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useMutation(EditUploadStreamDocument, options); + } +export type EditUploadStreamMutationHookResult = ReturnType; +export type EditUploadStreamMutationResult = Apollo.MutationResult; +export type EditUploadStreamMutationOptions = Apollo.BaseMutationOptions; export const GetUploadStreamsDocument = gql` - query GetUploadStreams( - $limit: Int! = 5 - $after: String = null - $filters: VideoFilterInput = null - ) { - getUserVideos(limit: $limit, after: $after, filters: $filters) { - videos { - id - } - pageInfo { - hasNextPage - endCursor - } + query GetUploadStreams($limit: Int! = 5, $after: String = null, $filters: VideoFilterInput = null) { + getUserVideos(limit: $limit, after: $after, filters: $filters) { + videos { + id + } + pageInfo { + hasNextPage + endCursor } } -`; +} + `; /** * __useGetUploadStreamsQuery__ @@ -11395,73 +5733,35 @@ export const GetUploadStreamsDocument = gql` * }, * }); */ -export function useGetUploadStreamsQuery( - baseOptions?: Apollo.QueryHookOptions< - GetUploadStreamsQuery, - GetUploadStreamsQueryVariables - >, -) { - const options = { ...defaultOptions, ...baseOptions }; - return Apollo.useQuery( - GetUploadStreamsDocument, - options, - ); -} -export function useGetUploadStreamsLazyQuery( - baseOptions?: Apollo.LazyQueryHookOptions< - GetUploadStreamsQuery, - GetUploadStreamsQueryVariables - >, -) { - const options = { ...defaultOptions, ...baseOptions }; - return Apollo.useLazyQuery< - GetUploadStreamsQuery, - GetUploadStreamsQueryVariables - >(GetUploadStreamsDocument, options); -} -export function useGetUploadStreamsSuspenseQuery( - baseOptions?: Apollo.SuspenseQueryHookOptions< - GetUploadStreamsQuery, - GetUploadStreamsQueryVariables - >, -) { - const options = { ...defaultOptions, ...baseOptions }; - return Apollo.useSuspenseQuery< - GetUploadStreamsQuery, - GetUploadStreamsQueryVariables - >(GetUploadStreamsDocument, options); -} -export type GetUploadStreamsQueryHookResult = ReturnType< - typeof useGetUploadStreamsQuery ->; -export type GetUploadStreamsLazyQueryHookResult = ReturnType< - typeof useGetUploadStreamsLazyQuery ->; -export type GetUploadStreamsSuspenseQueryHookResult = ReturnType< - typeof useGetUploadStreamsSuspenseQuery ->; -export type GetUploadStreamsQueryResult = Apollo.QueryResult< - GetUploadStreamsQuery, - GetUploadStreamsQueryVariables ->; +export function useGetUploadStreamsQuery(baseOptions?: Apollo.QueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useQuery(GetUploadStreamsDocument, options); + } +export function useGetUploadStreamsLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useLazyQuery(GetUploadStreamsDocument, options); + } +export function useGetUploadStreamsSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useSuspenseQuery(GetUploadStreamsDocument, options); + } +export type GetUploadStreamsQueryHookResult = ReturnType; +export type GetUploadStreamsLazyQueryHookResult = ReturnType; +export type GetUploadStreamsSuspenseQueryHookResult = ReturnType; +export type GetUploadStreamsQueryResult = Apollo.QueryResult; export const GetUploadStreamsWithDetailsDocument = gql` - query GetUploadStreamsWithDetails( - $limit: Int! = 5 - $after: String = null - $filters: VideoFilterInput = null - ) { - getUserVideos(limit: $limit, after: $after, filters: $filters) { - videos { - ...UploadStreamWithDetails - } - pageInfo { - hasNextPage - endCursor - } + query GetUploadStreamsWithDetails($limit: Int! = 5, $after: String = null, $filters: VideoFilterInput = null) { + getUserVideos(limit: $limit, after: $after, filters: $filters) { + videos { + ...UploadStreamWithDetails + } + pageInfo { + hasNextPage + endCursor } } - ${UploadStreamWithDetailsFragmentDoc} -`; +} + ${UploadStreamWithDetailsFragmentDoc}`; /** * __useGetUploadStreamsWithDetailsQuery__ @@ -11481,52 +5781,19 @@ export const GetUploadStreamsWithDetailsDocument = gql` * }, * }); */ -export function useGetUploadStreamsWithDetailsQuery( - baseOptions?: Apollo.QueryHookOptions< - GetUploadStreamsWithDetailsQuery, - GetUploadStreamsWithDetailsQueryVariables - >, -) { - const options = { ...defaultOptions, ...baseOptions }; - return Apollo.useQuery< - GetUploadStreamsWithDetailsQuery, - GetUploadStreamsWithDetailsQueryVariables - >(GetUploadStreamsWithDetailsDocument, options); -} -export function useGetUploadStreamsWithDetailsLazyQuery( - baseOptions?: Apollo.LazyQueryHookOptions< - GetUploadStreamsWithDetailsQuery, - GetUploadStreamsWithDetailsQueryVariables - >, -) { - const options = { ...defaultOptions, ...baseOptions }; - return Apollo.useLazyQuery< - GetUploadStreamsWithDetailsQuery, - GetUploadStreamsWithDetailsQueryVariables - >(GetUploadStreamsWithDetailsDocument, options); -} -export function useGetUploadStreamsWithDetailsSuspenseQuery( - baseOptions?: Apollo.SuspenseQueryHookOptions< - GetUploadStreamsWithDetailsQuery, - GetUploadStreamsWithDetailsQueryVariables - >, -) { - const options = { ...defaultOptions, ...baseOptions }; - return Apollo.useSuspenseQuery< - GetUploadStreamsWithDetailsQuery, - GetUploadStreamsWithDetailsQueryVariables - >(GetUploadStreamsWithDetailsDocument, options); -} -export type GetUploadStreamsWithDetailsQueryHookResult = ReturnType< - typeof useGetUploadStreamsWithDetailsQuery ->; -export type GetUploadStreamsWithDetailsLazyQueryHookResult = ReturnType< - typeof useGetUploadStreamsWithDetailsLazyQuery ->; -export type GetUploadStreamsWithDetailsSuspenseQueryHookResult = ReturnType< - typeof useGetUploadStreamsWithDetailsSuspenseQuery ->; -export type GetUploadStreamsWithDetailsQueryResult = Apollo.QueryResult< - GetUploadStreamsWithDetailsQuery, - GetUploadStreamsWithDetailsQueryVariables ->; +export function useGetUploadStreamsWithDetailsQuery(baseOptions?: Apollo.QueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useQuery(GetUploadStreamsWithDetailsDocument, options); + } +export function useGetUploadStreamsWithDetailsLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useLazyQuery(GetUploadStreamsWithDetailsDocument, options); + } +export function useGetUploadStreamsWithDetailsSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useSuspenseQuery(GetUploadStreamsWithDetailsDocument, options); + } +export type GetUploadStreamsWithDetailsQueryHookResult = ReturnType; +export type GetUploadStreamsWithDetailsLazyQueryHookResult = ReturnType; +export type GetUploadStreamsWithDetailsSuspenseQueryHookResult = ReturnType; +export type GetUploadStreamsWithDetailsQueryResult = Apollo.QueryResult; \ No newline at end of file diff --git a/src/operations/feed.gql b/src/operations/feed.gql index e0f271f..68cbfe0 100644 --- a/src/operations/feed.gql +++ b/src/operations/feed.gql @@ -50,6 +50,7 @@ fragment VideoCardFields on VideoGQL { streamSegmentType } tableSize + pocketSize tags { tagClasses { name