|
|
|
|
@@ -2191,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;
|
|
|
|
|
@@ -2442,6 +2462,7 @@ export type MutationCreateSubscriptionArgs = {
|
|
|
|
|
|
|
|
|
|
export type MutationCreateUploadStreamArgs = {
|
|
|
|
|
expectedDurationSeconds?: InputMaybe<Scalars["Float"]["input"]>;
|
|
|
|
|
uploadKind?: InputMaybe<UploadKindEnum>;
|
|
|
|
|
videoMetadata: VideoMetadataInput;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
@@ -2732,6 +2753,7 @@ export type Query = {
|
|
|
|
|
getBucketSet?: Maybe<BucketSetGql>;
|
|
|
|
|
getDeployedConfig: DeployedConfigGql;
|
|
|
|
|
getFeedVideos: VideoHistoryGql;
|
|
|
|
|
getGameTypeTagMetrics: Array<GameTypeTagMetric>;
|
|
|
|
|
getLoggedInUser?: Maybe<UserGql>;
|
|
|
|
|
getLongestRunsLeaderboard: RunLeaderboardGql;
|
|
|
|
|
getMakesLeaderboard: CountLeaderboardGql;
|
|
|
|
|
@@ -2799,6 +2821,10 @@ export type QueryGetFeedVideosArgs = {
|
|
|
|
|
limit?: Scalars["Int"]["input"];
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type QueryGetGameTypeTagMetricsArgs = {
|
|
|
|
|
input: GameTypeTagMetricsInput;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type QueryGetLongestRunsLeaderboardArgs = {
|
|
|
|
|
interval?: InputMaybe<TimeInterval>;
|
|
|
|
|
limit?: Scalars["Int"]["input"];
|
|
|
|
|
@@ -2934,9 +2960,11 @@ export type QuotaStatusGql = {
|
|
|
|
|
durationLimitSeconds?: Maybe<Scalars["Int"]["output"]>;
|
|
|
|
|
durationRemainingSeconds?: Maybe<Scalars["Float"]["output"]>;
|
|
|
|
|
durationUsedSeconds: Scalars["Float"]["output"];
|
|
|
|
|
importUploadPermission: UploadPermissionGql;
|
|
|
|
|
maxVideoDurationSeconds?: Maybe<Scalars["Int"]["output"]>;
|
|
|
|
|
periodEnd: Scalars["DateTime"]["output"];
|
|
|
|
|
periodStart: Scalars["DateTime"]["output"];
|
|
|
|
|
recordingPermission: UploadPermissionGql;
|
|
|
|
|
tierName: Scalars["String"]["output"];
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
@@ -3322,6 +3350,11 @@ export type UpdateShotAnnotationReturn = {
|
|
|
|
|
shot?: Maybe<ShotGql>;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export enum UploadKindEnum {
|
|
|
|
|
Import = "IMPORT",
|
|
|
|
|
Recording = "RECORDING",
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type UploadLink = {
|
|
|
|
|
__typename?: "UploadLink";
|
|
|
|
|
headers: Array<Maybe<Header>>;
|
|
|
|
|
@@ -3334,6 +3367,12 @@ export type UploadLinkGetProfileUploadLinkErrors =
|
|
|
|
|
|
|
|
|
|
export type UploadLinkGetUploadLinkErrors = GetUploadLinkErrors | UploadLink;
|
|
|
|
|
|
|
|
|
|
export type UploadPermissionGql = {
|
|
|
|
|
__typename?: "UploadPermissionGQL";
|
|
|
|
|
allowed: Scalars["Boolean"]["output"];
|
|
|
|
|
reason?: Maybe<Scalars["String"]["output"]>;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type UploadSegmentGql = {
|
|
|
|
|
__typename?: "UploadSegmentGQL";
|
|
|
|
|
durationInSeconds?: Maybe<Scalars["Float"]["output"]>;
|
|
|
|
|
@@ -5546,6 +5585,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"];
|
|
|
|
|
}>;
|
|
|
|
|
@@ -11529,6 +11585,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) {
|
|
|
|
|
|