@ludo.ninja/api 3.2.38 → 3.2.40
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 +164 -0
- package/build/graphql_tools/__generated__/adminHost/schema.js +107 -4
- package/build/graphql_tools/__generated__/identityHost/schema.d.ts +33 -1
- package/build/graphql_tools/__generated__/identityHost/schema.js +28 -2
- package/build/graphql_tools/__generated__/opportunitiesHost/schema.d.ts +6 -4
- package/build/graphql_tools/__generated__/opportunitiesHost/schema.js +1 -0
- package/build/index.d.ts +45 -0
- package/package.json +1 -1
- package/src/graphql_tools/__generated__/adminHost/schema.ts +212 -0
- package/src/graphql_tools/__generated__/identityHost/schema.ts +40 -1
- package/src/graphql_tools/__generated__/opportunitiesHost/schema.ts +7 -4
- package/tsconfig.tsbuildinfo +1 -1
|
@@ -564,14 +564,19 @@ export type IFeaturePackPurchase = {
|
|
|
564
564
|
userId: Scalars['String'];
|
|
565
565
|
username?: Maybe<Scalars['String']>;
|
|
566
566
|
price: Scalars['Float'];
|
|
567
|
+
purchasePrice?: Maybe<Scalars['Float']>;
|
|
567
568
|
featurePackId: Scalars['String'];
|
|
568
569
|
featurePackName: Scalars['String'];
|
|
570
|
+
purchaseType: IPurchaseType;
|
|
571
|
+
purchasedAt: Scalars['Long'];
|
|
569
572
|
};
|
|
570
573
|
export type IFeaturePackPurchaseFilterInput = {
|
|
571
574
|
userIdTerm?: Maybe<Scalars['String']>;
|
|
572
575
|
usernameTerm?: Maybe<Scalars['String']>;
|
|
576
|
+
purchaseType?: Maybe<IPurchaseType>;
|
|
573
577
|
price?: Maybe<Scalars['Float']>;
|
|
574
578
|
featurePackId?: Maybe<Scalars['String']>;
|
|
579
|
+
purchasedAt?: Maybe<Scalars['Long']>;
|
|
575
580
|
};
|
|
576
581
|
export type IFeaturePackPurchasePage = {
|
|
577
582
|
purchases?: Maybe<Array<IFeaturePackPurchase>>;
|
|
@@ -580,6 +585,7 @@ export type IFeaturePackPurchasePage = {
|
|
|
580
585
|
export type IFeaturePackPurchaseSortInput = {
|
|
581
586
|
sortByUsername?: Maybe<ISort>;
|
|
582
587
|
sortByFeaturePack?: Maybe<ISort>;
|
|
588
|
+
sortByPurchasedAt?: Maybe<ISort>;
|
|
583
589
|
};
|
|
584
590
|
export type IFormOpportunityFilterInput = {
|
|
585
591
|
idTerm?: Maybe<Scalars['String']>;
|
|
@@ -601,6 +607,29 @@ export type IFormOpportunitySortInput = {
|
|
|
601
607
|
sortByStartDate?: Maybe<ISort>;
|
|
602
608
|
sortByEndDate?: Maybe<ISort>;
|
|
603
609
|
};
|
|
610
|
+
export type IIncome = {
|
|
611
|
+
userId: Scalars['String'];
|
|
612
|
+
username?: Maybe<Scalars['String']>;
|
|
613
|
+
subject: Scalars['String'];
|
|
614
|
+
adminWalletBlockchain?: Maybe<Scalars['String']>;
|
|
615
|
+
adminWalletAddress?: Maybe<Scalars['String']>;
|
|
616
|
+
adminUsername?: Maybe<Scalars['String']>;
|
|
617
|
+
createdAt: Scalars['Long'];
|
|
618
|
+
};
|
|
619
|
+
export type IIncomeFilterInput = {
|
|
620
|
+
userIdTerm?: Maybe<Scalars['String']>;
|
|
621
|
+
usernameTerm?: Maybe<Scalars['String']>;
|
|
622
|
+
subjectTerm?: Maybe<Scalars['String']>;
|
|
623
|
+
adminWalletTerm?: Maybe<Scalars['String']>;
|
|
624
|
+
createdAt?: Maybe<Scalars['Long']>;
|
|
625
|
+
};
|
|
626
|
+
export type IIncomePage = {
|
|
627
|
+
incomes?: Maybe<Array<IIncome>>;
|
|
628
|
+
nextPage?: Maybe<IAdminPage>;
|
|
629
|
+
};
|
|
630
|
+
export type IIncomeSortInput = {
|
|
631
|
+
sortByCreatedAt?: Maybe<ISort>;
|
|
632
|
+
};
|
|
604
633
|
export type IInvestorInquiryFilterInput = {
|
|
605
634
|
idTerm?: Maybe<Scalars['String']>;
|
|
606
635
|
userIdTerm?: Maybe<Scalars['String']>;
|
|
@@ -985,6 +1014,10 @@ export type IPublisherInput = {
|
|
|
985
1014
|
monitorsLimit: Scalars['Int'];
|
|
986
1015
|
activeUntil: Scalars['Long'];
|
|
987
1016
|
};
|
|
1017
|
+
export declare enum IPurchaseType {
|
|
1018
|
+
Xp = "XP",
|
|
1019
|
+
Publisher = "PUBLISHER"
|
|
1020
|
+
}
|
|
988
1021
|
export type IQuery = {
|
|
989
1022
|
getDummy: Scalars['String'];
|
|
990
1023
|
fetchFeaturePackPurchasePage: IFeaturePackPurchasePage;
|
|
@@ -995,6 +1028,7 @@ export type IQuery = {
|
|
|
995
1028
|
fetchPartnershipInquiryPage: IPartnershipInquiryPage;
|
|
996
1029
|
fetchUserFeedbackPage: IUserFeedbackPage;
|
|
997
1030
|
fetchRegistrationInvitePage: IRegistrationInvitePage;
|
|
1031
|
+
fetchIncomes: IIncomePage;
|
|
998
1032
|
fetchAdminInvitesPage: IInvitesPage;
|
|
999
1033
|
checkInviteCode: ICheckInviteCodeData;
|
|
1000
1034
|
fetchLeaderboard: ILeaderboard;
|
|
@@ -1068,6 +1102,11 @@ export type IQueryFetchRegistrationInvitePageArgs = {
|
|
|
1068
1102
|
sort: IRegistrationInviteSortInput;
|
|
1069
1103
|
page: IAdminPageInput;
|
|
1070
1104
|
};
|
|
1105
|
+
export type IQueryFetchIncomesArgs = {
|
|
1106
|
+
filter: IIncomeFilterInput;
|
|
1107
|
+
sort: IIncomeSortInput;
|
|
1108
|
+
page: IAdminPageInput;
|
|
1109
|
+
};
|
|
1071
1110
|
export type IQueryFetchAdminInvitesPageArgs = {
|
|
1072
1111
|
filter: IInvitesFilterInput;
|
|
1073
1112
|
sort: IInvitesSortInput;
|
|
@@ -1527,6 +1566,10 @@ export type IResolversTypes = {
|
|
|
1527
1566
|
FormOpportunityFilterInput: IFormOpportunityFilterInput;
|
|
1528
1567
|
FormOpportunityPage: ResolverTypeWrapper<IFormOpportunityPage>;
|
|
1529
1568
|
FormOpportunitySortInput: IFormOpportunitySortInput;
|
|
1569
|
+
Income: ResolverTypeWrapper<IIncome>;
|
|
1570
|
+
IncomeFilterInput: IIncomeFilterInput;
|
|
1571
|
+
IncomePage: ResolverTypeWrapper<IIncomePage>;
|
|
1572
|
+
IncomeSortInput: IIncomeSortInput;
|
|
1530
1573
|
InvestorInquiryFilterInput: IInvestorInquiryFilterInput;
|
|
1531
1574
|
InvestorInquiryPage: ResolverTypeWrapper<IInvestorInquiryPage>;
|
|
1532
1575
|
InvestorInquirySortInput: IInvestorInquirySortInput;
|
|
@@ -1560,6 +1603,7 @@ export type IResolversTypes = {
|
|
|
1560
1603
|
ProjectsKPISettingInput: IProjectsKpiSettingInput;
|
|
1561
1604
|
ProjectsKPISettingsInput: IProjectsKpiSettingsInput;
|
|
1562
1605
|
PublisherInput: IPublisherInput;
|
|
1606
|
+
PurchaseType: IPurchaseType;
|
|
1563
1607
|
Query: ResolverTypeWrapper<{}>;
|
|
1564
1608
|
RateLimits: ResolverTypeWrapper<IRateLimits>;
|
|
1565
1609
|
RateLimitsInput: IRateLimitsInput;
|
|
@@ -1673,6 +1717,10 @@ export type IResolversParentTypes = {
|
|
|
1673
1717
|
FormOpportunityFilterInput: IFormOpportunityFilterInput;
|
|
1674
1718
|
FormOpportunityPage: IFormOpportunityPage;
|
|
1675
1719
|
FormOpportunitySortInput: IFormOpportunitySortInput;
|
|
1720
|
+
Income: IIncome;
|
|
1721
|
+
IncomeFilterInput: IIncomeFilterInput;
|
|
1722
|
+
IncomePage: IIncomePage;
|
|
1723
|
+
IncomeSortInput: IIncomeSortInput;
|
|
1676
1724
|
InvestorInquiryFilterInput: IInvestorInquiryFilterInput;
|
|
1677
1725
|
InvestorInquiryPage: IInvestorInquiryPage;
|
|
1678
1726
|
InvestorInquirySortInput: IInvestorInquirySortInput;
|
|
@@ -1748,6 +1796,13 @@ export type IRangeDirectiveArgs = {
|
|
|
1748
1796
|
message?: Maybe<Scalars['String']>;
|
|
1749
1797
|
};
|
|
1750
1798
|
export type IRangeDirectiveResolver<Result, Parent, ContextType = any, Args = IRangeDirectiveArgs> = DirectiveResolverFn<Result, Parent, ContextType, Args>;
|
|
1799
|
+
export type IDeferDirectiveArgs = {
|
|
1800
|
+
if?: Scalars['Boolean'];
|
|
1801
|
+
label?: Maybe<Scalars['String']>;
|
|
1802
|
+
};
|
|
1803
|
+
export type IDeferDirectiveResolver<Result, Parent, ContextType = any, Args = IDeferDirectiveArgs> = DirectiveResolverFn<Result, Parent, ContextType, Args>;
|
|
1804
|
+
export type IExperimental_DisableErrorPropagationDirectiveArgs = {};
|
|
1805
|
+
export type IExperimental_DisableErrorPropagationDirectiveResolver<Result, Parent, ContextType = any, Args = IExperimental_DisableErrorPropagationDirectiveArgs> = DirectiveResolverFn<Result, Parent, ContextType, Args>;
|
|
1751
1806
|
export type IOneOfDirectiveArgs = {};
|
|
1752
1807
|
export type IOneOfDirectiveResolver<Result, Parent, ContextType = any, Args = IOneOfDirectiveArgs> = DirectiveResolverFn<Result, Parent, ContextType, Args>;
|
|
1753
1808
|
export type IActiveInviteResolvers<ContextType = any, ParentType extends IResolversParentTypes['ActiveInvite'] = IResolversParentTypes['ActiveInvite']> = {
|
|
@@ -2088,8 +2143,11 @@ export type IFeaturePackPurchaseResolvers<ContextType = any, ParentType extends
|
|
|
2088
2143
|
userId?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
|
|
2089
2144
|
username?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
2090
2145
|
price?: Resolver<IResolversTypes['Float'], ParentType, ContextType>;
|
|
2146
|
+
purchasePrice?: Resolver<Maybe<IResolversTypes['Float']>, ParentType, ContextType>;
|
|
2091
2147
|
featurePackId?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
|
|
2092
2148
|
featurePackName?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
|
|
2149
|
+
purchaseType?: Resolver<IResolversTypes['PurchaseType'], ParentType, ContextType>;
|
|
2150
|
+
purchasedAt?: Resolver<IResolversTypes['Long'], ParentType, ContextType>;
|
|
2093
2151
|
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
2094
2152
|
};
|
|
2095
2153
|
export type IFeaturePackPurchasePageResolvers<ContextType = any, ParentType extends IResolversParentTypes['FeaturePackPurchasePage'] = IResolversParentTypes['FeaturePackPurchasePage']> = {
|
|
@@ -2102,6 +2160,21 @@ export type IFormOpportunityPageResolvers<ContextType = any, ParentType extends
|
|
|
2102
2160
|
nextPage?: Resolver<Maybe<IResolversTypes['AdminPage']>, ParentType, ContextType>;
|
|
2103
2161
|
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
2104
2162
|
};
|
|
2163
|
+
export type IIncomeResolvers<ContextType = any, ParentType extends IResolversParentTypes['Income'] = IResolversParentTypes['Income']> = {
|
|
2164
|
+
userId?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
|
|
2165
|
+
username?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
2166
|
+
subject?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
|
|
2167
|
+
adminWalletBlockchain?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
2168
|
+
adminWalletAddress?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
2169
|
+
adminUsername?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
2170
|
+
createdAt?: Resolver<IResolversTypes['Long'], ParentType, ContextType>;
|
|
2171
|
+
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
2172
|
+
};
|
|
2173
|
+
export type IIncomePageResolvers<ContextType = any, ParentType extends IResolversParentTypes['IncomePage'] = IResolversParentTypes['IncomePage']> = {
|
|
2174
|
+
incomes?: Resolver<Maybe<Array<IResolversTypes['Income']>>, ParentType, ContextType>;
|
|
2175
|
+
nextPage?: Resolver<Maybe<IResolversTypes['AdminPage']>, ParentType, ContextType>;
|
|
2176
|
+
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
2177
|
+
};
|
|
2105
2178
|
export type IInvestorInquiryPageResolvers<ContextType = any, ParentType extends IResolversParentTypes['InvestorInquiryPage'] = IResolversParentTypes['InvestorInquiryPage']> = {
|
|
2106
2179
|
investorInquiries?: Resolver<Array<IResolversTypes['AdminInvestorInquiry']>, ParentType, ContextType>;
|
|
2107
2180
|
nextPage?: Resolver<Maybe<IResolversTypes['AdminPage']>, ParentType, ContextType>;
|
|
@@ -2211,6 +2284,7 @@ export type IQueryResolvers<ContextType = any, ParentType extends IResolversPare
|
|
|
2211
2284
|
fetchPartnershipInquiryPage?: Resolver<IResolversTypes['PartnershipInquiryPage'], ParentType, ContextType, RequireFields<IQueryFetchPartnershipInquiryPageArgs, 'filter' | 'sort' | 'page'>>;
|
|
2212
2285
|
fetchUserFeedbackPage?: Resolver<IResolversTypes['UserFeedbackPage'], ParentType, ContextType, RequireFields<IQueryFetchUserFeedbackPageArgs, 'filter' | 'sort' | 'page'>>;
|
|
2213
2286
|
fetchRegistrationInvitePage?: Resolver<IResolversTypes['RegistrationInvitePage'], ParentType, ContextType, RequireFields<IQueryFetchRegistrationInvitePageArgs, 'filter' | 'sort' | 'page'>>;
|
|
2287
|
+
fetchIncomes?: Resolver<IResolversTypes['IncomePage'], ParentType, ContextType, RequireFields<IQueryFetchIncomesArgs, 'filter' | 'sort' | 'page'>>;
|
|
2214
2288
|
fetchAdminInvitesPage?: Resolver<IResolversTypes['InvitesPage'], ParentType, ContextType, RequireFields<IQueryFetchAdminInvitesPageArgs, 'filter' | 'sort' | 'page'>>;
|
|
2215
2289
|
checkInviteCode?: Resolver<IResolversTypes['CheckInviteCodeData'], ParentType, ContextType, RequireFields<IQueryCheckInviteCodeArgs, 'code'>>;
|
|
2216
2290
|
fetchLeaderboard?: Resolver<IResolversTypes['Leaderboard'], ParentType, ContextType, RequireFields<IQueryFetchLeaderboardArgs, 'type'>>;
|
|
@@ -2391,6 +2465,8 @@ export type IResolvers<ContextType = any> = {
|
|
|
2391
2465
|
FeaturePackPurchase?: IFeaturePackPurchaseResolvers<ContextType>;
|
|
2392
2466
|
FeaturePackPurchasePage?: IFeaturePackPurchasePageResolvers<ContextType>;
|
|
2393
2467
|
FormOpportunityPage?: IFormOpportunityPageResolvers<ContextType>;
|
|
2468
|
+
Income?: IIncomeResolvers<ContextType>;
|
|
2469
|
+
IncomePage?: IIncomePageResolvers<ContextType>;
|
|
2394
2470
|
InvestorInquiryPage?: IInvestorInquiryPageResolvers<ContextType>;
|
|
2395
2471
|
InvitesPage?: IInvitesPageResolvers<ContextType>;
|
|
2396
2472
|
Leaderboard?: ILeaderboardResolvers<ContextType>;
|
|
@@ -2424,6 +2500,8 @@ export type IResolvers<ContextType = any> = {
|
|
|
2424
2500
|
export type IDirectiveResolvers<ContextType = any> = {
|
|
2425
2501
|
Min?: IMinDirectiveResolver<any, any, ContextType>;
|
|
2426
2502
|
Range?: IRangeDirectiveResolver<any, any, ContextType>;
|
|
2503
|
+
defer?: IDeferDirectiveResolver<any, any, ContextType>;
|
|
2504
|
+
experimental_disableErrorPropagation?: IExperimental_DisableErrorPropagationDirectiveResolver<any, any, ContextType>;
|
|
2427
2505
|
oneOf?: IOneOfDirectiveResolver<any, any, ContextType>;
|
|
2428
2506
|
};
|
|
2429
2507
|
export type ICreateReferralTypeMutationVariables = Exact<{
|
|
@@ -2888,6 +2966,28 @@ export type IFetchDefaultRateLimitsQueryVariables = Exact<{
|
|
|
2888
2966
|
export type IFetchDefaultRateLimitsQuery = {
|
|
2889
2967
|
fetchDefaultRateLimits: Pick<IRateLimits, 'requestsPerSecond' | 'requestsPerMinute' | 'requestsPerHour' | 'requestsPerDay' | 'computingUnits'>;
|
|
2890
2968
|
};
|
|
2969
|
+
export type IFetchFeaturePackPurchasePageQueryVariables = Exact<{
|
|
2970
|
+
filter: IFeaturePackPurchaseFilterInput;
|
|
2971
|
+
sort: IFeaturePackPurchaseSortInput;
|
|
2972
|
+
page: IAdminPageInput;
|
|
2973
|
+
}>;
|
|
2974
|
+
export type IFetchFeaturePackPurchasePageQuery = {
|
|
2975
|
+
fetchFeaturePackPurchasePage: {
|
|
2976
|
+
purchases?: Maybe<Array<Pick<IFeaturePackPurchase, 'userId' | 'username' | 'price' | 'purchasePrice' | 'featurePackId' | 'featurePackName' | 'purchaseType' | 'purchasedAt'>>>;
|
|
2977
|
+
nextPage?: Maybe<Pick<IAdminPage, 'elements' | 'lastNum' | 'num' | 'size' | 'token'>>;
|
|
2978
|
+
};
|
|
2979
|
+
};
|
|
2980
|
+
export type IFetchIncomesQueryVariables = Exact<{
|
|
2981
|
+
filter: IIncomeFilterInput;
|
|
2982
|
+
sort: IIncomeSortInput;
|
|
2983
|
+
page: IAdminPageInput;
|
|
2984
|
+
}>;
|
|
2985
|
+
export type IFetchIncomesQuery = {
|
|
2986
|
+
fetchIncomes: {
|
|
2987
|
+
incomes?: Maybe<Array<Pick<IIncome, 'userId' | 'username' | 'subject' | 'adminWalletBlockchain' | 'adminWalletAddress' | 'adminUsername' | 'createdAt'>>>;
|
|
2988
|
+
nextPage?: Maybe<Pick<IAdminPage, 'elements' | 'lastNum' | 'num' | 'size' | 'token'>>;
|
|
2989
|
+
};
|
|
2990
|
+
};
|
|
2891
2991
|
export type IFetchLeaderboardQueryVariables = Exact<{
|
|
2892
2992
|
type: ILeaderboardType;
|
|
2893
2993
|
}>;
|
|
@@ -4734,6 +4834,70 @@ export declare function useFetchDefaultRateLimitsLazyQuery(baseOptions?: Apollo.
|
|
|
4734
4834
|
export type FetchDefaultRateLimitsQueryHookResult = ReturnType<typeof useFetchDefaultRateLimitsQuery>;
|
|
4735
4835
|
export type FetchDefaultRateLimitsLazyQueryHookResult = ReturnType<typeof useFetchDefaultRateLimitsLazyQuery>;
|
|
4736
4836
|
export type FetchDefaultRateLimitsQueryResult = Apollo.QueryResult<IFetchDefaultRateLimitsQuery, IFetchDefaultRateLimitsQueryVariables>;
|
|
4837
|
+
export declare const FetchFeaturePackPurchasePageDocument: Apollo.DocumentNode;
|
|
4838
|
+
/**
|
|
4839
|
+
* __useFetchFeaturePackPurchasePageQuery__
|
|
4840
|
+
*
|
|
4841
|
+
* To run a query within a React component, call `useFetchFeaturePackPurchasePageQuery` and pass it any options that fit your needs.
|
|
4842
|
+
* When your component renders, `useFetchFeaturePackPurchasePageQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
4843
|
+
* you can use to render your UI.
|
|
4844
|
+
*
|
|
4845
|
+
* @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;
|
|
4846
|
+
*
|
|
4847
|
+
* @example
|
|
4848
|
+
* const { data, loading, error } = useFetchFeaturePackPurchasePageQuery({
|
|
4849
|
+
* variables: {
|
|
4850
|
+
* filter: // value for 'filter'
|
|
4851
|
+
* sort: // value for 'sort'
|
|
4852
|
+
* page: // value for 'page'
|
|
4853
|
+
* },
|
|
4854
|
+
* });
|
|
4855
|
+
*/
|
|
4856
|
+
export declare function useFetchFeaturePackPurchasePageQuery(baseOptions: Apollo.QueryHookOptions<IFetchFeaturePackPurchasePageQuery, IFetchFeaturePackPurchasePageQueryVariables>): Apollo.QueryResult<IFetchFeaturePackPurchasePageQuery, Exact<{
|
|
4857
|
+
filter: IFeaturePackPurchaseFilterInput;
|
|
4858
|
+
sort: IFeaturePackPurchaseSortInput;
|
|
4859
|
+
page: IAdminPageInput;
|
|
4860
|
+
}>>;
|
|
4861
|
+
export declare function useFetchFeaturePackPurchasePageLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<IFetchFeaturePackPurchasePageQuery, IFetchFeaturePackPurchasePageQueryVariables>): Apollo.LazyQueryResultTuple<IFetchFeaturePackPurchasePageQuery, Exact<{
|
|
4862
|
+
filter: IFeaturePackPurchaseFilterInput;
|
|
4863
|
+
sort: IFeaturePackPurchaseSortInput;
|
|
4864
|
+
page: IAdminPageInput;
|
|
4865
|
+
}>>;
|
|
4866
|
+
export type FetchFeaturePackPurchasePageQueryHookResult = ReturnType<typeof useFetchFeaturePackPurchasePageQuery>;
|
|
4867
|
+
export type FetchFeaturePackPurchasePageLazyQueryHookResult = ReturnType<typeof useFetchFeaturePackPurchasePageLazyQuery>;
|
|
4868
|
+
export type FetchFeaturePackPurchasePageQueryResult = Apollo.QueryResult<IFetchFeaturePackPurchasePageQuery, IFetchFeaturePackPurchasePageQueryVariables>;
|
|
4869
|
+
export declare const FetchIncomesDocument: Apollo.DocumentNode;
|
|
4870
|
+
/**
|
|
4871
|
+
* __useFetchIncomesQuery__
|
|
4872
|
+
*
|
|
4873
|
+
* To run a query within a React component, call `useFetchIncomesQuery` and pass it any options that fit your needs.
|
|
4874
|
+
* When your component renders, `useFetchIncomesQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
4875
|
+
* you can use to render your UI.
|
|
4876
|
+
*
|
|
4877
|
+
* @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;
|
|
4878
|
+
*
|
|
4879
|
+
* @example
|
|
4880
|
+
* const { data, loading, error } = useFetchIncomesQuery({
|
|
4881
|
+
* variables: {
|
|
4882
|
+
* filter: // value for 'filter'
|
|
4883
|
+
* sort: // value for 'sort'
|
|
4884
|
+
* page: // value for 'page'
|
|
4885
|
+
* },
|
|
4886
|
+
* });
|
|
4887
|
+
*/
|
|
4888
|
+
export declare function useFetchIncomesQuery(baseOptions: Apollo.QueryHookOptions<IFetchIncomesQuery, IFetchIncomesQueryVariables>): Apollo.QueryResult<IFetchIncomesQuery, Exact<{
|
|
4889
|
+
filter: IIncomeFilterInput;
|
|
4890
|
+
sort: IIncomeSortInput;
|
|
4891
|
+
page: IAdminPageInput;
|
|
4892
|
+
}>>;
|
|
4893
|
+
export declare function useFetchIncomesLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<IFetchIncomesQuery, IFetchIncomesQueryVariables>): Apollo.LazyQueryResultTuple<IFetchIncomesQuery, Exact<{
|
|
4894
|
+
filter: IIncomeFilterInput;
|
|
4895
|
+
sort: IIncomeSortInput;
|
|
4896
|
+
page: IAdminPageInput;
|
|
4897
|
+
}>>;
|
|
4898
|
+
export type FetchIncomesQueryHookResult = ReturnType<typeof useFetchIncomesQuery>;
|
|
4899
|
+
export type FetchIncomesLazyQueryHookResult = ReturnType<typeof useFetchIncomesLazyQuery>;
|
|
4900
|
+
export type FetchIncomesQueryResult = Apollo.QueryResult<IFetchIncomesQuery, IFetchIncomesQueryVariables>;
|
|
4737
4901
|
export declare const FetchLeaderboardDocument: Apollo.DocumentNode;
|
|
4738
4902
|
/**
|
|
4739
4903
|
* __useFetchLeaderboardQuery__
|
|
@@ -23,10 +23,11 @@ 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.
|
|
28
|
-
exports.
|
|
29
|
-
exports.
|
|
26
|
+
exports.useRegenerateOpportunityPayloadSecretKeyMutation = exports.RegenerateOpportunityPayloadSecretKeyDocument = exports.useCreatePublisherMutation = exports.CreatePublisherDocument = exports.useCreateProjectMutation = exports.CreateProjectDocument = exports.useCreateAdminOpportunityMutation = exports.CreateAdminOpportunityDocument = exports.useCreateCompanyTokenMutation = exports.CreateCompanyTokenDocument = exports.useCreateBrandMutation = exports.CreateBrandDocument = exports.useCreateCategoryMutation = exports.CreateCategoryDocument = exports.useChangeXpPointsMutation = exports.ChangeXpPointsDocument = exports.useUpdateTierArchivedStatusMutation = exports.UpdateTierArchivedStatusDocument = exports.useUpdateTierMutation = exports.UpdateTierDocument = exports.useUpdateReferralTypeArchivedStatusMutation = exports.UpdateReferralTypeArchivedStatusDocument = exports.useUpdateReferralTypeMutation = exports.UpdateReferralTypeDocument = exports.useUpdateOpportunityPushStatusMutation = exports.UpdateOpportunityPushStatusDocument = exports.useUpdateInviteCodeUsagesLimitMutation = exports.UpdateInviteCodeUsagesLimitDocument = exports.useTriggerOpportunityNotificationMutation = exports.TriggerOpportunityNotificationDocument = exports.useCreateTierMutation = exports.CreateTierDocument = exports.useCreateReferralTypeMutation = exports.CreateReferralTypeDocument = exports.ITrafficReferralType = exports.ITariffPlan = exports.ISortDirection = exports.IReftypeColor = exports.IPurchaseType = exports.IProjectType = exports.IPayloadType = exports.IOpportunityType = exports.INotificationDestination = exports.ILoginSource = exports.ILocationType = exports.ILeaderboardType = exports.IDevicePlatform = exports.IBlockchains = exports.IAuthorityType = exports.IAccessType = void 0;
|
|
27
|
+
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.useCheckInviteCodeLazyQuery = exports.useCheckInviteCodeQuery = exports.CheckInviteCodeDocument = exports.useUpdatePublisherMutation = exports.UpdatePublisherDocument = exports.useUpdateProjectMutation = exports.UpdateProjectDocument = exports.useUpdateProfileStatusMutation = exports.UpdateProfileStatusDocument = exports.useUpdateOpportunityArchivedStatusMutation = exports.UpdateOpportunityArchivedStatusDocument = exports.useUpdateOpportunityMutation = exports.UpdateOpportunityDocument = exports.useUpdateLeaderboardProjectHiddenStatusMutation = exports.UpdateLeaderboardProjectHiddenStatusDocument = exports.useUpdateLeaderboardMutation = exports.UpdateLeaderboardDocument = exports.useUpdateKpiSettingsMutation = exports.UpdateKpiSettingsDocument = exports.useUpdateCompanyTokenRateLimitsMutation = exports.UpdateCompanyTokenRateLimitsDocument = exports.useUpdateCategoryArchivedStatusMutation = exports.UpdateCategoryArchivedStatusDocument = exports.useUpdateCategoryMutation = exports.UpdateCategoryDocument = exports.useUpdateBrandArchivedStatusMutation = exports.UpdateBrandArchivedStatusDocument = exports.useUpdateBrandMutation = exports.UpdateBrandDocument = exports.useUpdateAirdropMutation = exports.UpdateAirdropDocument = exports.useRevokeCompanyTokenMutation = exports.RevokeCompanyTokenDocument = exports.useRemoveInviteCodeMutation = exports.RemoveInviteCodeDocument = exports.useAddInviteCodesMutation = exports.AddInviteCodesDocument = void 0;
|
|
28
|
+
exports.useFetchAdminProjectsPageLazyQuery = exports.useFetchAdminProjectsPageQuery = exports.FetchAdminProjectsPageDocument = exports.useFetchAdminProjectsLazyQuery = exports.useFetchAdminProjectsQuery = exports.FetchAdminProjectsDocument = exports.useFetchAdminOpportunitiesPageLazyQuery = exports.useFetchAdminOpportunitiesPageQuery = exports.FetchAdminOpportunitiesPageDocument = exports.useFetchAdminOpportunitiesByTypeLazyQuery = exports.useFetchAdminOpportunitiesByTypeQuery = exports.FetchAdminOpportunitiesByTypeDocument = exports.useFetchAdminInvitesPageLazyQuery = exports.useFetchAdminInvitesPageQuery = 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.useFetchAdminAirdropsPageLazyQuery = exports.useFetchAdminAirdropsPageQuery = exports.FetchAdminAirdropsPageDocument = exports.useFetchUserFeedbackPageLazyQuery = exports.useFetchUserFeedbackPageQuery = exports.FetchUserFeedbackPageDocument = exports.useFetchTiersPageLazyQuery = exports.useFetchTiersPageQuery = exports.FetchTiersPageDocument = exports.useFetchTiersLazyQuery = exports.useFetchTiersQuery = exports.FetchTiersDocument = exports.useFetchRegistrationInvitePageLazyQuery = exports.useFetchRegistrationInvitePageQuery = exports.FetchRegistrationInvitePageDocument = exports.useFetchReferralTypesPageLazyQuery = exports.useFetchReferralTypesPageQuery = exports.FetchReferralTypesPageDocument = exports.useFetchUnarchivedReferralTypesLazyQuery = exports.useFetchUnarchivedReferralTypesQuery = exports.FetchUnarchivedReferralTypesDocument = exports.useFetchPartnershipInquiryPageLazyQuery = exports.useFetchPartnershipInquiryPageQuery = void 0;
|
|
29
|
+
exports.useFetchProjectsKpiSettingsQuery = exports.FetchProjectsKpiSettingsDocument = exports.useFetchProjectReactionsInfoCsvLazyQuery = exports.useFetchProjectReactionsInfoCsvQuery = exports.FetchProjectReactionsInfoCsvDocument = exports.useFetchProjectLinksClicksInfoCsvLazyQuery = exports.useFetchProjectLinksClicksInfoCsvQuery = exports.FetchProjectLinksClicksInfoCsvDocument = exports.useFetchProjectAirdropRegistrationsInfoCsvLazyQuery = exports.useFetchProjectAirdropRegistrationsInfoCsvQuery = exports.FetchProjectAirdropRegistrationsInfoCsvDocument = exports.useFetchMonitoringPageLazyQuery = exports.useFetchMonitoringPageQuery = exports.FetchMonitoringPageDocument = exports.useFetchLeaderboardProjectsPageLazyQuery = exports.useFetchLeaderboardProjectsPageQuery = exports.FetchLeaderboardProjectsPageDocument = exports.useFetchLeaderboardLazyQuery = exports.useFetchLeaderboardQuery = exports.FetchLeaderboardDocument = exports.useFetchIncomesLazyQuery = exports.useFetchIncomesQuery = exports.FetchIncomesDocument = exports.useFetchFeaturePackPurchasePageLazyQuery = exports.useFetchFeaturePackPurchasePageQuery = exports.FetchFeaturePackPurchasePageDocument = exports.useFetchDefaultRateLimitsLazyQuery = exports.useFetchDefaultRateLimitsQuery = exports.FetchDefaultRateLimitsDocument = exports.useFetchCompanyTokensPageLazyQuery = exports.useFetchCompanyTokensPageQuery = exports.FetchCompanyTokensPageDocument = exports.useFetchBlockchainsLazyQuery = exports.useFetchBlockchainsQuery = exports.FetchBlockchainsDocument = exports.useFetchAllCountriesLazyQuery = exports.useFetchAllCountriesQuery = exports.FetchAllCountriesDocument = exports.useFetchAlertingPageLazyQuery = exports.useFetchAlertingPageQuery = exports.FetchAlertingPageDocument = exports.useFetchAdminXpPageLazyQuery = exports.useFetchAdminXpPageQuery = exports.FetchAdminXpPageDocument = exports.useFetchAdminUsersPageLazyQuery = exports.useFetchAdminUsersPageQuery = exports.FetchAdminUsersPageDocument = exports.useFetchAdminReferralsPageLazyQuery = exports.useFetchAdminReferralsPageQuery = exports.FetchAdminReferralsPageDocument = void 0;
|
|
30
|
+
exports.useFetchProjectsKpiSettingsLazyQuery = void 0;
|
|
30
31
|
const client_1 = require("@apollo/client");
|
|
31
32
|
const Apollo = __importStar(require("@apollo/client"));
|
|
32
33
|
var IAccessType;
|
|
@@ -105,6 +106,11 @@ var IProjectType;
|
|
|
105
106
|
IProjectType["GameFi"] = "GAME_FI";
|
|
106
107
|
IProjectType["DeFi"] = "DE_FI";
|
|
107
108
|
})(IProjectType || (exports.IProjectType = IProjectType = {}));
|
|
109
|
+
var IPurchaseType;
|
|
110
|
+
(function (IPurchaseType) {
|
|
111
|
+
IPurchaseType["Xp"] = "XP";
|
|
112
|
+
IPurchaseType["Publisher"] = "PUBLISHER";
|
|
113
|
+
})(IPurchaseType || (exports.IPurchaseType = IPurchaseType = {}));
|
|
108
114
|
/** Sync with ReftypeColor.java */
|
|
109
115
|
var IReftypeColor;
|
|
110
116
|
(function (IReftypeColor) {
|
|
@@ -2498,6 +2504,103 @@ function useFetchDefaultRateLimitsLazyQuery(baseOptions) {
|
|
|
2498
2504
|
return Apollo.useLazyQuery(exports.FetchDefaultRateLimitsDocument, baseOptions);
|
|
2499
2505
|
}
|
|
2500
2506
|
exports.useFetchDefaultRateLimitsLazyQuery = useFetchDefaultRateLimitsLazyQuery;
|
|
2507
|
+
exports.FetchFeaturePackPurchasePageDocument = (0, client_1.gql) `
|
|
2508
|
+
query FetchFeaturePackPurchasePage($filter: FeaturePackPurchaseFilterInput!, $sort: FeaturePackPurchaseSortInput!, $page: AdminPageInput!) {
|
|
2509
|
+
fetchFeaturePackPurchasePage(filter: $filter, sort: $sort, page: $page) {
|
|
2510
|
+
purchases {
|
|
2511
|
+
userId
|
|
2512
|
+
username
|
|
2513
|
+
price
|
|
2514
|
+
purchasePrice
|
|
2515
|
+
featurePackId
|
|
2516
|
+
featurePackName
|
|
2517
|
+
purchaseType
|
|
2518
|
+
purchasedAt
|
|
2519
|
+
}
|
|
2520
|
+
nextPage {
|
|
2521
|
+
elements
|
|
2522
|
+
lastNum
|
|
2523
|
+
num
|
|
2524
|
+
size
|
|
2525
|
+
token
|
|
2526
|
+
}
|
|
2527
|
+
}
|
|
2528
|
+
}
|
|
2529
|
+
`;
|
|
2530
|
+
/**
|
|
2531
|
+
* __useFetchFeaturePackPurchasePageQuery__
|
|
2532
|
+
*
|
|
2533
|
+
* To run a query within a React component, call `useFetchFeaturePackPurchasePageQuery` and pass it any options that fit your needs.
|
|
2534
|
+
* When your component renders, `useFetchFeaturePackPurchasePageQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
2535
|
+
* you can use to render your UI.
|
|
2536
|
+
*
|
|
2537
|
+
* @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;
|
|
2538
|
+
*
|
|
2539
|
+
* @example
|
|
2540
|
+
* const { data, loading, error } = useFetchFeaturePackPurchasePageQuery({
|
|
2541
|
+
* variables: {
|
|
2542
|
+
* filter: // value for 'filter'
|
|
2543
|
+
* sort: // value for 'sort'
|
|
2544
|
+
* page: // value for 'page'
|
|
2545
|
+
* },
|
|
2546
|
+
* });
|
|
2547
|
+
*/
|
|
2548
|
+
function useFetchFeaturePackPurchasePageQuery(baseOptions) {
|
|
2549
|
+
return Apollo.useQuery(exports.FetchFeaturePackPurchasePageDocument, baseOptions);
|
|
2550
|
+
}
|
|
2551
|
+
exports.useFetchFeaturePackPurchasePageQuery = useFetchFeaturePackPurchasePageQuery;
|
|
2552
|
+
function useFetchFeaturePackPurchasePageLazyQuery(baseOptions) {
|
|
2553
|
+
return Apollo.useLazyQuery(exports.FetchFeaturePackPurchasePageDocument, baseOptions);
|
|
2554
|
+
}
|
|
2555
|
+
exports.useFetchFeaturePackPurchasePageLazyQuery = useFetchFeaturePackPurchasePageLazyQuery;
|
|
2556
|
+
exports.FetchIncomesDocument = (0, client_1.gql) `
|
|
2557
|
+
query FetchIncomes($filter: IncomeFilterInput!, $sort: IncomeSortInput!, $page: AdminPageInput!) {
|
|
2558
|
+
fetchIncomes(filter: $filter, sort: $sort, page: $page) {
|
|
2559
|
+
incomes {
|
|
2560
|
+
userId
|
|
2561
|
+
username
|
|
2562
|
+
subject
|
|
2563
|
+
adminWalletBlockchain
|
|
2564
|
+
adminWalletAddress
|
|
2565
|
+
adminUsername
|
|
2566
|
+
createdAt
|
|
2567
|
+
}
|
|
2568
|
+
nextPage {
|
|
2569
|
+
elements
|
|
2570
|
+
lastNum
|
|
2571
|
+
num
|
|
2572
|
+
size
|
|
2573
|
+
token
|
|
2574
|
+
}
|
|
2575
|
+
}
|
|
2576
|
+
}
|
|
2577
|
+
`;
|
|
2578
|
+
/**
|
|
2579
|
+
* __useFetchIncomesQuery__
|
|
2580
|
+
*
|
|
2581
|
+
* To run a query within a React component, call `useFetchIncomesQuery` and pass it any options that fit your needs.
|
|
2582
|
+
* When your component renders, `useFetchIncomesQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
2583
|
+
* you can use to render your UI.
|
|
2584
|
+
*
|
|
2585
|
+
* @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;
|
|
2586
|
+
*
|
|
2587
|
+
* @example
|
|
2588
|
+
* const { data, loading, error } = useFetchIncomesQuery({
|
|
2589
|
+
* variables: {
|
|
2590
|
+
* filter: // value for 'filter'
|
|
2591
|
+
* sort: // value for 'sort'
|
|
2592
|
+
* page: // value for 'page'
|
|
2593
|
+
* },
|
|
2594
|
+
* });
|
|
2595
|
+
*/
|
|
2596
|
+
function useFetchIncomesQuery(baseOptions) {
|
|
2597
|
+
return Apollo.useQuery(exports.FetchIncomesDocument, baseOptions);
|
|
2598
|
+
}
|
|
2599
|
+
exports.useFetchIncomesQuery = useFetchIncomesQuery;
|
|
2600
|
+
function useFetchIncomesLazyQuery(baseOptions) {
|
|
2601
|
+
return Apollo.useLazyQuery(exports.FetchIncomesDocument, baseOptions);
|
|
2602
|
+
}
|
|
2603
|
+
exports.useFetchIncomesLazyQuery = useFetchIncomesLazyQuery;
|
|
2501
2604
|
exports.FetchLeaderboardDocument = (0, client_1.gql) `
|
|
2502
2605
|
query FetchLeaderboard($type: LeaderboardType!) {
|
|
2503
2606
|
fetchLeaderboard(type: $type) {
|
|
@@ -186,6 +186,7 @@ export type IMutation = {
|
|
|
186
186
|
updateProfile: Scalars['Boolean'];
|
|
187
187
|
followProfile: Scalars['Boolean'];
|
|
188
188
|
unfollowProfile: Scalars['Boolean'];
|
|
189
|
+
setEducatorBoost: Scalars['Boolean'];
|
|
189
190
|
};
|
|
190
191
|
export type IMutationCreateNonceArgs = {
|
|
191
192
|
address: Scalars['String'];
|
|
@@ -334,6 +335,7 @@ export type IMyProfileV2 = {
|
|
|
334
335
|
tierId?: Maybe<Scalars['String']>;
|
|
335
336
|
tierName?: Maybe<Scalars['String']>;
|
|
336
337
|
shareLink?: Maybe<Scalars['String']>;
|
|
338
|
+
boost?: Maybe<Scalars['String']>;
|
|
337
339
|
};
|
|
338
340
|
export type INonce = {
|
|
339
341
|
nonce: Scalars['String'];
|
|
@@ -711,6 +713,7 @@ export type IMutationResolvers<ContextType = any, ParentType extends IResolversP
|
|
|
711
713
|
updateProfile?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, Partial<IMutationUpdateProfileArgs>>;
|
|
712
714
|
followProfile?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationFollowProfileArgs, 'followingUserId'>>;
|
|
713
715
|
unfollowProfile?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationUnfollowProfileArgs, 'followingUserId'>>;
|
|
716
|
+
setEducatorBoost?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType>;
|
|
714
717
|
};
|
|
715
718
|
export type IMyProfileV2Resolvers<ContextType = any, ParentType extends IResolversParentTypes['MyProfileV2'] = IResolversParentTypes['MyProfileV2']> = {
|
|
716
719
|
userId?: Resolver<IResolversTypes['ID'], ParentType, ContextType>;
|
|
@@ -741,6 +744,7 @@ export type IMyProfileV2Resolvers<ContextType = any, ParentType extends IResolve
|
|
|
741
744
|
tierId?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
742
745
|
tierName?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
743
746
|
shareLink?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
747
|
+
boost?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
744
748
|
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
745
749
|
};
|
|
746
750
|
export type INonceResolvers<ContextType = any, ParentType extends IResolversParentTypes['Nonce'] = IResolversParentTypes['Nonce']> = {
|
|
@@ -949,6 +953,10 @@ export type ISaveEmailOfJoinerMutationVariables = Exact<{
|
|
|
949
953
|
isSubscribed: Scalars['Boolean'];
|
|
950
954
|
}>;
|
|
951
955
|
export type ISaveEmailOfJoinerMutation = Pick<IMutation, 'saveEmailOfJoiner'>;
|
|
956
|
+
export type ISetEducatorBoostMutationVariables = Exact<{
|
|
957
|
+
[key: string]: never;
|
|
958
|
+
}>;
|
|
959
|
+
export type ISetEducatorBoostMutation = Pick<IMutation, 'setEducatorBoost'>;
|
|
952
960
|
export type ISetMainWalletMutationVariables = Exact<{
|
|
953
961
|
blockchain: Scalars['String'];
|
|
954
962
|
address: Scalars['String'];
|
|
@@ -1096,7 +1104,7 @@ export type IFetchMyProfileV2QueryVariables = Exact<{
|
|
|
1096
1104
|
[key: string]: never;
|
|
1097
1105
|
}>;
|
|
1098
1106
|
export type IFetchMyProfileV2Query = {
|
|
1099
|
-
fetchMyProfileV2: (Pick<IMyProfileV2, 'userId' | 'username' | 'about' | 'userpic' | 'following' | 'followings' | 'followers' | 'views' | 'createdAt' | 'deletedAt' | 'visible' | 'active' | 'deleted' | 'showNsfw' | 'rank' | 'xps' | 'level' | 'levelMinXps' | 'levelMaxXps' | 'referralTypeId' | 'referralTypeName' | 'referralTypeColor' | 'shareLink'> & {
|
|
1107
|
+
fetchMyProfileV2: (Pick<IMyProfileV2, 'userId' | 'username' | 'about' | 'boost' | 'userpic' | 'following' | 'followings' | 'followers' | 'views' | 'createdAt' | 'deletedAt' | 'visible' | 'active' | 'deleted' | 'showNsfw' | 'rank' | 'xps' | 'level' | 'levelMinXps' | 'levelMaxXps' | 'referralTypeId' | 'referralTypeName' | 'referralTypeColor' | 'shareLink'> & {
|
|
1100
1108
|
social?: Maybe<Pick<ISocial, 'facebook' | 'twitter' | 'instagram' | 'website' | 'discordServer' | 'discordNickname' | 'telegramLink'>>;
|
|
1101
1109
|
wallets?: Maybe<Array<Maybe<Pick<IWallet, 'userId' | 'address' | 'walletName' | 'blockchain' | 'chainId' | 'mainWallet'>>>>;
|
|
1102
1110
|
inviteCodes?: Maybe<Array<Maybe<(Pick<IInviteCode, 'inviteCode' | 'isUsed' | 'maxUsagesLimit' | 'codeUsersNum'> & {
|
|
@@ -1555,6 +1563,30 @@ export declare function useSaveEmailOfJoinerMutation(baseOptions?: Apollo.Mutati
|
|
|
1555
1563
|
export type SaveEmailOfJoinerMutationHookResult = ReturnType<typeof useSaveEmailOfJoinerMutation>;
|
|
1556
1564
|
export type SaveEmailOfJoinerMutationResult = Apollo.MutationResult<ISaveEmailOfJoinerMutation>;
|
|
1557
1565
|
export type SaveEmailOfJoinerMutationOptions = Apollo.BaseMutationOptions<ISaveEmailOfJoinerMutation, ISaveEmailOfJoinerMutationVariables>;
|
|
1566
|
+
export declare const SetEducatorBoostDocument: Apollo.DocumentNode;
|
|
1567
|
+
export type ISetEducatorBoostMutationFn = Apollo.MutationFunction<ISetEducatorBoostMutation, ISetEducatorBoostMutationVariables>;
|
|
1568
|
+
/**
|
|
1569
|
+
* __useSetEducatorBoostMutation__
|
|
1570
|
+
*
|
|
1571
|
+
* To run a mutation, you first call `useSetEducatorBoostMutation` within a React component and pass it any options that fit your needs.
|
|
1572
|
+
* When your component renders, `useSetEducatorBoostMutation` returns a tuple that includes:
|
|
1573
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
1574
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
1575
|
+
*
|
|
1576
|
+
* @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
|
|
1577
|
+
*
|
|
1578
|
+
* @example
|
|
1579
|
+
* const [setEducatorBoostMutation, { data, loading, error }] = useSetEducatorBoostMutation({
|
|
1580
|
+
* variables: {
|
|
1581
|
+
* },
|
|
1582
|
+
* });
|
|
1583
|
+
*/
|
|
1584
|
+
export declare function useSetEducatorBoostMutation(baseOptions?: Apollo.MutationHookOptions<ISetEducatorBoostMutation, ISetEducatorBoostMutationVariables>): Apollo.MutationTuple<ISetEducatorBoostMutation, Exact<{
|
|
1585
|
+
[key: string]: never;
|
|
1586
|
+
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
1587
|
+
export type SetEducatorBoostMutationHookResult = ReturnType<typeof useSetEducatorBoostMutation>;
|
|
1588
|
+
export type SetEducatorBoostMutationResult = Apollo.MutationResult<ISetEducatorBoostMutation>;
|
|
1589
|
+
export type SetEducatorBoostMutationOptions = Apollo.BaseMutationOptions<ISetEducatorBoostMutation, ISetEducatorBoostMutationVariables>;
|
|
1558
1590
|
export declare const SetMainWalletDocument: Apollo.DocumentNode;
|
|
1559
1591
|
export type ISetMainWalletMutationFn = Apollo.MutationFunction<ISetMainWalletMutation, ISetMainWalletMutationVariables>;
|
|
1560
1592
|
/**
|
|
@@ -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.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 = exports.useVerifyMfaSecretMutation = exports.VerifyMfaSecretDocument = exports.useUpdateProfileMutation = exports.UpdateProfileDocument = exports.useSignInTonMutation = exports.SignInTonDocument = exports.useSignInTezosMutation = void 0;
|
|
26
|
+
exports.SignInSolanaDocument = exports.useSignInMetamaskMutation = exports.SignInMetamaskDocument = exports.useSignInFlowMutation = exports.SignInFlowDocument = exports.useSignInElrondMutation = exports.SignInElrondDocument = exports.useSignInAdminMetamaskMutation = exports.SignInAdminMetamaskDocument = exports.useSetMainWalletMutation = exports.SetMainWalletDocument = exports.useSetEducatorBoostMutation = exports.SetEducatorBoostDocument = 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.useCreateMfaSecretMutation = exports.CreateMfaSecretDocument = exports.useCreateEvmNonceMutation = exports.CreateEvmNonceDocument = exports.useCreateAdminNonceMutation = exports.CreateAdminNonceDocument = 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 = exports.IBlockchains = 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 = exports.useVerifyMfaSecretMutation = exports.VerifyMfaSecretDocument = exports.useUpdateProfileMutation = exports.UpdateProfileDocument = exports.useSignInTonMutation = exports.SignInTonDocument = exports.useSignInTezosMutation = exports.SignInTezosDocument = exports.useSignInSolanaMutation = void 0;
|
|
28
28
|
const client_1 = require("@apollo/client");
|
|
29
29
|
const Apollo = __importStar(require("@apollo/client"));
|
|
30
30
|
var IBlockchains;
|
|
@@ -541,6 +541,31 @@ function useSaveEmailOfJoinerMutation(baseOptions) {
|
|
|
541
541
|
return Apollo.useMutation(exports.SaveEmailOfJoinerDocument, baseOptions);
|
|
542
542
|
}
|
|
543
543
|
exports.useSaveEmailOfJoinerMutation = useSaveEmailOfJoinerMutation;
|
|
544
|
+
exports.SetEducatorBoostDocument = (0, client_1.gql) `
|
|
545
|
+
mutation SetEducatorBoost {
|
|
546
|
+
setEducatorBoost
|
|
547
|
+
}
|
|
548
|
+
`;
|
|
549
|
+
/**
|
|
550
|
+
* __useSetEducatorBoostMutation__
|
|
551
|
+
*
|
|
552
|
+
* To run a mutation, you first call `useSetEducatorBoostMutation` within a React component and pass it any options that fit your needs.
|
|
553
|
+
* When your component renders, `useSetEducatorBoostMutation` returns a tuple that includes:
|
|
554
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
555
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
556
|
+
*
|
|
557
|
+
* @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
|
|
558
|
+
*
|
|
559
|
+
* @example
|
|
560
|
+
* const [setEducatorBoostMutation, { data, loading, error }] = useSetEducatorBoostMutation({
|
|
561
|
+
* variables: {
|
|
562
|
+
* },
|
|
563
|
+
* });
|
|
564
|
+
*/
|
|
565
|
+
function useSetEducatorBoostMutation(baseOptions) {
|
|
566
|
+
return Apollo.useMutation(exports.SetEducatorBoostDocument, baseOptions);
|
|
567
|
+
}
|
|
568
|
+
exports.useSetEducatorBoostMutation = useSetEducatorBoostMutation;
|
|
544
569
|
exports.SetMainWalletDocument = (0, client_1.gql) `
|
|
545
570
|
mutation SetMainWallet($blockchain: String!, $address: String!, $chainId: String) {
|
|
546
571
|
setMainWallet(blockchain: $blockchain, address: $address, chainId: $chainId)
|
|
@@ -1101,6 +1126,7 @@ exports.FetchMyProfileV2Document = (0, client_1.gql) `
|
|
|
1101
1126
|
userId
|
|
1102
1127
|
username
|
|
1103
1128
|
about
|
|
1129
|
+
boost
|
|
1104
1130
|
userpic
|
|
1105
1131
|
following
|
|
1106
1132
|
followings
|
|
@@ -347,7 +347,7 @@ export type IProject = {
|
|
|
347
347
|
twitterSentiment?: Maybe<Scalars['Int']>;
|
|
348
348
|
communityVote?: Maybe<Scalars['Int']>;
|
|
349
349
|
verified?: Maybe<Scalars['Boolean']>;
|
|
350
|
-
snapshots?: Maybe<Array<
|
|
350
|
+
snapshots?: Maybe<Array<IProjectSnapshot>>;
|
|
351
351
|
reactions: IProjectReactions;
|
|
352
352
|
userReaction?: Maybe<IReactionType>;
|
|
353
353
|
votesGeo?: Maybe<Array<Maybe<IVotesGeolocation>>>;
|
|
@@ -366,6 +366,7 @@ export type IProject = {
|
|
|
366
366
|
communityVoteDetails?: Maybe<Array<ICommunityVoteDetails>>;
|
|
367
367
|
shareLink?: Maybe<Scalars['String']>;
|
|
368
368
|
airdropUpdatesSubscriptionIsActive?: Maybe<Scalars['Boolean']>;
|
|
369
|
+
hasActualSnapshots: Scalars['Boolean'];
|
|
369
370
|
};
|
|
370
371
|
export type IProjectAirdropRegistrationInput = {
|
|
371
372
|
blockchain: Scalars['String'];
|
|
@@ -845,7 +846,7 @@ export type IProjectResolvers<ContextType = any, ParentType extends IResolversPa
|
|
|
845
846
|
twitterSentiment?: Resolver<Maybe<IResolversTypes['Int']>, ParentType, ContextType>;
|
|
846
847
|
communityVote?: Resolver<Maybe<IResolversTypes['Int']>, ParentType, ContextType>;
|
|
847
848
|
verified?: Resolver<Maybe<IResolversTypes['Boolean']>, ParentType, ContextType>;
|
|
848
|
-
snapshots?: Resolver<Maybe<Array<
|
|
849
|
+
snapshots?: Resolver<Maybe<Array<IResolversTypes['ProjectSnapshot']>>, ParentType, ContextType>;
|
|
849
850
|
reactions?: Resolver<IResolversTypes['ProjectReactions'], ParentType, ContextType>;
|
|
850
851
|
userReaction?: Resolver<Maybe<IResolversTypes['ReactionType']>, ParentType, ContextType>;
|
|
851
852
|
votesGeo?: Resolver<Maybe<Array<Maybe<IResolversTypes['VotesGeolocation']>>>, ParentType, ContextType>;
|
|
@@ -864,6 +865,7 @@ export type IProjectResolvers<ContextType = any, ParentType extends IResolversPa
|
|
|
864
865
|
communityVoteDetails?: Resolver<Maybe<Array<IResolversTypes['CommunityVoteDetails']>>, ParentType, ContextType>;
|
|
865
866
|
shareLink?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
866
867
|
airdropUpdatesSubscriptionIsActive?: Resolver<Maybe<IResolversTypes['Boolean']>, ParentType, ContextType>;
|
|
868
|
+
hasActualSnapshots?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType>;
|
|
867
869
|
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
868
870
|
};
|
|
869
871
|
export type IProjectAlertingResolvers<ContextType = any, ParentType extends IResolversParentTypes['ProjectAlerting'] = IResolversParentTypes['ProjectAlerting']> = {
|
|
@@ -1150,10 +1152,10 @@ export type IFetchProjectBySlugQueryVariables = Exact<{
|
|
|
1150
1152
|
slug: Scalars['String'];
|
|
1151
1153
|
}>;
|
|
1152
1154
|
export type IFetchProjectBySlugQuery = {
|
|
1153
|
-
fetchProjectBySlug: (Pick<IProject, 'blockchain' | 'contract' | 'name' | 'slug' | 'symbol' | 'website' | 'twitter' | 'type' | 'ludoRank' | 'investors' | 'holders' | 'volume' | 'marketCap' | 'liquidity' | 'price' | 'twitterFollowers' | 'twitterSentiment' | 'verified' | 'mediaUrl' | 'originalMediaUrl' | 'alertsSubscriptionIsActive' | 'monitored' | 'airdropUpdatesSubscriptionIsActive' | 'shareLink' | 'userReaction' | 'communityVote' | 'hideDiagrams'> & {
|
|
1155
|
+
fetchProjectBySlug: (Pick<IProject, 'blockchain' | 'contract' | 'name' | 'slug' | 'symbol' | 'website' | 'twitter' | 'type' | 'ludoRank' | 'investors' | 'holders' | 'volume' | 'marketCap' | 'liquidity' | 'price' | 'twitterFollowers' | 'twitterSentiment' | 'verified' | 'mediaUrl' | 'originalMediaUrl' | 'alertsSubscriptionIsActive' | 'monitored' | 'airdropUpdatesSubscriptionIsActive' | 'hasActualSnapshots' | 'shareLink' | 'userReaction' | 'communityVote' | 'hideDiagrams'> & {
|
|
1154
1156
|
publisher?: Maybe<Pick<IPublisher, 'userId' | 'username' | 'userpic' | 'rank'>>;
|
|
1155
1157
|
status?: Maybe<Pick<IProjectStatus, 'monitored' | 'removalReason' | 'removalDate'>>;
|
|
1156
|
-
snapshots?: Maybe<Array<
|
|
1158
|
+
snapshots?: Maybe<Array<Pick<IProjectSnapshot, 'date' | 'contract' | 'blockchain' | 'volume' | 'marketCap' | 'price' | 'liquidity' | 'xFollowers' | 'holders' | 'ludoRank'>>>;
|
|
1157
1159
|
reactions: Pick<IProjectReactions, 'likes' | 'neutrals' | 'dislikes'>;
|
|
1158
1160
|
votesGeo?: Maybe<Array<Maybe<Pick<IVotesGeolocation, 'country' | 'votes' | 'votesPercentage'>>>>;
|
|
1159
1161
|
airdrops?: Maybe<Array<Maybe<(Pick<IOpportunityV2, 'opportunityId' | 'projectId' | 'categoryId' | 'opportunityStatus' | 'opportunityType' | 'notificationType' | 'name' | 'description' | 'categoryName' | 'ludoUrl' | 'projectUrl' | 'activeFrom' | 'activeUntil' | 'minXpLevel' | 'maxXpLevel' | 'minRank' | 'maxRank' | 'media' | 'reportLink' | 'clicks' | 'views' | 'blockchain' | 'blockchains' | 'collection' | 'createdAt' | 'minWalletValue' | 'maxWalletValue' | 'shareLink' | 'liked' | 'geolocations' | 'subscribed' | 'participantsLimit' | 'availablePlacesForAirdrop'> & {
|