@ludo.ninja/api 3.2.37 → 3.2.39
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__/opportunitiesHost/schema.d.ts +14 -8
- package/build/graphql_tools/__generated__/opportunitiesHost/schema.js +17 -0
- package/build/index.d.ts +39 -0
- package/package.json +1 -1
- package/src/graphql_tools/__generated__/adminHost/schema.ts +212 -0
- package/src/graphql_tools/__generated__/opportunitiesHost/schema.ts +33 -8
- 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) {
|
|
@@ -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']> = {
|
|
@@ -1114,11 +1116,15 @@ export type IFetchProfileOpportunitiesQueryVariables = Exact<{
|
|
|
1114
1116
|
}>;
|
|
1115
1117
|
export type IFetchProfileOpportunitiesQuery = {
|
|
1116
1118
|
fetchProfileOpportunities: {
|
|
1117
|
-
newOpportunities?: Maybe<Array<Maybe<Pick<IOpportunityV2, 'opportunityId' | 'projectId' | 'categoryId' | 'opportunityStatus' | 'opportunityType' | 'notificationType' | 'name' | 'description' | 'projectBlockchain' | 'projectContract' | 'projectName' | 'projectSlug' | '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' | 'slug'
|
|
1119
|
+
newOpportunities?: Maybe<Array<Maybe<(Pick<IOpportunityV2, 'opportunityId' | 'projectId' | 'categoryId' | 'opportunityStatus' | 'opportunityType' | 'notificationType' | 'name' | 'description' | 'projectBlockchain' | 'projectContract' | 'projectName' | 'projectSlug' | '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' | 'slug'> & {
|
|
1120
|
+
project?: Maybe<Pick<IProject, 'name' | 'contract' | 'symbol' | 'originalMediaUrl' | 'mediaUrl'>>;
|
|
1121
|
+
})>>>;
|
|
1118
1122
|
recentOpportunities?: Maybe<Array<Maybe<(Pick<IOpportunityV2, 'opportunityId' | 'projectId' | 'categoryId' | 'opportunityStatus' | 'opportunityType' | 'notificationType' | 'name' | 'description' | 'projectBlockchain' | 'projectContract' | 'projectName' | 'projectSlug' | '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' | 'slug'> & {
|
|
1119
|
-
project?: Maybe<Pick<IProject, 'name' | 'symbol' | 'originalMediaUrl' | 'mediaUrl'>>;
|
|
1123
|
+
project?: Maybe<Pick<IProject, 'name' | 'contract' | 'symbol' | 'originalMediaUrl' | 'mediaUrl'>>;
|
|
1124
|
+
})>>>;
|
|
1125
|
+
eventOpportunities?: Maybe<Array<Maybe<(Pick<IOpportunityV2, 'opportunityId' | 'projectId' | 'categoryId' | 'opportunityStatus' | 'opportunityType' | 'notificationType' | 'name' | 'description' | 'projectBlockchain' | 'projectContract' | 'projectName' | 'projectSlug' | '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' | 'slug'> & {
|
|
1126
|
+
project?: Maybe<Pick<IProject, 'name' | 'contract' | 'symbol' | 'originalMediaUrl' | 'mediaUrl'>>;
|
|
1120
1127
|
})>>>;
|
|
1121
|
-
eventOpportunities?: Maybe<Array<Maybe<Pick<IOpportunityV2, 'opportunityId' | 'projectId' | 'categoryId' | 'opportunityStatus' | 'opportunityType' | 'notificationType' | 'name' | 'description' | 'projectBlockchain' | 'projectContract' | 'projectName' | 'projectSlug' | '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' | 'slug'>>>>;
|
|
1122
1128
|
};
|
|
1123
1129
|
};
|
|
1124
1130
|
export type IFetchProjectQueryVariables = Exact<{
|
|
@@ -1146,14 +1152,14 @@ export type IFetchProjectBySlugQueryVariables = Exact<{
|
|
|
1146
1152
|
slug: Scalars['String'];
|
|
1147
1153
|
}>;
|
|
1148
1154
|
export type IFetchProjectBySlugQuery = {
|
|
1149
|
-
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'> & {
|
|
1150
1156
|
publisher?: Maybe<Pick<IPublisher, 'userId' | 'username' | 'userpic' | 'rank'>>;
|
|
1151
1157
|
status?: Maybe<Pick<IProjectStatus, 'monitored' | 'removalReason' | 'removalDate'>>;
|
|
1152
|
-
snapshots?: Maybe<Array<
|
|
1158
|
+
snapshots?: Maybe<Array<Pick<IProjectSnapshot, 'date' | 'contract' | 'blockchain' | 'volume' | 'marketCap' | 'price' | 'liquidity' | 'xFollowers' | 'holders' | 'ludoRank'>>>;
|
|
1153
1159
|
reactions: Pick<IProjectReactions, 'likes' | 'neutrals' | 'dislikes'>;
|
|
1154
1160
|
votesGeo?: Maybe<Array<Maybe<Pick<IVotesGeolocation, 'country' | 'votes' | 'votesPercentage'>>>>;
|
|
1155
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'> & {
|
|
1156
|
-
project?: Maybe<Pick<IProject, 'name' | 'symbol' | 'originalMediaUrl' | 'mediaUrl'>>;
|
|
1162
|
+
project?: Maybe<Pick<IProject, 'name' | 'contract' | 'symbol' | 'originalMediaUrl' | 'mediaUrl'>>;
|
|
1157
1163
|
})>>>;
|
|
1158
1164
|
opportunities?: 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'> & {
|
|
1159
1165
|
project?: Maybe<Pick<IProject, 'name' | 'symbol' | 'originalMediaUrl' | 'mediaUrl'>>;
|
|
@@ -1033,6 +1033,13 @@ exports.FetchProfileOpportunitiesDocument = (0, client_1.gql) `
|
|
|
1033
1033
|
projectContract
|
|
1034
1034
|
projectName
|
|
1035
1035
|
projectSlug
|
|
1036
|
+
project {
|
|
1037
|
+
name
|
|
1038
|
+
contract
|
|
1039
|
+
symbol
|
|
1040
|
+
originalMediaUrl
|
|
1041
|
+
mediaUrl
|
|
1042
|
+
}
|
|
1036
1043
|
categoryName
|
|
1037
1044
|
ludoUrl
|
|
1038
1045
|
projectUrl
|
|
@@ -1075,6 +1082,7 @@ exports.FetchProfileOpportunitiesDocument = (0, client_1.gql) `
|
|
|
1075
1082
|
projectSlug
|
|
1076
1083
|
project {
|
|
1077
1084
|
name
|
|
1085
|
+
contract
|
|
1078
1086
|
symbol
|
|
1079
1087
|
originalMediaUrl
|
|
1080
1088
|
mediaUrl
|
|
@@ -1120,6 +1128,13 @@ exports.FetchProfileOpportunitiesDocument = (0, client_1.gql) `
|
|
|
1120
1128
|
projectName
|
|
1121
1129
|
projectSlug
|
|
1122
1130
|
categoryName
|
|
1131
|
+
project {
|
|
1132
|
+
name
|
|
1133
|
+
contract
|
|
1134
|
+
symbol
|
|
1135
|
+
originalMediaUrl
|
|
1136
|
+
mediaUrl
|
|
1137
|
+
}
|
|
1123
1138
|
ludoUrl
|
|
1124
1139
|
projectUrl
|
|
1125
1140
|
activeFrom
|
|
@@ -1310,6 +1325,7 @@ exports.FetchProjectBySlugDocument = (0, client_1.gql) `
|
|
|
1310
1325
|
alertsSubscriptionIsActive
|
|
1311
1326
|
monitored
|
|
1312
1327
|
airdropUpdatesSubscriptionIsActive
|
|
1328
|
+
hasActualSnapshots
|
|
1313
1329
|
publisher {
|
|
1314
1330
|
userId
|
|
1315
1331
|
username
|
|
@@ -1381,6 +1397,7 @@ exports.FetchProjectBySlugDocument = (0, client_1.gql) `
|
|
|
1381
1397
|
availablePlacesForAirdrop
|
|
1382
1398
|
project {
|
|
1383
1399
|
name
|
|
1400
|
+
contract
|
|
1384
1401
|
symbol
|
|
1385
1402
|
originalMediaUrl
|
|
1386
1403
|
mediaUrl
|
package/build/index.d.ts
CHANGED
|
@@ -2436,6 +2436,42 @@ declare const schema: {
|
|
|
2436
2436
|
}>> | undefined): import("@apollo/client").LazyQueryResultTuple<adminSchema.IFetchDefaultRateLimitsQuery, adminSchema.Exact<{
|
|
2437
2437
|
tariffPlan: adminSchema.ITariffPlan;
|
|
2438
2438
|
}>>;
|
|
2439
|
+
useFetchFeaturePackPurchasePageQuery(baseOptions: import("@apollo/client").QueryHookOptions<adminSchema.IFetchFeaturePackPurchasePageQuery, adminSchema.Exact<{
|
|
2440
|
+
filter: adminSchema.IFeaturePackPurchaseFilterInput;
|
|
2441
|
+
sort: adminSchema.IFeaturePackPurchaseSortInput;
|
|
2442
|
+
page: adminSchema.IAdminPageInput;
|
|
2443
|
+
}>>): import("@apollo/client").QueryResult<adminSchema.IFetchFeaturePackPurchasePageQuery, adminSchema.Exact<{
|
|
2444
|
+
filter: adminSchema.IFeaturePackPurchaseFilterInput;
|
|
2445
|
+
sort: adminSchema.IFeaturePackPurchaseSortInput;
|
|
2446
|
+
page: adminSchema.IAdminPageInput;
|
|
2447
|
+
}>>;
|
|
2448
|
+
useFetchFeaturePackPurchasePageLazyQuery(baseOptions?: import("@apollo/client").LazyQueryHookOptions<adminSchema.IFetchFeaturePackPurchasePageQuery, adminSchema.Exact<{
|
|
2449
|
+
filter: adminSchema.IFeaturePackPurchaseFilterInput;
|
|
2450
|
+
sort: adminSchema.IFeaturePackPurchaseSortInput;
|
|
2451
|
+
page: adminSchema.IAdminPageInput;
|
|
2452
|
+
}>> | undefined): import("@apollo/client").LazyQueryResultTuple<adminSchema.IFetchFeaturePackPurchasePageQuery, adminSchema.Exact<{
|
|
2453
|
+
filter: adminSchema.IFeaturePackPurchaseFilterInput;
|
|
2454
|
+
sort: adminSchema.IFeaturePackPurchaseSortInput;
|
|
2455
|
+
page: adminSchema.IAdminPageInput;
|
|
2456
|
+
}>>;
|
|
2457
|
+
useFetchIncomesQuery(baseOptions: import("@apollo/client").QueryHookOptions<adminSchema.IFetchIncomesQuery, adminSchema.Exact<{
|
|
2458
|
+
filter: adminSchema.IIncomeFilterInput;
|
|
2459
|
+
sort: adminSchema.IIncomeSortInput;
|
|
2460
|
+
page: adminSchema.IAdminPageInput;
|
|
2461
|
+
}>>): import("@apollo/client").QueryResult<adminSchema.IFetchIncomesQuery, adminSchema.Exact<{
|
|
2462
|
+
filter: adminSchema.IIncomeFilterInput;
|
|
2463
|
+
sort: adminSchema.IIncomeSortInput;
|
|
2464
|
+
page: adminSchema.IAdminPageInput;
|
|
2465
|
+
}>>;
|
|
2466
|
+
useFetchIncomesLazyQuery(baseOptions?: import("@apollo/client").LazyQueryHookOptions<adminSchema.IFetchIncomesQuery, adminSchema.Exact<{
|
|
2467
|
+
filter: adminSchema.IIncomeFilterInput;
|
|
2468
|
+
sort: adminSchema.IIncomeSortInput;
|
|
2469
|
+
page: adminSchema.IAdminPageInput;
|
|
2470
|
+
}>> | undefined): import("@apollo/client").LazyQueryResultTuple<adminSchema.IFetchIncomesQuery, adminSchema.Exact<{
|
|
2471
|
+
filter: adminSchema.IIncomeFilterInput;
|
|
2472
|
+
sort: adminSchema.IIncomeSortInput;
|
|
2473
|
+
page: adminSchema.IAdminPageInput;
|
|
2474
|
+
}>>;
|
|
2439
2475
|
useFetchLeaderboardQuery(baseOptions: import("@apollo/client").QueryHookOptions<adminSchema.IFetchLeaderboardQuery, adminSchema.Exact<{
|
|
2440
2476
|
type: adminSchema.ILeaderboardType;
|
|
2441
2477
|
}>>): import("@apollo/client").QueryResult<adminSchema.IFetchLeaderboardQuery, adminSchema.Exact<{
|
|
@@ -2540,6 +2576,7 @@ declare const schema: {
|
|
|
2540
2576
|
ILocationType: typeof adminSchema.ILocationType;
|
|
2541
2577
|
INotificationDestination: typeof adminSchema.INotificationDestination;
|
|
2542
2578
|
IPayloadType: typeof adminSchema.IPayloadType;
|
|
2579
|
+
IPurchaseType: typeof adminSchema.IPurchaseType;
|
|
2543
2580
|
ITariffPlan: typeof adminSchema.ITariffPlan;
|
|
2544
2581
|
ITrafficReferralType: typeof adminSchema.ITrafficReferralType;
|
|
2545
2582
|
CreateReferralTypeDocument: import("graphql").DocumentNode;
|
|
@@ -2606,6 +2643,8 @@ declare const schema: {
|
|
|
2606
2643
|
FetchBlockchainsDocument: import("graphql").DocumentNode;
|
|
2607
2644
|
FetchCompanyTokensPageDocument: import("graphql").DocumentNode;
|
|
2608
2645
|
FetchDefaultRateLimitsDocument: import("graphql").DocumentNode;
|
|
2646
|
+
FetchFeaturePackPurchasePageDocument: import("graphql").DocumentNode;
|
|
2647
|
+
FetchIncomesDocument: import("graphql").DocumentNode;
|
|
2609
2648
|
FetchLeaderboardDocument: import("graphql").DocumentNode;
|
|
2610
2649
|
FetchLeaderboardProjectsPageDocument: import("graphql").DocumentNode;
|
|
2611
2650
|
FetchMonitoringPageDocument: import("graphql").DocumentNode;
|