|
|
|
@@ -86,22 +86,6 @@ export type BankFeaturesGql = {
|
|
|
|
|
wallsHit: Array<WallTypeEnum>;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type BannerGql = {
|
|
|
|
|
__typename?: "BannerGQL";
|
|
|
|
|
color: Scalars["String"]["output"];
|
|
|
|
|
dismissible: Scalars["Boolean"]["output"];
|
|
|
|
|
id: Scalars["Int"]["output"];
|
|
|
|
|
kind: BannerKindEnum;
|
|
|
|
|
message: Scalars["String"]["output"];
|
|
|
|
|
priority: Scalars["Int"]["output"];
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export enum BannerKindEnum {
|
|
|
|
|
Error = "ERROR",
|
|
|
|
|
Info = "INFO",
|
|
|
|
|
Warning = "WARNING",
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type BoundingBoxGql = {
|
|
|
|
|
__typename?: "BoundingBoxGQL";
|
|
|
|
|
height: Scalars["Float"]["output"];
|
|
|
|
@@ -206,7 +190,6 @@ export type DatetimeRangeAggregationInput = {
|
|
|
|
|
export type DeployedConfigGql = {
|
|
|
|
|
__typename?: "DeployedConfigGQL";
|
|
|
|
|
allowNewUsers: Scalars["Boolean"]["output"];
|
|
|
|
|
bannerMessages: Array<BannerGql>;
|
|
|
|
|
devMode: Scalars["Boolean"]["output"];
|
|
|
|
|
environment: Scalars["String"]["output"];
|
|
|
|
|
firebase: Scalars["Boolean"]["output"];
|
|
|
|
@@ -2281,7 +2264,6 @@ export type Mutation = {
|
|
|
|
|
editShot: EditShotReturn;
|
|
|
|
|
editUploadStream: Scalars["Boolean"]["output"];
|
|
|
|
|
editUser: UserGql;
|
|
|
|
|
ensureStripeCustomerExists: UserGql;
|
|
|
|
|
findPrerecordTableLayout?: Maybe<HomographyInfoGql>;
|
|
|
|
|
followUser: UserGql;
|
|
|
|
|
getHlsInitUploadLink: GetUploadLinkReturn;
|
|
|
|
@@ -2512,7 +2494,6 @@ export type Query = {
|
|
|
|
|
getUserTags: Array<TagGql>;
|
|
|
|
|
getUserVideos: VideoHistoryGql;
|
|
|
|
|
getUsernames: Array<Scalars["String"]["output"]>;
|
|
|
|
|
getUsersMatching: Array<UserGql>;
|
|
|
|
|
getVideo: VideoGql;
|
|
|
|
|
getVideoMakePercentageIntervals: Array<MakePercentageIntervalGql>;
|
|
|
|
|
getVideos: Array<VideoGql>;
|
|
|
|
@@ -2635,12 +2616,6 @@ export type QueryGetUsernamesArgs = {
|
|
|
|
|
matchString?: InputMaybe<Scalars["String"]["input"]>;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type QueryGetUsersMatchingArgs = {
|
|
|
|
|
after?: InputMaybe<Scalars["String"]["input"]>;
|
|
|
|
|
limit?: InputMaybe<Scalars["Int"]["input"]>;
|
|
|
|
|
matchString?: InputMaybe<Scalars["String"]["input"]>;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type QueryGetVideoArgs = {
|
|
|
|
|
debuggingJson?: InputMaybe<Scalars["JSON"]["input"]>;
|
|
|
|
|
videoId: Scalars["Int"]["input"];
|
|
|
|
@@ -3042,7 +3017,6 @@ export type UserGql = {
|
|
|
|
|
id: Scalars["Int"]["output"];
|
|
|
|
|
isAdmin?: Maybe<Scalars["Boolean"]["output"]>;
|
|
|
|
|
profileImageUri?: Maybe<Scalars["String"]["output"]>;
|
|
|
|
|
stripeCustomerId?: Maybe<Scalars["String"]["output"]>;
|
|
|
|
|
updatedAt?: Maybe<Scalars["DateTime"]["output"]>;
|
|
|
|
|
username: Scalars["String"]["output"];
|
|
|
|
|
videosPrivateByDefault?: Maybe<Scalars["Boolean"]["output"]>;
|
|
|
|
@@ -3278,15 +3252,6 @@ export type GetDeployedConfigQuery = {
|
|
|
|
|
environment: string;
|
|
|
|
|
firebase: boolean;
|
|
|
|
|
minimumAllowedAppVersion: string;
|
|
|
|
|
bannerMessages: Array<{
|
|
|
|
|
__typename?: "BannerGQL";
|
|
|
|
|
color: string;
|
|
|
|
|
dismissible: boolean;
|
|
|
|
|
id: number;
|
|
|
|
|
kind: BannerKindEnum;
|
|
|
|
|
message: string;
|
|
|
|
|
priority: number;
|
|
|
|
|
}>;
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
@@ -3834,27 +3799,6 @@ export type GetMedalsQuery = {
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
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 ReactToVideoMutationVariables = Exact<{
|
|
|
|
|
videoId: Scalars["Int"]["input"];
|
|
|
|
|
reaction?: InputMaybe<ReactionEnum>;
|
|
|
|
@@ -6023,14 +5967,6 @@ export const GetDeployedConfigDocument = gql`
|
|
|
|
|
environment
|
|
|
|
|
firebase
|
|
|
|
|
minimumAllowedAppVersion
|
|
|
|
|
bannerMessages {
|
|
|
|
|
color
|
|
|
|
|
dismissible
|
|
|
|
|
id
|
|
|
|
|
kind
|
|
|
|
|
message
|
|
|
|
|
priority
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
`;
|
|
|
|
@@ -6662,65 +6598,6 @@ export type GetMedalsQueryResult = Apollo.QueryResult<
|
|
|
|
|
GetMedalsQuery,
|
|
|
|
|
GetMedalsQueryVariables
|
|
|
|
|
>;
|
|
|
|
|
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<EnsureStripeCustomerExistsMutation>;
|
|
|
|
|
export type EnsureStripeCustomerExistsMutationOptions =
|
|
|
|
|
Apollo.BaseMutationOptions<
|
|
|
|
|
EnsureStripeCustomerExistsMutation,
|
|
|
|
|
EnsureStripeCustomerExistsMutationVariables
|
|
|
|
|
>;
|
|
|
|
|
export const ReactToVideoDocument = gql`
|
|
|
|
|
mutation ReactToVideo($videoId: Int!, $reaction: ReactionEnum) {
|
|
|
|
|
reactToVideo(videoId: $videoId, reaction: $reaction)
|
|
|
|
|