|
|
|
@@ -164,6 +164,12 @@ export type CreateBucketSetInput = {
|
|
|
|
|
keyName: Scalars["String"]["input"];
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type CreateSubscriptionResultGql = {
|
|
|
|
|
__typename?: "CreateSubscriptionResultGQL";
|
|
|
|
|
checkoutUrl: Scalars["String"]["output"];
|
|
|
|
|
sessionId: Scalars["String"]["output"];
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type CreateUploadStreamReturn = {
|
|
|
|
|
__typename?: "CreateUploadStreamReturn";
|
|
|
|
|
videoId: Scalars["Int"]["output"];
|
|
|
|
@@ -2226,6 +2232,15 @@ export type IntPoint2DInput = {
|
|
|
|
|
y: Scalars["Int"]["input"];
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type IntRangeFilter = {
|
|
|
|
|
greaterThan?: InputMaybe<Scalars["Int"]["input"]>;
|
|
|
|
|
greaterThanEqualTo?: InputMaybe<Scalars["Int"]["input"]>;
|
|
|
|
|
greaterThanInclusive?: Scalars["Boolean"]["input"];
|
|
|
|
|
includeOnNone?: Scalars["Boolean"]["input"];
|
|
|
|
|
lessThan?: InputMaybe<Scalars["Int"]["input"]>;
|
|
|
|
|
lessThanInclusive?: Scalars["Boolean"]["input"];
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type MakePercentageIntervalGql = {
|
|
|
|
|
__typename?: "MakePercentageIntervalGQL";
|
|
|
|
|
elapsedTime: Scalars["Float"]["output"];
|
|
|
|
@@ -2272,6 +2287,7 @@ export type Mutation = {
|
|
|
|
|
addAnnotationToShot: AddShotAnnotationReturn;
|
|
|
|
|
commentOnVideo: Scalars["Boolean"]["output"];
|
|
|
|
|
createBucketSet: BucketSetGql;
|
|
|
|
|
createSubscription: CreateSubscriptionResultGql;
|
|
|
|
|
createUploadStream: CreateUploadStreamReturn;
|
|
|
|
|
deleteComment: Scalars["Boolean"]["output"];
|
|
|
|
|
deleteTags: Scalars["Boolean"]["output"];
|
|
|
|
@@ -2312,6 +2328,10 @@ export type MutationCreateBucketSetArgs = {
|
|
|
|
|
params: CreateBucketSetInput;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type MutationCreateSubscriptionArgs = {
|
|
|
|
|
priceId: Scalars["String"]["input"];
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type MutationCreateUploadStreamArgs = {
|
|
|
|
|
videoMetadata: VideoMetadataInput;
|
|
|
|
|
};
|
|
|
|
@@ -3123,6 +3143,7 @@ export type VideoFilterInput = {
|
|
|
|
|
createdAt?: InputMaybe<DateRangeFilter>;
|
|
|
|
|
excludeVideosWithNoShots?: InputMaybe<Scalars["Boolean"]["input"]>;
|
|
|
|
|
isStreamCompleted?: InputMaybe<Scalars["Boolean"]["input"]>;
|
|
|
|
|
reactionCount?: InputMaybe<IntRangeFilter>;
|
|
|
|
|
requireCursorCompletion?: Scalars["Boolean"]["input"];
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
@@ -4700,6 +4721,13 @@ export type EditUserMutation = {
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type DeleteUserMutationVariables = Exact<{ [key: string]: never }>;
|
|
|
|
|
|
|
|
|
|
export type DeleteUserMutation = {
|
|
|
|
|
__typename?: "Mutation";
|
|
|
|
|
deleteUser: boolean;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type UserFragmentFragment = {
|
|
|
|
|
__typename?: "UserGQL";
|
|
|
|
|
id: number;
|
|
|
|
@@ -8721,6 +8749,53 @@ export type EditUserMutationOptions = Apollo.BaseMutationOptions<
|
|
|
|
|
EditUserMutation,
|
|
|
|
|
EditUserMutationVariables
|
|
|
|
|
>;
|
|
|
|
|
export const DeleteUserDocument = gql`
|
|
|
|
|
mutation deleteUser {
|
|
|
|
|
deleteUser
|
|
|
|
|
}
|
|
|
|
|
`;
|
|
|
|
|
export type DeleteUserMutationFn = Apollo.MutationFunction<
|
|
|
|
|
DeleteUserMutation,
|
|
|
|
|
DeleteUserMutationVariables
|
|
|
|
|
>;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* __useDeleteUserMutation__
|
|
|
|
|
*
|
|
|
|
|
* To run a mutation, you first call `useDeleteUserMutation` within a React component and pass it any options that fit your needs.
|
|
|
|
|
* When your component renders, `useDeleteUserMutation` 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 [deleteUserMutation, { data, loading, error }] = useDeleteUserMutation({
|
|
|
|
|
* variables: {
|
|
|
|
|
* },
|
|
|
|
|
* });
|
|
|
|
|
*/
|
|
|
|
|
export function useDeleteUserMutation(
|
|
|
|
|
baseOptions?: Apollo.MutationHookOptions<
|
|
|
|
|
DeleteUserMutation,
|
|
|
|
|
DeleteUserMutationVariables
|
|
|
|
|
>,
|
|
|
|
|
) {
|
|
|
|
|
const options = { ...defaultOptions, ...baseOptions };
|
|
|
|
|
return Apollo.useMutation<DeleteUserMutation, DeleteUserMutationVariables>(
|
|
|
|
|
DeleteUserDocument,
|
|
|
|
|
options,
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
export type DeleteUserMutationHookResult = ReturnType<
|
|
|
|
|
typeof useDeleteUserMutation
|
|
|
|
|
>;
|
|
|
|
|
export type DeleteUserMutationResult =
|
|
|
|
|
Apollo.MutationResult<DeleteUserMutation>;
|
|
|
|
|
export type DeleteUserMutationOptions = Apollo.BaseMutationOptions<
|
|
|
|
|
DeleteUserMutation,
|
|
|
|
|
DeleteUserMutationVariables
|
|
|
|
|
>;
|
|
|
|
|
export const GetStreamMonitoringDetailsDocument = gql`
|
|
|
|
|
query GetStreamMonitoringDetails($videoId: Int!, $debuggingJson: JSON) {
|
|
|
|
|
getVideo(videoId: $videoId, debuggingJson: $debuggingJson) {
|
|
|
|
|