@ludo.ninja/api 2.1.7 → 2.1.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -694,6 +694,7 @@ export type IMutation = {
|
|
|
694
694
|
removeCollectionFromGalleryV2: Scalars['Boolean'];
|
|
695
695
|
removeCreationFromGallery: Scalars['Boolean'];
|
|
696
696
|
removeCreationFromGalleryV2: Scalars['Boolean'];
|
|
697
|
+
removeWallet: Scalars['Boolean'];
|
|
697
698
|
reportAsset: Scalars['Boolean'];
|
|
698
699
|
reportGallery: Scalars['Boolean'];
|
|
699
700
|
reportUser: Scalars['Boolean'];
|
|
@@ -940,6 +941,10 @@ export type IMutationRemoveCreationFromGalleryV2Args = {
|
|
|
940
941
|
galleryId: Scalars['ID'];
|
|
941
942
|
creationId: Scalars['String'];
|
|
942
943
|
};
|
|
944
|
+
export type IMutationRemoveWalletArgs = {
|
|
945
|
+
blockchain: Scalars['String'];
|
|
946
|
+
address: Scalars['String'];
|
|
947
|
+
};
|
|
943
948
|
export type IMutationReportAssetArgs = {
|
|
944
949
|
assetId: Scalars['String'];
|
|
945
950
|
reason: ISelectionInput;
|
|
@@ -2325,6 +2330,11 @@ export type IRefreshTokenMutationVariables = Exact<{
|
|
|
2325
2330
|
export type IRefreshTokenMutation = {
|
|
2326
2331
|
refreshToken: Pick<ITokenPair, 'userId' | 'tokenAuth' | 'tokenRefresh' | 'role'>;
|
|
2327
2332
|
};
|
|
2333
|
+
export type IRemoveWalletMutationVariables = Exact<{
|
|
2334
|
+
blockchain: Scalars['String'];
|
|
2335
|
+
address: Scalars['String'];
|
|
2336
|
+
}>;
|
|
2337
|
+
export type IRemoveWalletMutation = Pick<IMutation, 'removeWallet'>;
|
|
2328
2338
|
export type IRevokeTokenMutationVariables = Exact<{
|
|
2329
2339
|
[key: string]: never;
|
|
2330
2340
|
}>;
|
|
@@ -4229,6 +4239,33 @@ export declare function useRefreshTokenMutation(baseOptions?: Apollo.MutationHoo
|
|
|
4229
4239
|
export type RefreshTokenMutationHookResult = ReturnType<typeof useRefreshTokenMutation>;
|
|
4230
4240
|
export type RefreshTokenMutationResult = Apollo.MutationResult<IRefreshTokenMutation>;
|
|
4231
4241
|
export type RefreshTokenMutationOptions = Apollo.BaseMutationOptions<IRefreshTokenMutation, IRefreshTokenMutationVariables>;
|
|
4242
|
+
export declare const RemoveWalletDocument: Apollo.DocumentNode;
|
|
4243
|
+
export type IRemoveWalletMutationFn = Apollo.MutationFunction<IRemoveWalletMutation, IRemoveWalletMutationVariables>;
|
|
4244
|
+
/**
|
|
4245
|
+
* __useRemoveWalletMutation__
|
|
4246
|
+
*
|
|
4247
|
+
* To run a mutation, you first call `useRemoveWalletMutation` within a React component and pass it any options that fit your needs.
|
|
4248
|
+
* When your component renders, `useRemoveWalletMutation` returns a tuple that includes:
|
|
4249
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
4250
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
4251
|
+
*
|
|
4252
|
+
* @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;
|
|
4253
|
+
*
|
|
4254
|
+
* @example
|
|
4255
|
+
* const [removeWalletMutation, { data, loading, error }] = useRemoveWalletMutation({
|
|
4256
|
+
* variables: {
|
|
4257
|
+
* blockchain: // value for 'blockchain'
|
|
4258
|
+
* address: // value for 'address'
|
|
4259
|
+
* },
|
|
4260
|
+
* });
|
|
4261
|
+
*/
|
|
4262
|
+
export declare function useRemoveWalletMutation(baseOptions?: Apollo.MutationHookOptions<IRemoveWalletMutation, IRemoveWalletMutationVariables>): Apollo.MutationTuple<IRemoveWalletMutation, Exact<{
|
|
4263
|
+
blockchain: string;
|
|
4264
|
+
address: string;
|
|
4265
|
+
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
4266
|
+
export type RemoveWalletMutationHookResult = ReturnType<typeof useRemoveWalletMutation>;
|
|
4267
|
+
export type RemoveWalletMutationResult = Apollo.MutationResult<IRemoveWalletMutation>;
|
|
4268
|
+
export type RemoveWalletMutationOptions = Apollo.BaseMutationOptions<IRemoveWalletMutation, IRemoveWalletMutationVariables>;
|
|
4232
4269
|
export declare const RevokeTokenDocument: Apollo.DocumentNode;
|
|
4233
4270
|
export type IRevokeTokenMutationFn = Apollo.MutationFunction<IRevokeTokenMutation, IRevokeTokenMutationVariables>;
|
|
4234
4271
|
/**
|
|
@@ -25,9 +25,9 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
25
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
26
|
exports.FetchNftDataDocument = exports.useOnMyExperienceUpdatedSubscription = exports.OnMyExperienceUpdatedDocument = exports.useFetchMyTasksLazyQuery = exports.useFetchMyTasksQuery = exports.FetchMyTasksDocument = exports.useFetchMyExperienceV2LazyQuery = exports.useFetchMyExperienceV2Query = exports.FetchMyExperienceV2Document = exports.useFetchDynamicCollectionsDataLazyQuery = exports.useFetchDynamicCollectionsDataQuery = exports.FetchDynamicCollectionsDataDocument = exports.useFetchDynamicCollectionDataLazyQuery = exports.useFetchDynamicCollectionDataQuery = exports.FetchDynamicCollectionDataDocument = exports.useFetchCollectionsByIdsLazyQuery = exports.useFetchCollectionsByIdsQuery = exports.FetchCollectionsByIdsDocument = exports.useFetchCollectionsLazyQuery = exports.useFetchCollectionsQuery = exports.FetchCollectionsDocument = exports.useFetchCollectionLazyQuery = exports.useFetchCollectionQuery = exports.FetchCollectionDocument = exports.useLikeCollectionMutation = exports.LikeCollectionDocument = exports.useDislikeCollectionMutation = exports.DislikeCollectionDocument = exports.useFetchLikedLazyQuery = exports.useFetchLikedQuery = exports.FetchLikedDocument = exports.useFetchDynamicAssetsLikesLazyQuery = exports.useFetchDynamicAssetsLikesQuery = exports.FetchDynamicAssetsLikesDocument = exports.useFetchDynamicAssetLikesLazyQuery = exports.useFetchDynamicAssetLikesQuery = exports.FetchDynamicAssetLikesDocument = exports.useFetchAssetsLazyQuery = exports.useFetchAssetsQuery = exports.FetchAssetsDocument = exports.useFetchAssetByBlockchainLazyQuery = exports.useFetchAssetByBlockchainQuery = exports.FetchAssetByBlockchainDocument = exports.useFetchAssetLazyQuery = exports.useFetchAssetQuery = exports.FetchAssetDocument = exports.useLikeAssetMutation = exports.LikeAssetDocument = exports.useDislikeAssetMutation = exports.DislikeAssetDocument = void 0;
|
|
27
27
|
exports.useFetchGalleryV2Query = exports.FetchGalleryV2Document = exports.useFetchGalleryCreationsLazyQuery = exports.useFetchGalleryCreationsQuery = exports.FetchGalleryCreationsDocument = exports.useFetchGalleryLazyQuery = exports.useFetchGalleryQuery = exports.FetchGalleryDocument = exports.useRemoveCreationFromGalleryV2Mutation = exports.RemoveCreationFromGalleryV2Document = exports.useRemoveCreationFromGalleryMutation = exports.RemoveCreationFromGalleryDocument = exports.useRemoveCollectionFromGalleryV2Mutation = exports.RemoveCollectionFromGalleryV2Document = exports.useRemoveCollectionFromGalleryMutation = exports.RemoveCollectionFromGalleryDocument = exports.useRemoveAssetFromGalleryV2Mutation = exports.RemoveAssetFromGalleryV2Document = exports.useRemoveAssetFromGalleryMutation = exports.RemoveAssetFromGalleryDocument = exports.useEditGalleryMutation = exports.EditGalleryDocument = exports.useDeleteGalleryBannerMutation = exports.DeleteGalleryBannerDocument = exports.useDeleteGalleryMutation = exports.DeleteGalleryDocument = exports.useCreateGalleryV2Mutation = exports.CreateGalleryV2Document = exports.useCreateGalleryMutation = exports.CreateGalleryDocument = exports.useCreateFavoritesMutation = exports.CreateFavoritesDocument = exports.useCreateFavoriteListV2Mutation = exports.CreateFavoriteListV2Document = exports.useAddCreationsToGalleryV2Mutation = exports.AddCreationsToGalleryV2Document = exports.useAddCreationsToGalleryMutation = exports.AddCreationsToGalleryDocument = exports.useAddCollectionsToGalleryV2Mutation = exports.AddCollectionsToGalleryV2Document = exports.useAddCollectionsToGalleryMutation = exports.AddCollectionsToGalleryDocument = exports.useUploadGalleryBannerMutation = exports.UploadGalleryBannerDocument = exports.useAddAssetsToGalleryV2Mutation = exports.AddAssetsToGalleryV2Document = exports.useAddAssetsToGalleryMutation = exports.AddAssetsToGalleryDocument = exports.useFetchNftDataLazyQuery = exports.useFetchNftDataQuery = void 0;
|
|
28
|
-
exports.
|
|
29
|
-
exports.
|
|
30
|
-
exports.useFindUserShowcaseItemsLazyQuery = exports.useFindUserShowcaseItemsQuery = exports.FindUserShowcaseItemsDocument = exports.useFindUserCreationsLazyQuery = exports.useFindUserCreationsQuery = exports.FindUserCreationsDocument = exports.useFindShowcaseItemsLazyQuery = exports.useFindShowcaseItemsQuery = exports.FindShowcaseItemsDocument = exports.useFindSetsLazyQuery = exports.useFindSetsQuery = exports.FindSetsDocument = exports.useFindProfilesByNameLazyQuery = exports.useFindProfilesByNameQuery = exports.FindProfilesByNameDocument = exports.useFindCreationsLazyQuery = exports.useFindCreationsQuery = exports.FindCreationsDocument = exports.useFetchUserPortfolioLazyQuery = exports.useFetchUserPortfolioQuery = exports.FetchUserPortfolioDocument = exports.useFindAllTopEntitiesByNameLazyQuery = exports.useFindAllTopEntitiesByNameQuery = exports.FindAllTopEntitiesByNameDocument = exports.useFetchCreationsByTypeLazyQuery = exports.useFetchCreationsByTypeQuery = exports.FetchCreationsByTypeDocument = exports.useFindCollectionsLazyQuery = exports.useFindCollectionsQuery = exports.FindCollectionsDocument = exports.useFetchAssetsCountLazyQuery = exports.useFetchAssetsCountQuery = exports.FetchAssetsCountDocument = exports.useFetchAllCreationsLazyQuery = exports.useFetchAllCreationsQuery = exports.FetchAllCreationsDocument = exports.useFetchSetsSearchResultTypeSelectionsLazyQuery = exports.useFetchSetsSearchResultTypeSelectionsQuery = exports.FetchSetsSearchResultTypeSelectionsDocument = exports.useFetchSearchResultStatusSelectionsLazyQuery = exports.useFetchSearchResultStatusSelectionsQuery = exports.FetchSearchResultStatusSelectionsDocument = exports.useFetchSearchResultCategorySelectionsLazyQuery = void 0;
|
|
28
|
+
exports.useSignInMetamaskMutation = exports.SignInMetamaskDocument = exports.useSignInFlowMutation = exports.SignInFlowDocument = exports.useSignInElrondMutation = exports.SignInElrondDocument = exports.useRevokeTokenMutation = exports.RevokeTokenDocument = exports.useRemoveWalletMutation = exports.RemoveWalletDocument = exports.useRefreshTokenMutation = exports.RefreshTokenDocument = exports.useUseInviteCodeMutation = exports.UseInviteCodeDocument = exports.useGenerateNewInviteCodesMutation = exports.GenerateNewInviteCodesDocument = exports.useCreateNonceMutation = exports.CreateNonceDocument = exports.useAddWalletTezosMutation = exports.AddWalletTezosDocument = exports.useAddWalletSolanaMutation = exports.AddWalletSolanaDocument = exports.useAddWalletMetamaskMutation = exports.AddWalletMetamaskDocument = exports.useAddWalletFlowMutation = exports.AddWalletFlowDocument = exports.useAddWalletElrondMutation = exports.AddWalletElrondDocument = exports.useFetchUserGalleriesV2LazyQuery = exports.useFetchUserGalleriesV2Query = exports.FetchUserGalleriesV2Document = exports.useFetchUserGalleriesLazyQuery = exports.useFetchUserGalleriesQuery = exports.FetchUserGalleriesDocument = exports.useFetchUserFavoritesV2LazyQuery = exports.useFetchUserFavoritesV2Query = exports.FetchUserFavoritesV2Document = exports.useFetchUserFavoritesLazyQuery = exports.useFetchUserFavoritesQuery = exports.FetchUserFavoritesDocument = exports.useFetchMyGalleriesV2LazyQuery = exports.useFetchMyGalleriesV2Query = exports.FetchMyGalleriesV2Document = exports.useFetchMyFavoritesV2LazyQuery = exports.useFetchMyFavoritesV2Query = exports.FetchMyFavoritesV2Document = exports.useFetchMyFavoritesLazyQuery = exports.useFetchMyFavoritesQuery = exports.FetchMyFavoritesDocument = exports.useFetchGalleryV2LazyQuery = void 0;
|
|
29
|
+
exports.useFetchSearchResultBlockchainSelectionsLazyQuery = exports.useFetchSearchResultBlockchainSelectionsQuery = exports.FetchSearchResultBlockchainSelectionsDocument = exports.useFetchUserInterestsLazyQuery = exports.useFetchUserInterestsQuery = exports.FetchUserInterestsDocument = exports.useFetchUserExpectationsLazyQuery = exports.useFetchUserExpectationsQuery = exports.FetchUserExpectationsDocument = exports.useFetchSearchResultTimeSelectionsLazyQuery = exports.useFetchSearchResultTimeSelectionsQuery = exports.FetchSearchResultTimeSelectionsDocument = exports.useFetchSearchResultSelectionsLazyQuery = exports.useFetchSearchResultSelectionsQuery = exports.FetchSearchResultSelectionsDocument = exports.useFetchInterestsLazyQuery = exports.useFetchInterestsQuery = exports.FetchInterestsDocument = exports.useFetchExpectationsLazyQuery = exports.useFetchExpectationsQuery = exports.FetchExpectationsDocument = exports.useSaveUserInterestsMutation = exports.SaveUserInterestsDocument = exports.useSaveUserExpectationsMutation = exports.SaveUserExpectationsDocument = exports.useFetchOpportunitiesLazyQuery = exports.useFetchOpportunitiesQuery = exports.FetchOpportunitiesDocument = exports.useOpenOpportunityMutation = exports.OpenOpportunityDocument = exports.useCreateOpportunityMutation = exports.CreateOpportunityDocument = exports.useFetchUserpicLazyQuery = exports.useFetchUserpicQuery = exports.FetchUserpicDocument = exports.useGetMyInviteCodesLazyQuery = exports.useGetMyInviteCodesQuery = exports.GetMyInviteCodesDocument = exports.useFetchUserWalletsLazyQuery = exports.useFetchUserWalletsQuery = exports.FetchUserWalletsDocument = exports.useFetchProfileLazyQuery = exports.useFetchProfileQuery = exports.FetchProfileDocument = exports.useUpdateProfileMutation = exports.UpdateProfileDocument = exports.useSignInTezosMutation = exports.SignInTezosDocument = exports.useSignInSolanaMutation = exports.SignInSolanaDocument = void 0;
|
|
30
|
+
exports.useFindUserShowcaseItemsLazyQuery = exports.useFindUserShowcaseItemsQuery = exports.FindUserShowcaseItemsDocument = exports.useFindUserCreationsLazyQuery = exports.useFindUserCreationsQuery = exports.FindUserCreationsDocument = exports.useFindShowcaseItemsLazyQuery = exports.useFindShowcaseItemsQuery = exports.FindShowcaseItemsDocument = exports.useFindSetsLazyQuery = exports.useFindSetsQuery = exports.FindSetsDocument = exports.useFindProfilesByNameLazyQuery = exports.useFindProfilesByNameQuery = exports.FindProfilesByNameDocument = exports.useFindCreationsLazyQuery = exports.useFindCreationsQuery = exports.FindCreationsDocument = exports.useFetchUserPortfolioLazyQuery = exports.useFetchUserPortfolioQuery = exports.FetchUserPortfolioDocument = exports.useFindAllTopEntitiesByNameLazyQuery = exports.useFindAllTopEntitiesByNameQuery = exports.FindAllTopEntitiesByNameDocument = exports.useFetchCreationsByTypeLazyQuery = exports.useFetchCreationsByTypeQuery = exports.FetchCreationsByTypeDocument = exports.useFindCollectionsLazyQuery = exports.useFindCollectionsQuery = exports.FindCollectionsDocument = exports.useFetchAssetsCountLazyQuery = exports.useFetchAssetsCountQuery = exports.FetchAssetsCountDocument = exports.useFetchAllCreationsLazyQuery = exports.useFetchAllCreationsQuery = exports.FetchAllCreationsDocument = exports.useFetchSetsSearchResultTypeSelectionsLazyQuery = exports.useFetchSetsSearchResultTypeSelectionsQuery = exports.FetchSetsSearchResultTypeSelectionsDocument = exports.useFetchSearchResultStatusSelectionsLazyQuery = exports.useFetchSearchResultStatusSelectionsQuery = exports.FetchSearchResultStatusSelectionsDocument = exports.useFetchSearchResultCategorySelectionsLazyQuery = exports.useFetchSearchResultCategorySelectionsQuery = exports.FetchSearchResultCategorySelectionsDocument = void 0;
|
|
31
31
|
/* eslint-disable */
|
|
32
32
|
const client_1 = require("@apollo/client");
|
|
33
33
|
const Apollo = __importStar(require("@apollo/client"));
|
|
@@ -2468,6 +2468,33 @@ function useRefreshTokenMutation(baseOptions) {
|
|
|
2468
2468
|
return Apollo.useMutation(exports.RefreshTokenDocument, baseOptions);
|
|
2469
2469
|
}
|
|
2470
2470
|
exports.useRefreshTokenMutation = useRefreshTokenMutation;
|
|
2471
|
+
exports.RemoveWalletDocument = (0, client_1.gql) `
|
|
2472
|
+
mutation RemoveWallet($blockchain: String!, $address: String!) {
|
|
2473
|
+
removeWallet(blockchain: $blockchain, address: $address)
|
|
2474
|
+
}
|
|
2475
|
+
`;
|
|
2476
|
+
/**
|
|
2477
|
+
* __useRemoveWalletMutation__
|
|
2478
|
+
*
|
|
2479
|
+
* To run a mutation, you first call `useRemoveWalletMutation` within a React component and pass it any options that fit your needs.
|
|
2480
|
+
* When your component renders, `useRemoveWalletMutation` returns a tuple that includes:
|
|
2481
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
2482
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
2483
|
+
*
|
|
2484
|
+
* @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;
|
|
2485
|
+
*
|
|
2486
|
+
* @example
|
|
2487
|
+
* const [removeWalletMutation, { data, loading, error }] = useRemoveWalletMutation({
|
|
2488
|
+
* variables: {
|
|
2489
|
+
* blockchain: // value for 'blockchain'
|
|
2490
|
+
* address: // value for 'address'
|
|
2491
|
+
* },
|
|
2492
|
+
* });
|
|
2493
|
+
*/
|
|
2494
|
+
function useRemoveWalletMutation(baseOptions) {
|
|
2495
|
+
return Apollo.useMutation(exports.RemoveWalletDocument, baseOptions);
|
|
2496
|
+
}
|
|
2497
|
+
exports.useRemoveWalletMutation = useRemoveWalletMutation;
|
|
2471
2498
|
exports.RevokeTokenDocument = (0, client_1.gql) `
|
|
2472
2499
|
mutation RevokeToken {
|
|
2473
2500
|
revokeToken
|
package/package.json
CHANGED
|
@@ -758,6 +758,7 @@ export type IMutation = {
|
|
|
758
758
|
removeCollectionFromGalleryV2: Scalars['Boolean'];
|
|
759
759
|
removeCreationFromGallery: Scalars['Boolean'];
|
|
760
760
|
removeCreationFromGalleryV2: Scalars['Boolean'];
|
|
761
|
+
removeWallet: Scalars['Boolean'];
|
|
761
762
|
reportAsset: Scalars['Boolean'];
|
|
762
763
|
reportGallery: Scalars['Boolean'];
|
|
763
764
|
reportUser: Scalars['Boolean'];
|
|
@@ -1116,6 +1117,12 @@ export type IMutationRemoveCreationFromGalleryV2Args = {
|
|
|
1116
1117
|
};
|
|
1117
1118
|
|
|
1118
1119
|
|
|
1120
|
+
export type IMutationRemoveWalletArgs = {
|
|
1121
|
+
blockchain: Scalars['String'];
|
|
1122
|
+
address: Scalars['String'];
|
|
1123
|
+
};
|
|
1124
|
+
|
|
1125
|
+
|
|
1119
1126
|
export type IMutationReportAssetArgs = {
|
|
1120
1127
|
assetId: Scalars['String'];
|
|
1121
1128
|
reason: ISelectionInput;
|
|
@@ -2904,6 +2911,14 @@ export type IRefreshTokenMutationVariables = Exact<{
|
|
|
2904
2911
|
|
|
2905
2912
|
export type IRefreshTokenMutation = { refreshToken: Pick<ITokenPair, 'userId' | 'tokenAuth' | 'tokenRefresh' | 'role'> };
|
|
2906
2913
|
|
|
2914
|
+
export type IRemoveWalletMutationVariables = Exact<{
|
|
2915
|
+
blockchain: Scalars['String'];
|
|
2916
|
+
address: Scalars['String'];
|
|
2917
|
+
}>;
|
|
2918
|
+
|
|
2919
|
+
|
|
2920
|
+
export type IRemoveWalletMutation = Pick<IMutation, 'removeWallet'>;
|
|
2921
|
+
|
|
2907
2922
|
export type IRevokeTokenMutationVariables = Exact<{ [key: string]: never; }>;
|
|
2908
2923
|
|
|
2909
2924
|
|
|
@@ -5830,6 +5845,37 @@ export function useRefreshTokenMutation(baseOptions?: Apollo.MutationHookOptions
|
|
|
5830
5845
|
export type RefreshTokenMutationHookResult = ReturnType<typeof useRefreshTokenMutation>;
|
|
5831
5846
|
export type RefreshTokenMutationResult = Apollo.MutationResult<IRefreshTokenMutation>;
|
|
5832
5847
|
export type RefreshTokenMutationOptions = Apollo.BaseMutationOptions<IRefreshTokenMutation, IRefreshTokenMutationVariables>;
|
|
5848
|
+
export const RemoveWalletDocument = gql`
|
|
5849
|
+
mutation RemoveWallet($blockchain: String!, $address: String!) {
|
|
5850
|
+
removeWallet(blockchain: $blockchain, address: $address)
|
|
5851
|
+
}
|
|
5852
|
+
`;
|
|
5853
|
+
export type IRemoveWalletMutationFn = Apollo.MutationFunction<IRemoveWalletMutation, IRemoveWalletMutationVariables>;
|
|
5854
|
+
|
|
5855
|
+
/**
|
|
5856
|
+
* __useRemoveWalletMutation__
|
|
5857
|
+
*
|
|
5858
|
+
* To run a mutation, you first call `useRemoveWalletMutation` within a React component and pass it any options that fit your needs.
|
|
5859
|
+
* When your component renders, `useRemoveWalletMutation` returns a tuple that includes:
|
|
5860
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
5861
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
5862
|
+
*
|
|
5863
|
+
* @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;
|
|
5864
|
+
*
|
|
5865
|
+
* @example
|
|
5866
|
+
* const [removeWalletMutation, { data, loading, error }] = useRemoveWalletMutation({
|
|
5867
|
+
* variables: {
|
|
5868
|
+
* blockchain: // value for 'blockchain'
|
|
5869
|
+
* address: // value for 'address'
|
|
5870
|
+
* },
|
|
5871
|
+
* });
|
|
5872
|
+
*/
|
|
5873
|
+
export function useRemoveWalletMutation(baseOptions?: Apollo.MutationHookOptions<IRemoveWalletMutation, IRemoveWalletMutationVariables>) {
|
|
5874
|
+
return Apollo.useMutation<IRemoveWalletMutation, IRemoveWalletMutationVariables>(RemoveWalletDocument, baseOptions);
|
|
5875
|
+
}
|
|
5876
|
+
export type RemoveWalletMutationHookResult = ReturnType<typeof useRemoveWalletMutation>;
|
|
5877
|
+
export type RemoveWalletMutationResult = Apollo.MutationResult<IRemoveWalletMutation>;
|
|
5878
|
+
export type RemoveWalletMutationOptions = Apollo.BaseMutationOptions<IRemoveWalletMutation, IRemoveWalletMutationVariables>;
|
|
5833
5879
|
export const RevokeTokenDocument = gql`
|
|
5834
5880
|
mutation RevokeToken {
|
|
5835
5881
|
revokeToken
|