@ludo.ninja/api 2.8.40 → 2.8.42

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.
@@ -48,6 +48,28 @@ export type IAdminCategory = {
48
48
  addedBy?: Maybe<Scalars['String']>;
49
49
  };
50
50
 
51
+ export type IAdminContactSupport = {
52
+ id: Scalars['String'];
53
+ userId?: Maybe<Scalars['String']>;
54
+ email?: Maybe<Scalars['String']>;
55
+ walletAddress?: Maybe<Scalars['String']>;
56
+ category?: Maybe<Scalars['String']>;
57
+ description?: Maybe<Scalars['String']>;
58
+ priority?: Maybe<Scalars['String']>;
59
+ };
60
+
61
+ export type IAdminContentReport = {
62
+ id: Scalars['String'];
63
+ userId?: Maybe<Scalars['String']>;
64
+ email?: Maybe<Scalars['String']>;
65
+ nameOfSubject?: Maybe<Scalars['String']>;
66
+ contentType?: Maybe<Scalars['String']>;
67
+ contentId?: Maybe<Scalars['String']>;
68
+ reportReason?: Maybe<Scalars['String']>;
69
+ description?: Maybe<Scalars['String']>;
70
+ evidenceFileUrl?: Maybe<Scalars['String']>;
71
+ };
72
+
51
73
  export type IAdminInvite = {
52
74
  userId: Scalars['String'];
53
75
  username?: Maybe<Scalars['String']>;
@@ -203,6 +225,52 @@ export type ICategoryInput = {
203
225
  matchingWords: Array<Scalars['String']>;
204
226
  };
205
227
 
228
+ export type IContactSupportFilterInput = {
229
+ idTerm?: Maybe<Scalars['String']>;
230
+ userIdTerm?: Maybe<Scalars['String']>;
231
+ emailTerm?: Maybe<Scalars['String']>;
232
+ walletAddressTerm?: Maybe<Scalars['String']>;
233
+ categoryTerm?: Maybe<Scalars['String']>;
234
+ descriptionTerm?: Maybe<Scalars['String']>;
235
+ priorityTerm?: Maybe<Scalars['String']>;
236
+ };
237
+
238
+ export type IContactSupportPage = {
239
+ contactSupports: Array<IAdminContactSupport>;
240
+ nextPage?: Maybe<IAdminPage>;
241
+ };
242
+
243
+ export type IContactSupportSortInput = {
244
+ sortByEmail?: Maybe<ISort>;
245
+ sortByWallet?: Maybe<ISort>;
246
+ sortByCategory?: Maybe<ISort>;
247
+ sortByPriority?: Maybe<ISort>;
248
+ };
249
+
250
+ export type IContentReportFilterInput = {
251
+ idTerm?: Maybe<Scalars['String']>;
252
+ userIdTerm?: Maybe<Scalars['String']>;
253
+ emailTerm?: Maybe<Scalars['String']>;
254
+ nameOfSubjectTerm?: Maybe<Scalars['String']>;
255
+ contentTypeTerm?: Maybe<Scalars['String']>;
256
+ contentIdTerm?: Maybe<Scalars['String']>;
257
+ reportReasonTerm?: Maybe<Scalars['String']>;
258
+ };
259
+
260
+ export type IContentReportPage = {
261
+ contentReports: Array<IAdminContentReport>;
262
+ nextPage?: Maybe<IAdminPage>;
263
+ };
264
+
265
+ export type IContentReportSortInput = {
266
+ sortByUserId?: Maybe<ISort>;
267
+ sortByEmail?: Maybe<ISort>;
268
+ sortByNameOfSubject?: Maybe<ISort>;
269
+ sortByContentType?: Maybe<ISort>;
270
+ sortByContentId?: Maybe<ISort>;
271
+ sortByReportReason?: Maybe<ISort>;
272
+ };
273
+
206
274
  export type IInvitesFilterInput = {
207
275
  userIdTerm?: Maybe<Scalars['String']>;
208
276
  usernameTerm?: Maybe<Scalars['String']>;
@@ -375,6 +443,8 @@ export type IOpportunitiesSortInput = {
375
443
 
376
444
  export type IQuery = {
377
445
  getDummy: Scalars['String'];
446
+ fetchContactSupportPage: IContactSupportPage;
447
+ fetchContentReportPage: IContentReportPage;
378
448
  fetchAdminInvitesPage: IInvitesPage;
379
449
  fetchAdminOpportunitiesPage: IOpportunitiesPage;
380
450
  fetchAdminCategories: Array<IAdminCategory>;
@@ -388,6 +458,20 @@ export type IQuery = {
388
458
  };
389
459
 
390
460
 
461
+ export type IQueryFetchContactSupportPageArgs = {
462
+ filter: IContactSupportFilterInput;
463
+ sort: IContactSupportSortInput;
464
+ page: IAdminPageInput;
465
+ };
466
+
467
+
468
+ export type IQueryFetchContentReportPageArgs = {
469
+ filter: IContentReportFilterInput;
470
+ sort: IContentReportSortInput;
471
+ page: IAdminPageInput;
472
+ };
473
+
474
+
391
475
  export type IQueryFetchAdminInvitesPageArgs = {
392
476
  filter: IInvitesFilterInput;
393
477
  sort: IInvitesSortInput;
@@ -611,6 +695,8 @@ export type IResolversTypes = {
611
695
  AdminBrand: ResolverTypeWrapper<IAdminBrand>;
612
696
  Boolean: ResolverTypeWrapper<Scalars['Boolean']>;
613
697
  AdminCategory: ResolverTypeWrapper<IAdminCategory>;
698
+ AdminContactSupport: ResolverTypeWrapper<IAdminContactSupport>;
699
+ AdminContentReport: ResolverTypeWrapper<IAdminContentReport>;
614
700
  AdminInvite: ResolverTypeWrapper<IAdminInvite>;
615
701
  Int: ResolverTypeWrapper<Scalars['Int']>;
616
702
  AdminOpportunity: ResolverTypeWrapper<IAdminOpportunity>;
@@ -630,6 +716,12 @@ export type IResolversTypes = {
630
716
  CategoriesPage: ResolverTypeWrapper<ICategoriesPage>;
631
717
  CategoriesSortInput: ICategoriesSortInput;
632
718
  CategoryInput: ICategoryInput;
719
+ ContactSupportFilterInput: IContactSupportFilterInput;
720
+ ContactSupportPage: ResolverTypeWrapper<IContactSupportPage>;
721
+ ContactSupportSortInput: IContactSupportSortInput;
722
+ ContentReportFilterInput: IContentReportFilterInput;
723
+ ContentReportPage: ResolverTypeWrapper<IContentReportPage>;
724
+ ContentReportSortInput: IContentReportSortInput;
633
725
  InvitesFilterInput: IInvitesFilterInput;
634
726
  InvitesPage: ResolverTypeWrapper<IInvitesPage>;
635
727
  InvitesSortInput: IInvitesSortInput;
@@ -662,6 +754,8 @@ export type IResolversParentTypes = {
662
754
  AdminBrand: IAdminBrand;
663
755
  Boolean: Scalars['Boolean'];
664
756
  AdminCategory: IAdminCategory;
757
+ AdminContactSupport: IAdminContactSupport;
758
+ AdminContentReport: IAdminContentReport;
665
759
  AdminInvite: IAdminInvite;
666
760
  Int: Scalars['Int'];
667
761
  AdminOpportunity: IAdminOpportunity;
@@ -681,6 +775,12 @@ export type IResolversParentTypes = {
681
775
  CategoriesPage: ICategoriesPage;
682
776
  CategoriesSortInput: ICategoriesSortInput;
683
777
  CategoryInput: ICategoryInput;
778
+ ContactSupportFilterInput: IContactSupportFilterInput;
779
+ ContactSupportPage: IContactSupportPage;
780
+ ContactSupportSortInput: IContactSupportSortInput;
781
+ ContentReportFilterInput: IContentReportFilterInput;
782
+ ContentReportPage: IContentReportPage;
783
+ ContentReportSortInput: IContentReportSortInput;
684
784
  InvitesFilterInput: IInvitesFilterInput;
685
785
  InvitesPage: IInvitesPage;
686
786
  InvitesSortInput: IInvitesSortInput;
@@ -752,6 +852,30 @@ export type IAdminCategoryResolvers<ContextType = any, ParentType extends IResol
752
852
  __isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
753
853
  };
754
854
 
855
+ export type IAdminContactSupportResolvers<ContextType = any, ParentType extends IResolversParentTypes['AdminContactSupport'] = IResolversParentTypes['AdminContactSupport']> = {
856
+ id?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
857
+ userId?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
858
+ email?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
859
+ walletAddress?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
860
+ category?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
861
+ description?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
862
+ priority?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
863
+ __isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
864
+ };
865
+
866
+ export type IAdminContentReportResolvers<ContextType = any, ParentType extends IResolversParentTypes['AdminContentReport'] = IResolversParentTypes['AdminContentReport']> = {
867
+ id?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
868
+ userId?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
869
+ email?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
870
+ nameOfSubject?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
871
+ contentType?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
872
+ contentId?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
873
+ reportReason?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
874
+ description?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
875
+ evidenceFileUrl?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
876
+ __isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
877
+ };
878
+
755
879
  export type IAdminInviteResolvers<ContextType = any, ParentType extends IResolversParentTypes['AdminInvite'] = IResolversParentTypes['AdminInvite']> = {
756
880
  userId?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
757
881
  username?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
@@ -847,6 +971,18 @@ export type ICategoriesPageResolvers<ContextType = any, ParentType extends IReso
847
971
  __isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
848
972
  };
849
973
 
974
+ export type IContactSupportPageResolvers<ContextType = any, ParentType extends IResolversParentTypes['ContactSupportPage'] = IResolversParentTypes['ContactSupportPage']> = {
975
+ contactSupports?: Resolver<Array<IResolversTypes['AdminContactSupport']>, ParentType, ContextType>;
976
+ nextPage?: Resolver<Maybe<IResolversTypes['AdminPage']>, ParentType, ContextType>;
977
+ __isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
978
+ };
979
+
980
+ export type IContentReportPageResolvers<ContextType = any, ParentType extends IResolversParentTypes['ContentReportPage'] = IResolversParentTypes['ContentReportPage']> = {
981
+ contentReports?: Resolver<Array<IResolversTypes['AdminContentReport']>, ParentType, ContextType>;
982
+ nextPage?: Resolver<Maybe<IResolversTypes['AdminPage']>, ParentType, ContextType>;
983
+ __isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
984
+ };
985
+
850
986
  export type IInvitesPageResolvers<ContextType = any, ParentType extends IResolversParentTypes['InvitesPage'] = IResolversParentTypes['InvitesPage']> = {
851
987
  invites?: Resolver<Array<IResolversTypes['AdminInvite']>, ParentType, ContextType>;
852
988
  nextPage?: Resolver<Maybe<IResolversTypes['AdminPage']>, ParentType, ContextType>;
@@ -884,6 +1020,8 @@ export type IOpportunitiesPageResolvers<ContextType = any, ParentType extends IR
884
1020
 
885
1021
  export type IQueryResolvers<ContextType = any, ParentType extends IResolversParentTypes['Query'] = IResolversParentTypes['Query']> = {
886
1022
  getDummy?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
1023
+ fetchContactSupportPage?: Resolver<IResolversTypes['ContactSupportPage'], ParentType, ContextType, RequireFields<IQueryFetchContactSupportPageArgs, 'filter' | 'sort' | 'page'>>;
1024
+ fetchContentReportPage?: Resolver<IResolversTypes['ContentReportPage'], ParentType, ContextType, RequireFields<IQueryFetchContentReportPageArgs, 'filter' | 'sort' | 'page'>>;
887
1025
  fetchAdminInvitesPage?: Resolver<IResolversTypes['InvitesPage'], ParentType, ContextType, RequireFields<IQueryFetchAdminInvitesPageArgs, 'filter' | 'sort' | 'page'>>;
888
1026
  fetchAdminOpportunitiesPage?: Resolver<IResolversTypes['OpportunitiesPage'], ParentType, ContextType, RequireFields<IQueryFetchAdminOpportunitiesPageArgs, 'filter' | 'sort' | 'page'>>;
889
1027
  fetchAdminCategories?: Resolver<Array<IResolversTypes['AdminCategory']>, ParentType, ContextType>;
@@ -937,6 +1075,8 @@ export type IResolvers<ContextType = any> = {
937
1075
  ActiveInvite?: IActiveInviteResolvers<ContextType>;
938
1076
  AdminBrand?: IAdminBrandResolvers<ContextType>;
939
1077
  AdminCategory?: IAdminCategoryResolvers<ContextType>;
1078
+ AdminContactSupport?: IAdminContactSupportResolvers<ContextType>;
1079
+ AdminContentReport?: IAdminContentReportResolvers<ContextType>;
940
1080
  AdminInvite?: IAdminInviteResolvers<ContextType>;
941
1081
  AdminOpportunity?: IAdminOpportunityResolvers<ContextType>;
942
1082
  AdminPage?: IAdminPageResolvers<ContextType>;
@@ -945,6 +1085,8 @@ export type IResolvers<ContextType = any> = {
945
1085
  AdminXp?: IAdminXpResolvers<ContextType>;
946
1086
  BrandsPage?: IBrandsPageResolvers<ContextType>;
947
1087
  CategoriesPage?: ICategoriesPageResolvers<ContextType>;
1088
+ ContactSupportPage?: IContactSupportPageResolvers<ContextType>;
1089
+ ContentReportPage?: IContentReportPageResolvers<ContextType>;
948
1090
  InvitesPage?: IInvitesPageResolvers<ContextType>;
949
1091
  Long?: GraphQLScalarType;
950
1092
  Mutation?: IMutationResolvers<ContextType>;
@@ -238,6 +238,30 @@ export type IMutationUnfollowProfileArgs = {
238
238
  followingUserId: Scalars['ID'];
239
239
  };
240
240
 
241
+ export type IMyProfile = {
242
+ userId: Scalars['ID'];
243
+ username?: Maybe<Scalars['String']>;
244
+ about?: Maybe<Scalars['String']>;
245
+ userpic?: Maybe<Scalars['String']>;
246
+ following?: Maybe<Scalars['Boolean']>;
247
+ followings?: Maybe<Scalars['Int']>;
248
+ followers?: Maybe<Scalars['Int']>;
249
+ social?: Maybe<ISocial>;
250
+ views?: Maybe<Scalars['Int']>;
251
+ createdAt?: Maybe<Scalars['Long']>;
252
+ deletedAt?: Maybe<Scalars['Long']>;
253
+ visible?: Maybe<Scalars['Boolean']>;
254
+ deleted?: Maybe<Scalars['Boolean']>;
255
+ showNsfw?: Maybe<Scalars['Boolean']>;
256
+ rank?: Maybe<Scalars['Float']>;
257
+ wallets?: Maybe<Array<Maybe<IWallet>>>;
258
+ xps?: Maybe<Scalars['Int']>;
259
+ level?: Maybe<Scalars['Int']>;
260
+ levelMinXps?: Maybe<Scalars['Int']>;
261
+ levelMaxXps?: Maybe<Scalars['Int']>;
262
+ inviteCodes?: Maybe<Array<Maybe<IUserInviteCode>>>;
263
+ };
264
+
241
265
  export type IProfile = {
242
266
  userId: Scalars['ID'];
243
267
  username?: Maybe<Scalars['String']>;
@@ -265,6 +289,7 @@ export type IQuery = {
265
289
  fetchMultiversxAudit?: Maybe<IMultiversxAudit>;
266
290
  isInviteCodeAvailable: Scalars['Boolean'];
267
291
  getMyInviteCodes: Array<IUserInviteCode>;
292
+ fetchMyProfile: IMyProfile;
268
293
  fetchProfile: IProfile;
269
294
  fetchFollowingStatus: IFollowingStatus;
270
295
  fetchFollowingStatuses: Array<Maybe<IFollowingStatus>>;
@@ -422,6 +447,7 @@ export type IResolversTypes = {
422
447
  Long: ResolverTypeWrapper<Scalars['Long']>;
423
448
  MultiversxAudit: ResolverTypeWrapper<IMultiversxAudit>;
424
449
  Mutation: ResolverTypeWrapper<{}>;
450
+ MyProfile: ResolverTypeWrapper<IMyProfile>;
425
451
  Profile: ResolverTypeWrapper<IProfile>;
426
452
  Query: ResolverTypeWrapper<{}>;
427
453
  Role: IRole;
@@ -449,6 +475,7 @@ export type IResolversParentTypes = {
449
475
  Long: Scalars['Long'];
450
476
  MultiversxAudit: IMultiversxAudit;
451
477
  Mutation: {};
478
+ MyProfile: IMyProfile;
452
479
  Profile: IProfile;
453
480
  Query: {};
454
481
  Social: ISocial;
@@ -568,6 +595,31 @@ export type IMutationResolvers<ContextType = any, ParentType extends IResolversP
568
595
  unfollowProfile?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationUnfollowProfileArgs, 'followingUserId'>>;
569
596
  };
570
597
 
598
+ export type IMyProfileResolvers<ContextType = any, ParentType extends IResolversParentTypes['MyProfile'] = IResolversParentTypes['MyProfile']> = {
599
+ userId?: Resolver<IResolversTypes['ID'], ParentType, ContextType>;
600
+ username?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
601
+ about?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
602
+ userpic?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
603
+ following?: Resolver<Maybe<IResolversTypes['Boolean']>, ParentType, ContextType>;
604
+ followings?: Resolver<Maybe<IResolversTypes['Int']>, ParentType, ContextType>;
605
+ followers?: Resolver<Maybe<IResolversTypes['Int']>, ParentType, ContextType>;
606
+ social?: Resolver<Maybe<IResolversTypes['Social']>, ParentType, ContextType>;
607
+ views?: Resolver<Maybe<IResolversTypes['Int']>, ParentType, ContextType>;
608
+ createdAt?: Resolver<Maybe<IResolversTypes['Long']>, ParentType, ContextType>;
609
+ deletedAt?: Resolver<Maybe<IResolversTypes['Long']>, ParentType, ContextType>;
610
+ visible?: Resolver<Maybe<IResolversTypes['Boolean']>, ParentType, ContextType>;
611
+ deleted?: Resolver<Maybe<IResolversTypes['Boolean']>, ParentType, ContextType>;
612
+ showNsfw?: Resolver<Maybe<IResolversTypes['Boolean']>, ParentType, ContextType>;
613
+ rank?: Resolver<Maybe<IResolversTypes['Float']>, ParentType, ContextType>;
614
+ wallets?: Resolver<Maybe<Array<Maybe<IResolversTypes['Wallet']>>>, ParentType, ContextType>;
615
+ xps?: Resolver<Maybe<IResolversTypes['Int']>, ParentType, ContextType>;
616
+ level?: Resolver<Maybe<IResolversTypes['Int']>, ParentType, ContextType>;
617
+ levelMinXps?: Resolver<Maybe<IResolversTypes['Int']>, ParentType, ContextType>;
618
+ levelMaxXps?: Resolver<Maybe<IResolversTypes['Int']>, ParentType, ContextType>;
619
+ inviteCodes?: Resolver<Maybe<Array<Maybe<IResolversTypes['UserInviteCode']>>>, ParentType, ContextType>;
620
+ __isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
621
+ };
622
+
571
623
  export type IProfileResolvers<ContextType = any, ParentType extends IResolversParentTypes['Profile'] = IResolversParentTypes['Profile']> = {
572
624
  userId?: Resolver<IResolversTypes['ID'], ParentType, ContextType>;
573
625
  username?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
@@ -596,6 +648,7 @@ export type IQueryResolvers<ContextType = any, ParentType extends IResolversPare
596
648
  fetchMultiversxAudit?: Resolver<Maybe<IResolversTypes['MultiversxAudit']>, ParentType, ContextType, RequireFields<IQueryFetchMultiversxAuditArgs, 'wallet'>>;
597
649
  isInviteCodeAvailable?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IQueryIsInviteCodeAvailableArgs, 'inviteCode'>>;
598
650
  getMyInviteCodes?: Resolver<Array<IResolversTypes['UserInviteCode']>, ParentType, ContextType>;
651
+ fetchMyProfile?: Resolver<IResolversTypes['MyProfile'], ParentType, ContextType>;
599
652
  fetchProfile?: Resolver<IResolversTypes['Profile'], ParentType, ContextType, RequireFields<IQueryFetchProfileArgs, 'userId'>>;
600
653
  fetchFollowingStatus?: Resolver<IResolversTypes['FollowingStatus'], ParentType, ContextType, RequireFields<IQueryFetchFollowingStatusArgs, 'userId'>>;
601
654
  fetchFollowingStatuses?: Resolver<Array<Maybe<IResolversTypes['FollowingStatus']>>, ParentType, ContextType, RequireFields<IQueryFetchFollowingStatusesArgs, 'userIds'>>;
@@ -648,6 +701,7 @@ export type IResolvers<ContextType = any> = {
648
701
  Long?: GraphQLScalarType;
649
702
  MultiversxAudit?: IMultiversxAuditResolvers<ContextType>;
650
703
  Mutation?: IMutationResolvers<ContextType>;
704
+ MyProfile?: IMyProfileResolvers<ContextType>;
651
705
  Profile?: IProfileResolvers<ContextType>;
652
706
  Query?: IQueryResolvers<ContextType>;
653
707
  Social?: ISocialResolvers<ContextType>;
@@ -849,6 +903,14 @@ export type IFetchMultiversXAuditQuery = { fetchMultiversxAudit?: Maybe<(
849
903
  )> }
850
904
  )> };
851
905
 
906
+ export type IFetchMyProfileQueryVariables = Exact<{ [key: string]: never; }>;
907
+
908
+
909
+ export type IFetchMyProfileQuery = { fetchMyProfile: (
910
+ Pick<IMyProfile, 'userId' | 'username' | 'about' | 'userpic' | 'following' | 'followings' | 'followers' | 'views' | 'createdAt' | 'deletedAt' | 'visible' | 'deleted' | 'showNsfw' | 'rank' | 'xps' | 'level' | 'levelMinXps' | 'levelMaxXps'>
911
+ & { social?: Maybe<Pick<ISocial, 'facebook' | 'twitter' | 'instagram' | 'website'>>, wallets?: Maybe<Array<Maybe<Pick<IWallet, 'userId' | 'address' | 'walletName' | 'blockchain' | 'chainId'>>>>, inviteCodes?: Maybe<Array<Maybe<Pick<IUserInviteCode, 'inviteCode' | 'inviteeId' | 'isUsed' | 'usedAt'>>>> }
912
+ ) };
913
+
852
914
  export type IFetchProfileQueryVariables = Exact<{
853
915
  userId: Scalars['ID'];
854
916
  }>;
@@ -1592,6 +1654,74 @@ export function useFetchMultiversXAuditLazyQuery(baseOptions?: Apollo.LazyQueryH
1592
1654
  export type FetchMultiversXAuditQueryHookResult = ReturnType<typeof useFetchMultiversXAuditQuery>;
1593
1655
  export type FetchMultiversXAuditLazyQueryHookResult = ReturnType<typeof useFetchMultiversXAuditLazyQuery>;
1594
1656
  export type FetchMultiversXAuditQueryResult = Apollo.QueryResult<IFetchMultiversXAuditQuery, IFetchMultiversXAuditQueryVariables>;
1657
+ export const FetchMyProfileDocument = gql`
1658
+ query FetchMyProfile {
1659
+ fetchMyProfile {
1660
+ userId
1661
+ username
1662
+ about
1663
+ userpic
1664
+ following
1665
+ followings
1666
+ followers
1667
+ social {
1668
+ facebook
1669
+ twitter
1670
+ instagram
1671
+ website
1672
+ }
1673
+ views
1674
+ createdAt
1675
+ deletedAt
1676
+ visible
1677
+ deleted
1678
+ showNsfw
1679
+ rank
1680
+ wallets {
1681
+ userId
1682
+ address
1683
+ walletName
1684
+ blockchain
1685
+ chainId
1686
+ }
1687
+ xps
1688
+ level
1689
+ levelMinXps
1690
+ levelMaxXps
1691
+ inviteCodes {
1692
+ inviteCode
1693
+ inviteeId
1694
+ isUsed
1695
+ usedAt
1696
+ }
1697
+ }
1698
+ }
1699
+ `;
1700
+
1701
+ /**
1702
+ * __useFetchMyProfileQuery__
1703
+ *
1704
+ * To run a query within a React component, call `useFetchMyProfileQuery` and pass it any options that fit your needs.
1705
+ * When your component renders, `useFetchMyProfileQuery` returns an object from Apollo Client that contains loading, error, and data properties
1706
+ * you can use to render your UI.
1707
+ *
1708
+ * @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;
1709
+ *
1710
+ * @example
1711
+ * const { data, loading, error } = useFetchMyProfileQuery({
1712
+ * variables: {
1713
+ * },
1714
+ * });
1715
+ */
1716
+ export function useFetchMyProfileQuery(baseOptions?: Apollo.QueryHookOptions<IFetchMyProfileQuery, IFetchMyProfileQueryVariables>) {
1717
+ return Apollo.useQuery<IFetchMyProfileQuery, IFetchMyProfileQueryVariables>(FetchMyProfileDocument, baseOptions);
1718
+ }
1719
+ export function useFetchMyProfileLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<IFetchMyProfileQuery, IFetchMyProfileQueryVariables>) {
1720
+ return Apollo.useLazyQuery<IFetchMyProfileQuery, IFetchMyProfileQueryVariables>(FetchMyProfileDocument, baseOptions);
1721
+ }
1722
+ export type FetchMyProfileQueryHookResult = ReturnType<typeof useFetchMyProfileQuery>;
1723
+ export type FetchMyProfileLazyQueryHookResult = ReturnType<typeof useFetchMyProfileLazyQuery>;
1724
+ export type FetchMyProfileQueryResult = Apollo.QueryResult<IFetchMyProfileQuery, IFetchMyProfileQueryVariables>;
1595
1725
  export const FetchProfileDocument = gql`
1596
1726
  query FetchProfile($userId: ID!) {
1597
1727
  fetchProfile(userId: $userId) {