|
|
|
@@ -237,6 +237,7 @@ export type EditShotReturn = {
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type EditUserInputGql = {
|
|
|
|
|
agreesToMarketing?: InputMaybe<Scalars["Boolean"]["input"]>;
|
|
|
|
|
fargoRating?: InputMaybe<Scalars["Int"]["input"]>;
|
|
|
|
|
username?: InputMaybe<Scalars["String"]["input"]>;
|
|
|
|
|
videosPrivateByDefault?: InputMaybe<Scalars["Boolean"]["input"]>;
|
|
|
|
@@ -2277,6 +2278,8 @@ export type MustHaveSetForUploadLinkErrSegmentAlreadyUploadedErrProcessingFailed
|
|
|
|
|
export type Mutation = {
|
|
|
|
|
__typename?: "Mutation";
|
|
|
|
|
addAnnotationToShot: AddShotAnnotationReturn;
|
|
|
|
|
blockContent: Scalars["Boolean"]["output"];
|
|
|
|
|
blockUser: Scalars["Boolean"]["output"];
|
|
|
|
|
cancelSubscription: UserSubscriptionStatusGql;
|
|
|
|
|
commentOnVideo: Scalars["Boolean"]["output"];
|
|
|
|
|
createBucketSet: BucketSetGql;
|
|
|
|
@@ -2298,6 +2301,7 @@ export type Mutation = {
|
|
|
|
|
getProfileImageUploadLink: GetProfileUploadLinkReturn;
|
|
|
|
|
getUploadLink: GetUploadLinkReturn;
|
|
|
|
|
reactToVideo: Scalars["Boolean"]["output"];
|
|
|
|
|
reportContent: Scalars["Boolean"]["output"];
|
|
|
|
|
retireTags: Scalars["Boolean"]["output"];
|
|
|
|
|
setLoggerLevel: Scalars["Boolean"]["output"];
|
|
|
|
|
setSegmentDuration: Scalars["Boolean"]["output"];
|
|
|
|
@@ -2311,6 +2315,14 @@ export type MutationAddAnnotationToShotArgs = {
|
|
|
|
|
shotId: Scalars["Int"]["input"];
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type MutationBlockContentArgs = {
|
|
|
|
|
videoId: Scalars["Int"]["input"];
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type MutationBlockUserArgs = {
|
|
|
|
|
userId: Scalars["Int"]["input"];
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type MutationCommentOnVideoArgs = {
|
|
|
|
|
message: Scalars["String"]["input"];
|
|
|
|
|
parentCommentId?: InputMaybe<Scalars["Int"]["input"]>;
|
|
|
|
@@ -2394,6 +2406,12 @@ export type MutationReactToVideoArgs = {
|
|
|
|
|
videoId: Scalars["Int"]["input"];
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type MutationReportContentArgs = {
|
|
|
|
|
customReason?: InputMaybe<Scalars["String"]["input"]>;
|
|
|
|
|
reason: ReportReasonEnum;
|
|
|
|
|
videoId: Scalars["Int"]["input"];
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type MutationRetireTagsArgs = {
|
|
|
|
|
tagIds: Array<Scalars["Int"]["input"]>;
|
|
|
|
|
};
|
|
|
|
@@ -2691,6 +2709,15 @@ export type ReactionGql = {
|
|
|
|
|
videoId: Scalars["Int"]["output"];
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export enum ReportReasonEnum {
|
|
|
|
|
Copyright = "COPYRIGHT",
|
|
|
|
|
Hate = "HATE",
|
|
|
|
|
Nudity = "NUDITY",
|
|
|
|
|
Other = "OTHER",
|
|
|
|
|
Spam = "SPAM",
|
|
|
|
|
Violence = "VIOLENCE",
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type RequestedMedalsGql = {
|
|
|
|
|
__typename?: "RequestedMedalsGQL";
|
|
|
|
|
dailyMakes50?: Maybe<MedalGql>;
|
|
|
|
@@ -3086,6 +3113,7 @@ export type UploadStreamGql = {
|
|
|
|
|
export type UserGql = {
|
|
|
|
|
__typename?: "UserGQL";
|
|
|
|
|
activeVideoId?: Maybe<Scalars["Int"]["output"]>;
|
|
|
|
|
agreesToMarketing?: Maybe<Scalars["Boolean"]["output"]>;
|
|
|
|
|
createdAt?: Maybe<Scalars["DateTime"]["output"]>;
|
|
|
|
|
fargoRating?: Maybe<Scalars["Int"]["output"]>;
|
|
|
|
|
firebaseUid?: Maybe<Scalars["String"]["output"]>;
|
|
|
|
@@ -3344,6 +3372,7 @@ export type GetDeployedConfigQuery = {
|
|
|
|
|
environment: string;
|
|
|
|
|
firebase: boolean;
|
|
|
|
|
minimumAllowedAppVersion: string;
|
|
|
|
|
subscriptionGatingEnabled: boolean;
|
|
|
|
|
bannerMessages: Array<{
|
|
|
|
|
__typename?: "BannerGQL";
|
|
|
|
|
color: string;
|
|
|
|
@@ -3356,6 +3385,32 @@ export type GetDeployedConfigQuery = {
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type BlockContentMutationVariables = Exact<{
|
|
|
|
|
videoId: Scalars["Int"]["input"];
|
|
|
|
|
}>;
|
|
|
|
|
|
|
|
|
|
export type BlockContentMutation = {
|
|
|
|
|
__typename?: "Mutation";
|
|
|
|
|
blockContent: boolean;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type BlockUserMutationVariables = Exact<{
|
|
|
|
|
userId: Scalars["Int"]["input"];
|
|
|
|
|
}>;
|
|
|
|
|
|
|
|
|
|
export type BlockUserMutation = { __typename?: "Mutation"; blockUser: boolean };
|
|
|
|
|
|
|
|
|
|
export type ReportContentMutationVariables = Exact<{
|
|
|
|
|
videoId: Scalars["Int"]["input"];
|
|
|
|
|
reason: ReportReasonEnum;
|
|
|
|
|
customReason?: InputMaybe<Scalars["String"]["input"]>;
|
|
|
|
|
}>;
|
|
|
|
|
|
|
|
|
|
export type ReportContentMutation = {
|
|
|
|
|
__typename?: "Mutation";
|
|
|
|
|
reportContent: boolean;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type GetFeedQueryVariables = Exact<{
|
|
|
|
|
limit?: Scalars["Int"]["input"];
|
|
|
|
|
after?: InputMaybe<Scalars["String"]["input"]>;
|
|
|
|
@@ -4610,6 +4665,7 @@ export type EditProfileImageUriMutation = {
|
|
|
|
|
createdAt?: any | null;
|
|
|
|
|
updatedAt?: any | null;
|
|
|
|
|
videosPrivateByDefault?: boolean | null;
|
|
|
|
|
agreesToMarketing?: boolean | null;
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
@@ -4629,6 +4685,7 @@ export type GetLoggedInUserQuery = {
|
|
|
|
|
createdAt?: any | null;
|
|
|
|
|
updatedAt?: any | null;
|
|
|
|
|
videosPrivateByDefault?: boolean | null;
|
|
|
|
|
agreesToMarketing?: boolean | null;
|
|
|
|
|
} | null;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
@@ -4650,6 +4707,7 @@ export type GetUserQuery = {
|
|
|
|
|
createdAt?: any | null;
|
|
|
|
|
updatedAt?: any | null;
|
|
|
|
|
videosPrivateByDefault?: boolean | null;
|
|
|
|
|
agreesToMarketing?: boolean | null;
|
|
|
|
|
} | null;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
@@ -4798,6 +4856,7 @@ export type EditUserMutationVariables = Exact<{
|
|
|
|
|
username?: InputMaybe<Scalars["String"]["input"]>;
|
|
|
|
|
fargoRating?: InputMaybe<Scalars["Int"]["input"]>;
|
|
|
|
|
videosPrivateByDefault?: InputMaybe<Scalars["Boolean"]["input"]>;
|
|
|
|
|
agreesToMarketing?: InputMaybe<Scalars["Boolean"]["input"]>;
|
|
|
|
|
}>;
|
|
|
|
|
|
|
|
|
|
export type EditUserMutation = {
|
|
|
|
@@ -4810,6 +4869,7 @@ export type EditUserMutation = {
|
|
|
|
|
fargoRating?: number | null;
|
|
|
|
|
updatedAt?: any | null;
|
|
|
|
|
videosPrivateByDefault?: boolean | null;
|
|
|
|
|
agreesToMarketing?: boolean | null;
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
@@ -4832,6 +4892,7 @@ export type UserFragmentFragment = {
|
|
|
|
|
createdAt?: any | null;
|
|
|
|
|
updatedAt?: any | null;
|
|
|
|
|
videosPrivateByDefault?: boolean | null;
|
|
|
|
|
agreesToMarketing?: boolean | null;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type GetStreamMonitoringDetailsQueryVariables = Exact<{
|
|
|
|
@@ -5794,6 +5855,7 @@ export const UserFragmentFragmentDoc = gql`
|
|
|
|
|
createdAt
|
|
|
|
|
updatedAt
|
|
|
|
|
videosPrivateByDefault
|
|
|
|
|
agreesToMarketing
|
|
|
|
|
}
|
|
|
|
|
`;
|
|
|
|
|
export const VideoStreamMetadataFragmentDoc = gql`
|
|
|
|
@@ -6173,6 +6235,7 @@ export const GetDeployedConfigDocument = gql`
|
|
|
|
|
environment
|
|
|
|
|
firebase
|
|
|
|
|
minimumAllowedAppVersion
|
|
|
|
|
subscriptionGatingEnabled
|
|
|
|
|
bannerMessages {
|
|
|
|
|
color
|
|
|
|
|
dismissible
|
|
|
|
@@ -6249,6 +6312,159 @@ 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<BlockContentMutation>;
|
|
|
|
|
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<BlockUserMutation, BlockUserMutationVariables>(
|
|
|
|
|
BlockUserDocument,
|
|
|
|
|
options,
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
export type BlockUserMutationHookResult = ReturnType<
|
|
|
|
|
typeof useBlockUserMutation
|
|
|
|
|
>;
|
|
|
|
|
export type BlockUserMutationResult = Apollo.MutationResult<BlockUserMutation>;
|
|
|
|
|
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<ReportContentMutation>;
|
|
|
|
|
export type ReportContentMutationOptions = Apollo.BaseMutationOptions<
|
|
|
|
|
ReportContentMutation,
|
|
|
|
|
ReportContentMutationVariables
|
|
|
|
|
>;
|
|
|
|
|
export const GetFeedDocument = gql`
|
|
|
|
|
query GetFeed(
|
|
|
|
|
$limit: Int! = 5
|
|
|
|
@@ -9052,12 +9268,14 @@ export const EditUserDocument = gql`
|
|
|
|
|
$username: String
|
|
|
|
|
$fargoRating: Int
|
|
|
|
|
$videosPrivateByDefault: Boolean
|
|
|
|
|
$agreesToMarketing: Boolean
|
|
|
|
|
) {
|
|
|
|
|
editUser(
|
|
|
|
|
input: {
|
|
|
|
|
username: $username
|
|
|
|
|
fargoRating: $fargoRating
|
|
|
|
|
videosPrivateByDefault: $videosPrivateByDefault
|
|
|
|
|
agreesToMarketing: $agreesToMarketing
|
|
|
|
|
}
|
|
|
|
|
) {
|
|
|
|
|
id
|
|
|
|
@@ -9066,6 +9284,7 @@ export const EditUserDocument = gql`
|
|
|
|
|
fargoRating
|
|
|
|
|
updatedAt
|
|
|
|
|
videosPrivateByDefault
|
|
|
|
|
agreesToMarketing
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
`;
|
|
|
|
@@ -9090,6 +9309,7 @@ export type EditUserMutationFn = Apollo.MutationFunction<
|
|
|
|
|
* username: // value for 'username'
|
|
|
|
|
* fargoRating: // value for 'fargoRating'
|
|
|
|
|
* videosPrivateByDefault: // value for 'videosPrivateByDefault'
|
|
|
|
|
* agreesToMarketing: // value for 'agreesToMarketing'
|
|
|
|
|
* },
|
|
|
|
|
* });
|
|
|
|
|
*/
|
|
|
|
|