|
|
|
|
@@ -224,6 +224,11 @@ export type CreateBucketSetInput = {
|
|
|
|
|
keyName: Scalars["String"]["input"];
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type CreateCustomerPortalSessionResultGql = {
|
|
|
|
|
__typename?: "CreateCustomerPortalSessionResultGQL";
|
|
|
|
|
portalUrl: Scalars["String"]["output"];
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type CreateSubscriptionResultGql = {
|
|
|
|
|
__typename?: "CreateSubscriptionResultGQL";
|
|
|
|
|
checkoutUrl: Scalars["String"]["output"];
|
|
|
|
|
@@ -316,6 +321,13 @@ export type EditableShotFieldInputGql = {
|
|
|
|
|
targetPocketAngleDirection?: InputMaybe<ShotDirectionEnum>;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export enum EntitlementSourceTypeEnum {
|
|
|
|
|
Admin = "ADMIN",
|
|
|
|
|
AlphaLegacy = "ALPHA_LEGACY",
|
|
|
|
|
Manual = "MANUAL",
|
|
|
|
|
Stripe = "STRIPE",
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type EnumAggregation = {
|
|
|
|
|
feature: Scalars["String"]["input"];
|
|
|
|
|
};
|
|
|
|
|
@@ -2184,6 +2196,26 @@ export type FloatRangeFilter = {
|
|
|
|
|
lessThanInclusive?: Scalars["Boolean"]["input"];
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type GameTypeTagMetric = {
|
|
|
|
|
__typename?: "GameTypeTagMetric";
|
|
|
|
|
madeShots: Scalars["Int"]["output"];
|
|
|
|
|
makeRate: Scalars["Float"]["output"];
|
|
|
|
|
shotCount: Scalars["Int"]["output"];
|
|
|
|
|
tableSize?: Maybe<Scalars["Float"]["output"]>;
|
|
|
|
|
tagLabel: Scalars["String"]["output"];
|
|
|
|
|
tagName: Scalars["String"]["output"];
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type GameTypeTagMetricsInput = {
|
|
|
|
|
createdAt?: InputMaybe<DateRangeFilter>;
|
|
|
|
|
groupByTableSize?: Scalars["Boolean"]["input"];
|
|
|
|
|
includePrivate?: IncludePrivateEnum;
|
|
|
|
|
includeUnknown?: Scalars["Boolean"]["input"];
|
|
|
|
|
maxTags?: InputMaybe<Scalars["Int"]["input"]>;
|
|
|
|
|
tagClass?: InputMaybe<Scalars["String"]["input"]>;
|
|
|
|
|
userId: Scalars["Int"]["input"];
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type GetProfileUploadLinkErrors = {
|
|
|
|
|
__typename?: "GetProfileUploadLinkErrors";
|
|
|
|
|
error: TooManyProfileImageUploadsErr;
|
|
|
|
|
@@ -2346,6 +2378,7 @@ export type Mutation = {
|
|
|
|
|
commentOnVideo: Scalars["Boolean"]["output"];
|
|
|
|
|
createBucketSet: BucketSetGql;
|
|
|
|
|
createChallenge: Challenge;
|
|
|
|
|
createCustomerPortalSession: CreateCustomerPortalSessionResultGql;
|
|
|
|
|
createRuleSet: RuleSet;
|
|
|
|
|
createSubscription: CreateSubscriptionResultGql;
|
|
|
|
|
createUploadStream: CreateUploadStreamReturn;
|
|
|
|
|
@@ -2366,6 +2399,7 @@ export type Mutation = {
|
|
|
|
|
getHlsInitUploadLink: GetUploadLinkReturn;
|
|
|
|
|
getProfileImageUploadLink: GetProfileUploadLinkReturn;
|
|
|
|
|
getUploadLink: GetUploadLinkReturn;
|
|
|
|
|
grantManualEntitlement: UserSubscriptionStatusGql;
|
|
|
|
|
inviteUsersToChallenge: Array<ChallengeInvitation>;
|
|
|
|
|
markAllNotificationsAsRead: Scalars["Boolean"]["output"];
|
|
|
|
|
markNotificationAsRead: Scalars["Boolean"]["output"];
|
|
|
|
|
@@ -2375,6 +2409,7 @@ export type Mutation = {
|
|
|
|
|
reportContent: Scalars["Boolean"]["output"];
|
|
|
|
|
respondToChallengeInvitation: ChallengeInvitation;
|
|
|
|
|
retireTags: Scalars["Boolean"]["output"];
|
|
|
|
|
revokeManualEntitlement: UserSubscriptionStatusGql;
|
|
|
|
|
setLoggerLevel: Scalars["Boolean"]["output"];
|
|
|
|
|
setSegmentDuration: Scalars["Boolean"]["output"];
|
|
|
|
|
startChallenge: ChallengeEntry;
|
|
|
|
|
@@ -2422,6 +2457,10 @@ export type MutationCreateChallengeArgs = {
|
|
|
|
|
startDate: Scalars["DateTime"]["input"];
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type MutationCreateCustomerPortalSessionArgs = {
|
|
|
|
|
returnUrl?: InputMaybe<Scalars["String"]["input"]>;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type MutationCreateRuleSetArgs = {
|
|
|
|
|
description?: InputMaybe<Scalars["String"]["input"]>;
|
|
|
|
|
name: Scalars["String"]["input"];
|
|
|
|
|
@@ -2504,6 +2543,14 @@ export type MutationGetUploadLinkArgs = {
|
|
|
|
|
videoId: Scalars["Int"]["input"];
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type MutationGrantManualEntitlementArgs = {
|
|
|
|
|
endsAt?: InputMaybe<Scalars["DateTime"]["input"]>;
|
|
|
|
|
reason?: InputMaybe<Scalars["String"]["input"]>;
|
|
|
|
|
startsAt?: InputMaybe<Scalars["DateTime"]["input"]>;
|
|
|
|
|
tierName?: Scalars["String"]["input"];
|
|
|
|
|
userId: Scalars["Int"]["input"];
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type MutationInviteUsersToChallengeArgs = {
|
|
|
|
|
challengeId: Scalars["ID"]["input"];
|
|
|
|
|
userIds: Array<Scalars["ID"]["input"]>;
|
|
|
|
|
@@ -2541,6 +2588,10 @@ export type MutationRetireTagsArgs = {
|
|
|
|
|
tagIds: Array<Scalars["Int"]["input"]>;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type MutationRevokeManualEntitlementArgs = {
|
|
|
|
|
userId: Scalars["Int"]["input"];
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type MutationSetLoggerLevelArgs = {
|
|
|
|
|
level: Scalars["String"]["input"];
|
|
|
|
|
path: Scalars["String"]["input"];
|
|
|
|
|
@@ -2711,6 +2762,7 @@ export type Query = {
|
|
|
|
|
getBucketSet?: Maybe<BucketSetGql>;
|
|
|
|
|
getDeployedConfig: DeployedConfigGql;
|
|
|
|
|
getFeedVideos: VideoHistoryGql;
|
|
|
|
|
getGameTypeTagMetrics: Array<GameTypeTagMetric>;
|
|
|
|
|
getLoggedInUser?: Maybe<UserGql>;
|
|
|
|
|
getLongestRunsLeaderboard: RunLeaderboardGql;
|
|
|
|
|
getMakesLeaderboard: CountLeaderboardGql;
|
|
|
|
|
@@ -2778,6 +2830,10 @@ export type QueryGetFeedVideosArgs = {
|
|
|
|
|
limit?: Scalars["Int"]["input"];
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type QueryGetGameTypeTagMetricsArgs = {
|
|
|
|
|
input: GameTypeTagMetricsInput;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type QueryGetLongestRunsLeaderboardArgs = {
|
|
|
|
|
interval?: InputMaybe<TimeInterval>;
|
|
|
|
|
limit?: Scalars["Int"]["input"];
|
|
|
|
|
@@ -3395,6 +3451,9 @@ export type UserSubscriptionStatusGql = {
|
|
|
|
|
__typename?: "UserSubscriptionStatusGQL";
|
|
|
|
|
currentPeriodEnd?: Maybe<Scalars["DateTime"]["output"]>;
|
|
|
|
|
currentPeriodStart?: Maybe<Scalars["DateTime"]["output"]>;
|
|
|
|
|
entitlementEndsAt?: Maybe<Scalars["DateTime"]["output"]>;
|
|
|
|
|
entitlementSource?: Maybe<EntitlementSourceTypeEnum>;
|
|
|
|
|
entitlementStartsAt?: Maybe<Scalars["DateTime"]["output"]>;
|
|
|
|
|
hasActiveSubscription: Scalars["Boolean"]["output"];
|
|
|
|
|
stripePriceId?: Maybe<Scalars["String"]["output"]>;
|
|
|
|
|
stripeSubscriptionId?: Maybe<Scalars["String"]["output"]>;
|
|
|
|
|
@@ -4048,15 +4107,11 @@ export type GetFeedQuery = {
|
|
|
|
|
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;
|
|
|
|
|
@@ -4071,26 +4126,13 @@ export type GetFeedQuery = {
|
|
|
|
|
__typename?: "UploadStreamGQL";
|
|
|
|
|
id: string;
|
|
|
|
|
lastIntendedSegmentBound?: number | null;
|
|
|
|
|
isCompleted: boolean;
|
|
|
|
|
streamSegmentType: StreamSegmentTypeEnum;
|
|
|
|
|
} | null;
|
|
|
|
|
tags: Array<{
|
|
|
|
|
__typename?: "VideoTag";
|
|
|
|
|
name: string;
|
|
|
|
|
tagClasses: Array<{ __typename?: "VideoTagClass"; name: string }>;
|
|
|
|
|
}>;
|
|
|
|
|
tags: Array<{ __typename?: "VideoTag"; 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";
|
|
|
|
|
@@ -4150,15 +4192,11 @@ export type VideoCardFieldsFragment = {
|
|
|
|
|
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;
|
|
|
|
|
@@ -4173,23 +4211,13 @@ export type VideoCardFieldsFragment = {
|
|
|
|
|
__typename?: "UploadStreamGQL";
|
|
|
|
|
id: string;
|
|
|
|
|
lastIntendedSegmentBound?: number | null;
|
|
|
|
|
isCompleted: boolean;
|
|
|
|
|
streamSegmentType: StreamSegmentTypeEnum;
|
|
|
|
|
} | null;
|
|
|
|
|
tags: Array<{
|
|
|
|
|
__typename?: "VideoTag";
|
|
|
|
|
name: string;
|
|
|
|
|
tagClasses: Array<{ __typename?: "VideoTagClass"; name: string }>;
|
|
|
|
|
}>;
|
|
|
|
|
tags: Array<{ __typename?: "VideoTag"; 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";
|
|
|
|
|
@@ -4263,15 +4291,11 @@ export type GetVideoFeedQuery = {
|
|
|
|
|
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;
|
|
|
|
|
@@ -4286,26 +4310,13 @@ export type GetVideoFeedQuery = {
|
|
|
|
|
__typename?: "UploadStreamGQL";
|
|
|
|
|
id: string;
|
|
|
|
|
lastIntendedSegmentBound?: number | null;
|
|
|
|
|
isCompleted: boolean;
|
|
|
|
|
streamSegmentType: StreamSegmentTypeEnum;
|
|
|
|
|
} | null;
|
|
|
|
|
tags: Array<{
|
|
|
|
|
__typename?: "VideoTag";
|
|
|
|
|
name: string;
|
|
|
|
|
tagClasses: Array<{ __typename?: "VideoTagClass"; name: string }>;
|
|
|
|
|
}>;
|
|
|
|
|
tags: Array<{ __typename?: "VideoTag"; 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";
|
|
|
|
|
@@ -4700,6 +4711,18 @@ export type CreateSubscriptionMutation = {
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type CreateCustomerPortalSessionMutationVariables = Exact<{
|
|
|
|
|
returnUrl?: InputMaybe<Scalars["String"]["input"]>;
|
|
|
|
|
}>;
|
|
|
|
|
|
|
|
|
|
export type CreateCustomerPortalSessionMutation = {
|
|
|
|
|
__typename?: "Mutation";
|
|
|
|
|
createCustomerPortalSession: {
|
|
|
|
|
__typename?: "CreateCustomerPortalSessionResultGQL";
|
|
|
|
|
portalUrl: string;
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type GetAvailableSubscriptionOptionsQueryVariables = Exact<{
|
|
|
|
|
[key: string]: never;
|
|
|
|
|
}>;
|
|
|
|
|
@@ -5522,6 +5545,23 @@ export type GetUserTagsQuery = {
|
|
|
|
|
}>;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type GetGameTypeTagMetricsQueryVariables = Exact<{
|
|
|
|
|
input: GameTypeTagMetricsInput;
|
|
|
|
|
}>;
|
|
|
|
|
|
|
|
|
|
export type GetGameTypeTagMetricsQuery = {
|
|
|
|
|
__typename?: "Query";
|
|
|
|
|
getGameTypeTagMetrics: Array<{
|
|
|
|
|
__typename?: "GameTypeTagMetric";
|
|
|
|
|
tagName: string;
|
|
|
|
|
tagLabel: string;
|
|
|
|
|
tableSize?: number | null;
|
|
|
|
|
shotCount: number;
|
|
|
|
|
madeShots: number;
|
|
|
|
|
makeRate: number;
|
|
|
|
|
}>;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type FollowUserMutationVariables = Exact<{
|
|
|
|
|
followedUserId: Scalars["Int"]["input"];
|
|
|
|
|
}>;
|
|
|
|
|
@@ -5687,6 +5727,7 @@ export type GetStreamMonitoringDetailsQuery = {
|
|
|
|
|
__typename?: "UploadStreamGQL";
|
|
|
|
|
id: string;
|
|
|
|
|
linksRequested: number;
|
|
|
|
|
lowestUnuploadedSegmentIndex: number;
|
|
|
|
|
uploadsCompleted: number;
|
|
|
|
|
segmentProcessingCursor: number;
|
|
|
|
|
isCompleted: boolean;
|
|
|
|
|
@@ -6249,6 +6290,7 @@ export type HomographyInfoFragment = {
|
|
|
|
|
|
|
|
|
|
export type CreateUploadStreamMutationVariables = Exact<{
|
|
|
|
|
videoMetadataInput: VideoMetadataInput;
|
|
|
|
|
expectedDurationSeconds?: InputMaybe<Scalars["Float"]["input"]>;
|
|
|
|
|
}>;
|
|
|
|
|
|
|
|
|
|
export type CreateUploadStreamMutation = {
|
|
|
|
|
@@ -6451,41 +6493,26 @@ export const VideoCardFieldsFragmentDoc = gql`
|
|
|
|
|
}
|
|
|
|
|
name
|
|
|
|
|
screenshotUri
|
|
|
|
|
totalShotsMade
|
|
|
|
|
totalShots
|
|
|
|
|
makePercentage
|
|
|
|
|
averageTimeBetweenShots
|
|
|
|
|
averageDifficulty
|
|
|
|
|
createdAt
|
|
|
|
|
updatedAt
|
|
|
|
|
startTime
|
|
|
|
|
endTime
|
|
|
|
|
private
|
|
|
|
|
elapsedTime
|
|
|
|
|
screenshotUri
|
|
|
|
|
stream {
|
|
|
|
|
id
|
|
|
|
|
lastIntendedSegmentBound
|
|
|
|
|
isCompleted
|
|
|
|
|
streamSegmentType
|
|
|
|
|
}
|
|
|
|
|
tableSize
|
|
|
|
|
pocketSize
|
|
|
|
|
tags {
|
|
|
|
|
tagClasses {
|
|
|
|
|
name
|
|
|
|
|
}
|
|
|
|
|
name
|
|
|
|
|
}
|
|
|
|
|
currentProcessing {
|
|
|
|
|
id
|
|
|
|
|
errors {
|
|
|
|
|
message
|
|
|
|
|
}
|
|
|
|
|
status
|
|
|
|
|
statuses {
|
|
|
|
|
status
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
reactions {
|
|
|
|
|
videoId
|
|
|
|
|
@@ -9584,6 +9611,57 @@ export type CreateSubscriptionMutationOptions = Apollo.BaseMutationOptions<
|
|
|
|
|
CreateSubscriptionMutation,
|
|
|
|
|
CreateSubscriptionMutationVariables
|
|
|
|
|
>;
|
|
|
|
|
export const CreateCustomerPortalSessionDocument = gql`
|
|
|
|
|
mutation CreateCustomerPortalSession($returnUrl: String) {
|
|
|
|
|
createCustomerPortalSession(returnUrl: $returnUrl) {
|
|
|
|
|
portalUrl
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
`;
|
|
|
|
|
export type CreateCustomerPortalSessionMutationFn = Apollo.MutationFunction<
|
|
|
|
|
CreateCustomerPortalSessionMutation,
|
|
|
|
|
CreateCustomerPortalSessionMutationVariables
|
|
|
|
|
>;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* __useCreateCustomerPortalSessionMutation__
|
|
|
|
|
*
|
|
|
|
|
* To run a mutation, you first call `useCreateCustomerPortalSessionMutation` within a React component and pass it any options that fit your needs.
|
|
|
|
|
* When your component renders, `useCreateCustomerPortalSessionMutation` 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 [createCustomerPortalSessionMutation, { data, loading, error }] = useCreateCustomerPortalSessionMutation({
|
|
|
|
|
* variables: {
|
|
|
|
|
* returnUrl: // value for 'returnUrl'
|
|
|
|
|
* },
|
|
|
|
|
* });
|
|
|
|
|
*/
|
|
|
|
|
export function useCreateCustomerPortalSessionMutation(
|
|
|
|
|
baseOptions?: Apollo.MutationHookOptions<
|
|
|
|
|
CreateCustomerPortalSessionMutation,
|
|
|
|
|
CreateCustomerPortalSessionMutationVariables
|
|
|
|
|
>,
|
|
|
|
|
) {
|
|
|
|
|
const options = { ...defaultOptions, ...baseOptions };
|
|
|
|
|
return Apollo.useMutation<
|
|
|
|
|
CreateCustomerPortalSessionMutation,
|
|
|
|
|
CreateCustomerPortalSessionMutationVariables
|
|
|
|
|
>(CreateCustomerPortalSessionDocument, options);
|
|
|
|
|
}
|
|
|
|
|
export type CreateCustomerPortalSessionMutationHookResult = ReturnType<
|
|
|
|
|
typeof useCreateCustomerPortalSessionMutation
|
|
|
|
|
>;
|
|
|
|
|
export type CreateCustomerPortalSessionMutationResult =
|
|
|
|
|
Apollo.MutationResult<CreateCustomerPortalSessionMutation>;
|
|
|
|
|
export type CreateCustomerPortalSessionMutationOptions =
|
|
|
|
|
Apollo.BaseMutationOptions<
|
|
|
|
|
CreateCustomerPortalSessionMutation,
|
|
|
|
|
CreateCustomerPortalSessionMutationVariables
|
|
|
|
|
>;
|
|
|
|
|
export const GetAvailableSubscriptionOptionsDocument = gql`
|
|
|
|
|
query GetAvailableSubscriptionOptions {
|
|
|
|
|
getAvailableSubscriptionOptions {
|
|
|
|
|
@@ -11503,6 +11581,84 @@ export type GetUserTagsQueryResult = Apollo.QueryResult<
|
|
|
|
|
GetUserTagsQuery,
|
|
|
|
|
GetUserTagsQueryVariables
|
|
|
|
|
>;
|
|
|
|
|
export const GetGameTypeTagMetricsDocument = gql`
|
|
|
|
|
query GetGameTypeTagMetrics($input: GameTypeTagMetricsInput!) {
|
|
|
|
|
getGameTypeTagMetrics(input: $input) {
|
|
|
|
|
tagName
|
|
|
|
|
tagLabel
|
|
|
|
|
tableSize
|
|
|
|
|
shotCount
|
|
|
|
|
madeShots
|
|
|
|
|
makeRate
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
`;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* __useGetGameTypeTagMetricsQuery__
|
|
|
|
|
*
|
|
|
|
|
* To run a query within a React component, call `useGetGameTypeTagMetricsQuery` and pass it any options that fit your needs.
|
|
|
|
|
* When your component renders, `useGetGameTypeTagMetricsQuery` 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 } = useGetGameTypeTagMetricsQuery({
|
|
|
|
|
* variables: {
|
|
|
|
|
* input: // value for 'input'
|
|
|
|
|
* },
|
|
|
|
|
* });
|
|
|
|
|
*/
|
|
|
|
|
export function useGetGameTypeTagMetricsQuery(
|
|
|
|
|
baseOptions: Apollo.QueryHookOptions<
|
|
|
|
|
GetGameTypeTagMetricsQuery,
|
|
|
|
|
GetGameTypeTagMetricsQueryVariables
|
|
|
|
|
>,
|
|
|
|
|
) {
|
|
|
|
|
const options = { ...defaultOptions, ...baseOptions };
|
|
|
|
|
return Apollo.useQuery<
|
|
|
|
|
GetGameTypeTagMetricsQuery,
|
|
|
|
|
GetGameTypeTagMetricsQueryVariables
|
|
|
|
|
>(GetGameTypeTagMetricsDocument, options);
|
|
|
|
|
}
|
|
|
|
|
export function useGetGameTypeTagMetricsLazyQuery(
|
|
|
|
|
baseOptions?: Apollo.LazyQueryHookOptions<
|
|
|
|
|
GetGameTypeTagMetricsQuery,
|
|
|
|
|
GetGameTypeTagMetricsQueryVariables
|
|
|
|
|
>,
|
|
|
|
|
) {
|
|
|
|
|
const options = { ...defaultOptions, ...baseOptions };
|
|
|
|
|
return Apollo.useLazyQuery<
|
|
|
|
|
GetGameTypeTagMetricsQuery,
|
|
|
|
|
GetGameTypeTagMetricsQueryVariables
|
|
|
|
|
>(GetGameTypeTagMetricsDocument, options);
|
|
|
|
|
}
|
|
|
|
|
export function useGetGameTypeTagMetricsSuspenseQuery(
|
|
|
|
|
baseOptions?: Apollo.SuspenseQueryHookOptions<
|
|
|
|
|
GetGameTypeTagMetricsQuery,
|
|
|
|
|
GetGameTypeTagMetricsQueryVariables
|
|
|
|
|
>,
|
|
|
|
|
) {
|
|
|
|
|
const options = { ...defaultOptions, ...baseOptions };
|
|
|
|
|
return Apollo.useSuspenseQuery<
|
|
|
|
|
GetGameTypeTagMetricsQuery,
|
|
|
|
|
GetGameTypeTagMetricsQueryVariables
|
|
|
|
|
>(GetGameTypeTagMetricsDocument, options);
|
|
|
|
|
}
|
|
|
|
|
export type GetGameTypeTagMetricsQueryHookResult = ReturnType<
|
|
|
|
|
typeof useGetGameTypeTagMetricsQuery
|
|
|
|
|
>;
|
|
|
|
|
export type GetGameTypeTagMetricsLazyQueryHookResult = ReturnType<
|
|
|
|
|
typeof useGetGameTypeTagMetricsLazyQuery
|
|
|
|
|
>;
|
|
|
|
|
export type GetGameTypeTagMetricsSuspenseQueryHookResult = ReturnType<
|
|
|
|
|
typeof useGetGameTypeTagMetricsSuspenseQuery
|
|
|
|
|
>;
|
|
|
|
|
export type GetGameTypeTagMetricsQueryResult = Apollo.QueryResult<
|
|
|
|
|
GetGameTypeTagMetricsQuery,
|
|
|
|
|
GetGameTypeTagMetricsQueryVariables
|
|
|
|
|
>;
|
|
|
|
|
export const FollowUserDocument = gql`
|
|
|
|
|
mutation followUser($followedUserId: Int!) {
|
|
|
|
|
followUser(followedUserId: $followedUserId) {
|
|
|
|
|
@@ -11968,6 +12124,7 @@ export const GetStreamMonitoringDetailsDocument = gql`
|
|
|
|
|
stream {
|
|
|
|
|
id
|
|
|
|
|
linksRequested
|
|
|
|
|
lowestUnuploadedSegmentIndex
|
|
|
|
|
uploadsCompleted
|
|
|
|
|
segmentProcessingCursor
|
|
|
|
|
isCompleted
|
|
|
|
|
@@ -13215,8 +13372,14 @@ export type FindPrerecordTableLayoutMutationOptions =
|
|
|
|
|
FindPrerecordTableLayoutMutationVariables
|
|
|
|
|
>;
|
|
|
|
|
export const CreateUploadStreamDocument = gql`
|
|
|
|
|
mutation CreateUploadStream($videoMetadataInput: VideoMetadataInput!) {
|
|
|
|
|
createUploadStream(videoMetadata: $videoMetadataInput) {
|
|
|
|
|
mutation CreateUploadStream(
|
|
|
|
|
$videoMetadataInput: VideoMetadataInput!
|
|
|
|
|
$expectedDurationSeconds: Float = null
|
|
|
|
|
) {
|
|
|
|
|
createUploadStream(
|
|
|
|
|
videoMetadata: $videoMetadataInput
|
|
|
|
|
expectedDurationSeconds: $expectedDurationSeconds
|
|
|
|
|
) {
|
|
|
|
|
videoId
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
@@ -13240,6 +13403,7 @@ export type CreateUploadStreamMutationFn = Apollo.MutationFunction<
|
|
|
|
|
* const [createUploadStreamMutation, { data, loading, error }] = useCreateUploadStreamMutation({
|
|
|
|
|
* variables: {
|
|
|
|
|
* videoMetadataInput: // value for 'videoMetadataInput'
|
|
|
|
|
* expectedDurationSeconds: // value for 'expectedDurationSeconds'
|
|
|
|
|
* },
|
|
|
|
|
* });
|
|
|
|
|
*/
|
|
|
|
|
|