@ludo.ninja/api 3.0.93 → 3.0.94

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.
@@ -127,6 +127,12 @@ export declare enum ILoginType {
127
127
  Email = "EMAIL",
128
128
  PhoneNumber = "PHONE_NUMBER"
129
129
  }
130
+ export type ILudoNft = {
131
+ blockchain: Scalars['String'];
132
+ address: Scalars['String'];
133
+ tokenId?: Maybe<Scalars['String']>;
134
+ tierId: Scalars['String'];
135
+ };
130
136
  /** noinspection SpellCheckingInspection */
131
137
  export type IMultiversxAudit = {
132
138
  delegated?: Maybe<Scalars['Float']>;
@@ -343,6 +349,7 @@ export type IQuery = {
343
349
  fetchMultiversxAudit?: Maybe<IMultiversxAudit>;
344
350
  fetchAggregatedMultiversxAudit?: Maybe<IMultiversxAudit>;
345
351
  fetchIsLudoNftMintable: Scalars['Boolean'];
352
+ fetchLudoNftForWallet?: Maybe<ILudoNft>;
346
353
  fetchInviteCode: IInviteCode;
347
354
  fetchMyProfileV2: IMyProfileV2;
348
355
  fetchProfile: IProfile;
@@ -365,6 +372,10 @@ export type IQueryFetchIsLudoNftMintableArgs = {
365
372
  blockchain: Scalars['String'];
366
373
  address: Scalars['String'];
367
374
  };
375
+ export type IQueryFetchLudoNftForWalletArgs = {
376
+ blockchain: Scalars['String'];
377
+ address: Scalars['String'];
378
+ };
368
379
  export type IQueryFetchInviteCodeArgs = {
369
380
  inviteCode: Scalars['String'];
370
381
  };
@@ -475,6 +486,7 @@ export type IResolversTypes = {
475
486
  LoginSource: ILoginSource;
476
487
  LoginType: ILoginType;
477
488
  Long: ResolverTypeWrapper<Scalars['Long']>;
489
+ LudoNft: ResolverTypeWrapper<ILudoNft>;
478
490
  MultiversxAudit: ResolverTypeWrapper<IMultiversxAudit>;
479
491
  Mutation: ResolverTypeWrapper<{}>;
480
492
  MyProfileV2: ResolverTypeWrapper<IMyProfileV2>;
@@ -511,6 +523,7 @@ export type IResolversParentTypes = {
511
523
  InviteCodeUser: IInviteCodeUser;
512
524
  JSON: Scalars['JSON'];
513
525
  Long: Scalars['Long'];
526
+ LudoNft: ILudoNft;
514
527
  MultiversxAudit: IMultiversxAudit;
515
528
  Mutation: {};
516
529
  MyProfileV2: IMyProfileV2;
@@ -610,6 +623,13 @@ export interface IJsonScalarConfig extends GraphQLScalarTypeConfig<IResolversTyp
610
623
  export interface ILongScalarConfig extends GraphQLScalarTypeConfig<IResolversTypes['Long'], any> {
611
624
  name: 'Long';
612
625
  }
626
+ export type ILudoNftResolvers<ContextType = any, ParentType extends IResolversParentTypes['LudoNft'] = IResolversParentTypes['LudoNft']> = {
627
+ blockchain?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
628
+ address?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
629
+ tokenId?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
630
+ tierId?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
631
+ __isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
632
+ };
613
633
  export type IMultiversxAuditResolvers<ContextType = any, ParentType extends IResolversParentTypes['MultiversxAudit'] = IResolversParentTypes['MultiversxAudit']> = {
614
634
  delegated?: Resolver<Maybe<IResolversTypes['Float']>, ParentType, ContextType>;
615
635
  interests?: Resolver<Maybe<Array<IResolversTypes['AuditInterest']>>, ParentType, ContextType>;
@@ -712,6 +732,7 @@ export type IQueryResolvers<ContextType = any, ParentType extends IResolversPare
712
732
  fetchMultiversxAudit?: Resolver<Maybe<IResolversTypes['MultiversxAudit']>, ParentType, ContextType, RequireFields<IQueryFetchMultiversxAuditArgs, 'wallet'>>;
713
733
  fetchAggregatedMultiversxAudit?: Resolver<Maybe<IResolversTypes['MultiversxAudit']>, ParentType, ContextType, RequireFields<IQueryFetchAggregatedMultiversxAuditArgs, 'userId'>>;
714
734
  fetchIsLudoNftMintable?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IQueryFetchIsLudoNftMintableArgs, 'blockchain' | 'address'>>;
735
+ fetchLudoNftForWallet?: Resolver<Maybe<IResolversTypes['LudoNft']>, ParentType, ContextType, RequireFields<IQueryFetchLudoNftForWalletArgs, 'blockchain' | 'address'>>;
715
736
  fetchInviteCode?: Resolver<IResolversTypes['InviteCode'], ParentType, ContextType, RequireFields<IQueryFetchInviteCodeArgs, 'inviteCode'>>;
716
737
  fetchMyProfileV2?: Resolver<IResolversTypes['MyProfileV2'], ParentType, ContextType>;
717
738
  fetchProfile?: Resolver<IResolversTypes['Profile'], ParentType, ContextType, RequireFields<IQueryFetchProfileArgs, 'userId'>>;
@@ -765,6 +786,7 @@ export type IResolvers<ContextType = any> = {
765
786
  InviteCodeUser?: IInviteCodeUserResolvers<ContextType>;
766
787
  JSON?: GraphQLScalarType;
767
788
  Long?: GraphQLScalarType;
789
+ LudoNft?: ILudoNftResolvers<ContextType>;
768
790
  MultiversxAudit?: IMultiversxAuditResolvers<ContextType>;
769
791
  Mutation?: IMutationResolvers<ContextType>;
770
792
  MyProfileV2?: IMyProfileV2Resolvers<ContextType>;
@@ -1012,11 +1034,13 @@ export type IFetchMyProfileV2Query = {
1012
1034
  })>>>;
1013
1035
  });
1014
1036
  };
1015
- export type IFetchIsLudoNftMintableQueryVariables = Exact<{
1037
+ export type IFetchLudoNftForWalletQueryVariables = Exact<{
1016
1038
  blockchain: Scalars['String'];
1017
1039
  address: Scalars['String'];
1018
1040
  }>;
1019
- export type IFetchIsLudoNftMintableQuery = Pick<IQuery, 'fetchIsLudoNftMintable'>;
1041
+ export type IFetchLudoNftForWalletQuery = {
1042
+ fetchLudoNftForWallet?: Maybe<Pick<ILudoNft, 'blockchain' | 'address' | 'tierId'>>;
1043
+ };
1020
1044
  export type IFetchProfileQueryVariables = Exact<{
1021
1045
  userId: Scalars['ID'];
1022
1046
  }>;
@@ -1772,35 +1796,35 @@ export declare function useFetchMyProfileV2LazyQuery(baseOptions?: Apollo.LazyQu
1772
1796
  export type FetchMyProfileV2QueryHookResult = ReturnType<typeof useFetchMyProfileV2Query>;
1773
1797
  export type FetchMyProfileV2LazyQueryHookResult = ReturnType<typeof useFetchMyProfileV2LazyQuery>;
1774
1798
  export type FetchMyProfileV2QueryResult = Apollo.QueryResult<IFetchMyProfileV2Query, IFetchMyProfileV2QueryVariables>;
1775
- export declare const FetchIsLudoNftMintableDocument: Apollo.DocumentNode;
1799
+ export declare const FetchLudoNftForWalletDocument: Apollo.DocumentNode;
1776
1800
  /**
1777
- * __useFetchIsLudoNftMintableQuery__
1801
+ * __useFetchLudoNftForWalletQuery__
1778
1802
  *
1779
- * To run a query within a React component, call `useFetchIsLudoNftMintableQuery` and pass it any options that fit your needs.
1780
- * When your component renders, `useFetchIsLudoNftMintableQuery` returns an object from Apollo Client that contains loading, error, and data properties
1803
+ * To run a query within a React component, call `useFetchLudoNftForWalletQuery` and pass it any options that fit your needs.
1804
+ * When your component renders, `useFetchLudoNftForWalletQuery` returns an object from Apollo Client that contains loading, error, and data properties
1781
1805
  * you can use to render your UI.
1782
1806
  *
1783
1807
  * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
1784
1808
  *
1785
1809
  * @example
1786
- * const { data, loading, error } = useFetchIsLudoNftMintableQuery({
1810
+ * const { data, loading, error } = useFetchLudoNftForWalletQuery({
1787
1811
  * variables: {
1788
1812
  * blockchain: // value for 'blockchain'
1789
1813
  * address: // value for 'address'
1790
1814
  * },
1791
1815
  * });
1792
1816
  */
1793
- export declare function useFetchIsLudoNftMintableQuery(baseOptions: Apollo.QueryHookOptions<IFetchIsLudoNftMintableQuery, IFetchIsLudoNftMintableQueryVariables>): Apollo.QueryResult<IFetchIsLudoNftMintableQuery, Exact<{
1817
+ export declare function useFetchLudoNftForWalletQuery(baseOptions: Apollo.QueryHookOptions<IFetchLudoNftForWalletQuery, IFetchLudoNftForWalletQueryVariables>): Apollo.QueryResult<IFetchLudoNftForWalletQuery, Exact<{
1794
1818
  blockchain: string;
1795
1819
  address: string;
1796
1820
  }>>;
1797
- export declare function useFetchIsLudoNftMintableLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<IFetchIsLudoNftMintableQuery, IFetchIsLudoNftMintableQueryVariables>): Apollo.LazyQueryResultTuple<IFetchIsLudoNftMintableQuery, Exact<{
1821
+ export declare function useFetchLudoNftForWalletLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<IFetchLudoNftForWalletQuery, IFetchLudoNftForWalletQueryVariables>): Apollo.LazyQueryResultTuple<IFetchLudoNftForWalletQuery, Exact<{
1798
1822
  blockchain: string;
1799
1823
  address: string;
1800
1824
  }>>;
1801
- export type FetchIsLudoNftMintableQueryHookResult = ReturnType<typeof useFetchIsLudoNftMintableQuery>;
1802
- export type FetchIsLudoNftMintableLazyQueryHookResult = ReturnType<typeof useFetchIsLudoNftMintableLazyQuery>;
1803
- export type FetchIsLudoNftMintableQueryResult = Apollo.QueryResult<IFetchIsLudoNftMintableQuery, IFetchIsLudoNftMintableQueryVariables>;
1825
+ export type FetchLudoNftForWalletQueryHookResult = ReturnType<typeof useFetchLudoNftForWalletQuery>;
1826
+ export type FetchLudoNftForWalletLazyQueryHookResult = ReturnType<typeof useFetchLudoNftForWalletLazyQuery>;
1827
+ export type FetchLudoNftForWalletQueryResult = Apollo.QueryResult<IFetchLudoNftForWalletQuery, IFetchLudoNftForWalletQueryVariables>;
1804
1828
  export declare const FetchProfileDocument: Apollo.DocumentNode;
1805
1829
  /**
1806
1830
  * __useFetchProfileQuery__
@@ -24,7 +24,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
24
24
  };
25
25
  Object.defineProperty(exports, "__esModule", { value: true });
26
26
  exports.useUpdateProfileMutation = exports.UpdateProfileDocument = exports.useSignInTonMutation = exports.SignInTonDocument = exports.useSignInTezosMutation = exports.SignInTezosDocument = exports.useSignInSolanaMutation = exports.SignInSolanaDocument = exports.useSignInMetamaskMutation = exports.SignInMetamaskDocument = exports.useSignInFlowMutation = exports.SignInFlowDocument = exports.useSignInElrondMutation = exports.SignInElrondDocument = exports.useSignInAdminMetamaskMutation = exports.SignInAdminMetamaskDocument = exports.useSetMainWalletMutation = exports.SetMainWalletDocument = exports.useSaveEmailOfJoinerMutation = exports.SaveEmailOfJoinerDocument = exports.useRemoveWalletMutation = exports.RemoveWalletDocument = exports.useUseInviteCodeMutation = exports.UseInviteCodeDocument = exports.useGenerateNewInviteCodesMutation = exports.GenerateNewInviteCodesDocument = exports.useCreateTonNonceMutation = exports.CreateTonNonceDocument = exports.useCreateNonceMutation = exports.CreateNonceDocument = exports.useCreateEvmNonceMutation = exports.CreateEvmNonceDocument = exports.useAddWalletTonMutation = exports.AddWalletTonDocument = exports.useAddWalletTezosMutation = exports.AddWalletTezosDocument = exports.useAddWalletSolanaMutation = exports.AddWalletSolanaDocument = exports.useAddWalletMetamaskMutation = exports.AddWalletMetamaskDocument = exports.useAddWalletFlowMutation = exports.AddWalletFlowDocument = exports.useAddWalletElrondMutation = exports.AddWalletElrondDocument = exports.useSignInEthereumWeb3AuthMutation = exports.SignInEthereumWeb3AuthDocument = exports.IRole = exports.IReftypeColor = exports.ILoginType = exports.ILoginSource = void 0;
27
- exports.useFetchUserWalletsLazyQuery = exports.useFetchUserWalletsQuery = exports.FetchUserWalletsDocument = exports.useFetchProfileLazyQuery = exports.useFetchProfileQuery = exports.FetchProfileDocument = exports.useFetchIsLudoNftMintableLazyQuery = exports.useFetchIsLudoNftMintableQuery = exports.FetchIsLudoNftMintableDocument = exports.useFetchMyProfileV2LazyQuery = exports.useFetchMyProfileV2Query = exports.FetchMyProfileV2Document = exports.useFetchMultiversXAuditLazyQuery = exports.useFetchMultiversXAuditQuery = exports.FetchMultiversXAuditDocument = exports.useFetchAggregatedMultiversxAuditLazyQuery = exports.useFetchAggregatedMultiversxAuditQuery = exports.FetchAggregatedMultiversxAuditDocument = void 0;
27
+ exports.useFetchUserWalletsLazyQuery = exports.useFetchUserWalletsQuery = exports.FetchUserWalletsDocument = exports.useFetchProfileLazyQuery = exports.useFetchProfileQuery = exports.FetchProfileDocument = exports.useFetchLudoNftForWalletLazyQuery = exports.useFetchLudoNftForWalletQuery = exports.FetchLudoNftForWalletDocument = exports.useFetchMyProfileV2LazyQuery = exports.useFetchMyProfileV2Query = exports.FetchMyProfileV2Document = exports.useFetchMultiversXAuditLazyQuery = exports.useFetchMultiversXAuditQuery = exports.FetchMultiversXAuditDocument = exports.useFetchAggregatedMultiversxAuditLazyQuery = exports.useFetchAggregatedMultiversxAuditQuery = exports.FetchAggregatedMultiversxAuditDocument = void 0;
28
28
  const client_1 = require("@apollo/client");
29
29
  const Apollo = __importStar(require("@apollo/client"));
30
30
  /** Please sync with ApplicationType.java */
@@ -1073,36 +1073,40 @@ function useFetchMyProfileV2LazyQuery(baseOptions) {
1073
1073
  return Apollo.useLazyQuery(exports.FetchMyProfileV2Document, baseOptions);
1074
1074
  }
1075
1075
  exports.useFetchMyProfileV2LazyQuery = useFetchMyProfileV2LazyQuery;
1076
- exports.FetchIsLudoNftMintableDocument = (0, client_1.gql) `
1077
- query FetchIsLudoNftMintable($blockchain: String!, $address: String!) {
1078
- fetchIsLudoNftMintable(blockchain: $blockchain, address: $address)
1076
+ exports.FetchLudoNftForWalletDocument = (0, client_1.gql) `
1077
+ query FetchLudoNftForWallet($blockchain: String!, $address: String!) {
1078
+ fetchLudoNftForWallet(blockchain: $blockchain, address: $address) {
1079
+ blockchain
1080
+ address
1081
+ tierId
1082
+ }
1079
1083
  }
1080
1084
  `;
1081
1085
  /**
1082
- * __useFetchIsLudoNftMintableQuery__
1086
+ * __useFetchLudoNftForWalletQuery__
1083
1087
  *
1084
- * To run a query within a React component, call `useFetchIsLudoNftMintableQuery` and pass it any options that fit your needs.
1085
- * When your component renders, `useFetchIsLudoNftMintableQuery` returns an object from Apollo Client that contains loading, error, and data properties
1088
+ * To run a query within a React component, call `useFetchLudoNftForWalletQuery` and pass it any options that fit your needs.
1089
+ * When your component renders, `useFetchLudoNftForWalletQuery` returns an object from Apollo Client that contains loading, error, and data properties
1086
1090
  * you can use to render your UI.
1087
1091
  *
1088
1092
  * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
1089
1093
  *
1090
1094
  * @example
1091
- * const { data, loading, error } = useFetchIsLudoNftMintableQuery({
1095
+ * const { data, loading, error } = useFetchLudoNftForWalletQuery({
1092
1096
  * variables: {
1093
1097
  * blockchain: // value for 'blockchain'
1094
1098
  * address: // value for 'address'
1095
1099
  * },
1096
1100
  * });
1097
1101
  */
1098
- function useFetchIsLudoNftMintableQuery(baseOptions) {
1099
- return Apollo.useQuery(exports.FetchIsLudoNftMintableDocument, baseOptions);
1102
+ function useFetchLudoNftForWalletQuery(baseOptions) {
1103
+ return Apollo.useQuery(exports.FetchLudoNftForWalletDocument, baseOptions);
1100
1104
  }
1101
- exports.useFetchIsLudoNftMintableQuery = useFetchIsLudoNftMintableQuery;
1102
- function useFetchIsLudoNftMintableLazyQuery(baseOptions) {
1103
- return Apollo.useLazyQuery(exports.FetchIsLudoNftMintableDocument, baseOptions);
1105
+ exports.useFetchLudoNftForWalletQuery = useFetchLudoNftForWalletQuery;
1106
+ function useFetchLudoNftForWalletLazyQuery(baseOptions) {
1107
+ return Apollo.useLazyQuery(exports.FetchLudoNftForWalletDocument, baseOptions);
1104
1108
  }
1105
- exports.useFetchIsLudoNftMintableLazyQuery = useFetchIsLudoNftMintableLazyQuery;
1109
+ exports.useFetchLudoNftForWalletLazyQuery = useFetchLudoNftForWalletLazyQuery;
1106
1110
  exports.FetchProfileDocument = (0, client_1.gql) `
1107
1111
  query FetchProfile($userId: ID!) {
1108
1112
  fetchProfile(userId: $userId) {
package/build/index.d.ts CHANGED
@@ -1155,17 +1155,17 @@ declare const schema: {
1155
1155
  }>> | undefined): import("@apollo/client").LazyQueryResultTuple<identitySchema.IFetchMyProfileV2Query, identitySchema.Exact<{
1156
1156
  [key: string]: never;
1157
1157
  }>>;
1158
- useFetchIsLudoNftMintableQuery(baseOptions: import("@apollo/client").QueryHookOptions<identitySchema.IFetchIsLudoNftMintableQuery, identitySchema.Exact<{
1158
+ useFetchLudoNftForWalletQuery(baseOptions: import("@apollo/client").QueryHookOptions<identitySchema.IFetchLudoNftForWalletQuery, identitySchema.Exact<{
1159
1159
  blockchain: string;
1160
1160
  address: string;
1161
- }>>): import("@apollo/client").QueryResult<identitySchema.IFetchIsLudoNftMintableQuery, identitySchema.Exact<{
1161
+ }>>): import("@apollo/client").QueryResult<identitySchema.IFetchLudoNftForWalletQuery, identitySchema.Exact<{
1162
1162
  blockchain: string;
1163
1163
  address: string;
1164
1164
  }>>;
1165
- useFetchIsLudoNftMintableLazyQuery(baseOptions?: import("@apollo/client").LazyQueryHookOptions<identitySchema.IFetchIsLudoNftMintableQuery, identitySchema.Exact<{
1165
+ useFetchLudoNftForWalletLazyQuery(baseOptions?: import("@apollo/client").LazyQueryHookOptions<identitySchema.IFetchLudoNftForWalletQuery, identitySchema.Exact<{
1166
1166
  blockchain: string;
1167
1167
  address: string;
1168
- }>> | undefined): import("@apollo/client").LazyQueryResultTuple<identitySchema.IFetchIsLudoNftMintableQuery, identitySchema.Exact<{
1168
+ }>> | undefined): import("@apollo/client").LazyQueryResultTuple<identitySchema.IFetchLudoNftForWalletQuery, identitySchema.Exact<{
1169
1169
  blockchain: string;
1170
1170
  address: string;
1171
1171
  }>>;
@@ -1218,7 +1218,7 @@ declare const schema: {
1218
1218
  FetchAggregatedMultiversxAuditDocument: import("graphql").DocumentNode;
1219
1219
  FetchMultiversXAuditDocument: import("graphql").DocumentNode;
1220
1220
  FetchMyProfileV2Document: import("graphql").DocumentNode;
1221
- FetchIsLudoNftMintableDocument: import("graphql").DocumentNode;
1221
+ FetchLudoNftForWalletDocument: import("graphql").DocumentNode;
1222
1222
  FetchProfileDocument: import("graphql").DocumentNode;
1223
1223
  FetchUserWalletsDocument: import("graphql").DocumentNode;
1224
1224
  useAddAssetsToGalleryV2Mutation(baseOptions?: import("@apollo/client").MutationHookOptions<galleriesSchema.IAddAssetsToGalleryV2Mutation, galleriesSchema.Exact<{
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ludo.ninja/api",
3
- "version": "3.0.93",
3
+ "version": "3.0.94",
4
4
  "main": "./build/index.js",
5
5
  "scripts": {
6
6
  "test": "jest",
@@ -142,6 +142,13 @@ export enum ILoginType {
142
142
  }
143
143
 
144
144
 
145
+ export type ILudoNft = {
146
+ blockchain: Scalars['String'];
147
+ address: Scalars['String'];
148
+ tokenId?: Maybe<Scalars['String']>;
149
+ tierId: Scalars['String'];
150
+ };
151
+
145
152
  /** noinspection SpellCheckingInspection */
146
153
  export type IMultiversxAudit = {
147
154
  delegated?: Maybe<Scalars['Float']>;
@@ -411,6 +418,7 @@ export type IQuery = {
411
418
  fetchMultiversxAudit?: Maybe<IMultiversxAudit>;
412
419
  fetchAggregatedMultiversxAudit?: Maybe<IMultiversxAudit>;
413
420
  fetchIsLudoNftMintable: Scalars['Boolean'];
421
+ fetchLudoNftForWallet?: Maybe<ILudoNft>;
414
422
  fetchInviteCode: IInviteCode;
415
423
  fetchMyProfileV2: IMyProfileV2;
416
424
  fetchProfile: IProfile;
@@ -445,6 +453,12 @@ export type IQueryFetchIsLudoNftMintableArgs = {
445
453
  };
446
454
 
447
455
 
456
+ export type IQueryFetchLudoNftForWalletArgs = {
457
+ blockchain: Scalars['String'];
458
+ address: Scalars['String'];
459
+ };
460
+
461
+
448
462
  export type IQueryFetchInviteCodeArgs = {
449
463
  inviteCode: Scalars['String'];
450
464
  };
@@ -610,6 +624,7 @@ export type IResolversTypes = {
610
624
  LoginSource: ILoginSource;
611
625
  LoginType: ILoginType;
612
626
  Long: ResolverTypeWrapper<Scalars['Long']>;
627
+ LudoNft: ResolverTypeWrapper<ILudoNft>;
613
628
  MultiversxAudit: ResolverTypeWrapper<IMultiversxAudit>;
614
629
  Mutation: ResolverTypeWrapper<{}>;
615
630
  MyProfileV2: ResolverTypeWrapper<IMyProfileV2>;
@@ -647,6 +662,7 @@ export type IResolversParentTypes = {
647
662
  InviteCodeUser: IInviteCodeUser;
648
663
  JSON: Scalars['JSON'];
649
664
  Long: Scalars['Long'];
665
+ LudoNft: ILudoNft;
650
666
  MultiversxAudit: IMultiversxAudit;
651
667
  Mutation: {};
652
668
  MyProfileV2: IMyProfileV2;
@@ -767,6 +783,14 @@ export interface ILongScalarConfig extends GraphQLScalarTypeConfig<IResolversTyp
767
783
  name: 'Long';
768
784
  }
769
785
 
786
+ export type ILudoNftResolvers<ContextType = any, ParentType extends IResolversParentTypes['LudoNft'] = IResolversParentTypes['LudoNft']> = {
787
+ blockchain?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
788
+ address?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
789
+ tokenId?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
790
+ tierId?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
791
+ __isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
792
+ };
793
+
770
794
  export type IMultiversxAuditResolvers<ContextType = any, ParentType extends IResolversParentTypes['MultiversxAudit'] = IResolversParentTypes['MultiversxAudit']> = {
771
795
  delegated?: Resolver<Maybe<IResolversTypes['Float']>, ParentType, ContextType>;
772
796
  interests?: Resolver<Maybe<Array<IResolversTypes['AuditInterest']>>, ParentType, ContextType>;
@@ -873,6 +897,7 @@ export type IQueryResolvers<ContextType = any, ParentType extends IResolversPare
873
897
  fetchMultiversxAudit?: Resolver<Maybe<IResolversTypes['MultiversxAudit']>, ParentType, ContextType, RequireFields<IQueryFetchMultiversxAuditArgs, 'wallet'>>;
874
898
  fetchAggregatedMultiversxAudit?: Resolver<Maybe<IResolversTypes['MultiversxAudit']>, ParentType, ContextType, RequireFields<IQueryFetchAggregatedMultiversxAuditArgs, 'userId'>>;
875
899
  fetchIsLudoNftMintable?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IQueryFetchIsLudoNftMintableArgs, 'blockchain' | 'address'>>;
900
+ fetchLudoNftForWallet?: Resolver<Maybe<IResolversTypes['LudoNft']>, ParentType, ContextType, RequireFields<IQueryFetchLudoNftForWalletArgs, 'blockchain' | 'address'>>;
876
901
  fetchInviteCode?: Resolver<IResolversTypes['InviteCode'], ParentType, ContextType, RequireFields<IQueryFetchInviteCodeArgs, 'inviteCode'>>;
877
902
  fetchMyProfileV2?: Resolver<IResolversTypes['MyProfileV2'], ParentType, ContextType>;
878
903
  fetchProfile?: Resolver<IResolversTypes['Profile'], ParentType, ContextType, RequireFields<IQueryFetchProfileArgs, 'userId'>>;
@@ -932,6 +957,7 @@ export type IResolvers<ContextType = any> = {
932
957
  InviteCodeUser?: IInviteCodeUserResolvers<ContextType>;
933
958
  JSON?: GraphQLScalarType;
934
959
  Long?: GraphQLScalarType;
960
+ LudoNft?: ILudoNftResolvers<ContextType>;
935
961
  MultiversxAudit?: IMultiversxAuditResolvers<ContextType>;
936
962
  Mutation?: IMutationResolvers<ContextType>;
937
963
  MyProfileV2?: IMyProfileV2Resolvers<ContextType>;
@@ -1215,13 +1241,13 @@ export type IFetchMyProfileV2Query = { fetchMyProfileV2: (
1215
1241
  )>>> }
1216
1242
  ) };
1217
1243
 
1218
- export type IFetchIsLudoNftMintableQueryVariables = Exact<{
1244
+ export type IFetchLudoNftForWalletQueryVariables = Exact<{
1219
1245
  blockchain: Scalars['String'];
1220
1246
  address: Scalars['String'];
1221
1247
  }>;
1222
1248
 
1223
1249
 
1224
- export type IFetchIsLudoNftMintableQuery = Pick<IQuery, 'fetchIsLudoNftMintable'>;
1250
+ export type IFetchLudoNftForWalletQuery = { fetchLudoNftForWallet?: Maybe<Pick<ILudoNft, 'blockchain' | 'address' | 'tierId'>> };
1225
1251
 
1226
1252
  export type IFetchProfileQueryVariables = Exact<{
1227
1253
  userId: Scalars['ID'];
@@ -2345,38 +2371,42 @@ export function useFetchMyProfileV2LazyQuery(baseOptions?: Apollo.LazyQueryHookO
2345
2371
  export type FetchMyProfileV2QueryHookResult = ReturnType<typeof useFetchMyProfileV2Query>;
2346
2372
  export type FetchMyProfileV2LazyQueryHookResult = ReturnType<typeof useFetchMyProfileV2LazyQuery>;
2347
2373
  export type FetchMyProfileV2QueryResult = Apollo.QueryResult<IFetchMyProfileV2Query, IFetchMyProfileV2QueryVariables>;
2348
- export const FetchIsLudoNftMintableDocument = gql`
2349
- query FetchIsLudoNftMintable($blockchain: String!, $address: String!) {
2350
- fetchIsLudoNftMintable(blockchain: $blockchain, address: $address)
2374
+ export const FetchLudoNftForWalletDocument = gql`
2375
+ query FetchLudoNftForWallet($blockchain: String!, $address: String!) {
2376
+ fetchLudoNftForWallet(blockchain: $blockchain, address: $address) {
2377
+ blockchain
2378
+ address
2379
+ tierId
2380
+ }
2351
2381
  }
2352
2382
  `;
2353
2383
 
2354
2384
  /**
2355
- * __useFetchIsLudoNftMintableQuery__
2385
+ * __useFetchLudoNftForWalletQuery__
2356
2386
  *
2357
- * To run a query within a React component, call `useFetchIsLudoNftMintableQuery` and pass it any options that fit your needs.
2358
- * When your component renders, `useFetchIsLudoNftMintableQuery` returns an object from Apollo Client that contains loading, error, and data properties
2387
+ * To run a query within a React component, call `useFetchLudoNftForWalletQuery` and pass it any options that fit your needs.
2388
+ * When your component renders, `useFetchLudoNftForWalletQuery` returns an object from Apollo Client that contains loading, error, and data properties
2359
2389
  * you can use to render your UI.
2360
2390
  *
2361
2391
  * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
2362
2392
  *
2363
2393
  * @example
2364
- * const { data, loading, error } = useFetchIsLudoNftMintableQuery({
2394
+ * const { data, loading, error } = useFetchLudoNftForWalletQuery({
2365
2395
  * variables: {
2366
2396
  * blockchain: // value for 'blockchain'
2367
2397
  * address: // value for 'address'
2368
2398
  * },
2369
2399
  * });
2370
2400
  */
2371
- export function useFetchIsLudoNftMintableQuery(baseOptions: Apollo.QueryHookOptions<IFetchIsLudoNftMintableQuery, IFetchIsLudoNftMintableQueryVariables>) {
2372
- return Apollo.useQuery<IFetchIsLudoNftMintableQuery, IFetchIsLudoNftMintableQueryVariables>(FetchIsLudoNftMintableDocument, baseOptions);
2401
+ export function useFetchLudoNftForWalletQuery(baseOptions: Apollo.QueryHookOptions<IFetchLudoNftForWalletQuery, IFetchLudoNftForWalletQueryVariables>) {
2402
+ return Apollo.useQuery<IFetchLudoNftForWalletQuery, IFetchLudoNftForWalletQueryVariables>(FetchLudoNftForWalletDocument, baseOptions);
2373
2403
  }
2374
- export function useFetchIsLudoNftMintableLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<IFetchIsLudoNftMintableQuery, IFetchIsLudoNftMintableQueryVariables>) {
2375
- return Apollo.useLazyQuery<IFetchIsLudoNftMintableQuery, IFetchIsLudoNftMintableQueryVariables>(FetchIsLudoNftMintableDocument, baseOptions);
2404
+ export function useFetchLudoNftForWalletLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<IFetchLudoNftForWalletQuery, IFetchLudoNftForWalletQueryVariables>) {
2405
+ return Apollo.useLazyQuery<IFetchLudoNftForWalletQuery, IFetchLudoNftForWalletQueryVariables>(FetchLudoNftForWalletDocument, baseOptions);
2376
2406
  }
2377
- export type FetchIsLudoNftMintableQueryHookResult = ReturnType<typeof useFetchIsLudoNftMintableQuery>;
2378
- export type FetchIsLudoNftMintableLazyQueryHookResult = ReturnType<typeof useFetchIsLudoNftMintableLazyQuery>;
2379
- export type FetchIsLudoNftMintableQueryResult = Apollo.QueryResult<IFetchIsLudoNftMintableQuery, IFetchIsLudoNftMintableQueryVariables>;
2407
+ export type FetchLudoNftForWalletQueryHookResult = ReturnType<typeof useFetchLudoNftForWalletQuery>;
2408
+ export type FetchLudoNftForWalletLazyQueryHookResult = ReturnType<typeof useFetchLudoNftForWalletLazyQuery>;
2409
+ export type FetchLudoNftForWalletQueryResult = Apollo.QueryResult<IFetchLudoNftForWalletQuery, IFetchLudoNftForWalletQueryVariables>;
2380
2410
  export const FetchProfileDocument = gql`
2381
2411
  query FetchProfile($userId: ID!) {
2382
2412
  fetchProfile(userId: $userId) {