@ludo.ninja/api 2.1.6 → 2.1.8

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.
@@ -696,6 +696,7 @@ export type IMutation = {
696
696
  removeCollectionFromGalleryV2: Scalars['Boolean'];
697
697
  removeCreationFromGallery: Scalars['Boolean'];
698
698
  removeCreationFromGalleryV2: Scalars['Boolean'];
699
+ removeWallet: Scalars['Boolean'];
699
700
  reportAsset: Scalars['Boolean'];
700
701
  reportGallery: Scalars['Boolean'];
701
702
  reportUser: Scalars['Boolean'];
@@ -942,6 +943,10 @@ export type IMutationRemoveCreationFromGalleryV2Args = {
942
943
  galleryId: Scalars['ID'];
943
944
  creationId: Scalars['String'];
944
945
  };
946
+ export type IMutationRemoveWalletArgs = {
947
+ blockchain: Scalars['String'];
948
+ address: Scalars['String'];
949
+ };
945
950
  export type IMutationReportAssetArgs = {
946
951
  assetId: Scalars['String'];
947
952
  reason: ISelectionInput;
@@ -2322,6 +2327,11 @@ export type IRefreshTokenMutationVariables = Exact<{
2322
2327
  export type IRefreshTokenMutation = {
2323
2328
  refreshToken: Pick<ITokenPair, 'userId' | 'tokenAuth' | 'tokenRefresh' | 'role'>;
2324
2329
  };
2330
+ export type IRemoveWalletMutationVariables = Exact<{
2331
+ blockchain: Scalars['String'];
2332
+ address: Scalars['String'];
2333
+ }>;
2334
+ export type IRemoveWalletMutation = Pick<IMutation, 'removeWallet'>;
2325
2335
  export type IRevokeTokenMutationVariables = Exact<{
2326
2336
  [key: string]: never;
2327
2337
  }>;
@@ -4226,6 +4236,33 @@ export declare function useRefreshTokenMutation(baseOptions?: Apollo.MutationHoo
4226
4236
  export type RefreshTokenMutationHookResult = ReturnType<typeof useRefreshTokenMutation>;
4227
4237
  export type RefreshTokenMutationResult = Apollo.MutationResult<IRefreshTokenMutation>;
4228
4238
  export type RefreshTokenMutationOptions = Apollo.BaseMutationOptions<IRefreshTokenMutation, IRefreshTokenMutationVariables>;
4239
+ export declare const RemoveWalletDocument: Apollo.DocumentNode;
4240
+ export type IRemoveWalletMutationFn = Apollo.MutationFunction<IRemoveWalletMutation, IRemoveWalletMutationVariables>;
4241
+ /**
4242
+ * __useRemoveWalletMutation__
4243
+ *
4244
+ * To run a mutation, you first call `useRemoveWalletMutation` within a React component and pass it any options that fit your needs.
4245
+ * When your component renders, `useRemoveWalletMutation` returns a tuple that includes:
4246
+ * - A mutate function that you can call at any time to execute the mutation
4247
+ * - An object with fields that represent the current status of the mutation's execution
4248
+ *
4249
+ * @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;
4250
+ *
4251
+ * @example
4252
+ * const [removeWalletMutation, { data, loading, error }] = useRemoveWalletMutation({
4253
+ * variables: {
4254
+ * blockchain: // value for 'blockchain'
4255
+ * address: // value for 'address'
4256
+ * },
4257
+ * });
4258
+ */
4259
+ export declare function useRemoveWalletMutation(baseOptions?: Apollo.MutationHookOptions<IRemoveWalletMutation, IRemoveWalletMutationVariables>): Apollo.MutationTuple<IRemoveWalletMutation, Exact<{
4260
+ blockchain: string;
4261
+ address: string;
4262
+ }>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
4263
+ export type RemoveWalletMutationHookResult = ReturnType<typeof useRemoveWalletMutation>;
4264
+ export type RemoveWalletMutationResult = Apollo.MutationResult<IRemoveWalletMutation>;
4265
+ export type RemoveWalletMutationOptions = Apollo.BaseMutationOptions<IRemoveWalletMutation, IRemoveWalletMutationVariables>;
4229
4266
  export declare const RevokeTokenDocument: Apollo.DocumentNode;
4230
4267
  export type IRevokeTokenMutationFn = Apollo.MutationFunction<IRevokeTokenMutation, IRevokeTokenMutationVariables>;
4231
4268
  /**
@@ -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.useSignInSolanaMutation = exports.SignInSolanaDocument = exports.useSignInMetamaskMutation = exports.SignInMetamaskDocument = exports.useSignInFlowMutation = exports.SignInFlowDocument = exports.useSignInElrondMutation = exports.SignInElrondDocument = exports.useRevokeTokenMutation = exports.RevokeTokenDocument = 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.useFetchSearchResultCategorySelectionsQuery = exports.FetchSearchResultCategorySelectionsDocument = 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 = 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 = 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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ludo.ninja/api",
3
- "version": "2.1.6",
3
+ "version": "2.1.8",
4
4
  "main": "./build/index.js",
5
5
  "scripts": {
6
6
  "test": "jest",
@@ -320,7 +320,8 @@ export type ICollectionMarket = {
320
320
 
321
321
  export type ICollectionPage = {
322
322
  collections: Array<Maybe<ICollection>>;
323
- nextPage?: Maybe<IPage>;
323
+ nextPageToken?: Maybe<Scalars['String']>;
324
+ results?: Maybe<Scalars['Long']>;
324
325
  };
325
326
 
326
327
  export type ICollectionsPage = {
@@ -355,8 +356,9 @@ export type ICreationFilterInput = {
355
356
  };
356
357
 
357
358
  export type ICreationsPage = {
358
- creations: Array<Maybe<ICreation>>;
359
- nextPage?: Maybe<IPage>;
359
+ creations?: Maybe<Array<Maybe<ICreation>>>;
360
+ nextPageToken?: Maybe<Scalars['String']>;
361
+ results?: Maybe<Scalars['Long']>;
360
362
  };
361
363
 
362
364
  export type ICurrencyAmountPair = {
@@ -758,6 +760,7 @@ export type IMutation = {
758
760
  removeCollectionFromGalleryV2: Scalars['Boolean'];
759
761
  removeCreationFromGallery: Scalars['Boolean'];
760
762
  removeCreationFromGalleryV2: Scalars['Boolean'];
763
+ removeWallet: Scalars['Boolean'];
761
764
  reportAsset: Scalars['Boolean'];
762
765
  reportGallery: Scalars['Boolean'];
763
766
  reportUser: Scalars['Boolean'];
@@ -1116,6 +1119,12 @@ export type IMutationRemoveCreationFromGalleryV2Args = {
1116
1119
  };
1117
1120
 
1118
1121
 
1122
+ export type IMutationRemoveWalletArgs = {
1123
+ blockchain: Scalars['String'];
1124
+ address: Scalars['String'];
1125
+ };
1126
+
1127
+
1119
1128
  export type IMutationReportAssetArgs = {
1120
1129
  assetId: Scalars['String'];
1121
1130
  reason: ISelectionInput;
@@ -1372,18 +1381,6 @@ export type IOpportunityPage = {
1372
1381
  similarOpportunities?: Maybe<Array<Maybe<IOpportunity>>>;
1373
1382
  };
1374
1383
 
1375
- export type IPage = {
1376
- token?: Maybe<Scalars['String']>;
1377
- num?: Maybe<Scalars['Int']>;
1378
- size?: Maybe<Scalars['Int']>;
1379
- elements?: Maybe<Scalars['Long']>;
1380
- };
1381
-
1382
- export type IPageInput = {
1383
- token?: Maybe<Scalars['String']>;
1384
- size?: Maybe<Scalars['Int']>;
1385
- };
1386
-
1387
1384
  export type IProfile = {
1388
1385
  about?: Maybe<Scalars['String']>;
1389
1386
  createdAt?: Maybe<Scalars['Long']>;
@@ -1407,7 +1404,6 @@ export type IProfile = {
1407
1404
  };
1408
1405
 
1409
1406
  export type IProfilePage = {
1410
- nextPage?: Maybe<IPage>;
1411
1407
  nextPageToken?: Maybe<Scalars['String']>;
1412
1408
  profiles: Array<Maybe<IProfile>>;
1413
1409
  results?: Maybe<Scalars['Long']>;
@@ -1563,7 +1559,8 @@ export type IQueryFetchAllBannerAssetsArgs = {
1563
1559
 
1564
1560
 
1565
1561
  export type IQueryFetchAllCreationsArgs = {
1566
- page?: Maybe<IPageInput>;
1562
+ pageSize: Scalars['Int'];
1563
+ pageToken?: Maybe<Scalars['String']>;
1567
1564
  };
1568
1565
 
1569
1566
 
@@ -1662,7 +1659,8 @@ export type IQueryFetchCreationArgs = {
1662
1659
 
1663
1660
  export type IQueryFetchCreationsByTypeArgs = {
1664
1661
  itemType: Scalars['String'];
1665
- page?: Maybe<IPageInput>;
1662
+ pageSize: Scalars['Int'];
1663
+ pageToken?: Maybe<Scalars['String']>;
1666
1664
  };
1667
1665
 
1668
1666
 
@@ -1966,7 +1964,8 @@ export type IQueryFindAssetsByTermArgs = {
1966
1964
  export type IQueryFindCollectionsArgs = {
1967
1965
  term: Scalars['String'];
1968
1966
  input: ICollectionFilterInput;
1969
- page?: Maybe<IPageInput>;
1967
+ pageSize: Scalars['Int'];
1968
+ pageToken?: Maybe<Scalars['String']>;
1970
1969
  };
1971
1970
 
1972
1971
 
@@ -1978,9 +1977,10 @@ export type IQueryFindCollectionsByTitleArgs = {
1978
1977
 
1979
1978
 
1980
1979
  export type IQueryFindCreationsArgs = {
1981
- term: Scalars['String'];
1982
1980
  input: ICreationFilterInput;
1983
- page?: Maybe<IPageInput>;
1981
+ pageSize: Scalars['Int'];
1982
+ pageToken?: Maybe<Scalars['String']>;
1983
+ term: Scalars['String'];
1984
1984
  };
1985
1985
 
1986
1986
 
@@ -2000,7 +2000,8 @@ export type IQueryFindGalleriesByTermArgs = {
2000
2000
 
2001
2001
  export type IQueryFindProfilesByNameArgs = {
2002
2002
  name: Scalars['String'];
2003
- page?: Maybe<IPageInput>;
2003
+ pageSize: Scalars['Int'];
2004
+ pageToken?: Maybe<Scalars['String']>;
2004
2005
  };
2005
2006
 
2006
2007
 
@@ -2040,9 +2041,10 @@ export type IQueryFindTopEntitiesByTermArgs = {
2040
2041
 
2041
2042
 
2042
2043
  export type IQueryFindUserCreationsArgs = {
2043
- ownerId: Scalars['String'];
2044
2044
  input: ICreationFilterInput;
2045
- page?: Maybe<IPageInput>;
2045
+ ownerId: Scalars['String'];
2046
+ pageSize: Scalars['Int'];
2047
+ pageToken?: Maybe<Scalars['String']>;
2046
2048
  };
2047
2049
 
2048
2050
 
@@ -2904,6 +2906,14 @@ export type IRefreshTokenMutationVariables = Exact<{
2904
2906
 
2905
2907
  export type IRefreshTokenMutation = { refreshToken: Pick<ITokenPair, 'userId' | 'tokenAuth' | 'tokenRefresh' | 'role'> };
2906
2908
 
2909
+ export type IRemoveWalletMutationVariables = Exact<{
2910
+ blockchain: Scalars['String'];
2911
+ address: Scalars['String'];
2912
+ }>;
2913
+
2914
+
2915
+ export type IRemoveWalletMutation = Pick<IMutation, 'removeWallet'>;
2916
+
2907
2917
  export type IRevokeTokenMutationVariables = Exact<{ [key: string]: never; }>;
2908
2918
 
2909
2919
 
@@ -3093,11 +3103,15 @@ export type IFetchSetsSearchResultTypeSelectionsQueryVariables = Exact<{ [key: s
3093
3103
  export type IFetchSetsSearchResultTypeSelectionsQuery = { fetchSetsSearchResultTypeSelections: Array<Maybe<Pick<ISelection, 'name' | 'label'>>> };
3094
3104
 
3095
3105
  export type IFetchAllCreationsQueryVariables = Exact<{
3096
- page?: Maybe<IPageInput>;
3106
+ pageSize: Scalars['Int'];
3107
+ pageToken?: Maybe<Scalars['String']>;
3097
3108
  }>;
3098
3109
 
3099
3110
 
3100
- export type IFetchAllCreationsQuery = { fetchAllCreations: { nextPage?: Maybe<Pick<IPage, 'token' | 'num' | 'size' | 'elements'>>, creations: Array<Maybe<Pick<ICreation, 'itemType' | 'itemId' | 'blockchain' | 'rank' | 'address' | 'liked' | 'likes' | 'tokenId' | 'name' | 'creatorsAddresses' | 'originalUrls' | 'media' | 'mediaPreview' | 'mimeType'>>> } };
3111
+ export type IFetchAllCreationsQuery = { fetchAllCreations: (
3112
+ Pick<ICreationsPage, 'nextPageToken'>
3113
+ & { creations?: Maybe<Array<Maybe<Pick<ICreation, 'itemType' | 'itemId' | 'blockchain' | 'rank' | 'address' | 'liked' | 'likes' | 'tokenId' | 'name' | 'creatorsAddresses' | 'originalUrls' | 'media' | 'mediaPreview' | 'mimeType'>>>> }
3114
+ ) };
3101
3115
 
3102
3116
  export type IFetchAssetsCountQueryVariables = Exact<{ [key: string]: never; }>;
3103
3117
 
@@ -3107,22 +3121,30 @@ export type IFetchAssetsCountQuery = Pick<IQuery, 'fetchAssetsCount'>;
3107
3121
  export type IFindCollectionsQueryVariables = Exact<{
3108
3122
  term: Scalars['String'];
3109
3123
  input: ICollectionFilterInput;
3110
- page?: Maybe<IPageInput>;
3124
+ pageSize: Scalars['Int'];
3125
+ pageToken?: Maybe<Scalars['String']>;
3111
3126
  }>;
3112
3127
 
3113
3128
 
3114
- export type IFindCollectionsQuery = { findCollections: { collections: Array<Maybe<(
3129
+ export type IFindCollectionsQuery = { findCollections: (
3130
+ Pick<ICollectionPage, 'nextPageToken' | 'results'>
3131
+ & { collections: Array<Maybe<(
3115
3132
  Pick<ICollection, 'collectionId' | 'collectionTitle' | 'blockchain' | 'tokenId' | 'likes' | 'liked' | 'rank'>
3116
3133
  & { medias?: Maybe<Array<Maybe<Pick<IMedia, 'originalUrl' | 'url' | 'previewUrl' | 'mimeType' | 'sizeRatio' | 'fileSize'>>>> }
3117
- )>>, nextPage?: Maybe<Pick<IPage, 'token' | 'num' | 'size' | 'elements'>> } };
3134
+ )>> }
3135
+ ) };
3118
3136
 
3119
3137
  export type IFetchCreationsByTypeQueryVariables = Exact<{
3120
3138
  itemType: Scalars['String'];
3121
- page?: Maybe<IPageInput>;
3139
+ pageSize: Scalars['Int'];
3140
+ pageToken?: Maybe<Scalars['String']>;
3122
3141
  }>;
3123
3142
 
3124
3143
 
3125
- export type IFetchCreationsByTypeQuery = { fetchCreationsByType: { nextPage?: Maybe<Pick<IPage, 'token' | 'num' | 'size' | 'elements'>>, creations: Array<Maybe<Pick<ICreation, 'itemType' | 'itemId' | 'blockchain' | 'rank' | 'liked' | 'likes' | 'address' | 'tokenId' | 'name' | 'creatorsAddresses' | 'originalUrls' | 'media' | 'mediaPreview' | 'mimeType'>>> } };
3144
+ export type IFetchCreationsByTypeQuery = { fetchCreationsByType: (
3145
+ Pick<ICreationsPage, 'nextPageToken'>
3146
+ & { creations?: Maybe<Array<Maybe<Pick<ICreation, 'itemType' | 'itemId' | 'blockchain' | 'rank' | 'liked' | 'likes' | 'address' | 'tokenId' | 'name' | 'creatorsAddresses' | 'originalUrls' | 'media' | 'mediaPreview' | 'mimeType'>>>> }
3147
+ ) };
3126
3148
 
3127
3149
  export type IFindAllTopEntitiesByNameQueryVariables = Exact<{
3128
3150
  name: Scalars['String'];
@@ -3148,19 +3170,27 @@ export type IFetchUserPortfolioQuery = { fetchUserPortfolio: Array<Maybe<Pick<IC
3148
3170
  export type IFindCreationsQueryVariables = Exact<{
3149
3171
  term: Scalars['String'];
3150
3172
  input: ICreationFilterInput;
3151
- page?: Maybe<IPageInput>;
3173
+ pageSize: Scalars['Int'];
3174
+ pageToken?: Maybe<Scalars['String']>;
3152
3175
  }>;
3153
3176
 
3154
3177
 
3155
- export type IFindCreationsQuery = { findCreations: { nextPage?: Maybe<Pick<IPage, 'token' | 'num' | 'size' | 'elements'>>, creations: Array<Maybe<Pick<ICreation, 'itemType' | 'address' | 'tokenId' | 'itemId' | 'blockchain' | 'name' | 'creatorsAddresses' | 'originalUrls' | 'media' | 'mediaPreview' | 'mimeType' | 'rank' | 'likes' | 'liked'>>> } };
3178
+ export type IFindCreationsQuery = { findCreations: (
3179
+ Pick<ICreationsPage, 'nextPageToken' | 'results'>
3180
+ & { creations?: Maybe<Array<Maybe<Pick<ICreation, 'itemType' | 'address' | 'tokenId' | 'itemId' | 'blockchain' | 'name' | 'creatorsAddresses' | 'originalUrls' | 'media' | 'mediaPreview' | 'mimeType' | 'rank' | 'likes' | 'liked'>>>> }
3181
+ ) };
3156
3182
 
3157
3183
  export type IFindProfilesByNameQueryVariables = Exact<{
3158
3184
  name: Scalars['String'];
3159
- page?: Maybe<IPageInput>;
3185
+ pageSize: Scalars['Int'];
3186
+ pageToken?: Maybe<Scalars['String']>;
3160
3187
  }>;
3161
3188
 
3162
3189
 
3163
- export type IFindProfilesByNameQuery = { findProfilesByName: { nextPage?: Maybe<Pick<IPage, 'token' | 'num' | 'size' | 'elements'>>, profiles: Array<Maybe<Pick<IProfile, 'userId' | 'username' | 'about' | 'userpic' | 'followers' | 'followings' | 'visible'>>> } };
3190
+ export type IFindProfilesByNameQuery = { findProfilesByName: (
3191
+ Pick<IProfilePage, 'nextPageToken' | 'results'>
3192
+ & { profiles: Array<Maybe<Pick<IProfile, 'userId' | 'username' | 'about' | 'userpic' | 'followers' | 'followings' | 'visible'>>> }
3193
+ ) };
3164
3194
 
3165
3195
  export type IFindSetsQueryVariables = Exact<{
3166
3196
  term: Scalars['String'];
@@ -3191,11 +3221,15 @@ export type IFindShowcaseItemsQuery = { findShowcaseItems: (
3191
3221
  export type IFindUserCreationsQueryVariables = Exact<{
3192
3222
  ownerId: Scalars['String'];
3193
3223
  input: ICreationFilterInput;
3194
- page?: Maybe<IPageInput>;
3224
+ pageSize: Scalars['Int'];
3225
+ pageToken?: Maybe<Scalars['String']>;
3195
3226
  }>;
3196
3227
 
3197
3228
 
3198
- export type IFindUserCreationsQuery = { findUserCreations: { nextPage?: Maybe<Pick<IPage, 'token' | 'num' | 'size' | 'elements'>>, creations: Array<Maybe<Pick<ICreation, 'id' | 'itemType' | 'tokenId' | 'address' | 'itemId' | 'blockchain' | 'rank' | 'name' | 'creatorsAddresses' | 'originalUrls' | 'media' | 'mediaPreview' | 'mimeType' | 'likes'>>> } };
3229
+ export type IFindUserCreationsQuery = { findUserCreations: (
3230
+ Pick<ICreationsPage, 'nextPageToken' | 'results'>
3231
+ & { creations?: Maybe<Array<Maybe<Pick<ICreation, 'id' | 'itemType' | 'tokenId' | 'address' | 'itemId' | 'blockchain' | 'rank' | 'name' | 'creatorsAddresses' | 'originalUrls' | 'media' | 'mediaPreview' | 'mimeType' | 'likes'>>>> }
3232
+ ) };
3199
3233
 
3200
3234
  export type IFindUserShowcaseItemsQueryVariables = Exact<{
3201
3235
  ownerId: Scalars['String'];
@@ -5830,6 +5864,37 @@ export function useRefreshTokenMutation(baseOptions?: Apollo.MutationHookOptions
5830
5864
  export type RefreshTokenMutationHookResult = ReturnType<typeof useRefreshTokenMutation>;
5831
5865
  export type RefreshTokenMutationResult = Apollo.MutationResult<IRefreshTokenMutation>;
5832
5866
  export type RefreshTokenMutationOptions = Apollo.BaseMutationOptions<IRefreshTokenMutation, IRefreshTokenMutationVariables>;
5867
+ export const RemoveWalletDocument = gql`
5868
+ mutation RemoveWallet($blockchain: String!, $address: String!) {
5869
+ removeWallet(blockchain: $blockchain, address: $address)
5870
+ }
5871
+ `;
5872
+ export type IRemoveWalletMutationFn = Apollo.MutationFunction<IRemoveWalletMutation, IRemoveWalletMutationVariables>;
5873
+
5874
+ /**
5875
+ * __useRemoveWalletMutation__
5876
+ *
5877
+ * To run a mutation, you first call `useRemoveWalletMutation` within a React component and pass it any options that fit your needs.
5878
+ * When your component renders, `useRemoveWalletMutation` returns a tuple that includes:
5879
+ * - A mutate function that you can call at any time to execute the mutation
5880
+ * - An object with fields that represent the current status of the mutation's execution
5881
+ *
5882
+ * @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;
5883
+ *
5884
+ * @example
5885
+ * const [removeWalletMutation, { data, loading, error }] = useRemoveWalletMutation({
5886
+ * variables: {
5887
+ * blockchain: // value for 'blockchain'
5888
+ * address: // value for 'address'
5889
+ * },
5890
+ * });
5891
+ */
5892
+ export function useRemoveWalletMutation(baseOptions?: Apollo.MutationHookOptions<IRemoveWalletMutation, IRemoveWalletMutationVariables>) {
5893
+ return Apollo.useMutation<IRemoveWalletMutation, IRemoveWalletMutationVariables>(RemoveWalletDocument, baseOptions);
5894
+ }
5895
+ export type RemoveWalletMutationHookResult = ReturnType<typeof useRemoveWalletMutation>;
5896
+ export type RemoveWalletMutationResult = Apollo.MutationResult<IRemoveWalletMutation>;
5897
+ export type RemoveWalletMutationOptions = Apollo.BaseMutationOptions<IRemoveWalletMutation, IRemoveWalletMutationVariables>;
5833
5898
  export const RevokeTokenDocument = gql`
5834
5899
  mutation RevokeToken {
5835
5900
  revokeToken
@@ -6792,14 +6857,9 @@ export type FetchSetsSearchResultTypeSelectionsQueryHookResult = ReturnType<type
6792
6857
  export type FetchSetsSearchResultTypeSelectionsLazyQueryHookResult = ReturnType<typeof useFetchSetsSearchResultTypeSelectionsLazyQuery>;
6793
6858
  export type FetchSetsSearchResultTypeSelectionsQueryResult = Apollo.QueryResult<IFetchSetsSearchResultTypeSelectionsQuery, IFetchSetsSearchResultTypeSelectionsQueryVariables>;
6794
6859
  export const FetchAllCreationsDocument = gql`
6795
- query FetchAllCreations($page: PageInput) {
6796
- fetchAllCreations(page: $page) {
6797
- nextPage {
6798
- token
6799
- num
6800
- size
6801
- elements
6802
- }
6860
+ query FetchAllCreations($pageSize: Int!, $pageToken: String) {
6861
+ fetchAllCreations(pageSize: $pageSize, pageToken: $pageToken) {
6862
+ nextPageToken
6803
6863
  creations {
6804
6864
  itemType
6805
6865
  itemId
@@ -6832,11 +6892,12 @@ export const FetchAllCreationsDocument = gql`
6832
6892
  * @example
6833
6893
  * const { data, loading, error } = useFetchAllCreationsQuery({
6834
6894
  * variables: {
6835
- * page: // value for 'page'
6895
+ * pageSize: // value for 'pageSize'
6896
+ * pageToken: // value for 'pageToken'
6836
6897
  * },
6837
6898
  * });
6838
6899
  */
6839
- export function useFetchAllCreationsQuery(baseOptions?: Apollo.QueryHookOptions<IFetchAllCreationsQuery, IFetchAllCreationsQueryVariables>) {
6900
+ export function useFetchAllCreationsQuery(baseOptions: Apollo.QueryHookOptions<IFetchAllCreationsQuery, IFetchAllCreationsQueryVariables>) {
6840
6901
  return Apollo.useQuery<IFetchAllCreationsQuery, IFetchAllCreationsQueryVariables>(FetchAllCreationsDocument, baseOptions);
6841
6902
  }
6842
6903
  export function useFetchAllCreationsLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<IFetchAllCreationsQuery, IFetchAllCreationsQueryVariables>) {
@@ -6876,8 +6937,13 @@ export type FetchAssetsCountQueryHookResult = ReturnType<typeof useFetchAssetsCo
6876
6937
  export type FetchAssetsCountLazyQueryHookResult = ReturnType<typeof useFetchAssetsCountLazyQuery>;
6877
6938
  export type FetchAssetsCountQueryResult = Apollo.QueryResult<IFetchAssetsCountQuery, IFetchAssetsCountQueryVariables>;
6878
6939
  export const FindCollectionsDocument = gql`
6879
- query FindCollections($term: String!, $input: CollectionFilterInput!, $page: PageInput) {
6880
- findCollections(term: $term, input: $input, page: $page) {
6940
+ query FindCollections($term: String!, $input: CollectionFilterInput!, $pageSize: Int!, $pageToken: String) {
6941
+ findCollections(
6942
+ term: $term
6943
+ input: $input
6944
+ pageSize: $pageSize
6945
+ pageToken: $pageToken
6946
+ ) {
6881
6947
  collections {
6882
6948
  collectionId
6883
6949
  collectionTitle
@@ -6895,12 +6961,8 @@ export const FindCollectionsDocument = gql`
6895
6961
  }
6896
6962
  rank
6897
6963
  }
6898
- nextPage {
6899
- token
6900
- num
6901
- size
6902
- elements
6903
- }
6964
+ nextPageToken
6965
+ results
6904
6966
  }
6905
6967
  }
6906
6968
  `;
@@ -6919,7 +6981,8 @@ export const FindCollectionsDocument = gql`
6919
6981
  * variables: {
6920
6982
  * term: // value for 'term'
6921
6983
  * input: // value for 'input'
6922
- * page: // value for 'page'
6984
+ * pageSize: // value for 'pageSize'
6985
+ * pageToken: // value for 'pageToken'
6923
6986
  * },
6924
6987
  * });
6925
6988
  */
@@ -6933,14 +6996,13 @@ export type FindCollectionsQueryHookResult = ReturnType<typeof useFindCollection
6933
6996
  export type FindCollectionsLazyQueryHookResult = ReturnType<typeof useFindCollectionsLazyQuery>;
6934
6997
  export type FindCollectionsQueryResult = Apollo.QueryResult<IFindCollectionsQuery, IFindCollectionsQueryVariables>;
6935
6998
  export const FetchCreationsByTypeDocument = gql`
6936
- query FetchCreationsByType($itemType: String!, $page: PageInput) {
6937
- fetchCreationsByType(itemType: $itemType, page: $page) {
6938
- nextPage {
6939
- token
6940
- num
6941
- size
6942
- elements
6943
- }
6999
+ query FetchCreationsByType($itemType: String!, $pageSize: Int!, $pageToken: String) {
7000
+ fetchCreationsByType(
7001
+ itemType: $itemType
7002
+ pageSize: $pageSize
7003
+ pageToken: $pageToken
7004
+ ) {
7005
+ nextPageToken
6944
7006
  creations {
6945
7007
  itemType
6946
7008
  itemId
@@ -6974,7 +7036,8 @@ export const FetchCreationsByTypeDocument = gql`
6974
7036
  * const { data, loading, error } = useFetchCreationsByTypeQuery({
6975
7037
  * variables: {
6976
7038
  * itemType: // value for 'itemType'
6977
- * page: // value for 'page'
7039
+ * pageSize: // value for 'pageSize'
7040
+ * pageToken: // value for 'pageToken'
6978
7041
  * },
6979
7042
  * });
6980
7043
  */
@@ -7149,14 +7212,15 @@ export type FetchUserPortfolioQueryHookResult = ReturnType<typeof useFetchUserPo
7149
7212
  export type FetchUserPortfolioLazyQueryHookResult = ReturnType<typeof useFetchUserPortfolioLazyQuery>;
7150
7213
  export type FetchUserPortfolioQueryResult = Apollo.QueryResult<IFetchUserPortfolioQuery, IFetchUserPortfolioQueryVariables>;
7151
7214
  export const FindCreationsDocument = gql`
7152
- query FindCreations($term: String!, $input: CreationFilterInput!, $page: PageInput) {
7153
- findCreations(term: $term, input: $input, page: $page) {
7154
- nextPage {
7155
- token
7156
- num
7157
- size
7158
- elements
7159
- }
7215
+ query FindCreations($term: String!, $input: CreationFilterInput!, $pageSize: Int!, $pageToken: String) {
7216
+ findCreations(
7217
+ term: $term
7218
+ input: $input
7219
+ pageSize: $pageSize
7220
+ pageToken: $pageToken
7221
+ ) {
7222
+ nextPageToken
7223
+ results
7160
7224
  creations {
7161
7225
  itemType
7162
7226
  address
@@ -7191,7 +7255,8 @@ export const FindCreationsDocument = gql`
7191
7255
  * variables: {
7192
7256
  * term: // value for 'term'
7193
7257
  * input: // value for 'input'
7194
- * page: // value for 'page'
7258
+ * pageSize: // value for 'pageSize'
7259
+ * pageToken: // value for 'pageToken'
7195
7260
  * },
7196
7261
  * });
7197
7262
  */
@@ -7205,14 +7270,9 @@ export type FindCreationsQueryHookResult = ReturnType<typeof useFindCreationsQue
7205
7270
  export type FindCreationsLazyQueryHookResult = ReturnType<typeof useFindCreationsLazyQuery>;
7206
7271
  export type FindCreationsQueryResult = Apollo.QueryResult<IFindCreationsQuery, IFindCreationsQueryVariables>;
7207
7272
  export const FindProfilesByNameDocument = gql`
7208
- query FindProfilesByName($name: String!, $page: PageInput) {
7209
- findProfilesByName(name: $name, page: $page) {
7210
- nextPage {
7211
- token
7212
- num
7213
- size
7214
- elements
7215
- }
7273
+ query FindProfilesByName($name: String!, $pageSize: Int!, $pageToken: String) {
7274
+ findProfilesByName(name: $name, pageSize: $pageSize, pageToken: $pageToken) {
7275
+ nextPageToken
7216
7276
  profiles {
7217
7277
  userId
7218
7278
  username
@@ -7222,6 +7282,7 @@ export const FindProfilesByNameDocument = gql`
7222
7282
  followings
7223
7283
  visible
7224
7284
  }
7285
+ results
7225
7286
  }
7226
7287
  }
7227
7288
  `;
@@ -7239,7 +7300,8 @@ export const FindProfilesByNameDocument = gql`
7239
7300
  * const { data, loading, error } = useFindProfilesByNameQuery({
7240
7301
  * variables: {
7241
7302
  * name: // value for 'name'
7242
- * page: // value for 'page'
7303
+ * pageSize: // value for 'pageSize'
7304
+ * pageToken: // value for 'pageToken'
7243
7305
  * },
7244
7306
  * });
7245
7307
  */
@@ -7361,14 +7423,15 @@ export type FindShowcaseItemsQueryHookResult = ReturnType<typeof useFindShowcase
7361
7423
  export type FindShowcaseItemsLazyQueryHookResult = ReturnType<typeof useFindShowcaseItemsLazyQuery>;
7362
7424
  export type FindShowcaseItemsQueryResult = Apollo.QueryResult<IFindShowcaseItemsQuery, IFindShowcaseItemsQueryVariables>;
7363
7425
  export const FindUserCreationsDocument = gql`
7364
- query FindUserCreations($ownerId: String!, $input: CreationFilterInput!, $page: PageInput) {
7365
- findUserCreations(ownerId: $ownerId, input: $input, page: $page) {
7366
- nextPage {
7367
- token
7368
- num
7369
- size
7370
- elements
7371
- }
7426
+ query FindUserCreations($ownerId: String!, $input: CreationFilterInput!, $pageSize: Int!, $pageToken: String) {
7427
+ findUserCreations(
7428
+ ownerId: $ownerId
7429
+ input: $input
7430
+ pageSize: $pageSize
7431
+ pageToken: $pageToken
7432
+ ) {
7433
+ nextPageToken
7434
+ results
7372
7435
  creations {
7373
7436
  id
7374
7437
  itemType
@@ -7403,7 +7466,8 @@ export const FindUserCreationsDocument = gql`
7403
7466
  * variables: {
7404
7467
  * ownerId: // value for 'ownerId'
7405
7468
  * input: // value for 'input'
7406
- * page: // value for 'page'
7469
+ * pageSize: // value for 'pageSize'
7470
+ * pageToken: // value for 'pageToken'
7407
7471
  * },
7408
7472
  * });
7409
7473
  */