@ludo.ninja/api 2.8.54 → 2.8.56
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.
- package/build/graphql_tools/__generated__/adminHost/schema.d.ts +105 -0
- package/build/graphql_tools/__generated__/adminHost/schema.js +52 -2
- package/build/graphql_tools/__generated__/identityHost/schema.d.ts +119 -0
- package/build/graphql_tools/__generated__/identityHost/schema.js +72 -2
- package/build/index.d.ts +30 -0
- package/package.json +3 -2
- package/src/graphql_tools/__generated__/adminHost/schema.ts +131 -0
- package/src/graphql_tools/__generated__/identityHost/schema.ts +171 -0
- package/tsconfig.tsbuildinfo +1 -1
|
@@ -480,6 +480,7 @@ export type IQuery = {
|
|
|
480
480
|
fetchInvestorInquiryPage: IInvestorInquiryPage;
|
|
481
481
|
fetchFormOpportunityPage: IFormOpportunityPage;
|
|
482
482
|
fetchPartnershipInquiryPage: IPartnershipInquiryPage;
|
|
483
|
+
fetchUserFeedbackPage: IUserFeedbackPage;
|
|
483
484
|
fetchAdminInvitesPage: IInvitesPage;
|
|
484
485
|
fetchAdminOpportunitiesPage: IOpportunitiesPage;
|
|
485
486
|
fetchAdminCategories: Array<IAdminCategory>;
|
|
@@ -516,6 +517,11 @@ export type IQueryFetchPartnershipInquiryPageArgs = {
|
|
|
516
517
|
sort: IPartnershipInquirySortInput;
|
|
517
518
|
page: IAdminPageInput;
|
|
518
519
|
};
|
|
520
|
+
export type IQueryFetchUserFeedbackPageArgs = {
|
|
521
|
+
filter: IUserFeedbackFilterInput;
|
|
522
|
+
sort: IUserFeedbackSortInput;
|
|
523
|
+
page: IAdminPageInput;
|
|
524
|
+
};
|
|
519
525
|
export type IQueryFetchAdminInvitesPageArgs = {
|
|
520
526
|
filter: IInvitesFilterInput;
|
|
521
527
|
sort: IInvitesSortInput;
|
|
@@ -581,6 +587,34 @@ export declare enum ISortDirection {
|
|
|
581
587
|
Asc = "asc",
|
|
582
588
|
Desc = "desc"
|
|
583
589
|
}
|
|
590
|
+
export type IUserFeedback = {
|
|
591
|
+
id: Scalars['String'];
|
|
592
|
+
userId?: Maybe<Scalars['String']>;
|
|
593
|
+
email?: Maybe<Scalars['String']>;
|
|
594
|
+
satisfactionScore?: Maybe<Scalars['Int']>;
|
|
595
|
+
missedFeature?: Maybe<Scalars['String']>;
|
|
596
|
+
howEasyToUseScore?: Maybe<Scalars['String']>;
|
|
597
|
+
performanceScore?: Maybe<Scalars['Int']>;
|
|
598
|
+
whatToImprove?: Maybe<Scalars['String']>;
|
|
599
|
+
comments?: Maybe<Scalars['String']>;
|
|
600
|
+
};
|
|
601
|
+
export type IUserFeedbackFilterInput = {
|
|
602
|
+
idTerm?: Maybe<Scalars['String']>;
|
|
603
|
+
userIdTerm?: Maybe<Scalars['String']>;
|
|
604
|
+
emailTerm?: Maybe<Scalars['String']>;
|
|
605
|
+
missedFeatureTerm?: Maybe<Scalars['String']>;
|
|
606
|
+
howEasyToUseScoreTerm?: Maybe<Scalars['String']>;
|
|
607
|
+
};
|
|
608
|
+
export type IUserFeedbackPage = {
|
|
609
|
+
userFeedbacks: Array<IUserFeedback>;
|
|
610
|
+
nextPage?: Maybe<IAdminPage>;
|
|
611
|
+
};
|
|
612
|
+
export type IUserFeedbackSortInput = {
|
|
613
|
+
sortByUserId?: Maybe<ISort>;
|
|
614
|
+
sortByEmail?: Maybe<ISort>;
|
|
615
|
+
sortBySatisfactionScore?: Maybe<ISort>;
|
|
616
|
+
sortByPerformanceScore?: Maybe<ISort>;
|
|
617
|
+
};
|
|
584
618
|
export type IUsersFilterInput = {
|
|
585
619
|
userIdTerm?: Maybe<Scalars['String']>;
|
|
586
620
|
usernameTerm?: Maybe<Scalars['String']>;
|
|
@@ -726,6 +760,10 @@ export type IResolversTypes = {
|
|
|
726
760
|
Sort: ISort;
|
|
727
761
|
SortDirection: ISortDirection;
|
|
728
762
|
Upload: ResolverTypeWrapper<Scalars['Upload']>;
|
|
763
|
+
UserFeedback: ResolverTypeWrapper<IUserFeedback>;
|
|
764
|
+
UserFeedbackFilterInput: IUserFeedbackFilterInput;
|
|
765
|
+
UserFeedbackPage: ResolverTypeWrapper<IUserFeedbackPage>;
|
|
766
|
+
UserFeedbackSortInput: IUserFeedbackSortInput;
|
|
729
767
|
UsersFilterInput: IUsersFilterInput;
|
|
730
768
|
UsersPage: ResolverTypeWrapper<IUsersPage>;
|
|
731
769
|
UsersSortInput: IUsersSortInput;
|
|
@@ -795,6 +833,10 @@ export type IResolversParentTypes = {
|
|
|
795
833
|
ReferredUsersInfo: IReferredUsersInfo;
|
|
796
834
|
Sort: ISort;
|
|
797
835
|
Upload: Scalars['Upload'];
|
|
836
|
+
UserFeedback: IUserFeedback;
|
|
837
|
+
UserFeedbackFilterInput: IUserFeedbackFilterInput;
|
|
838
|
+
UserFeedbackPage: IUserFeedbackPage;
|
|
839
|
+
UserFeedbackSortInput: IUserFeedbackSortInput;
|
|
798
840
|
UsersFilterInput: IUsersFilterInput;
|
|
799
841
|
UsersPage: IUsersPage;
|
|
800
842
|
UsersSortInput: IUsersSortInput;
|
|
@@ -1050,6 +1092,7 @@ export type IQueryResolvers<ContextType = any, ParentType extends IResolversPare
|
|
|
1050
1092
|
fetchInvestorInquiryPage?: Resolver<IResolversTypes['InvestorInquiryPage'], ParentType, ContextType, RequireFields<IQueryFetchInvestorInquiryPageArgs, 'filter' | 'sort' | 'page'>>;
|
|
1051
1093
|
fetchFormOpportunityPage?: Resolver<IResolversTypes['FormOpportunityPage'], ParentType, ContextType, RequireFields<IQueryFetchFormOpportunityPageArgs, 'filter' | 'sort' | 'page'>>;
|
|
1052
1094
|
fetchPartnershipInquiryPage?: Resolver<IResolversTypes['PartnershipInquiryPage'], ParentType, ContextType, RequireFields<IQueryFetchPartnershipInquiryPageArgs, 'filter' | 'sort' | 'page'>>;
|
|
1095
|
+
fetchUserFeedbackPage?: Resolver<IResolversTypes['UserFeedbackPage'], ParentType, ContextType, RequireFields<IQueryFetchUserFeedbackPageArgs, 'filter' | 'sort' | 'page'>>;
|
|
1053
1096
|
fetchAdminInvitesPage?: Resolver<IResolversTypes['InvitesPage'], ParentType, ContextType, RequireFields<IQueryFetchAdminInvitesPageArgs, 'filter' | 'sort' | 'page'>>;
|
|
1054
1097
|
fetchAdminOpportunitiesPage?: Resolver<IResolversTypes['OpportunitiesPage'], ParentType, ContextType, RequireFields<IQueryFetchAdminOpportunitiesPageArgs, 'filter' | 'sort' | 'page'>>;
|
|
1055
1098
|
fetchAdminCategories?: Resolver<Array<IResolversTypes['AdminCategory']>, ParentType, ContextType>;
|
|
@@ -1075,6 +1118,23 @@ export type IReferredUsersInfoResolvers<ContextType = any, ParentType extends IR
|
|
|
1075
1118
|
export interface IUploadScalarConfig extends GraphQLScalarTypeConfig<IResolversTypes['Upload'], any> {
|
|
1076
1119
|
name: 'Upload';
|
|
1077
1120
|
}
|
|
1121
|
+
export type IUserFeedbackResolvers<ContextType = any, ParentType extends IResolversParentTypes['UserFeedback'] = IResolversParentTypes['UserFeedback']> = {
|
|
1122
|
+
id?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
|
|
1123
|
+
userId?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
1124
|
+
email?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
1125
|
+
satisfactionScore?: Resolver<Maybe<IResolversTypes['Int']>, ParentType, ContextType>;
|
|
1126
|
+
missedFeature?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
1127
|
+
howEasyToUseScore?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
1128
|
+
performanceScore?: Resolver<Maybe<IResolversTypes['Int']>, ParentType, ContextType>;
|
|
1129
|
+
whatToImprove?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
1130
|
+
comments?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
1131
|
+
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
1132
|
+
};
|
|
1133
|
+
export type IUserFeedbackPageResolvers<ContextType = any, ParentType extends IResolversParentTypes['UserFeedbackPage'] = IResolversParentTypes['UserFeedbackPage']> = {
|
|
1134
|
+
userFeedbacks?: Resolver<Array<IResolversTypes['UserFeedback']>, ParentType, ContextType>;
|
|
1135
|
+
nextPage?: Resolver<Maybe<IResolversTypes['AdminPage']>, ParentType, ContextType>;
|
|
1136
|
+
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
1137
|
+
};
|
|
1078
1138
|
export type IUsersPageResolvers<ContextType = any, ParentType extends IResolversParentTypes['UsersPage'] = IResolversParentTypes['UsersPage']> = {
|
|
1079
1139
|
users?: Resolver<Array<IResolversTypes['AdminUser']>, ParentType, ContextType>;
|
|
1080
1140
|
nextPage?: Resolver<Maybe<IResolversTypes['AdminPage']>, ParentType, ContextType>;
|
|
@@ -1122,6 +1182,8 @@ export type IResolvers<ContextType = any> = {
|
|
|
1122
1182
|
ReferralsPage?: IReferralsPageResolvers<ContextType>;
|
|
1123
1183
|
ReferredUsersInfo?: IReferredUsersInfoResolvers<ContextType>;
|
|
1124
1184
|
Upload?: GraphQLScalarType;
|
|
1185
|
+
UserFeedback?: IUserFeedbackResolvers<ContextType>;
|
|
1186
|
+
UserFeedbackPage?: IUserFeedbackPageResolvers<ContextType>;
|
|
1125
1187
|
UsersPage?: IUsersPageResolvers<ContextType>;
|
|
1126
1188
|
Wallet?: IWalletResolvers<ContextType>;
|
|
1127
1189
|
XpPage?: IXpPageResolvers<ContextType>;
|
|
@@ -1230,6 +1292,17 @@ export type IFetchPartnershipInquiryPageQuery = {
|
|
|
1230
1292
|
nextPage?: Maybe<Pick<IAdminPage, 'elements' | 'lastNum' | 'num' | 'size' | 'token'>>;
|
|
1231
1293
|
};
|
|
1232
1294
|
};
|
|
1295
|
+
export type IFetchUserFeedbackPageQueryVariables = Exact<{
|
|
1296
|
+
filter: IUserFeedbackFilterInput;
|
|
1297
|
+
sort: IUserFeedbackSortInput;
|
|
1298
|
+
page: IAdminPageInput;
|
|
1299
|
+
}>;
|
|
1300
|
+
export type IFetchUserFeedbackPageQuery = {
|
|
1301
|
+
fetchUserFeedbackPage: {
|
|
1302
|
+
userFeedbacks: Array<Pick<IUserFeedback, 'userId' | 'id' | 'email' | 'satisfactionScore' | 'missedFeature' | 'howEasyToUseScore' | 'performanceScore' | 'whatToImprove' | 'comments'>>;
|
|
1303
|
+
nextPage?: Maybe<Pick<IAdminPage, 'elements' | 'lastNum' | 'num' | 'size' | 'token'>>;
|
|
1304
|
+
};
|
|
1305
|
+
};
|
|
1233
1306
|
export type IFetchAdminBrandsQueryVariables = Exact<{
|
|
1234
1307
|
[key: string]: never;
|
|
1235
1308
|
}>;
|
|
@@ -1734,6 +1807,38 @@ export declare function useFetchPartnershipInquiryPageLazyQuery(baseOptions?: Ap
|
|
|
1734
1807
|
export type FetchPartnershipInquiryPageQueryHookResult = ReturnType<typeof useFetchPartnershipInquiryPageQuery>;
|
|
1735
1808
|
export type FetchPartnershipInquiryPageLazyQueryHookResult = ReturnType<typeof useFetchPartnershipInquiryPageLazyQuery>;
|
|
1736
1809
|
export type FetchPartnershipInquiryPageQueryResult = Apollo.QueryResult<IFetchPartnershipInquiryPageQuery, IFetchPartnershipInquiryPageQueryVariables>;
|
|
1810
|
+
export declare const FetchUserFeedbackPageDocument: Apollo.DocumentNode;
|
|
1811
|
+
/**
|
|
1812
|
+
* __useFetchUserFeedbackPageQuery__
|
|
1813
|
+
*
|
|
1814
|
+
* To run a query within a React component, call `useFetchUserFeedbackPageQuery` and pass it any options that fit your needs.
|
|
1815
|
+
* When your component renders, `useFetchUserFeedbackPageQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
1816
|
+
* you can use to render your UI.
|
|
1817
|
+
*
|
|
1818
|
+
* @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;
|
|
1819
|
+
*
|
|
1820
|
+
* @example
|
|
1821
|
+
* const { data, loading, error } = useFetchUserFeedbackPageQuery({
|
|
1822
|
+
* variables: {
|
|
1823
|
+
* filter: // value for 'filter'
|
|
1824
|
+
* sort: // value for 'sort'
|
|
1825
|
+
* page: // value for 'page'
|
|
1826
|
+
* },
|
|
1827
|
+
* });
|
|
1828
|
+
*/
|
|
1829
|
+
export declare function useFetchUserFeedbackPageQuery(baseOptions: Apollo.QueryHookOptions<IFetchUserFeedbackPageQuery, IFetchUserFeedbackPageQueryVariables>): Apollo.QueryResult<IFetchUserFeedbackPageQuery, Exact<{
|
|
1830
|
+
filter: IUserFeedbackFilterInput;
|
|
1831
|
+
sort: IUserFeedbackSortInput;
|
|
1832
|
+
page: IAdminPageInput;
|
|
1833
|
+
}>>;
|
|
1834
|
+
export declare function useFetchUserFeedbackPageLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<IFetchUserFeedbackPageQuery, IFetchUserFeedbackPageQueryVariables>): Apollo.LazyQueryResultTuple<IFetchUserFeedbackPageQuery, Exact<{
|
|
1835
|
+
filter: IUserFeedbackFilterInput;
|
|
1836
|
+
sort: IUserFeedbackSortInput;
|
|
1837
|
+
page: IAdminPageInput;
|
|
1838
|
+
}>>;
|
|
1839
|
+
export type FetchUserFeedbackPageQueryHookResult = ReturnType<typeof useFetchUserFeedbackPageQuery>;
|
|
1840
|
+
export type FetchUserFeedbackPageLazyQueryHookResult = ReturnType<typeof useFetchUserFeedbackPageLazyQuery>;
|
|
1841
|
+
export type FetchUserFeedbackPageQueryResult = Apollo.QueryResult<IFetchUserFeedbackPageQuery, IFetchUserFeedbackPageQueryVariables>;
|
|
1737
1842
|
export declare const FetchAdminBrandsDocument: Apollo.DocumentNode;
|
|
1738
1843
|
/**
|
|
1739
1844
|
* __useFetchAdminBrandsQuery__
|
|
@@ -23,8 +23,8 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
23
23
|
return result;
|
|
24
24
|
};
|
|
25
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
-
exports.
|
|
27
|
-
exports.useFetchBlockchainsLazyQuery = exports.useFetchBlockchainsQuery = exports.FetchBlockchainsDocument = exports.useFetchAdminXpPageLazyQuery = exports.useFetchAdminXpPageQuery = exports.FetchAdminXpPageDocument = exports.useFetchAdminUsersPageLazyQuery = exports.useFetchAdminUsersPageQuery = exports.FetchAdminUsersPageDocument = exports.useFetchAdminReferralsPageLazyQuery = exports.useFetchAdminReferralsPageQuery = exports.FetchAdminReferralsPageDocument = exports.useFetchAdminOpportunitiesPageLazyQuery = exports.useFetchAdminOpportunitiesPageQuery = void 0;
|
|
26
|
+
exports.FetchAdminInvitesPageDocument = exports.useFetchAdminCategoriesPageLazyQuery = exports.useFetchAdminCategoriesPageQuery = exports.FetchAdminCategoriesPageDocument = exports.useFetchAdminCategoriesLazyQuery = exports.useFetchAdminCategoriesQuery = exports.FetchAdminCategoriesDocument = exports.useFetchAdminBrandsPageLazyQuery = exports.useFetchAdminBrandsPageQuery = exports.FetchAdminBrandsPageDocument = exports.useFetchAdminBrandsLazyQuery = exports.useFetchAdminBrandsQuery = exports.FetchAdminBrandsDocument = exports.useFetchUserFeedbackPageLazyQuery = exports.useFetchUserFeedbackPageQuery = exports.FetchUserFeedbackPageDocument = exports.useFetchPartnershipInquiryPageLazyQuery = exports.useFetchPartnershipInquiryPageQuery = exports.FetchPartnershipInquiryPageDocument = exports.useFetchInvestorInquiryPageLazyQuery = exports.useFetchInvestorInquiryPageQuery = exports.FetchInvestorInquiryPageDocument = exports.useFetchFormOpportunityPageLazyQuery = exports.useFetchFormOpportunityPageQuery = exports.FetchFormOpportunityPageDocument = exports.useFetchContentReportPageLazyQuery = exports.useFetchContentReportPageQuery = exports.FetchContentReportPageDocument = exports.useFetchContactSupportPageLazyQuery = exports.useFetchContactSupportPageQuery = exports.FetchContactSupportPageDocument = exports.useUpdateProfileStatusMutation = exports.UpdateProfileStatusDocument = exports.useUpdateCategoryArchivedStatusMutation = exports.UpdateCategoryArchivedStatusDocument = exports.useUpdateBrandArchivedStatusMutation = exports.UpdateBrandArchivedStatusDocument = exports.useRemoveInviteCodeMutation = exports.RemoveInviteCodeDocument = exports.useAddInviteCodesMutation = exports.AddInviteCodesDocument = exports.useCreateAdminOpportunityMutation = exports.CreateAdminOpportunityDocument = exports.useCreateBrandMutation = exports.CreateBrandDocument = exports.useCreateCategoryMutation = exports.CreateCategoryDocument = exports.useChangeXpPointsMutation = exports.ChangeXpPointsDocument = exports.ISortDirection = void 0;
|
|
27
|
+
exports.useFetchBlockchainsLazyQuery = exports.useFetchBlockchainsQuery = exports.FetchBlockchainsDocument = exports.useFetchAdminXpPageLazyQuery = exports.useFetchAdminXpPageQuery = exports.FetchAdminXpPageDocument = exports.useFetchAdminUsersPageLazyQuery = exports.useFetchAdminUsersPageQuery = exports.FetchAdminUsersPageDocument = exports.useFetchAdminReferralsPageLazyQuery = exports.useFetchAdminReferralsPageQuery = exports.FetchAdminReferralsPageDocument = exports.useFetchAdminOpportunitiesPageLazyQuery = exports.useFetchAdminOpportunitiesPageQuery = exports.FetchAdminOpportunitiesPageDocument = exports.useFetchAdminInvitesPageLazyQuery = exports.useFetchAdminInvitesPageQuery = void 0;
|
|
28
28
|
const client_1 = require("@apollo/client");
|
|
29
29
|
const Apollo = __importStar(require("@apollo/client"));
|
|
30
30
|
/** front-end asked for lower case values */
|
|
@@ -524,6 +524,56 @@ function useFetchPartnershipInquiryPageLazyQuery(baseOptions) {
|
|
|
524
524
|
return Apollo.useLazyQuery(exports.FetchPartnershipInquiryPageDocument, baseOptions);
|
|
525
525
|
}
|
|
526
526
|
exports.useFetchPartnershipInquiryPageLazyQuery = useFetchPartnershipInquiryPageLazyQuery;
|
|
527
|
+
exports.FetchUserFeedbackPageDocument = (0, client_1.gql) `
|
|
528
|
+
query FetchUserFeedbackPage($filter: UserFeedbackFilterInput!, $sort: UserFeedbackSortInput!, $page: AdminPageInput!) {
|
|
529
|
+
fetchUserFeedbackPage(filter: $filter, sort: $sort, page: $page) {
|
|
530
|
+
userFeedbacks {
|
|
531
|
+
userId
|
|
532
|
+
id
|
|
533
|
+
email
|
|
534
|
+
satisfactionScore
|
|
535
|
+
missedFeature
|
|
536
|
+
howEasyToUseScore
|
|
537
|
+
performanceScore
|
|
538
|
+
whatToImprove
|
|
539
|
+
comments
|
|
540
|
+
}
|
|
541
|
+
nextPage {
|
|
542
|
+
elements
|
|
543
|
+
lastNum
|
|
544
|
+
num
|
|
545
|
+
size
|
|
546
|
+
token
|
|
547
|
+
}
|
|
548
|
+
}
|
|
549
|
+
}
|
|
550
|
+
`;
|
|
551
|
+
/**
|
|
552
|
+
* __useFetchUserFeedbackPageQuery__
|
|
553
|
+
*
|
|
554
|
+
* To run a query within a React component, call `useFetchUserFeedbackPageQuery` and pass it any options that fit your needs.
|
|
555
|
+
* When your component renders, `useFetchUserFeedbackPageQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
556
|
+
* you can use to render your UI.
|
|
557
|
+
*
|
|
558
|
+
* @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;
|
|
559
|
+
*
|
|
560
|
+
* @example
|
|
561
|
+
* const { data, loading, error } = useFetchUserFeedbackPageQuery({
|
|
562
|
+
* variables: {
|
|
563
|
+
* filter: // value for 'filter'
|
|
564
|
+
* sort: // value for 'sort'
|
|
565
|
+
* page: // value for 'page'
|
|
566
|
+
* },
|
|
567
|
+
* });
|
|
568
|
+
*/
|
|
569
|
+
function useFetchUserFeedbackPageQuery(baseOptions) {
|
|
570
|
+
return Apollo.useQuery(exports.FetchUserFeedbackPageDocument, baseOptions);
|
|
571
|
+
}
|
|
572
|
+
exports.useFetchUserFeedbackPageQuery = useFetchUserFeedbackPageQuery;
|
|
573
|
+
function useFetchUserFeedbackPageLazyQuery(baseOptions) {
|
|
574
|
+
return Apollo.useLazyQuery(exports.FetchUserFeedbackPageDocument, baseOptions);
|
|
575
|
+
}
|
|
576
|
+
exports.useFetchUserFeedbackPageLazyQuery = useFetchUserFeedbackPageLazyQuery;
|
|
527
577
|
exports.FetchAdminBrandsDocument = (0, client_1.gql) `
|
|
528
578
|
query FetchAdminBrands {
|
|
529
579
|
fetchAdminBrands {
|
|
@@ -68,6 +68,17 @@ export type IInputSocial = {
|
|
|
68
68
|
instagram?: Maybe<Scalars['String']>;
|
|
69
69
|
website?: Maybe<Scalars['String']>;
|
|
70
70
|
};
|
|
71
|
+
export type IInviteCode = {
|
|
72
|
+
inviteCode: Scalars['String'];
|
|
73
|
+
isUsed: Scalars['Boolean'];
|
|
74
|
+
maxUsagesLimit: Scalars['Int'];
|
|
75
|
+
codeUsers: Array<IInviteCodeUser>;
|
|
76
|
+
codeUsersNum: Scalars['Int'];
|
|
77
|
+
};
|
|
78
|
+
export type IInviteCodeUser = {
|
|
79
|
+
inviteeId: Scalars['ID'];
|
|
80
|
+
usedAt: Scalars['Long'];
|
|
81
|
+
};
|
|
71
82
|
/** noinspection SpellCheckingInspection */
|
|
72
83
|
export type IMultiversxAudit = {
|
|
73
84
|
delegated?: Maybe<Scalars['Float']>;
|
|
@@ -213,6 +224,29 @@ export type IMyProfile = {
|
|
|
213
224
|
levelMaxXps?: Maybe<Scalars['Int']>;
|
|
214
225
|
inviteCodes?: Maybe<Array<Maybe<IUserInviteCode>>>;
|
|
215
226
|
};
|
|
227
|
+
export type IMyProfileV2 = {
|
|
228
|
+
userId: Scalars['ID'];
|
|
229
|
+
username?: Maybe<Scalars['String']>;
|
|
230
|
+
about?: Maybe<Scalars['String']>;
|
|
231
|
+
userpic?: Maybe<Scalars['String']>;
|
|
232
|
+
following?: Maybe<Scalars['Boolean']>;
|
|
233
|
+
followings?: Maybe<Scalars['Int']>;
|
|
234
|
+
followers?: Maybe<Scalars['Int']>;
|
|
235
|
+
social?: Maybe<ISocial>;
|
|
236
|
+
views?: Maybe<Scalars['Int']>;
|
|
237
|
+
createdAt?: Maybe<Scalars['Long']>;
|
|
238
|
+
deletedAt?: Maybe<Scalars['Long']>;
|
|
239
|
+
visible?: Maybe<Scalars['Boolean']>;
|
|
240
|
+
deleted?: Maybe<Scalars['Boolean']>;
|
|
241
|
+
showNsfw?: Maybe<Scalars['Boolean']>;
|
|
242
|
+
rank?: Maybe<Scalars['Float']>;
|
|
243
|
+
wallets?: Maybe<Array<Maybe<IWallet>>>;
|
|
244
|
+
xps?: Maybe<Scalars['Int']>;
|
|
245
|
+
level?: Maybe<Scalars['Int']>;
|
|
246
|
+
levelMinXps?: Maybe<Scalars['Int']>;
|
|
247
|
+
levelMaxXps?: Maybe<Scalars['Int']>;
|
|
248
|
+
inviteCodes?: Maybe<Array<Maybe<IInviteCode>>>;
|
|
249
|
+
};
|
|
216
250
|
export type IProfile = {
|
|
217
251
|
userId: Scalars['ID'];
|
|
218
252
|
username?: Maybe<Scalars['String']>;
|
|
@@ -240,6 +274,7 @@ export type IQuery = {
|
|
|
240
274
|
isInviteCodeAvailable: Scalars['Boolean'];
|
|
241
275
|
getMyInviteCodes: Array<IUserInviteCode>;
|
|
242
276
|
fetchMyProfile: IMyProfile;
|
|
277
|
+
fetchMyProfileV2: IMyProfileV2;
|
|
243
278
|
fetchProfile: IProfile;
|
|
244
279
|
fetchFollowingStatus: IFollowingStatus;
|
|
245
280
|
fetchFollowingStatuses: Array<Maybe<IFollowingStatus>>;
|
|
@@ -334,10 +369,13 @@ export type IResolversTypes = {
|
|
|
334
369
|
Identity: ResolverTypeWrapper<IIdentity>;
|
|
335
370
|
InputProfile: IInputProfile;
|
|
336
371
|
InputSocial: IInputSocial;
|
|
372
|
+
InviteCode: ResolverTypeWrapper<IInviteCode>;
|
|
373
|
+
InviteCodeUser: ResolverTypeWrapper<IInviteCodeUser>;
|
|
337
374
|
Long: ResolverTypeWrapper<Scalars['Long']>;
|
|
338
375
|
MultiversxAudit: ResolverTypeWrapper<IMultiversxAudit>;
|
|
339
376
|
Mutation: ResolverTypeWrapper<{}>;
|
|
340
377
|
MyProfile: ResolverTypeWrapper<IMyProfile>;
|
|
378
|
+
MyProfileV2: ResolverTypeWrapper<IMyProfileV2>;
|
|
341
379
|
Profile: ResolverTypeWrapper<IProfile>;
|
|
342
380
|
Query: ResolverTypeWrapper<{}>;
|
|
343
381
|
Role: IRole;
|
|
@@ -361,10 +399,13 @@ export type IResolversParentTypes = {
|
|
|
361
399
|
Identity: IIdentity;
|
|
362
400
|
InputProfile: IInputProfile;
|
|
363
401
|
InputSocial: IInputSocial;
|
|
402
|
+
InviteCode: IInviteCode;
|
|
403
|
+
InviteCodeUser: IInviteCodeUser;
|
|
364
404
|
Long: Scalars['Long'];
|
|
365
405
|
MultiversxAudit: IMultiversxAudit;
|
|
366
406
|
Mutation: {};
|
|
367
407
|
MyProfile: IMyProfile;
|
|
408
|
+
MyProfileV2: IMyProfileV2;
|
|
368
409
|
Profile: IProfile;
|
|
369
410
|
Query: {};
|
|
370
411
|
Social: ISocial;
|
|
@@ -431,6 +472,19 @@ export type IIdentityResolvers<ContextType = any, ParentType extends IResolversP
|
|
|
431
472
|
inviteCode?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
432
473
|
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
433
474
|
};
|
|
475
|
+
export type IInviteCodeResolvers<ContextType = any, ParentType extends IResolversParentTypes['InviteCode'] = IResolversParentTypes['InviteCode']> = {
|
|
476
|
+
inviteCode?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
|
|
477
|
+
isUsed?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType>;
|
|
478
|
+
maxUsagesLimit?: Resolver<IResolversTypes['Int'], ParentType, ContextType>;
|
|
479
|
+
codeUsers?: Resolver<Array<IResolversTypes['InviteCodeUser']>, ParentType, ContextType>;
|
|
480
|
+
codeUsersNum?: Resolver<IResolversTypes['Int'], ParentType, ContextType>;
|
|
481
|
+
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
482
|
+
};
|
|
483
|
+
export type IInviteCodeUserResolvers<ContextType = any, ParentType extends IResolversParentTypes['InviteCodeUser'] = IResolversParentTypes['InviteCodeUser']> = {
|
|
484
|
+
inviteeId?: Resolver<IResolversTypes['ID'], ParentType, ContextType>;
|
|
485
|
+
usedAt?: Resolver<IResolversTypes['Long'], ParentType, ContextType>;
|
|
486
|
+
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
487
|
+
};
|
|
434
488
|
export interface ILongScalarConfig extends GraphQLScalarTypeConfig<IResolversTypes['Long'], any> {
|
|
435
489
|
name: 'Long';
|
|
436
490
|
}
|
|
@@ -489,6 +543,30 @@ export type IMyProfileResolvers<ContextType = any, ParentType extends IResolvers
|
|
|
489
543
|
inviteCodes?: Resolver<Maybe<Array<Maybe<IResolversTypes['UserInviteCode']>>>, ParentType, ContextType>;
|
|
490
544
|
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
491
545
|
};
|
|
546
|
+
export type IMyProfileV2Resolvers<ContextType = any, ParentType extends IResolversParentTypes['MyProfileV2'] = IResolversParentTypes['MyProfileV2']> = {
|
|
547
|
+
userId?: Resolver<IResolversTypes['ID'], ParentType, ContextType>;
|
|
548
|
+
username?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
549
|
+
about?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
550
|
+
userpic?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
551
|
+
following?: Resolver<Maybe<IResolversTypes['Boolean']>, ParentType, ContextType>;
|
|
552
|
+
followings?: Resolver<Maybe<IResolversTypes['Int']>, ParentType, ContextType>;
|
|
553
|
+
followers?: Resolver<Maybe<IResolversTypes['Int']>, ParentType, ContextType>;
|
|
554
|
+
social?: Resolver<Maybe<IResolversTypes['Social']>, ParentType, ContextType>;
|
|
555
|
+
views?: Resolver<Maybe<IResolversTypes['Int']>, ParentType, ContextType>;
|
|
556
|
+
createdAt?: Resolver<Maybe<IResolversTypes['Long']>, ParentType, ContextType>;
|
|
557
|
+
deletedAt?: Resolver<Maybe<IResolversTypes['Long']>, ParentType, ContextType>;
|
|
558
|
+
visible?: Resolver<Maybe<IResolversTypes['Boolean']>, ParentType, ContextType>;
|
|
559
|
+
deleted?: Resolver<Maybe<IResolversTypes['Boolean']>, ParentType, ContextType>;
|
|
560
|
+
showNsfw?: Resolver<Maybe<IResolversTypes['Boolean']>, ParentType, ContextType>;
|
|
561
|
+
rank?: Resolver<Maybe<IResolversTypes['Float']>, ParentType, ContextType>;
|
|
562
|
+
wallets?: Resolver<Maybe<Array<Maybe<IResolversTypes['Wallet']>>>, ParentType, ContextType>;
|
|
563
|
+
xps?: Resolver<Maybe<IResolversTypes['Int']>, ParentType, ContextType>;
|
|
564
|
+
level?: Resolver<Maybe<IResolversTypes['Int']>, ParentType, ContextType>;
|
|
565
|
+
levelMinXps?: Resolver<Maybe<IResolversTypes['Int']>, ParentType, ContextType>;
|
|
566
|
+
levelMaxXps?: Resolver<Maybe<IResolversTypes['Int']>, ParentType, ContextType>;
|
|
567
|
+
inviteCodes?: Resolver<Maybe<Array<Maybe<IResolversTypes['InviteCode']>>>, ParentType, ContextType>;
|
|
568
|
+
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
569
|
+
};
|
|
492
570
|
export type IProfileResolvers<ContextType = any, ParentType extends IResolversParentTypes['Profile'] = IResolversParentTypes['Profile']> = {
|
|
493
571
|
userId?: Resolver<IResolversTypes['ID'], ParentType, ContextType>;
|
|
494
572
|
username?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
@@ -517,6 +595,7 @@ export type IQueryResolvers<ContextType = any, ParentType extends IResolversPare
|
|
|
517
595
|
isInviteCodeAvailable?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IQueryIsInviteCodeAvailableArgs, 'inviteCode'>>;
|
|
518
596
|
getMyInviteCodes?: Resolver<Array<IResolversTypes['UserInviteCode']>, ParentType, ContextType>;
|
|
519
597
|
fetchMyProfile?: Resolver<IResolversTypes['MyProfile'], ParentType, ContextType>;
|
|
598
|
+
fetchMyProfileV2?: Resolver<IResolversTypes['MyProfileV2'], ParentType, ContextType>;
|
|
520
599
|
fetchProfile?: Resolver<IResolversTypes['Profile'], ParentType, ContextType, RequireFields<IQueryFetchProfileArgs, 'userId'>>;
|
|
521
600
|
fetchFollowingStatus?: Resolver<IResolversTypes['FollowingStatus'], ParentType, ContextType, RequireFields<IQueryFetchFollowingStatusArgs, 'userId'>>;
|
|
522
601
|
fetchFollowingStatuses?: Resolver<Array<Maybe<IResolversTypes['FollowingStatus']>>, ParentType, ContextType, RequireFields<IQueryFetchFollowingStatusesArgs, 'userIds'>>;
|
|
@@ -560,10 +639,13 @@ export type IResolvers<ContextType = any> = {
|
|
|
560
639
|
AuditNFTBalance?: IAuditNftBalanceResolvers<ContextType>;
|
|
561
640
|
FollowingStatus?: IFollowingStatusResolvers<ContextType>;
|
|
562
641
|
Identity?: IIdentityResolvers<ContextType>;
|
|
642
|
+
InviteCode?: IInviteCodeResolvers<ContextType>;
|
|
643
|
+
InviteCodeUser?: IInviteCodeUserResolvers<ContextType>;
|
|
563
644
|
Long?: GraphQLScalarType;
|
|
564
645
|
MultiversxAudit?: IMultiversxAuditResolvers<ContextType>;
|
|
565
646
|
Mutation?: IMutationResolvers<ContextType>;
|
|
566
647
|
MyProfile?: IMyProfileResolvers<ContextType>;
|
|
648
|
+
MyProfileV2?: IMyProfileV2Resolvers<ContextType>;
|
|
567
649
|
Profile?: IProfileResolvers<ContextType>;
|
|
568
650
|
Query?: IQueryResolvers<ContextType>;
|
|
569
651
|
Social?: ISocialResolvers<ContextType>;
|
|
@@ -743,6 +825,18 @@ export type IFetchMyProfileQuery = {
|
|
|
743
825
|
inviteCodes?: Maybe<Array<Maybe<Pick<IUserInviteCode, 'inviteCode' | 'inviteeId' | 'isUsed' | 'usedAt'>>>>;
|
|
744
826
|
});
|
|
745
827
|
};
|
|
828
|
+
export type IFetchMyProfileV2QueryVariables = Exact<{
|
|
829
|
+
[key: string]: never;
|
|
830
|
+
}>;
|
|
831
|
+
export type IFetchMyProfileV2Query = {
|
|
832
|
+
fetchMyProfileV2: (Pick<IMyProfileV2, 'userId' | 'username' | 'about' | 'userpic' | 'following' | 'followings' | 'followers' | 'views' | 'createdAt' | 'deletedAt' | 'visible' | 'deleted' | 'showNsfw' | 'rank' | 'xps' | 'level' | 'levelMinXps' | 'levelMaxXps'> & {
|
|
833
|
+
social?: Maybe<Pick<ISocial, 'facebook' | 'twitter' | 'instagram' | 'website'>>;
|
|
834
|
+
wallets?: Maybe<Array<Maybe<Pick<IWallet, 'userId' | 'address' | 'walletName' | 'blockchain' | 'chainId'>>>>;
|
|
835
|
+
inviteCodes?: Maybe<Array<Maybe<(Pick<IInviteCode, 'inviteCode' | 'isUsed' | 'maxUsagesLimit' | 'codeUsersNum'> & {
|
|
836
|
+
codeUsers: Array<Pick<IInviteCodeUser, 'inviteeId' | 'usedAt'>>;
|
|
837
|
+
})>>>;
|
|
838
|
+
});
|
|
839
|
+
};
|
|
746
840
|
export type IFetchProfileQueryVariables = Exact<{
|
|
747
841
|
userId: Scalars['ID'];
|
|
748
842
|
}>;
|
|
@@ -1319,6 +1413,31 @@ export declare function useFetchMyProfileLazyQuery(baseOptions?: Apollo.LazyQuer
|
|
|
1319
1413
|
export type FetchMyProfileQueryHookResult = ReturnType<typeof useFetchMyProfileQuery>;
|
|
1320
1414
|
export type FetchMyProfileLazyQueryHookResult = ReturnType<typeof useFetchMyProfileLazyQuery>;
|
|
1321
1415
|
export type FetchMyProfileQueryResult = Apollo.QueryResult<IFetchMyProfileQuery, IFetchMyProfileQueryVariables>;
|
|
1416
|
+
export declare const FetchMyProfileV2Document: Apollo.DocumentNode;
|
|
1417
|
+
/**
|
|
1418
|
+
* __useFetchMyProfileV2Query__
|
|
1419
|
+
*
|
|
1420
|
+
* To run a query within a React component, call `useFetchMyProfileV2Query` and pass it any options that fit your needs.
|
|
1421
|
+
* When your component renders, `useFetchMyProfileV2Query` returns an object from Apollo Client that contains loading, error, and data properties
|
|
1422
|
+
* you can use to render your UI.
|
|
1423
|
+
*
|
|
1424
|
+
* @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;
|
|
1425
|
+
*
|
|
1426
|
+
* @example
|
|
1427
|
+
* const { data, loading, error } = useFetchMyProfileV2Query({
|
|
1428
|
+
* variables: {
|
|
1429
|
+
* },
|
|
1430
|
+
* });
|
|
1431
|
+
*/
|
|
1432
|
+
export declare function useFetchMyProfileV2Query(baseOptions?: Apollo.QueryHookOptions<IFetchMyProfileV2Query, IFetchMyProfileV2QueryVariables>): Apollo.QueryResult<IFetchMyProfileV2Query, Exact<{
|
|
1433
|
+
[key: string]: never;
|
|
1434
|
+
}>>;
|
|
1435
|
+
export declare function useFetchMyProfileV2LazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<IFetchMyProfileV2Query, IFetchMyProfileV2QueryVariables>): Apollo.LazyQueryResultTuple<IFetchMyProfileV2Query, Exact<{
|
|
1436
|
+
[key: string]: never;
|
|
1437
|
+
}>>;
|
|
1438
|
+
export type FetchMyProfileV2QueryHookResult = ReturnType<typeof useFetchMyProfileV2Query>;
|
|
1439
|
+
export type FetchMyProfileV2LazyQueryHookResult = ReturnType<typeof useFetchMyProfileV2LazyQuery>;
|
|
1440
|
+
export type FetchMyProfileV2QueryResult = Apollo.QueryResult<IFetchMyProfileV2Query, IFetchMyProfileV2QueryVariables>;
|
|
1322
1441
|
export declare const FetchProfileDocument: Apollo.DocumentNode;
|
|
1323
1442
|
/**
|
|
1324
1443
|
* __useFetchProfileQuery__
|
|
@@ -23,8 +23,8 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
23
23
|
return result;
|
|
24
24
|
};
|
|
25
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
-
exports.
|
|
27
|
-
exports.useGetMyInviteCodesLazyQuery = exports.useGetMyInviteCodesQuery = void 0;
|
|
26
|
+
exports.FetchUserWalletsDocument = exports.useFetchProfileLazyQuery = exports.useFetchProfileQuery = exports.FetchProfileDocument = exports.useFetchMyProfileV2LazyQuery = exports.useFetchMyProfileV2Query = exports.FetchMyProfileV2Document = exports.useFetchMyProfileLazyQuery = exports.useFetchMyProfileQuery = exports.FetchMyProfileDocument = exports.useFetchMultiversXAuditLazyQuery = exports.useFetchMultiversXAuditQuery = exports.FetchMultiversXAuditDocument = exports.useUpdateProfileMutation = exports.UpdateProfileDocument = 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.useCreateNonceMutation = exports.CreateNonceDocument = exports.useAddWalletTezosMutation = exports.AddWalletTezosDocument = exports.useAddWalletSolanaMutation = exports.AddWalletSolanaDocument = exports.useAddWalletMetamaskMutation = exports.AddWalletMetamaskDocument = exports.useAddWalletFlowMutation = exports.AddWalletFlowDocument = exports.useAddWalletElrondMutation = exports.AddWalletElrondDocument = exports.IRole = void 0;
|
|
27
|
+
exports.useGetMyInviteCodesLazyQuery = exports.useGetMyInviteCodesQuery = exports.GetMyInviteCodesDocument = exports.useFetchUserWalletsLazyQuery = exports.useFetchUserWalletsQuery = void 0;
|
|
28
28
|
const client_1 = require("@apollo/client");
|
|
29
29
|
const Apollo = __importStar(require("@apollo/client"));
|
|
30
30
|
var IRole;
|
|
@@ -744,6 +744,76 @@ function useFetchMyProfileLazyQuery(baseOptions) {
|
|
|
744
744
|
return Apollo.useLazyQuery(exports.FetchMyProfileDocument, baseOptions);
|
|
745
745
|
}
|
|
746
746
|
exports.useFetchMyProfileLazyQuery = useFetchMyProfileLazyQuery;
|
|
747
|
+
exports.FetchMyProfileV2Document = (0, client_1.gql) `
|
|
748
|
+
query FetchMyProfileV2 {
|
|
749
|
+
fetchMyProfileV2 {
|
|
750
|
+
userId
|
|
751
|
+
username
|
|
752
|
+
about
|
|
753
|
+
userpic
|
|
754
|
+
following
|
|
755
|
+
followings
|
|
756
|
+
followers
|
|
757
|
+
social {
|
|
758
|
+
facebook
|
|
759
|
+
twitter
|
|
760
|
+
instagram
|
|
761
|
+
website
|
|
762
|
+
}
|
|
763
|
+
views
|
|
764
|
+
createdAt
|
|
765
|
+
deletedAt
|
|
766
|
+
visible
|
|
767
|
+
deleted
|
|
768
|
+
showNsfw
|
|
769
|
+
rank
|
|
770
|
+
wallets {
|
|
771
|
+
userId
|
|
772
|
+
address
|
|
773
|
+
walletName
|
|
774
|
+
blockchain
|
|
775
|
+
chainId
|
|
776
|
+
}
|
|
777
|
+
xps
|
|
778
|
+
level
|
|
779
|
+
levelMinXps
|
|
780
|
+
levelMaxXps
|
|
781
|
+
inviteCodes {
|
|
782
|
+
inviteCode
|
|
783
|
+
isUsed
|
|
784
|
+
maxUsagesLimit
|
|
785
|
+
codeUsersNum
|
|
786
|
+
codeUsers {
|
|
787
|
+
inviteeId
|
|
788
|
+
usedAt
|
|
789
|
+
}
|
|
790
|
+
}
|
|
791
|
+
}
|
|
792
|
+
}
|
|
793
|
+
`;
|
|
794
|
+
/**
|
|
795
|
+
* __useFetchMyProfileV2Query__
|
|
796
|
+
*
|
|
797
|
+
* To run a query within a React component, call `useFetchMyProfileV2Query` and pass it any options that fit your needs.
|
|
798
|
+
* When your component renders, `useFetchMyProfileV2Query` returns an object from Apollo Client that contains loading, error, and data properties
|
|
799
|
+
* you can use to render your UI.
|
|
800
|
+
*
|
|
801
|
+
* @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;
|
|
802
|
+
*
|
|
803
|
+
* @example
|
|
804
|
+
* const { data, loading, error } = useFetchMyProfileV2Query({
|
|
805
|
+
* variables: {
|
|
806
|
+
* },
|
|
807
|
+
* });
|
|
808
|
+
*/
|
|
809
|
+
function useFetchMyProfileV2Query(baseOptions) {
|
|
810
|
+
return Apollo.useQuery(exports.FetchMyProfileV2Document, baseOptions);
|
|
811
|
+
}
|
|
812
|
+
exports.useFetchMyProfileV2Query = useFetchMyProfileV2Query;
|
|
813
|
+
function useFetchMyProfileV2LazyQuery(baseOptions) {
|
|
814
|
+
return Apollo.useLazyQuery(exports.FetchMyProfileV2Document, baseOptions);
|
|
815
|
+
}
|
|
816
|
+
exports.useFetchMyProfileV2LazyQuery = useFetchMyProfileV2LazyQuery;
|
|
747
817
|
exports.FetchProfileDocument = (0, client_1.gql) `
|
|
748
818
|
query FetchProfile($userId: ID!) {
|
|
749
819
|
fetchProfile(userId: $userId) {
|
package/build/index.d.ts
CHANGED
|
@@ -649,6 +649,16 @@ declare const schema: {
|
|
|
649
649
|
}>> | undefined): import("@apollo/client").LazyQueryResultTuple<identitySchema.IFetchMyProfileQuery, identitySchema.Exact<{
|
|
650
650
|
[key: string]: never;
|
|
651
651
|
}>>;
|
|
652
|
+
useFetchMyProfileV2Query(baseOptions?: import("@apollo/client").QueryHookOptions<identitySchema.IFetchMyProfileV2Query, identitySchema.Exact<{
|
|
653
|
+
[key: string]: never;
|
|
654
|
+
}>> | undefined): import("@apollo/client").QueryResult<identitySchema.IFetchMyProfileV2Query, identitySchema.Exact<{
|
|
655
|
+
[key: string]: never;
|
|
656
|
+
}>>;
|
|
657
|
+
useFetchMyProfileV2LazyQuery(baseOptions?: import("@apollo/client").LazyQueryHookOptions<identitySchema.IFetchMyProfileV2Query, identitySchema.Exact<{
|
|
658
|
+
[key: string]: never;
|
|
659
|
+
}>> | undefined): import("@apollo/client").LazyQueryResultTuple<identitySchema.IFetchMyProfileV2Query, identitySchema.Exact<{
|
|
660
|
+
[key: string]: never;
|
|
661
|
+
}>>;
|
|
652
662
|
useFetchProfileQuery(baseOptions: import("@apollo/client").QueryHookOptions<identitySchema.IFetchProfileQuery, identitySchema.Exact<{
|
|
653
663
|
userId: string;
|
|
654
664
|
}>>): import("@apollo/client").QueryResult<identitySchema.IFetchProfileQuery, identitySchema.Exact<{
|
|
@@ -700,6 +710,7 @@ declare const schema: {
|
|
|
700
710
|
UpdateProfileDocument: import("graphql").DocumentNode;
|
|
701
711
|
FetchMultiversXAuditDocument: import("graphql").DocumentNode;
|
|
702
712
|
FetchMyProfileDocument: import("graphql").DocumentNode;
|
|
713
|
+
FetchMyProfileV2Document: import("graphql").DocumentNode;
|
|
703
714
|
FetchProfileDocument: import("graphql").DocumentNode;
|
|
704
715
|
FetchUserWalletsDocument: import("graphql").DocumentNode;
|
|
705
716
|
GetMyInviteCodesDocument: import("graphql").DocumentNode;
|
|
@@ -1224,6 +1235,24 @@ declare const schema: {
|
|
|
1224
1235
|
sort: adminSchema.IPartnershipInquirySortInput;
|
|
1225
1236
|
page: adminSchema.IAdminPageInput;
|
|
1226
1237
|
}>>;
|
|
1238
|
+
useFetchUserFeedbackPageQuery(baseOptions: import("@apollo/client").QueryHookOptions<adminSchema.IFetchUserFeedbackPageQuery, adminSchema.Exact<{
|
|
1239
|
+
filter: adminSchema.IUserFeedbackFilterInput;
|
|
1240
|
+
sort: adminSchema.IUserFeedbackSortInput;
|
|
1241
|
+
page: adminSchema.IAdminPageInput;
|
|
1242
|
+
}>>): import("@apollo/client").QueryResult<adminSchema.IFetchUserFeedbackPageQuery, adminSchema.Exact<{
|
|
1243
|
+
filter: adminSchema.IUserFeedbackFilterInput;
|
|
1244
|
+
sort: adminSchema.IUserFeedbackSortInput;
|
|
1245
|
+
page: adminSchema.IAdminPageInput;
|
|
1246
|
+
}>>;
|
|
1247
|
+
useFetchUserFeedbackPageLazyQuery(baseOptions?: import("@apollo/client").LazyQueryHookOptions<adminSchema.IFetchUserFeedbackPageQuery, adminSchema.Exact<{
|
|
1248
|
+
filter: adminSchema.IUserFeedbackFilterInput;
|
|
1249
|
+
sort: adminSchema.IUserFeedbackSortInput;
|
|
1250
|
+
page: adminSchema.IAdminPageInput;
|
|
1251
|
+
}>> | undefined): import("@apollo/client").LazyQueryResultTuple<adminSchema.IFetchUserFeedbackPageQuery, adminSchema.Exact<{
|
|
1252
|
+
filter: adminSchema.IUserFeedbackFilterInput;
|
|
1253
|
+
sort: adminSchema.IUserFeedbackSortInput;
|
|
1254
|
+
page: adminSchema.IAdminPageInput;
|
|
1255
|
+
}>>;
|
|
1227
1256
|
useFetchAdminBrandsQuery(baseOptions?: import("@apollo/client").QueryHookOptions<adminSchema.IFetchAdminBrandsQuery, adminSchema.Exact<{
|
|
1228
1257
|
[key: string]: never;
|
|
1229
1258
|
}>> | undefined): import("@apollo/client").QueryResult<adminSchema.IFetchAdminBrandsQuery, adminSchema.Exact<{
|
|
@@ -1395,6 +1424,7 @@ declare const schema: {
|
|
|
1395
1424
|
FetchFormOpportunityPageDocument: import("graphql").DocumentNode;
|
|
1396
1425
|
FetchInvestorInquiryPageDocument: import("graphql").DocumentNode;
|
|
1397
1426
|
FetchPartnershipInquiryPageDocument: import("graphql").DocumentNode;
|
|
1427
|
+
FetchUserFeedbackPageDocument: import("graphql").DocumentNode;
|
|
1398
1428
|
FetchAdminBrandsDocument: import("graphql").DocumentNode;
|
|
1399
1429
|
FetchAdminBrandsPageDocument: import("graphql").DocumentNode;
|
|
1400
1430
|
FetchAdminCategoriesDocument: import("graphql").DocumentNode;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ludo.ninja/api",
|
|
3
|
-
"version": "2.8.
|
|
3
|
+
"version": "2.8.56",
|
|
4
4
|
"main": "./build/index.js",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"test": "jest",
|
|
@@ -22,7 +22,8 @@
|
|
|
22
22
|
"devDependencies": {
|
|
23
23
|
"@types/apollo-upload-client": "^17.0.2",
|
|
24
24
|
"@types/lodash.isequal": "^4.5.8",
|
|
25
|
-
"@types/next": "9.0.0"
|
|
25
|
+
"@types/next": "9.0.0",
|
|
26
|
+
"typescript": "^5.1.3"
|
|
26
27
|
},
|
|
27
28
|
"types": "./build/index.d.ts",
|
|
28
29
|
"description": ""
|