|
|
|
|
@@ -316,6 +316,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 +2191,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;
|
|
|
|
|
@@ -2366,6 +2393,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 +2403,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;
|
|
|
|
|
@@ -2504,6 +2533,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 +2578,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 +2752,7 @@ export type Query = {
|
|
|
|
|
getBucketSet?: Maybe<BucketSetGql>;
|
|
|
|
|
getDeployedConfig: DeployedConfigGql;
|
|
|
|
|
getFeedVideos: VideoHistoryGql;
|
|
|
|
|
getGameTypeTagMetrics: Array<GameTypeTagMetric>;
|
|
|
|
|
getLoggedInUser?: Maybe<UserGql>;
|
|
|
|
|
getLongestRunsLeaderboard: RunLeaderboardGql;
|
|
|
|
|
getMakesLeaderboard: CountLeaderboardGql;
|
|
|
|
|
@@ -2778,6 +2820,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 +3441,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"]>;
|
|
|
|
|
@@ -5522,6 +5571,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 +5753,7 @@ export type GetStreamMonitoringDetailsQuery = {
|
|
|
|
|
__typename?: "UploadStreamGQL";
|
|
|
|
|
id: string;
|
|
|
|
|
linksRequested: number;
|
|
|
|
|
lowestUnuploadedSegmentIndex: number;
|
|
|
|
|
uploadsCompleted: number;
|
|
|
|
|
segmentProcessingCursor: number;
|
|
|
|
|
isCompleted: boolean;
|
|
|
|
|
@@ -6249,6 +6316,7 @@ export type HomographyInfoFragment = {
|
|
|
|
|
|
|
|
|
|
export type CreateUploadStreamMutationVariables = Exact<{
|
|
|
|
|
videoMetadataInput: VideoMetadataInput;
|
|
|
|
|
expectedDurationSeconds?: InputMaybe<Scalars["Float"]["input"]>;
|
|
|
|
|
}>;
|
|
|
|
|
|
|
|
|
|
export type CreateUploadStreamMutation = {
|
|
|
|
|
@@ -6399,6 +6467,7 @@ export type UploadStreamWithDetailsFragment = {
|
|
|
|
|
lastIntendedSegmentBound?: number | null;
|
|
|
|
|
uploadCompletionCursor: number;
|
|
|
|
|
uploadsCompleted: number;
|
|
|
|
|
initPlaylistUploadStatus?: InitPlaylistUploadStatusEnum | null;
|
|
|
|
|
} | null;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
@@ -6423,6 +6492,7 @@ export type GetUploadStreamsWithDetailsQuery = {
|
|
|
|
|
lastIntendedSegmentBound?: number | null;
|
|
|
|
|
uploadCompletionCursor: number;
|
|
|
|
|
uploadsCompleted: number;
|
|
|
|
|
initPlaylistUploadStatus?: InitPlaylistUploadStatusEnum | null;
|
|
|
|
|
} | null;
|
|
|
|
|
}>;
|
|
|
|
|
pageInfo: {
|
|
|
|
|
@@ -6765,6 +6835,7 @@ export const UploadStreamWithDetailsFragmentDoc = gql`
|
|
|
|
|
lastIntendedSegmentBound
|
|
|
|
|
uploadCompletionCursor
|
|
|
|
|
uploadsCompleted
|
|
|
|
|
initPlaylistUploadStatus
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
`;
|
|
|
|
|
@@ -11503,6 +11574,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 +12117,7 @@ export const GetStreamMonitoringDetailsDocument = gql`
|
|
|
|
|
stream {
|
|
|
|
|
id
|
|
|
|
|
linksRequested
|
|
|
|
|
lowestUnuploadedSegmentIndex
|
|
|
|
|
uploadsCompleted
|
|
|
|
|
segmentProcessingCursor
|
|
|
|
|
isCompleted
|
|
|
|
|
@@ -13215,8 +13365,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 +13396,7 @@ export type CreateUploadStreamMutationFn = Apollo.MutationFunction<
|
|
|
|
|
* const [createUploadStreamMutation, { data, loading, error }] = useCreateUploadStreamMutation({
|
|
|
|
|
* variables: {
|
|
|
|
|
* videoMetadataInput: // value for 'videoMetadataInput'
|
|
|
|
|
* expectedDurationSeconds: // value for 'expectedDurationSeconds'
|
|
|
|
|
* },
|
|
|
|
|
* });
|
|
|
|
|
*/
|
|
|
|
|
|