@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
package/package.json
CHANGED
|
@@ -22,6 +22,8 @@ export type Scalars = {
|
|
|
22
22
|
|
|
23
23
|
|
|
24
24
|
|
|
25
|
+
|
|
26
|
+
|
|
25
27
|
export enum IAccessType {
|
|
26
28
|
Public = 'PUBLIC',
|
|
27
29
|
Restricted = 'RESTRICTED'
|
|
@@ -621,15 +623,20 @@ export type IFeaturePackPurchase = {
|
|
|
621
623
|
userId: Scalars['String'];
|
|
622
624
|
username?: Maybe<Scalars['String']>;
|
|
623
625
|
price: Scalars['Float'];
|
|
626
|
+
purchasePrice?: Maybe<Scalars['Float']>;
|
|
624
627
|
featurePackId: Scalars['String'];
|
|
625
628
|
featurePackName: Scalars['String'];
|
|
629
|
+
purchaseType: IPurchaseType;
|
|
630
|
+
purchasedAt: Scalars['Long'];
|
|
626
631
|
};
|
|
627
632
|
|
|
628
633
|
export type IFeaturePackPurchaseFilterInput = {
|
|
629
634
|
userIdTerm?: Maybe<Scalars['String']>;
|
|
630
635
|
usernameTerm?: Maybe<Scalars['String']>;
|
|
636
|
+
purchaseType?: Maybe<IPurchaseType>;
|
|
631
637
|
price?: Maybe<Scalars['Float']>;
|
|
632
638
|
featurePackId?: Maybe<Scalars['String']>;
|
|
639
|
+
purchasedAt?: Maybe<Scalars['Long']>;
|
|
633
640
|
};
|
|
634
641
|
|
|
635
642
|
export type IFeaturePackPurchasePage = {
|
|
@@ -640,6 +647,7 @@ export type IFeaturePackPurchasePage = {
|
|
|
640
647
|
export type IFeaturePackPurchaseSortInput = {
|
|
641
648
|
sortByUsername?: Maybe<ISort>;
|
|
642
649
|
sortByFeaturePack?: Maybe<ISort>;
|
|
650
|
+
sortByPurchasedAt?: Maybe<ISort>;
|
|
643
651
|
};
|
|
644
652
|
|
|
645
653
|
export type IFormOpportunityFilterInput = {
|
|
@@ -665,6 +673,33 @@ export type IFormOpportunitySortInput = {
|
|
|
665
673
|
sortByEndDate?: Maybe<ISort>;
|
|
666
674
|
};
|
|
667
675
|
|
|
676
|
+
export type IIncome = {
|
|
677
|
+
userId: Scalars['String'];
|
|
678
|
+
username?: Maybe<Scalars['String']>;
|
|
679
|
+
subject: Scalars['String'];
|
|
680
|
+
adminWalletBlockchain?: Maybe<Scalars['String']>;
|
|
681
|
+
adminWalletAddress?: Maybe<Scalars['String']>;
|
|
682
|
+
adminUsername?: Maybe<Scalars['String']>;
|
|
683
|
+
createdAt: Scalars['Long'];
|
|
684
|
+
};
|
|
685
|
+
|
|
686
|
+
export type IIncomeFilterInput = {
|
|
687
|
+
userIdTerm?: Maybe<Scalars['String']>;
|
|
688
|
+
usernameTerm?: Maybe<Scalars['String']>;
|
|
689
|
+
subjectTerm?: Maybe<Scalars['String']>;
|
|
690
|
+
adminWalletTerm?: Maybe<Scalars['String']>;
|
|
691
|
+
createdAt?: Maybe<Scalars['Long']>;
|
|
692
|
+
};
|
|
693
|
+
|
|
694
|
+
export type IIncomePage = {
|
|
695
|
+
incomes?: Maybe<Array<IIncome>>;
|
|
696
|
+
nextPage?: Maybe<IAdminPage>;
|
|
697
|
+
};
|
|
698
|
+
|
|
699
|
+
export type IIncomeSortInput = {
|
|
700
|
+
sortByCreatedAt?: Maybe<ISort>;
|
|
701
|
+
};
|
|
702
|
+
|
|
668
703
|
export type IInvestorInquiryFilterInput = {
|
|
669
704
|
idTerm?: Maybe<Scalars['String']>;
|
|
670
705
|
userIdTerm?: Maybe<Scalars['String']>;
|
|
@@ -1154,6 +1189,11 @@ export type IPublisherInput = {
|
|
|
1154
1189
|
activeUntil: Scalars['Long'];
|
|
1155
1190
|
};
|
|
1156
1191
|
|
|
1192
|
+
export enum IPurchaseType {
|
|
1193
|
+
Xp = 'XP',
|
|
1194
|
+
Publisher = 'PUBLISHER'
|
|
1195
|
+
}
|
|
1196
|
+
|
|
1157
1197
|
export type IQuery = {
|
|
1158
1198
|
getDummy: Scalars['String'];
|
|
1159
1199
|
fetchFeaturePackPurchasePage: IFeaturePackPurchasePage;
|
|
@@ -1164,6 +1204,7 @@ export type IQuery = {
|
|
|
1164
1204
|
fetchPartnershipInquiryPage: IPartnershipInquiryPage;
|
|
1165
1205
|
fetchUserFeedbackPage: IUserFeedbackPage;
|
|
1166
1206
|
fetchRegistrationInvitePage: IRegistrationInvitePage;
|
|
1207
|
+
fetchIncomes: IIncomePage;
|
|
1167
1208
|
fetchAdminInvitesPage: IInvitesPage;
|
|
1168
1209
|
checkInviteCode: ICheckInviteCodeData;
|
|
1169
1210
|
fetchLeaderboard: ILeaderboard;
|
|
@@ -1255,6 +1296,13 @@ export type IQueryFetchRegistrationInvitePageArgs = {
|
|
|
1255
1296
|
};
|
|
1256
1297
|
|
|
1257
1298
|
|
|
1299
|
+
export type IQueryFetchIncomesArgs = {
|
|
1300
|
+
filter: IIncomeFilterInput;
|
|
1301
|
+
sort: IIncomeSortInput;
|
|
1302
|
+
page: IAdminPageInput;
|
|
1303
|
+
};
|
|
1304
|
+
|
|
1305
|
+
|
|
1258
1306
|
export type IQueryFetchAdminInvitesPageArgs = {
|
|
1259
1307
|
filter: IInvitesFilterInput;
|
|
1260
1308
|
sort: IInvitesSortInput;
|
|
@@ -1842,6 +1890,10 @@ export type IResolversTypes = {
|
|
|
1842
1890
|
FormOpportunityFilterInput: IFormOpportunityFilterInput;
|
|
1843
1891
|
FormOpportunityPage: ResolverTypeWrapper<IFormOpportunityPage>;
|
|
1844
1892
|
FormOpportunitySortInput: IFormOpportunitySortInput;
|
|
1893
|
+
Income: ResolverTypeWrapper<IIncome>;
|
|
1894
|
+
IncomeFilterInput: IIncomeFilterInput;
|
|
1895
|
+
IncomePage: ResolverTypeWrapper<IIncomePage>;
|
|
1896
|
+
IncomeSortInput: IIncomeSortInput;
|
|
1845
1897
|
InvestorInquiryFilterInput: IInvestorInquiryFilterInput;
|
|
1846
1898
|
InvestorInquiryPage: ResolverTypeWrapper<IInvestorInquiryPage>;
|
|
1847
1899
|
InvestorInquirySortInput: IInvestorInquirySortInput;
|
|
@@ -1875,6 +1927,7 @@ export type IResolversTypes = {
|
|
|
1875
1927
|
ProjectsKPISettingInput: IProjectsKpiSettingInput;
|
|
1876
1928
|
ProjectsKPISettingsInput: IProjectsKpiSettingsInput;
|
|
1877
1929
|
PublisherInput: IPublisherInput;
|
|
1930
|
+
PurchaseType: IPurchaseType;
|
|
1878
1931
|
Query: ResolverTypeWrapper<{}>;
|
|
1879
1932
|
RateLimits: ResolverTypeWrapper<IRateLimits>;
|
|
1880
1933
|
RateLimitsInput: IRateLimitsInput;
|
|
@@ -1989,6 +2042,10 @@ export type IResolversParentTypes = {
|
|
|
1989
2042
|
FormOpportunityFilterInput: IFormOpportunityFilterInput;
|
|
1990
2043
|
FormOpportunityPage: IFormOpportunityPage;
|
|
1991
2044
|
FormOpportunitySortInput: IFormOpportunitySortInput;
|
|
2045
|
+
Income: IIncome;
|
|
2046
|
+
IncomeFilterInput: IIncomeFilterInput;
|
|
2047
|
+
IncomePage: IIncomePage;
|
|
2048
|
+
IncomeSortInput: IIncomeSortInput;
|
|
1992
2049
|
InvestorInquiryFilterInput: IInvestorInquiryFilterInput;
|
|
1993
2050
|
InvestorInquiryPage: IInvestorInquiryPage;
|
|
1994
2051
|
InvestorInquirySortInput: IInvestorInquirySortInput;
|
|
@@ -2069,6 +2126,17 @@ export type IRangeDirectiveArgs = {
|
|
|
2069
2126
|
|
|
2070
2127
|
export type IRangeDirectiveResolver<Result, Parent, ContextType = any, Args = IRangeDirectiveArgs> = DirectiveResolverFn<Result, Parent, ContextType, Args>;
|
|
2071
2128
|
|
|
2129
|
+
export type IDeferDirectiveArgs = {
|
|
2130
|
+
if?: Scalars['Boolean'];
|
|
2131
|
+
label?: Maybe<Scalars['String']>;
|
|
2132
|
+
};
|
|
2133
|
+
|
|
2134
|
+
export type IDeferDirectiveResolver<Result, Parent, ContextType = any, Args = IDeferDirectiveArgs> = DirectiveResolverFn<Result, Parent, ContextType, Args>;
|
|
2135
|
+
|
|
2136
|
+
export type IExperimental_DisableErrorPropagationDirectiveArgs = { };
|
|
2137
|
+
|
|
2138
|
+
export type IExperimental_DisableErrorPropagationDirectiveResolver<Result, Parent, ContextType = any, Args = IExperimental_DisableErrorPropagationDirectiveArgs> = DirectiveResolverFn<Result, Parent, ContextType, Args>;
|
|
2139
|
+
|
|
2072
2140
|
export type IOneOfDirectiveArgs = { };
|
|
2073
2141
|
|
|
2074
2142
|
export type IOneOfDirectiveResolver<Result, Parent, ContextType = any, Args = IOneOfDirectiveArgs> = DirectiveResolverFn<Result, Parent, ContextType, Args>;
|
|
@@ -2442,8 +2510,11 @@ export type IFeaturePackPurchaseResolvers<ContextType = any, ParentType extends
|
|
|
2442
2510
|
userId?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
|
|
2443
2511
|
username?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
2444
2512
|
price?: Resolver<IResolversTypes['Float'], ParentType, ContextType>;
|
|
2513
|
+
purchasePrice?: Resolver<Maybe<IResolversTypes['Float']>, ParentType, ContextType>;
|
|
2445
2514
|
featurePackId?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
|
|
2446
2515
|
featurePackName?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
|
|
2516
|
+
purchaseType?: Resolver<IResolversTypes['PurchaseType'], ParentType, ContextType>;
|
|
2517
|
+
purchasedAt?: Resolver<IResolversTypes['Long'], ParentType, ContextType>;
|
|
2447
2518
|
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
2448
2519
|
};
|
|
2449
2520
|
|
|
@@ -2459,6 +2530,23 @@ export type IFormOpportunityPageResolvers<ContextType = any, ParentType extends
|
|
|
2459
2530
|
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
2460
2531
|
};
|
|
2461
2532
|
|
|
2533
|
+
export type IIncomeResolvers<ContextType = any, ParentType extends IResolversParentTypes['Income'] = IResolversParentTypes['Income']> = {
|
|
2534
|
+
userId?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
|
|
2535
|
+
username?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
2536
|
+
subject?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
|
|
2537
|
+
adminWalletBlockchain?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
2538
|
+
adminWalletAddress?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
2539
|
+
adminUsername?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
2540
|
+
createdAt?: Resolver<IResolversTypes['Long'], ParentType, ContextType>;
|
|
2541
|
+
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
2542
|
+
};
|
|
2543
|
+
|
|
2544
|
+
export type IIncomePageResolvers<ContextType = any, ParentType extends IResolversParentTypes['IncomePage'] = IResolversParentTypes['IncomePage']> = {
|
|
2545
|
+
incomes?: Resolver<Maybe<Array<IResolversTypes['Income']>>, ParentType, ContextType>;
|
|
2546
|
+
nextPage?: Resolver<Maybe<IResolversTypes['AdminPage']>, ParentType, ContextType>;
|
|
2547
|
+
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
2548
|
+
};
|
|
2549
|
+
|
|
2462
2550
|
export type IInvestorInquiryPageResolvers<ContextType = any, ParentType extends IResolversParentTypes['InvestorInquiryPage'] = IResolversParentTypes['InvestorInquiryPage']> = {
|
|
2463
2551
|
investorInquiries?: Resolver<Array<IResolversTypes['AdminInvestorInquiry']>, ParentType, ContextType>;
|
|
2464
2552
|
nextPage?: Resolver<Maybe<IResolversTypes['AdminPage']>, ParentType, ContextType>;
|
|
@@ -2579,6 +2667,7 @@ export type IQueryResolvers<ContextType = any, ParentType extends IResolversPare
|
|
|
2579
2667
|
fetchPartnershipInquiryPage?: Resolver<IResolversTypes['PartnershipInquiryPage'], ParentType, ContextType, RequireFields<IQueryFetchPartnershipInquiryPageArgs, 'filter' | 'sort' | 'page'>>;
|
|
2580
2668
|
fetchUserFeedbackPage?: Resolver<IResolversTypes['UserFeedbackPage'], ParentType, ContextType, RequireFields<IQueryFetchUserFeedbackPageArgs, 'filter' | 'sort' | 'page'>>;
|
|
2581
2669
|
fetchRegistrationInvitePage?: Resolver<IResolversTypes['RegistrationInvitePage'], ParentType, ContextType, RequireFields<IQueryFetchRegistrationInvitePageArgs, 'filter' | 'sort' | 'page'>>;
|
|
2670
|
+
fetchIncomes?: Resolver<IResolversTypes['IncomePage'], ParentType, ContextType, RequireFields<IQueryFetchIncomesArgs, 'filter' | 'sort' | 'page'>>;
|
|
2582
2671
|
fetchAdminInvitesPage?: Resolver<IResolversTypes['InvitesPage'], ParentType, ContextType, RequireFields<IQueryFetchAdminInvitesPageArgs, 'filter' | 'sort' | 'page'>>;
|
|
2583
2672
|
checkInviteCode?: Resolver<IResolversTypes['CheckInviteCodeData'], ParentType, ContextType, RequireFields<IQueryCheckInviteCodeArgs, 'code'>>;
|
|
2584
2673
|
fetchLeaderboard?: Resolver<IResolversTypes['Leaderboard'], ParentType, ContextType, RequireFields<IQueryFetchLeaderboardArgs, 'type'>>;
|
|
@@ -2777,6 +2866,8 @@ export type IResolvers<ContextType = any> = {
|
|
|
2777
2866
|
FeaturePackPurchase?: IFeaturePackPurchaseResolvers<ContextType>;
|
|
2778
2867
|
FeaturePackPurchasePage?: IFeaturePackPurchasePageResolvers<ContextType>;
|
|
2779
2868
|
FormOpportunityPage?: IFormOpportunityPageResolvers<ContextType>;
|
|
2869
|
+
Income?: IIncomeResolvers<ContextType>;
|
|
2870
|
+
IncomePage?: IIncomePageResolvers<ContextType>;
|
|
2780
2871
|
InvestorInquiryPage?: IInvestorInquiryPageResolvers<ContextType>;
|
|
2781
2872
|
InvitesPage?: IInvitesPageResolvers<ContextType>;
|
|
2782
2873
|
Leaderboard?: ILeaderboardResolvers<ContextType>;
|
|
@@ -2811,6 +2902,8 @@ export type IResolvers<ContextType = any> = {
|
|
|
2811
2902
|
export type IDirectiveResolvers<ContextType = any> = {
|
|
2812
2903
|
Min?: IMinDirectiveResolver<any, any, ContextType>;
|
|
2813
2904
|
Range?: IRangeDirectiveResolver<any, any, ContextType>;
|
|
2905
|
+
defer?: IDeferDirectiveResolver<any, any, ContextType>;
|
|
2906
|
+
experimental_disableErrorPropagation?: IExperimental_DisableErrorPropagationDirectiveResolver<any, any, ContextType>;
|
|
2814
2907
|
oneOf?: IOneOfDirectiveResolver<any, any, ContextType>;
|
|
2815
2908
|
};
|
|
2816
2909
|
|
|
@@ -3341,6 +3434,24 @@ export type IFetchDefaultRateLimitsQueryVariables = Exact<{
|
|
|
3341
3434
|
|
|
3342
3435
|
export type IFetchDefaultRateLimitsQuery = { fetchDefaultRateLimits: Pick<IRateLimits, 'requestsPerSecond' | 'requestsPerMinute' | 'requestsPerHour' | 'requestsPerDay' | 'computingUnits'> };
|
|
3343
3436
|
|
|
3437
|
+
export type IFetchFeaturePackPurchasePageQueryVariables = Exact<{
|
|
3438
|
+
filter: IFeaturePackPurchaseFilterInput;
|
|
3439
|
+
sort: IFeaturePackPurchaseSortInput;
|
|
3440
|
+
page: IAdminPageInput;
|
|
3441
|
+
}>;
|
|
3442
|
+
|
|
3443
|
+
|
|
3444
|
+
export type IFetchFeaturePackPurchasePageQuery = { fetchFeaturePackPurchasePage: { purchases?: Maybe<Array<Pick<IFeaturePackPurchase, 'userId' | 'username' | 'price' | 'purchasePrice' | 'featurePackId' | 'featurePackName' | 'purchaseType' | 'purchasedAt'>>>, nextPage?: Maybe<Pick<IAdminPage, 'elements' | 'lastNum' | 'num' | 'size' | 'token'>> } };
|
|
3445
|
+
|
|
3446
|
+
export type IFetchIncomesQueryVariables = Exact<{
|
|
3447
|
+
filter: IIncomeFilterInput;
|
|
3448
|
+
sort: IIncomeSortInput;
|
|
3449
|
+
page: IAdminPageInput;
|
|
3450
|
+
}>;
|
|
3451
|
+
|
|
3452
|
+
|
|
3453
|
+
export type IFetchIncomesQuery = { fetchIncomes: { incomes?: Maybe<Array<Pick<IIncome, 'userId' | 'username' | 'subject' | 'adminWalletBlockchain' | 'adminWalletAddress' | 'adminUsername' | 'createdAt'>>>, nextPage?: Maybe<Pick<IAdminPage, 'elements' | 'lastNum' | 'num' | 'size' | 'token'>> } };
|
|
3454
|
+
|
|
3344
3455
|
export type IFetchLeaderboardQueryVariables = Exact<{
|
|
3345
3456
|
type: ILeaderboardType;
|
|
3346
3457
|
}>;
|
|
@@ -5952,6 +6063,107 @@ export function useFetchDefaultRateLimitsLazyQuery(baseOptions?: Apollo.LazyQuer
|
|
|
5952
6063
|
export type FetchDefaultRateLimitsQueryHookResult = ReturnType<typeof useFetchDefaultRateLimitsQuery>;
|
|
5953
6064
|
export type FetchDefaultRateLimitsLazyQueryHookResult = ReturnType<typeof useFetchDefaultRateLimitsLazyQuery>;
|
|
5954
6065
|
export type FetchDefaultRateLimitsQueryResult = Apollo.QueryResult<IFetchDefaultRateLimitsQuery, IFetchDefaultRateLimitsQueryVariables>;
|
|
6066
|
+
export const FetchFeaturePackPurchasePageDocument = gql`
|
|
6067
|
+
query FetchFeaturePackPurchasePage($filter: FeaturePackPurchaseFilterInput!, $sort: FeaturePackPurchaseSortInput!, $page: AdminPageInput!) {
|
|
6068
|
+
fetchFeaturePackPurchasePage(filter: $filter, sort: $sort, page: $page) {
|
|
6069
|
+
purchases {
|
|
6070
|
+
userId
|
|
6071
|
+
username
|
|
6072
|
+
price
|
|
6073
|
+
purchasePrice
|
|
6074
|
+
featurePackId
|
|
6075
|
+
featurePackName
|
|
6076
|
+
purchaseType
|
|
6077
|
+
purchasedAt
|
|
6078
|
+
}
|
|
6079
|
+
nextPage {
|
|
6080
|
+
elements
|
|
6081
|
+
lastNum
|
|
6082
|
+
num
|
|
6083
|
+
size
|
|
6084
|
+
token
|
|
6085
|
+
}
|
|
6086
|
+
}
|
|
6087
|
+
}
|
|
6088
|
+
`;
|
|
6089
|
+
|
|
6090
|
+
/**
|
|
6091
|
+
* __useFetchFeaturePackPurchasePageQuery__
|
|
6092
|
+
*
|
|
6093
|
+
* To run a query within a React component, call `useFetchFeaturePackPurchasePageQuery` and pass it any options that fit your needs.
|
|
6094
|
+
* When your component renders, `useFetchFeaturePackPurchasePageQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
6095
|
+
* you can use to render your UI.
|
|
6096
|
+
*
|
|
6097
|
+
* @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;
|
|
6098
|
+
*
|
|
6099
|
+
* @example
|
|
6100
|
+
* const { data, loading, error } = useFetchFeaturePackPurchasePageQuery({
|
|
6101
|
+
* variables: {
|
|
6102
|
+
* filter: // value for 'filter'
|
|
6103
|
+
* sort: // value for 'sort'
|
|
6104
|
+
* page: // value for 'page'
|
|
6105
|
+
* },
|
|
6106
|
+
* });
|
|
6107
|
+
*/
|
|
6108
|
+
export function useFetchFeaturePackPurchasePageQuery(baseOptions: Apollo.QueryHookOptions<IFetchFeaturePackPurchasePageQuery, IFetchFeaturePackPurchasePageQueryVariables>) {
|
|
6109
|
+
return Apollo.useQuery<IFetchFeaturePackPurchasePageQuery, IFetchFeaturePackPurchasePageQueryVariables>(FetchFeaturePackPurchasePageDocument, baseOptions);
|
|
6110
|
+
}
|
|
6111
|
+
export function useFetchFeaturePackPurchasePageLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<IFetchFeaturePackPurchasePageQuery, IFetchFeaturePackPurchasePageQueryVariables>) {
|
|
6112
|
+
return Apollo.useLazyQuery<IFetchFeaturePackPurchasePageQuery, IFetchFeaturePackPurchasePageQueryVariables>(FetchFeaturePackPurchasePageDocument, baseOptions);
|
|
6113
|
+
}
|
|
6114
|
+
export type FetchFeaturePackPurchasePageQueryHookResult = ReturnType<typeof useFetchFeaturePackPurchasePageQuery>;
|
|
6115
|
+
export type FetchFeaturePackPurchasePageLazyQueryHookResult = ReturnType<typeof useFetchFeaturePackPurchasePageLazyQuery>;
|
|
6116
|
+
export type FetchFeaturePackPurchasePageQueryResult = Apollo.QueryResult<IFetchFeaturePackPurchasePageQuery, IFetchFeaturePackPurchasePageQueryVariables>;
|
|
6117
|
+
export const FetchIncomesDocument = gql`
|
|
6118
|
+
query FetchIncomes($filter: IncomeFilterInput!, $sort: IncomeSortInput!, $page: AdminPageInput!) {
|
|
6119
|
+
fetchIncomes(filter: $filter, sort: $sort, page: $page) {
|
|
6120
|
+
incomes {
|
|
6121
|
+
userId
|
|
6122
|
+
username
|
|
6123
|
+
subject
|
|
6124
|
+
adminWalletBlockchain
|
|
6125
|
+
adminWalletAddress
|
|
6126
|
+
adminUsername
|
|
6127
|
+
createdAt
|
|
6128
|
+
}
|
|
6129
|
+
nextPage {
|
|
6130
|
+
elements
|
|
6131
|
+
lastNum
|
|
6132
|
+
num
|
|
6133
|
+
size
|
|
6134
|
+
token
|
|
6135
|
+
}
|
|
6136
|
+
}
|
|
6137
|
+
}
|
|
6138
|
+
`;
|
|
6139
|
+
|
|
6140
|
+
/**
|
|
6141
|
+
* __useFetchIncomesQuery__
|
|
6142
|
+
*
|
|
6143
|
+
* To run a query within a React component, call `useFetchIncomesQuery` and pass it any options that fit your needs.
|
|
6144
|
+
* When your component renders, `useFetchIncomesQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
6145
|
+
* you can use to render your UI.
|
|
6146
|
+
*
|
|
6147
|
+
* @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;
|
|
6148
|
+
*
|
|
6149
|
+
* @example
|
|
6150
|
+
* const { data, loading, error } = useFetchIncomesQuery({
|
|
6151
|
+
* variables: {
|
|
6152
|
+
* filter: // value for 'filter'
|
|
6153
|
+
* sort: // value for 'sort'
|
|
6154
|
+
* page: // value for 'page'
|
|
6155
|
+
* },
|
|
6156
|
+
* });
|
|
6157
|
+
*/
|
|
6158
|
+
export function useFetchIncomesQuery(baseOptions: Apollo.QueryHookOptions<IFetchIncomesQuery, IFetchIncomesQueryVariables>) {
|
|
6159
|
+
return Apollo.useQuery<IFetchIncomesQuery, IFetchIncomesQueryVariables>(FetchIncomesDocument, baseOptions);
|
|
6160
|
+
}
|
|
6161
|
+
export function useFetchIncomesLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<IFetchIncomesQuery, IFetchIncomesQueryVariables>) {
|
|
6162
|
+
return Apollo.useLazyQuery<IFetchIncomesQuery, IFetchIncomesQueryVariables>(FetchIncomesDocument, baseOptions);
|
|
6163
|
+
}
|
|
6164
|
+
export type FetchIncomesQueryHookResult = ReturnType<typeof useFetchIncomesQuery>;
|
|
6165
|
+
export type FetchIncomesLazyQueryHookResult = ReturnType<typeof useFetchIncomesLazyQuery>;
|
|
6166
|
+
export type FetchIncomesQueryResult = Apollo.QueryResult<IFetchIncomesQuery, IFetchIncomesQueryVariables>;
|
|
5955
6167
|
export const FetchLeaderboardDocument = gql`
|
|
5956
6168
|
query FetchLeaderboard($type: LeaderboardType!) {
|
|
5957
6169
|
fetchLeaderboard(type: $type) {
|
|
@@ -411,7 +411,7 @@ export type IProject = {
|
|
|
411
411
|
twitterSentiment?: Maybe<Scalars['Int']>;
|
|
412
412
|
communityVote?: Maybe<Scalars['Int']>;
|
|
413
413
|
verified?: Maybe<Scalars['Boolean']>;
|
|
414
|
-
snapshots?: Maybe<Array<
|
|
414
|
+
snapshots?: Maybe<Array<IProjectSnapshot>>;
|
|
415
415
|
reactions: IProjectReactions;
|
|
416
416
|
userReaction?: Maybe<IReactionType>;
|
|
417
417
|
votesGeo?: Maybe<Array<Maybe<IVotesGeolocation>>>;
|
|
@@ -430,6 +430,7 @@ export type IProject = {
|
|
|
430
430
|
communityVoteDetails?: Maybe<Array<ICommunityVoteDetails>>;
|
|
431
431
|
shareLink?: Maybe<Scalars['String']>;
|
|
432
432
|
airdropUpdatesSubscriptionIsActive?: Maybe<Scalars['Boolean']>;
|
|
433
|
+
hasActualSnapshots: Scalars['Boolean'];
|
|
433
434
|
};
|
|
434
435
|
|
|
435
436
|
export type IProjectAirdropRegistrationInput = {
|
|
@@ -1010,7 +1011,7 @@ export type IProjectResolvers<ContextType = any, ParentType extends IResolversPa
|
|
|
1010
1011
|
twitterSentiment?: Resolver<Maybe<IResolversTypes['Int']>, ParentType, ContextType>;
|
|
1011
1012
|
communityVote?: Resolver<Maybe<IResolversTypes['Int']>, ParentType, ContextType>;
|
|
1012
1013
|
verified?: Resolver<Maybe<IResolversTypes['Boolean']>, ParentType, ContextType>;
|
|
1013
|
-
snapshots?: Resolver<Maybe<Array<
|
|
1014
|
+
snapshots?: Resolver<Maybe<Array<IResolversTypes['ProjectSnapshot']>>, ParentType, ContextType>;
|
|
1014
1015
|
reactions?: Resolver<IResolversTypes['ProjectReactions'], ParentType, ContextType>;
|
|
1015
1016
|
userReaction?: Resolver<Maybe<IResolversTypes['ReactionType']>, ParentType, ContextType>;
|
|
1016
1017
|
votesGeo?: Resolver<Maybe<Array<Maybe<IResolversTypes['VotesGeolocation']>>>, ParentType, ContextType>;
|
|
@@ -1029,6 +1030,7 @@ export type IProjectResolvers<ContextType = any, ParentType extends IResolversPa
|
|
|
1029
1030
|
communityVoteDetails?: Resolver<Maybe<Array<IResolversTypes['CommunityVoteDetails']>>, ParentType, ContextType>;
|
|
1030
1031
|
shareLink?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
1031
1032
|
airdropUpdatesSubscriptionIsActive?: Resolver<Maybe<IResolversTypes['Boolean']>, ParentType, ContextType>;
|
|
1033
|
+
hasActualSnapshots?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType>;
|
|
1032
1034
|
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
1033
1035
|
};
|
|
1034
1036
|
|
|
@@ -1340,10 +1342,16 @@ export type IFetchOpportunityBySlugQuery = { fetchOpportunityBySlug: Pick<IOppor
|
|
|
1340
1342
|
export type IFetchProfileOpportunitiesQueryVariables = Exact<{ [key: string]: never; }>;
|
|
1341
1343
|
|
|
1342
1344
|
|
|
1343
|
-
export type IFetchProfileOpportunitiesQuery = { fetchProfileOpportunities: { newOpportunities?: Maybe<Array<Maybe<
|
|
1345
|
+
export type IFetchProfileOpportunitiesQuery = { fetchProfileOpportunities: { newOpportunities?: Maybe<Array<Maybe<(
|
|
1344
1346
|
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'>
|
|
1345
|
-
& { project?: Maybe<Pick<IProject, 'name' | 'symbol' | 'originalMediaUrl' | 'mediaUrl'>> }
|
|
1346
|
-
)>>>,
|
|
1347
|
+
& { project?: Maybe<Pick<IProject, 'name' | 'contract' | 'symbol' | 'originalMediaUrl' | 'mediaUrl'>> }
|
|
1348
|
+
)>>>, recentOpportunities?: Maybe<Array<Maybe<(
|
|
1349
|
+
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'>
|
|
1350
|
+
& { project?: Maybe<Pick<IProject, 'name' | 'contract' | 'symbol' | 'originalMediaUrl' | 'mediaUrl'>> }
|
|
1351
|
+
)>>>, eventOpportunities?: Maybe<Array<Maybe<(
|
|
1352
|
+
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'>
|
|
1353
|
+
& { project?: Maybe<Pick<IProject, 'name' | 'contract' | 'symbol' | 'originalMediaUrl' | 'mediaUrl'>> }
|
|
1354
|
+
)>>> } };
|
|
1347
1355
|
|
|
1348
1356
|
export type IFetchProjectQueryVariables = Exact<{
|
|
1349
1357
|
blockchain: Scalars['String'];
|
|
@@ -1376,10 +1384,10 @@ export type IFetchProjectBySlugQueryVariables = Exact<{
|
|
|
1376
1384
|
|
|
1377
1385
|
|
|
1378
1386
|
export type IFetchProjectBySlugQuery = { fetchProjectBySlug: (
|
|
1379
|
-
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'>
|
|
1380
|
-
& { publisher?: Maybe<Pick<IPublisher, 'userId' | 'username' | 'userpic' | 'rank'>>, status?: Maybe<Pick<IProjectStatus, 'monitored' | 'removalReason' | 'removalDate'>>, snapshots?: Maybe<Array<
|
|
1387
|
+
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'>
|
|
1388
|
+
& { publisher?: Maybe<Pick<IPublisher, 'userId' | 'username' | 'userpic' | 'rank'>>, status?: Maybe<Pick<IProjectStatus, 'monitored' | 'removalReason' | 'removalDate'>>, snapshots?: Maybe<Array<Pick<IProjectSnapshot, 'date' | 'contract' | 'blockchain' | 'volume' | 'marketCap' | 'price' | 'liquidity' | 'xFollowers' | 'holders' | 'ludoRank'>>>, reactions: Pick<IProjectReactions, 'likes' | 'neutrals' | 'dislikes'>, votesGeo?: Maybe<Array<Maybe<Pick<IVotesGeolocation, 'country' | 'votes' | 'votesPercentage'>>>>, airdrops?: Maybe<Array<Maybe<(
|
|
1381
1389
|
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'>
|
|
1382
|
-
& { project?: Maybe<Pick<IProject, 'name' | 'symbol' | 'originalMediaUrl' | 'mediaUrl'>> }
|
|
1390
|
+
& { project?: Maybe<Pick<IProject, 'name' | 'contract' | 'symbol' | 'originalMediaUrl' | 'mediaUrl'>> }
|
|
1383
1391
|
)>>>, opportunities?: Maybe<Array<Maybe<(
|
|
1384
1392
|
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'>
|
|
1385
1393
|
& { project?: Maybe<Pick<IProject, 'name' | 'symbol' | 'originalMediaUrl' | 'mediaUrl'>> }
|
|
@@ -2460,6 +2468,13 @@ export const FetchProfileOpportunitiesDocument = gql`
|
|
|
2460
2468
|
projectContract
|
|
2461
2469
|
projectName
|
|
2462
2470
|
projectSlug
|
|
2471
|
+
project {
|
|
2472
|
+
name
|
|
2473
|
+
contract
|
|
2474
|
+
symbol
|
|
2475
|
+
originalMediaUrl
|
|
2476
|
+
mediaUrl
|
|
2477
|
+
}
|
|
2463
2478
|
categoryName
|
|
2464
2479
|
ludoUrl
|
|
2465
2480
|
projectUrl
|
|
@@ -2502,6 +2517,7 @@ export const FetchProfileOpportunitiesDocument = gql`
|
|
|
2502
2517
|
projectSlug
|
|
2503
2518
|
project {
|
|
2504
2519
|
name
|
|
2520
|
+
contract
|
|
2505
2521
|
symbol
|
|
2506
2522
|
originalMediaUrl
|
|
2507
2523
|
mediaUrl
|
|
@@ -2547,6 +2563,13 @@ export const FetchProfileOpportunitiesDocument = gql`
|
|
|
2547
2563
|
projectName
|
|
2548
2564
|
projectSlug
|
|
2549
2565
|
categoryName
|
|
2566
|
+
project {
|
|
2567
|
+
name
|
|
2568
|
+
contract
|
|
2569
|
+
symbol
|
|
2570
|
+
originalMediaUrl
|
|
2571
|
+
mediaUrl
|
|
2572
|
+
}
|
|
2550
2573
|
ludoUrl
|
|
2551
2574
|
projectUrl
|
|
2552
2575
|
activeFrom
|
|
@@ -2743,6 +2766,7 @@ export const FetchProjectBySlugDocument = gql`
|
|
|
2743
2766
|
alertsSubscriptionIsActive
|
|
2744
2767
|
monitored
|
|
2745
2768
|
airdropUpdatesSubscriptionIsActive
|
|
2769
|
+
hasActualSnapshots
|
|
2746
2770
|
publisher {
|
|
2747
2771
|
userId
|
|
2748
2772
|
username
|
|
@@ -2814,6 +2838,7 @@ export const FetchProjectBySlugDocument = gql`
|
|
|
2814
2838
|
availablePlacesForAirdrop
|
|
2815
2839
|
project {
|
|
2816
2840
|
name
|
|
2841
|
+
contract
|
|
2817
2842
|
symbol
|
|
2818
2843
|
originalMediaUrl
|
|
2819
2844
|
mediaUrl
|