Compare commits
5 Commits
kat/delete
...
master
Author | SHA1 | Date | |
---|---|---|---|
01fb113e1c | |||
c660ed54cd | |||
b5fd2e2183 | |||
ddee57f4c2 | |||
49d43b2703 |
@ -164,6 +164,12 @@ export type CreateBucketSetInput = {
|
|||||||
keyName: Scalars["String"]["input"];
|
keyName: Scalars["String"]["input"];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
export type CreateSubscriptionResultGql = {
|
||||||
|
__typename?: "CreateSubscriptionResultGQL";
|
||||||
|
checkoutUrl: Scalars["String"]["output"];
|
||||||
|
sessionId: Scalars["String"]["output"];
|
||||||
|
};
|
||||||
|
|
||||||
export type CreateUploadStreamReturn = {
|
export type CreateUploadStreamReturn = {
|
||||||
__typename?: "CreateUploadStreamReturn";
|
__typename?: "CreateUploadStreamReturn";
|
||||||
videoId: Scalars["Int"]["output"];
|
videoId: Scalars["Int"]["output"];
|
||||||
@ -2272,6 +2278,7 @@ export type Mutation = {
|
|||||||
addAnnotationToShot: AddShotAnnotationReturn;
|
addAnnotationToShot: AddShotAnnotationReturn;
|
||||||
commentOnVideo: Scalars["Boolean"]["output"];
|
commentOnVideo: Scalars["Boolean"]["output"];
|
||||||
createBucketSet: BucketSetGql;
|
createBucketSet: BucketSetGql;
|
||||||
|
createSubscription: CreateSubscriptionResultGql;
|
||||||
createUploadStream: CreateUploadStreamReturn;
|
createUploadStream: CreateUploadStreamReturn;
|
||||||
deleteComment: Scalars["Boolean"]["output"];
|
deleteComment: Scalars["Boolean"]["output"];
|
||||||
deleteTags: Scalars["Boolean"]["output"];
|
deleteTags: Scalars["Boolean"]["output"];
|
||||||
@ -2312,6 +2319,10 @@ export type MutationCreateBucketSetArgs = {
|
|||||||
params: CreateBucketSetInput;
|
params: CreateBucketSetInput;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
export type MutationCreateSubscriptionArgs = {
|
||||||
|
priceId: Scalars["String"]["input"];
|
||||||
|
};
|
||||||
|
|
||||||
export type MutationCreateUploadStreamArgs = {
|
export type MutationCreateUploadStreamArgs = {
|
||||||
videoMetadata: VideoMetadataInput;
|
videoMetadata: VideoMetadataInput;
|
||||||
};
|
};
|
||||||
@ -4700,6 +4711,13 @@ export type EditUserMutation = {
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
export type DeleteUserMutationVariables = Exact<{ [key: string]: never }>;
|
||||||
|
|
||||||
|
export type DeleteUserMutation = {
|
||||||
|
__typename?: "Mutation";
|
||||||
|
deleteUser: boolean;
|
||||||
|
};
|
||||||
|
|
||||||
export type UserFragmentFragment = {
|
export type UserFragmentFragment = {
|
||||||
__typename?: "UserGQL";
|
__typename?: "UserGQL";
|
||||||
id: number;
|
id: number;
|
||||||
@ -8721,6 +8739,53 @@ export type EditUserMutationOptions = Apollo.BaseMutationOptions<
|
|||||||
EditUserMutation,
|
EditUserMutation,
|
||||||
EditUserMutationVariables
|
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`
|
export const GetStreamMonitoringDetailsDocument = gql`
|
||||||
query GetStreamMonitoringDetails($videoId: Int!, $debuggingJson: JSON) {
|
query GetStreamMonitoringDetails($videoId: Int!, $debuggingJson: JSON) {
|
||||||
getVideo(videoId: $videoId, debuggingJson: $debuggingJson) {
|
getVideo(videoId: $videoId, debuggingJson: $debuggingJson) {
|
||||||
|
@ -157,6 +157,10 @@ mutation editUser(
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
mutation deleteUser {
|
||||||
|
deleteUser
|
||||||
|
}
|
||||||
|
|
||||||
fragment UserFragment on UserGQL {
|
fragment UserFragment on UserGQL {
|
||||||
id
|
id
|
||||||
firebaseUid
|
firebaseUid
|
||||||
|
@ -907,6 +907,7 @@ type Mutation {
|
|||||||
retireTags(tagIds: [Int!]!): Boolean!
|
retireTags(tagIds: [Int!]!): Boolean!
|
||||||
ensureStripeCustomerExists: UserGQL!
|
ensureStripeCustomerExists: UserGQL!
|
||||||
deleteUser: Boolean!
|
deleteUser: Boolean!
|
||||||
|
createSubscription(priceId: String!): CreateSubscriptionResultGQL!
|
||||||
findPrerecordTableLayout(b64Image: String!, videoId: Int!): HomographyInfoGQL
|
findPrerecordTableLayout(b64Image: String!, videoId: Int!): HomographyInfoGQL
|
||||||
createUploadStream(
|
createUploadStream(
|
||||||
videoMetadata: VideoMetadataInput!
|
videoMetadata: VideoMetadataInput!
|
||||||
@ -1016,6 +1017,11 @@ input EditUserInputGQL {
|
|||||||
videosPrivateByDefault: Boolean = null
|
videosPrivateByDefault: Boolean = null
|
||||||
}
|
}
|
||||||
|
|
||||||
|
type CreateSubscriptionResultGQL {
|
||||||
|
checkoutUrl: String!
|
||||||
|
sessionId: String!
|
||||||
|
}
|
||||||
|
|
||||||
type CreateUploadStreamReturn {
|
type CreateUploadStreamReturn {
|
||||||
videoId: Int!
|
videoId: Int!
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user