@ludo.ninja/api 3.0.41 → 3.0.43
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 +202 -1
- package/build/graphql_tools/__generated__/adminHost/schema.js +116 -3
- package/build/graphql_tools/__generated__/searchHost/schema.d.ts +2 -1
- package/build/graphql_tools/__generated__/searchHost/schema.js +1 -0
- package/build/graphql_tools/__generated__/tapHost/schema.d.ts +48 -0
- package/build/graphql_tools/__generated__/tapHost/schema.js +76 -1
- package/build/index.d.ts +45 -11
- package/package.json +1 -1
- package/src/graphql_tools/__generated__/adminHost/schema.ts +251 -1
- package/src/graphql_tools/__generated__/searchHost/schema.ts +2 -1
- package/src/graphql_tools/__generated__/tapHost/schema.ts +98 -0
- package/tsconfig.tsbuildinfo +1 -1
|
@@ -212,6 +212,46 @@ export type IAdminPartnershipInquiry = {
|
|
|
212
212
|
partnershipType?: Maybe<Scalars['String']>;
|
|
213
213
|
ludoReferrerInfo?: Maybe<Scalars['String']>;
|
|
214
214
|
};
|
|
215
|
+
export type IAdminProject = {
|
|
216
|
+
id: Scalars['ID'];
|
|
217
|
+
name: Scalars['String'];
|
|
218
|
+
marketCap?: Maybe<Scalars['Int']>;
|
|
219
|
+
tradingVolume24h?: Maybe<Scalars['Float']>;
|
|
220
|
+
liquidity?: Maybe<Scalars['Float']>;
|
|
221
|
+
avgInvestorsUserRank?: Maybe<Scalars['Int']>;
|
|
222
|
+
vcBackers?: Maybe<Scalars['Int']>;
|
|
223
|
+
securityScore?: Maybe<Scalars['Int']>;
|
|
224
|
+
types: Array<IProjectType>;
|
|
225
|
+
hidden?: Maybe<Scalars['Boolean']>;
|
|
226
|
+
showcase?: Maybe<Scalars['Boolean']>;
|
|
227
|
+
};
|
|
228
|
+
export type IAdminProjectInput = {
|
|
229
|
+
name: Scalars['String'];
|
|
230
|
+
marketCap?: Maybe<Scalars['Int']>;
|
|
231
|
+
tradingVolume24h?: Maybe<Scalars['Float']>;
|
|
232
|
+
liquidity?: Maybe<Scalars['Float']>;
|
|
233
|
+
avgInvestorsUserRank?: Maybe<Scalars['Int']>;
|
|
234
|
+
vcBackers?: Maybe<Scalars['Int']>;
|
|
235
|
+
securityScore?: Maybe<Scalars['Int']>;
|
|
236
|
+
types: Array<IProjectType>;
|
|
237
|
+
hidden?: Maybe<Scalars['Boolean']>;
|
|
238
|
+
showcase?: Maybe<Scalars['Boolean']>;
|
|
239
|
+
};
|
|
240
|
+
export type IAdminProjectsFilterInput = {
|
|
241
|
+
marketCap?: Maybe<Scalars['Int']>;
|
|
242
|
+
liquidity?: Maybe<Scalars['Float']>;
|
|
243
|
+
vcBackers?: Maybe<Scalars['Int']>;
|
|
244
|
+
securityScore?: Maybe<Scalars['Int']>;
|
|
245
|
+
};
|
|
246
|
+
export type IAdminProjectsPage = {
|
|
247
|
+
projects: Array<IAdminProject>;
|
|
248
|
+
nextPage?: Maybe<IAdminPage>;
|
|
249
|
+
};
|
|
250
|
+
export type IAdminProjectsSortInput = {
|
|
251
|
+
sortByMarketCap?: Maybe<ISort>;
|
|
252
|
+
sortByLiquidity?: Maybe<ISort>;
|
|
253
|
+
sortBySecurityScore?: Maybe<ISort>;
|
|
254
|
+
};
|
|
215
255
|
export type IAdminReferral = {
|
|
216
256
|
userId: Scalars['ID'];
|
|
217
257
|
username?: Maybe<Scalars['String']>;
|
|
@@ -446,7 +486,8 @@ export type ILeaderboardInput = {
|
|
|
446
486
|
hidden: Scalars['Boolean'];
|
|
447
487
|
};
|
|
448
488
|
export declare enum ILeaderboardType {
|
|
449
|
-
Airdrops = "AIRDROPS"
|
|
489
|
+
Airdrops = "AIRDROPS",
|
|
490
|
+
Projects = "PROJECTS"
|
|
450
491
|
}
|
|
451
492
|
export type ILocation = {
|
|
452
493
|
name: Scalars['String'];
|
|
@@ -482,6 +523,8 @@ export type IMutation = {
|
|
|
482
523
|
updateOpportunityArchivedStatus: Scalars['Boolean'];
|
|
483
524
|
triggerOpportunityNotification: Scalars['Boolean'];
|
|
484
525
|
updateAirdrop: Scalars['Boolean'];
|
|
526
|
+
createProject: Scalars['Boolean'];
|
|
527
|
+
updateProject: Scalars['Boolean'];
|
|
485
528
|
createReferralType?: Maybe<Scalars['Boolean']>;
|
|
486
529
|
updateReferralType: Scalars['Boolean'];
|
|
487
530
|
updateReferralTypeArchivedStatus: Scalars['Boolean'];
|
|
@@ -559,6 +602,13 @@ export type IMutationUpdateAirdropArgs = {
|
|
|
559
602
|
input: IAdminAirdropInput;
|
|
560
603
|
file?: Maybe<Scalars['Upload']>;
|
|
561
604
|
};
|
|
605
|
+
export type IMutationCreateProjectArgs = {
|
|
606
|
+
input: IAdminProjectInput;
|
|
607
|
+
};
|
|
608
|
+
export type IMutationUpdateProjectArgs = {
|
|
609
|
+
id: Scalars['ID'];
|
|
610
|
+
input: IAdminProjectInput;
|
|
611
|
+
};
|
|
562
612
|
export type IMutationCreateReferralTypeArgs = {
|
|
563
613
|
input: IReferralTypeInput;
|
|
564
614
|
};
|
|
@@ -669,6 +719,12 @@ export type IPartnershipInquirySortInput = {
|
|
|
669
719
|
sortByProjectName?: Maybe<ISort>;
|
|
670
720
|
sortByPartnershipType?: Maybe<ISort>;
|
|
671
721
|
};
|
|
722
|
+
export declare enum IProjectType {
|
|
723
|
+
MemeCoins = "MEME_COINS",
|
|
724
|
+
AiAgents = "AI_AGENTS",
|
|
725
|
+
GameFi = "GAME_FI",
|
|
726
|
+
DeFi = "DE_FI"
|
|
727
|
+
}
|
|
672
728
|
export type IQuery = {
|
|
673
729
|
getDummy: Scalars['String'];
|
|
674
730
|
fetchContactSupportPage: IContactSupportPage;
|
|
@@ -690,6 +746,7 @@ export type IQuery = {
|
|
|
690
746
|
fetchAdminBrandsPage: IBrandsPage;
|
|
691
747
|
fetchBlockchains: Array<Scalars['String']>;
|
|
692
748
|
fetchAdminAirdropsPage: IOpportunitiesPage;
|
|
749
|
+
fetchProjectsPage: IAdminProjectsPage;
|
|
693
750
|
fetchAdminReferralsPage: IReferralsPage;
|
|
694
751
|
fetchUnarchivedReferralTypes: Array<IReferralType>;
|
|
695
752
|
fetchReferralTypesPage: IReferralTypesPage;
|
|
@@ -767,6 +824,11 @@ export type IQueryFetchAdminAirdropsPageArgs = {
|
|
|
767
824
|
sort?: Maybe<IAirdropsLeaderboardSortInput>;
|
|
768
825
|
page: IAdminPageInput;
|
|
769
826
|
};
|
|
827
|
+
export type IQueryFetchProjectsPageArgs = {
|
|
828
|
+
filter: IAdminProjectsFilterInput;
|
|
829
|
+
sort: IAdminProjectsSortInput;
|
|
830
|
+
page: IAdminPageInput;
|
|
831
|
+
};
|
|
770
832
|
export type IQueryFetchAdminReferralsPageArgs = {
|
|
771
833
|
filter: IReferralsFilterInput;
|
|
772
834
|
sort: IReferralsSortInput;
|
|
@@ -1053,6 +1115,11 @@ export type IResolversTypes = {
|
|
|
1053
1115
|
AdminPage: ResolverTypeWrapper<IAdminPage>;
|
|
1054
1116
|
AdminPageInput: IAdminPageInput;
|
|
1055
1117
|
AdminPartnershipInquiry: ResolverTypeWrapper<IAdminPartnershipInquiry>;
|
|
1118
|
+
AdminProject: ResolverTypeWrapper<IAdminProject>;
|
|
1119
|
+
AdminProjectInput: IAdminProjectInput;
|
|
1120
|
+
AdminProjectsFilterInput: IAdminProjectsFilterInput;
|
|
1121
|
+
AdminProjectsPage: ResolverTypeWrapper<IAdminProjectsPage>;
|
|
1122
|
+
AdminProjectsSortInput: IAdminProjectsSortInput;
|
|
1056
1123
|
AdminReferral: ResolverTypeWrapper<IAdminReferral>;
|
|
1057
1124
|
AdminUser: ResolverTypeWrapper<IAdminUser>;
|
|
1058
1125
|
AdminXp: ResolverTypeWrapper<IAdminXp>;
|
|
@@ -1101,6 +1168,7 @@ export type IResolversTypes = {
|
|
|
1101
1168
|
PartnershipInquiryFilterInput: IPartnershipInquiryFilterInput;
|
|
1102
1169
|
PartnershipInquiryPage: ResolverTypeWrapper<IPartnershipInquiryPage>;
|
|
1103
1170
|
PartnershipInquirySortInput: IPartnershipInquirySortInput;
|
|
1171
|
+
ProjectType: IProjectType;
|
|
1104
1172
|
Query: ResolverTypeWrapper<{}>;
|
|
1105
1173
|
ReferralLink: ResolverTypeWrapper<IReferralLink>;
|
|
1106
1174
|
ReferralType: ResolverTypeWrapper<IReferralType>;
|
|
@@ -1158,6 +1226,11 @@ export type IResolversParentTypes = {
|
|
|
1158
1226
|
AdminPage: IAdminPage;
|
|
1159
1227
|
AdminPageInput: IAdminPageInput;
|
|
1160
1228
|
AdminPartnershipInquiry: IAdminPartnershipInquiry;
|
|
1229
|
+
AdminProject: IAdminProject;
|
|
1230
|
+
AdminProjectInput: IAdminProjectInput;
|
|
1231
|
+
AdminProjectsFilterInput: IAdminProjectsFilterInput;
|
|
1232
|
+
AdminProjectsPage: IAdminProjectsPage;
|
|
1233
|
+
AdminProjectsSortInput: IAdminProjectsSortInput;
|
|
1161
1234
|
AdminReferral: IAdminReferral;
|
|
1162
1235
|
AdminUser: IAdminUser;
|
|
1163
1236
|
AdminXp: IAdminXp;
|
|
@@ -1396,6 +1469,25 @@ export type IAdminPartnershipInquiryResolvers<ContextType = any, ParentType exte
|
|
|
1396
1469
|
ludoReferrerInfo?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
1397
1470
|
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
1398
1471
|
};
|
|
1472
|
+
export type IAdminProjectResolvers<ContextType = any, ParentType extends IResolversParentTypes['AdminProject'] = IResolversParentTypes['AdminProject']> = {
|
|
1473
|
+
id?: Resolver<IResolversTypes['ID'], ParentType, ContextType>;
|
|
1474
|
+
name?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
|
|
1475
|
+
marketCap?: Resolver<Maybe<IResolversTypes['Int']>, ParentType, ContextType>;
|
|
1476
|
+
tradingVolume24h?: Resolver<Maybe<IResolversTypes['Float']>, ParentType, ContextType>;
|
|
1477
|
+
liquidity?: Resolver<Maybe<IResolversTypes['Float']>, ParentType, ContextType>;
|
|
1478
|
+
avgInvestorsUserRank?: Resolver<Maybe<IResolversTypes['Int']>, ParentType, ContextType>;
|
|
1479
|
+
vcBackers?: Resolver<Maybe<IResolversTypes['Int']>, ParentType, ContextType>;
|
|
1480
|
+
securityScore?: Resolver<Maybe<IResolversTypes['Int']>, ParentType, ContextType>;
|
|
1481
|
+
types?: Resolver<Array<IResolversTypes['ProjectType']>, ParentType, ContextType>;
|
|
1482
|
+
hidden?: Resolver<Maybe<IResolversTypes['Boolean']>, ParentType, ContextType>;
|
|
1483
|
+
showcase?: Resolver<Maybe<IResolversTypes['Boolean']>, ParentType, ContextType>;
|
|
1484
|
+
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
1485
|
+
};
|
|
1486
|
+
export type IAdminProjectsPageResolvers<ContextType = any, ParentType extends IResolversParentTypes['AdminProjectsPage'] = IResolversParentTypes['AdminProjectsPage']> = {
|
|
1487
|
+
projects?: Resolver<Array<IResolversTypes['AdminProject']>, ParentType, ContextType>;
|
|
1488
|
+
nextPage?: Resolver<Maybe<IResolversTypes['AdminPage']>, ParentType, ContextType>;
|
|
1489
|
+
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
1490
|
+
};
|
|
1399
1491
|
export type IAdminReferralResolvers<ContextType = any, ParentType extends IResolversParentTypes['AdminReferral'] = IResolversParentTypes['AdminReferral']> = {
|
|
1400
1492
|
userId?: Resolver<IResolversTypes['ID'], ParentType, ContextType>;
|
|
1401
1493
|
username?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
@@ -1520,6 +1612,8 @@ export type IMutationResolvers<ContextType = any, ParentType extends IResolversP
|
|
|
1520
1612
|
updateOpportunityArchivedStatus?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationUpdateOpportunityArchivedStatusArgs, 'id' | 'isArchived'>>;
|
|
1521
1613
|
triggerOpportunityNotification?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationTriggerOpportunityNotificationArgs, 'opportunityId'>>;
|
|
1522
1614
|
updateAirdrop?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationUpdateAirdropArgs, 'id' | 'input'>>;
|
|
1615
|
+
createProject?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationCreateProjectArgs, 'input'>>;
|
|
1616
|
+
updateProject?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationUpdateProjectArgs, 'id' | 'input'>>;
|
|
1523
1617
|
createReferralType?: Resolver<Maybe<IResolversTypes['Boolean']>, ParentType, ContextType, RequireFields<IMutationCreateReferralTypeArgs, 'input'>>;
|
|
1524
1618
|
updateReferralType?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationUpdateReferralTypeArgs, 'id' | 'input'>>;
|
|
1525
1619
|
updateReferralTypeArchivedStatus?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationUpdateReferralTypeArchivedStatusArgs, 'id' | 'archived'>>;
|
|
@@ -1562,6 +1656,7 @@ export type IQueryResolvers<ContextType = any, ParentType extends IResolversPare
|
|
|
1562
1656
|
fetchAdminBrandsPage?: Resolver<IResolversTypes['BrandsPage'], ParentType, ContextType, RequireFields<IQueryFetchAdminBrandsPageArgs, 'filter' | 'sort' | 'page'>>;
|
|
1563
1657
|
fetchBlockchains?: Resolver<Array<IResolversTypes['String']>, ParentType, ContextType>;
|
|
1564
1658
|
fetchAdminAirdropsPage?: Resolver<IResolversTypes['OpportunitiesPage'], ParentType, ContextType, RequireFields<IQueryFetchAdminAirdropsPageArgs, 'filter' | 'page'>>;
|
|
1659
|
+
fetchProjectsPage?: Resolver<IResolversTypes['AdminProjectsPage'], ParentType, ContextType, RequireFields<IQueryFetchProjectsPageArgs, 'filter' | 'sort' | 'page'>>;
|
|
1565
1660
|
fetchAdminReferralsPage?: Resolver<IResolversTypes['ReferralsPage'], ParentType, ContextType, RequireFields<IQueryFetchAdminReferralsPageArgs, 'filter' | 'sort' | 'page'>>;
|
|
1566
1661
|
fetchUnarchivedReferralTypes?: Resolver<Array<IResolversTypes['ReferralType']>, ParentType, ContextType>;
|
|
1567
1662
|
fetchReferralTypesPage?: Resolver<IResolversTypes['ReferralTypesPage'], ParentType, ContextType, RequireFields<IQueryFetchReferralTypesPageArgs, 'filter' | 'sort' | 'page'>>;
|
|
@@ -1680,6 +1775,8 @@ export type IResolvers<ContextType = any> = {
|
|
|
1680
1775
|
AdminOpportunity?: IAdminOpportunityResolvers<ContextType>;
|
|
1681
1776
|
AdminPage?: IAdminPageResolvers<ContextType>;
|
|
1682
1777
|
AdminPartnershipInquiry?: IAdminPartnershipInquiryResolvers<ContextType>;
|
|
1778
|
+
AdminProject?: IAdminProjectResolvers<ContextType>;
|
|
1779
|
+
AdminProjectsPage?: IAdminProjectsPageResolvers<ContextType>;
|
|
1683
1780
|
AdminReferral?: IAdminReferralResolvers<ContextType>;
|
|
1684
1781
|
AdminUser?: IAdminUserResolvers<ContextType>;
|
|
1685
1782
|
AdminXp?: IAdminXpResolvers<ContextType>;
|
|
@@ -1782,6 +1879,10 @@ export type ICreateAdminOpportunityMutationVariables = Exact<{
|
|
|
1782
1879
|
input: IAdminOpportunityInput;
|
|
1783
1880
|
}>;
|
|
1784
1881
|
export type ICreateAdminOpportunityMutation = Pick<IMutation, 'createAdminOpportunity'>;
|
|
1882
|
+
export type ICreateProjectMutationVariables = Exact<{
|
|
1883
|
+
input: IAdminProjectInput;
|
|
1884
|
+
}>;
|
|
1885
|
+
export type ICreateProjectMutation = Pick<IMutation, 'createProject'>;
|
|
1785
1886
|
export type IAddInviteCodesMutationVariables = Exact<{
|
|
1786
1887
|
userId: Scalars['String'];
|
|
1787
1888
|
codesNum: Scalars['Int'];
|
|
@@ -1840,6 +1941,11 @@ export type IUpdateProfileStatusMutationVariables = Exact<{
|
|
|
1840
1941
|
isActive: Scalars['Boolean'];
|
|
1841
1942
|
}>;
|
|
1842
1943
|
export type IUpdateProfileStatusMutation = Pick<IMutation, 'updateProfileStatus'>;
|
|
1944
|
+
export type IUpdateProjectMutationVariables = Exact<{
|
|
1945
|
+
id: Scalars['ID'];
|
|
1946
|
+
input: IAdminProjectInput;
|
|
1947
|
+
}>;
|
|
1948
|
+
export type IUpdateProjectMutation = Pick<IMutation, 'updateProject'>;
|
|
1843
1949
|
export type ICheckInviteCodeQueryVariables = Exact<{
|
|
1844
1950
|
code: Scalars['String'];
|
|
1845
1951
|
}>;
|
|
@@ -2030,6 +2136,17 @@ export type IFetchAdminOpportunitiesPageQuery = {
|
|
|
2030
2136
|
nextPage?: Maybe<Pick<IAdminPage, 'elements' | 'lastNum' | 'num' | 'size' | 'token'>>;
|
|
2031
2137
|
};
|
|
2032
2138
|
};
|
|
2139
|
+
export type IFetchAdminProjectsPageQueryVariables = Exact<{
|
|
2140
|
+
filter: IAdminProjectsFilterInput;
|
|
2141
|
+
sort: IAdminProjectsSortInput;
|
|
2142
|
+
page: IAdminPageInput;
|
|
2143
|
+
}>;
|
|
2144
|
+
export type IFetchAdminProjectsPageQuery = {
|
|
2145
|
+
fetchProjectsPage: {
|
|
2146
|
+
projects: Array<Pick<IAdminProject, 'id' | 'name' | 'marketCap' | 'tradingVolume24h' | 'liquidity' | 'avgInvestorsUserRank' | 'vcBackers' | 'securityScore' | 'types' | 'hidden' | 'showcase'>>;
|
|
2147
|
+
nextPage?: Maybe<Pick<IAdminPage, 'elements' | 'lastNum' | 'num' | 'size' | 'token'>>;
|
|
2148
|
+
};
|
|
2149
|
+
};
|
|
2033
2150
|
export type IFetchAdminReferralsPageQueryVariables = Exact<{
|
|
2034
2151
|
filter: IReferralsFilterInput;
|
|
2035
2152
|
sort: IReferralsSortInput;
|
|
@@ -2431,6 +2548,31 @@ export declare function useCreateAdminOpportunityMutation(baseOptions?: Apollo.M
|
|
|
2431
2548
|
export type CreateAdminOpportunityMutationHookResult = ReturnType<typeof useCreateAdminOpportunityMutation>;
|
|
2432
2549
|
export type CreateAdminOpportunityMutationResult = Apollo.MutationResult<ICreateAdminOpportunityMutation>;
|
|
2433
2550
|
export type CreateAdminOpportunityMutationOptions = Apollo.BaseMutationOptions<ICreateAdminOpportunityMutation, ICreateAdminOpportunityMutationVariables>;
|
|
2551
|
+
export declare const CreateProjectDocument: Apollo.DocumentNode;
|
|
2552
|
+
export type ICreateProjectMutationFn = Apollo.MutationFunction<ICreateProjectMutation, ICreateProjectMutationVariables>;
|
|
2553
|
+
/**
|
|
2554
|
+
* __useCreateProjectMutation__
|
|
2555
|
+
*
|
|
2556
|
+
* To run a mutation, you first call `useCreateProjectMutation` within a React component and pass it any options that fit your needs.
|
|
2557
|
+
* When your component renders, `useCreateProjectMutation` returns a tuple that includes:
|
|
2558
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
2559
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
2560
|
+
*
|
|
2561
|
+
* @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;
|
|
2562
|
+
*
|
|
2563
|
+
* @example
|
|
2564
|
+
* const [createProjectMutation, { data, loading, error }] = useCreateProjectMutation({
|
|
2565
|
+
* variables: {
|
|
2566
|
+
* input: // value for 'input'
|
|
2567
|
+
* },
|
|
2568
|
+
* });
|
|
2569
|
+
*/
|
|
2570
|
+
export declare function useCreateProjectMutation(baseOptions?: Apollo.MutationHookOptions<ICreateProjectMutation, ICreateProjectMutationVariables>): Apollo.MutationTuple<ICreateProjectMutation, Exact<{
|
|
2571
|
+
input: IAdminProjectInput;
|
|
2572
|
+
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
2573
|
+
export type CreateProjectMutationHookResult = ReturnType<typeof useCreateProjectMutation>;
|
|
2574
|
+
export type CreateProjectMutationResult = Apollo.MutationResult<ICreateProjectMutation>;
|
|
2575
|
+
export type CreateProjectMutationOptions = Apollo.BaseMutationOptions<ICreateProjectMutation, ICreateProjectMutationVariables>;
|
|
2434
2576
|
export declare const AddInviteCodesDocument: Apollo.DocumentNode;
|
|
2435
2577
|
export type IAddInviteCodesMutationFn = Apollo.MutationFunction<IAddInviteCodesMutation, IAddInviteCodesMutationVariables>;
|
|
2436
2578
|
/**
|
|
@@ -2734,6 +2876,33 @@ export declare function useUpdateProfileStatusMutation(baseOptions?: Apollo.Muta
|
|
|
2734
2876
|
export type UpdateProfileStatusMutationHookResult = ReturnType<typeof useUpdateProfileStatusMutation>;
|
|
2735
2877
|
export type UpdateProfileStatusMutationResult = Apollo.MutationResult<IUpdateProfileStatusMutation>;
|
|
2736
2878
|
export type UpdateProfileStatusMutationOptions = Apollo.BaseMutationOptions<IUpdateProfileStatusMutation, IUpdateProfileStatusMutationVariables>;
|
|
2879
|
+
export declare const UpdateProjectDocument: Apollo.DocumentNode;
|
|
2880
|
+
export type IUpdateProjectMutationFn = Apollo.MutationFunction<IUpdateProjectMutation, IUpdateProjectMutationVariables>;
|
|
2881
|
+
/**
|
|
2882
|
+
* __useUpdateProjectMutation__
|
|
2883
|
+
*
|
|
2884
|
+
* To run a mutation, you first call `useUpdateProjectMutation` within a React component and pass it any options that fit your needs.
|
|
2885
|
+
* When your component renders, `useUpdateProjectMutation` returns a tuple that includes:
|
|
2886
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
2887
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
2888
|
+
*
|
|
2889
|
+
* @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;
|
|
2890
|
+
*
|
|
2891
|
+
* @example
|
|
2892
|
+
* const [updateProjectMutation, { data, loading, error }] = useUpdateProjectMutation({
|
|
2893
|
+
* variables: {
|
|
2894
|
+
* id: // value for 'id'
|
|
2895
|
+
* input: // value for 'input'
|
|
2896
|
+
* },
|
|
2897
|
+
* });
|
|
2898
|
+
*/
|
|
2899
|
+
export declare function useUpdateProjectMutation(baseOptions?: Apollo.MutationHookOptions<IUpdateProjectMutation, IUpdateProjectMutationVariables>): Apollo.MutationTuple<IUpdateProjectMutation, Exact<{
|
|
2900
|
+
id: string;
|
|
2901
|
+
input: IAdminProjectInput;
|
|
2902
|
+
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
2903
|
+
export type UpdateProjectMutationHookResult = ReturnType<typeof useUpdateProjectMutation>;
|
|
2904
|
+
export type UpdateProjectMutationResult = Apollo.MutationResult<IUpdateProjectMutation>;
|
|
2905
|
+
export type UpdateProjectMutationOptions = Apollo.BaseMutationOptions<IUpdateProjectMutation, IUpdateProjectMutationVariables>;
|
|
2737
2906
|
export declare const CheckInviteCodeDocument: Apollo.DocumentNode;
|
|
2738
2907
|
/**
|
|
2739
2908
|
* __useCheckInviteCodeQuery__
|
|
@@ -3308,6 +3477,38 @@ export declare function useFetchAdminOpportunitiesPageLazyQuery(baseOptions?: Ap
|
|
|
3308
3477
|
export type FetchAdminOpportunitiesPageQueryHookResult = ReturnType<typeof useFetchAdminOpportunitiesPageQuery>;
|
|
3309
3478
|
export type FetchAdminOpportunitiesPageLazyQueryHookResult = ReturnType<typeof useFetchAdminOpportunitiesPageLazyQuery>;
|
|
3310
3479
|
export type FetchAdminOpportunitiesPageQueryResult = Apollo.QueryResult<IFetchAdminOpportunitiesPageQuery, IFetchAdminOpportunitiesPageQueryVariables>;
|
|
3480
|
+
export declare const FetchAdminProjectsPageDocument: Apollo.DocumentNode;
|
|
3481
|
+
/**
|
|
3482
|
+
* __useFetchAdminProjectsPageQuery__
|
|
3483
|
+
*
|
|
3484
|
+
* To run a query within a React component, call `useFetchAdminProjectsPageQuery` and pass it any options that fit your needs.
|
|
3485
|
+
* When your component renders, `useFetchAdminProjectsPageQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
3486
|
+
* you can use to render your UI.
|
|
3487
|
+
*
|
|
3488
|
+
* @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;
|
|
3489
|
+
*
|
|
3490
|
+
* @example
|
|
3491
|
+
* const { data, loading, error } = useFetchAdminProjectsPageQuery({
|
|
3492
|
+
* variables: {
|
|
3493
|
+
* filter: // value for 'filter'
|
|
3494
|
+
* sort: // value for 'sort'
|
|
3495
|
+
* page: // value for 'page'
|
|
3496
|
+
* },
|
|
3497
|
+
* });
|
|
3498
|
+
*/
|
|
3499
|
+
export declare function useFetchAdminProjectsPageQuery(baseOptions: Apollo.QueryHookOptions<IFetchAdminProjectsPageQuery, IFetchAdminProjectsPageQueryVariables>): Apollo.QueryResult<IFetchAdminProjectsPageQuery, Exact<{
|
|
3500
|
+
filter: IAdminProjectsFilterInput;
|
|
3501
|
+
sort: IAdminProjectsSortInput;
|
|
3502
|
+
page: IAdminPageInput;
|
|
3503
|
+
}>>;
|
|
3504
|
+
export declare function useFetchAdminProjectsPageLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<IFetchAdminProjectsPageQuery, IFetchAdminProjectsPageQueryVariables>): Apollo.LazyQueryResultTuple<IFetchAdminProjectsPageQuery, Exact<{
|
|
3505
|
+
filter: IAdminProjectsFilterInput;
|
|
3506
|
+
sort: IAdminProjectsSortInput;
|
|
3507
|
+
page: IAdminPageInput;
|
|
3508
|
+
}>>;
|
|
3509
|
+
export type FetchAdminProjectsPageQueryHookResult = ReturnType<typeof useFetchAdminProjectsPageQuery>;
|
|
3510
|
+
export type FetchAdminProjectsPageLazyQueryHookResult = ReturnType<typeof useFetchAdminProjectsPageLazyQuery>;
|
|
3511
|
+
export type FetchAdminProjectsPageQueryResult = Apollo.QueryResult<IFetchAdminProjectsPageQuery, IFetchAdminProjectsPageQueryVariables>;
|
|
3311
3512
|
export declare const FetchAdminReferralsPageDocument: Apollo.DocumentNode;
|
|
3312
3513
|
/**
|
|
3313
3514
|
* __useFetchAdminReferralsPageQuery__
|
|
@@ -23,9 +23,9 @@ 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.useFetchLeaderboardLazyQuery = exports.useFetchLeaderboardQuery = exports.FetchLeaderboardDocument = exports.useFetchBlockchainsLazyQuery = exports.useFetchBlockchainsQuery = exports.FetchBlockchainsDocument = exports.useFetchAllCountriesLazyQuery = exports.useFetchAllCountriesQuery = exports.FetchAllCountriesDocument = exports.useFetchAdminXpPageLazyQuery = exports.useFetchAdminXpPageQuery = exports.FetchAdminXpPageDocument = exports.useFetchAdminUsersPageLazyQuery = exports.useFetchAdminUsersPageQuery = exports.FetchAdminUsersPageDocument = exports.useFetchAdminReferralsPageLazyQuery = exports.useFetchAdminReferralsPageQuery = exports.FetchAdminReferralsPageDocument = exports.useFetchAdminOpportunitiesPageLazyQuery = exports.useFetchAdminOpportunitiesPageQuery = exports.FetchAdminOpportunitiesPageDocument = exports.useFetchAdminInvitesPageLazyQuery = exports.useFetchAdminInvitesPageQuery = exports.FetchAdminInvitesPageDocument = exports.useFetchAdminCategoriesPageLazyQuery = exports.useFetchAdminCategoriesPageQuery = exports.FetchAdminCategoriesPageDocument = exports.useFetchAdminCategoriesLazyQuery = exports.useFetchAdminCategoriesQuery = exports.FetchAdminCategoriesDocument = exports.useFetchAdminBrandsPageLazyQuery = exports.useFetchAdminBrandsPageQuery = void 0;
|
|
26
|
+
exports.useUpdateCategoryMutation = exports.UpdateCategoryDocument = exports.useUpdateBrandArchivedStatusMutation = exports.UpdateBrandArchivedStatusDocument = exports.useUpdateBrandMutation = exports.UpdateBrandDocument = exports.useUpdateAirdropMutation = exports.UpdateAirdropDocument = exports.useRemoveInviteCodeMutation = exports.RemoveInviteCodeDocument = exports.useAddInviteCodesMutation = exports.AddInviteCodesDocument = exports.useCreateProjectMutation = exports.CreateProjectDocument = exports.useCreateAdminOpportunityMutation = exports.CreateAdminOpportunityDocument = 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.ISortDirection = exports.IReftypeColor = exports.IProjectType = exports.IOpportunityType = exports.INotificationDestination = exports.ILoginSource = exports.ILocationType = exports.ILeaderboardType = exports.IDevicePlatform = exports.IAccessType = void 0;
|
|
27
|
+
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 = 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.useUpdateProjectMutation = exports.UpdateProjectDocument = exports.useUpdateProfileStatusMutation = exports.UpdateProfileStatusDocument = exports.useUpdateOpportunityArchivedStatusMutation = exports.UpdateOpportunityArchivedStatusDocument = exports.useUpdateOpportunityMutation = exports.UpdateOpportunityDocument = exports.useUpdateLeaderboardMutation = exports.UpdateLeaderboardDocument = exports.useUpdateCategoryArchivedStatusMutation = exports.UpdateCategoryArchivedStatusDocument = void 0;
|
|
28
|
+
exports.useFetchLeaderboardLazyQuery = exports.useFetchLeaderboardQuery = exports.FetchLeaderboardDocument = exports.useFetchBlockchainsLazyQuery = exports.useFetchBlockchainsQuery = exports.FetchBlockchainsDocument = exports.useFetchAllCountriesLazyQuery = exports.useFetchAllCountriesQuery = exports.FetchAllCountriesDocument = exports.useFetchAdminXpPageLazyQuery = exports.useFetchAdminXpPageQuery = exports.FetchAdminXpPageDocument = exports.useFetchAdminUsersPageLazyQuery = exports.useFetchAdminUsersPageQuery = exports.FetchAdminUsersPageDocument = exports.useFetchAdminReferralsPageLazyQuery = exports.useFetchAdminReferralsPageQuery = exports.FetchAdminReferralsPageDocument = exports.useFetchAdminProjectsPageLazyQuery = exports.useFetchAdminProjectsPageQuery = exports.FetchAdminProjectsPageDocument = exports.useFetchAdminOpportunitiesPageLazyQuery = exports.useFetchAdminOpportunitiesPageQuery = exports.FetchAdminOpportunitiesPageDocument = 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 = void 0;
|
|
29
29
|
const client_1 = require("@apollo/client");
|
|
30
30
|
const Apollo = __importStar(require("@apollo/client"));
|
|
31
31
|
var IAccessType;
|
|
@@ -44,6 +44,7 @@ var IDevicePlatform;
|
|
|
44
44
|
var ILeaderboardType;
|
|
45
45
|
(function (ILeaderboardType) {
|
|
46
46
|
ILeaderboardType["Airdrops"] = "AIRDROPS";
|
|
47
|
+
ILeaderboardType["Projects"] = "PROJECTS";
|
|
47
48
|
})(ILeaderboardType || (exports.ILeaderboardType = ILeaderboardType = {}));
|
|
48
49
|
var ILocationType;
|
|
49
50
|
(function (ILocationType) {
|
|
@@ -72,6 +73,13 @@ var IOpportunityType;
|
|
|
72
73
|
IOpportunityType["Marketing"] = "MARKETING";
|
|
73
74
|
IOpportunityType["NftMinting"] = "NFT_MINTING";
|
|
74
75
|
})(IOpportunityType || (exports.IOpportunityType = IOpportunityType = {}));
|
|
76
|
+
var IProjectType;
|
|
77
|
+
(function (IProjectType) {
|
|
78
|
+
IProjectType["MemeCoins"] = "MEME_COINS";
|
|
79
|
+
IProjectType["AiAgents"] = "AI_AGENTS";
|
|
80
|
+
IProjectType["GameFi"] = "GAME_FI";
|
|
81
|
+
IProjectType["DeFi"] = "DE_FI";
|
|
82
|
+
})(IProjectType || (exports.IProjectType = IProjectType = {}));
|
|
75
83
|
/** Sync with ReftypeColor.java */
|
|
76
84
|
var IReftypeColor;
|
|
77
85
|
(function (IReftypeColor) {
|
|
@@ -440,6 +448,32 @@ function useCreateAdminOpportunityMutation(baseOptions) {
|
|
|
440
448
|
return Apollo.useMutation(exports.CreateAdminOpportunityDocument, baseOptions);
|
|
441
449
|
}
|
|
442
450
|
exports.useCreateAdminOpportunityMutation = useCreateAdminOpportunityMutation;
|
|
451
|
+
exports.CreateProjectDocument = (0, client_1.gql) `
|
|
452
|
+
mutation CreateProject($input: AdminProjectInput!) {
|
|
453
|
+
createProject(input: $input)
|
|
454
|
+
}
|
|
455
|
+
`;
|
|
456
|
+
/**
|
|
457
|
+
* __useCreateProjectMutation__
|
|
458
|
+
*
|
|
459
|
+
* To run a mutation, you first call `useCreateProjectMutation` within a React component and pass it any options that fit your needs.
|
|
460
|
+
* When your component renders, `useCreateProjectMutation` returns a tuple that includes:
|
|
461
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
462
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
463
|
+
*
|
|
464
|
+
* @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;
|
|
465
|
+
*
|
|
466
|
+
* @example
|
|
467
|
+
* const [createProjectMutation, { data, loading, error }] = useCreateProjectMutation({
|
|
468
|
+
* variables: {
|
|
469
|
+
* input: // value for 'input'
|
|
470
|
+
* },
|
|
471
|
+
* });
|
|
472
|
+
*/
|
|
473
|
+
function useCreateProjectMutation(baseOptions) {
|
|
474
|
+
return Apollo.useMutation(exports.CreateProjectDocument, baseOptions);
|
|
475
|
+
}
|
|
476
|
+
exports.useCreateProjectMutation = useCreateProjectMutation;
|
|
443
477
|
exports.AddInviteCodesDocument = (0, client_1.gql) `
|
|
444
478
|
mutation AddInviteCodes($userId: String!, $codesNum: Int!, $reftypeId: String) {
|
|
445
479
|
addInviteCodes(userId: $userId, codesNum: $codesNum, reftypeId: $reftypeId)
|
|
@@ -740,6 +774,33 @@ function useUpdateProfileStatusMutation(baseOptions) {
|
|
|
740
774
|
return Apollo.useMutation(exports.UpdateProfileStatusDocument, baseOptions);
|
|
741
775
|
}
|
|
742
776
|
exports.useUpdateProfileStatusMutation = useUpdateProfileStatusMutation;
|
|
777
|
+
exports.UpdateProjectDocument = (0, client_1.gql) `
|
|
778
|
+
mutation UpdateProject($id: ID!, $input: AdminProjectInput!) {
|
|
779
|
+
updateProject(id: $id, input: $input)
|
|
780
|
+
}
|
|
781
|
+
`;
|
|
782
|
+
/**
|
|
783
|
+
* __useUpdateProjectMutation__
|
|
784
|
+
*
|
|
785
|
+
* To run a mutation, you first call `useUpdateProjectMutation` within a React component and pass it any options that fit your needs.
|
|
786
|
+
* When your component renders, `useUpdateProjectMutation` returns a tuple that includes:
|
|
787
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
788
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
789
|
+
*
|
|
790
|
+
* @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;
|
|
791
|
+
*
|
|
792
|
+
* @example
|
|
793
|
+
* const [updateProjectMutation, { data, loading, error }] = useUpdateProjectMutation({
|
|
794
|
+
* variables: {
|
|
795
|
+
* id: // value for 'id'
|
|
796
|
+
* input: // value for 'input'
|
|
797
|
+
* },
|
|
798
|
+
* });
|
|
799
|
+
*/
|
|
800
|
+
function useUpdateProjectMutation(baseOptions) {
|
|
801
|
+
return Apollo.useMutation(exports.UpdateProjectDocument, baseOptions);
|
|
802
|
+
}
|
|
803
|
+
exports.useUpdateProjectMutation = useUpdateProjectMutation;
|
|
743
804
|
exports.CheckInviteCodeDocument = (0, client_1.gql) `
|
|
744
805
|
query CheckInviteCode($code: String!) {
|
|
745
806
|
checkInviteCode(code: $code) {
|
|
@@ -1663,6 +1724,58 @@ function useFetchAdminOpportunitiesPageLazyQuery(baseOptions) {
|
|
|
1663
1724
|
return Apollo.useLazyQuery(exports.FetchAdminOpportunitiesPageDocument, baseOptions);
|
|
1664
1725
|
}
|
|
1665
1726
|
exports.useFetchAdminOpportunitiesPageLazyQuery = useFetchAdminOpportunitiesPageLazyQuery;
|
|
1727
|
+
exports.FetchAdminProjectsPageDocument = (0, client_1.gql) `
|
|
1728
|
+
query FetchAdminProjectsPage($filter: AdminProjectsFilterInput!, $sort: AdminProjectsSortInput!, $page: AdminPageInput!) {
|
|
1729
|
+
fetchProjectsPage(filter: $filter, sort: $sort, page: $page) {
|
|
1730
|
+
projects {
|
|
1731
|
+
id
|
|
1732
|
+
name
|
|
1733
|
+
marketCap
|
|
1734
|
+
tradingVolume24h
|
|
1735
|
+
liquidity
|
|
1736
|
+
avgInvestorsUserRank
|
|
1737
|
+
vcBackers
|
|
1738
|
+
securityScore
|
|
1739
|
+
types
|
|
1740
|
+
hidden
|
|
1741
|
+
showcase
|
|
1742
|
+
}
|
|
1743
|
+
nextPage {
|
|
1744
|
+
elements
|
|
1745
|
+
lastNum
|
|
1746
|
+
num
|
|
1747
|
+
size
|
|
1748
|
+
token
|
|
1749
|
+
}
|
|
1750
|
+
}
|
|
1751
|
+
}
|
|
1752
|
+
`;
|
|
1753
|
+
/**
|
|
1754
|
+
* __useFetchAdminProjectsPageQuery__
|
|
1755
|
+
*
|
|
1756
|
+
* To run a query within a React component, call `useFetchAdminProjectsPageQuery` and pass it any options that fit your needs.
|
|
1757
|
+
* When your component renders, `useFetchAdminProjectsPageQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
1758
|
+
* you can use to render your UI.
|
|
1759
|
+
*
|
|
1760
|
+
* @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;
|
|
1761
|
+
*
|
|
1762
|
+
* @example
|
|
1763
|
+
* const { data, loading, error } = useFetchAdminProjectsPageQuery({
|
|
1764
|
+
* variables: {
|
|
1765
|
+
* filter: // value for 'filter'
|
|
1766
|
+
* sort: // value for 'sort'
|
|
1767
|
+
* page: // value for 'page'
|
|
1768
|
+
* },
|
|
1769
|
+
* });
|
|
1770
|
+
*/
|
|
1771
|
+
function useFetchAdminProjectsPageQuery(baseOptions) {
|
|
1772
|
+
return Apollo.useQuery(exports.FetchAdminProjectsPageDocument, baseOptions);
|
|
1773
|
+
}
|
|
1774
|
+
exports.useFetchAdminProjectsPageQuery = useFetchAdminProjectsPageQuery;
|
|
1775
|
+
function useFetchAdminProjectsPageLazyQuery(baseOptions) {
|
|
1776
|
+
return Apollo.useLazyQuery(exports.FetchAdminProjectsPageDocument, baseOptions);
|
|
1777
|
+
}
|
|
1778
|
+
exports.useFetchAdminProjectsPageLazyQuery = useFetchAdminProjectsPageLazyQuery;
|
|
1666
1779
|
exports.FetchAdminReferralsPageDocument = (0, client_1.gql) `
|
|
1667
1780
|
query FetchAdminReferralsPage($filter: ReferralsFilterInput!, $sort: ReferralsSortInput!, $page: AdminPageInput!) {
|
|
1668
1781
|
fetchAdminReferralsPage(filter: $filter, sort: $sort, page: $page) {
|
|
@@ -189,7 +189,8 @@ export type IDynamicCollectionDataInput = {
|
|
|
189
189
|
page?: Maybe<IPageInput>;
|
|
190
190
|
};
|
|
191
191
|
export declare enum ILeaderboardType {
|
|
192
|
-
Airdrops = "AIRDROPS"
|
|
192
|
+
Airdrops = "AIRDROPS",
|
|
193
|
+
Projects = "PROJECTS"
|
|
193
194
|
}
|
|
194
195
|
export type IMedia = {
|
|
195
196
|
originalUrl?: Maybe<Scalars['String']>;
|
|
@@ -30,6 +30,7 @@ const Apollo = __importStar(require("@apollo/client"));
|
|
|
30
30
|
var ILeaderboardType;
|
|
31
31
|
(function (ILeaderboardType) {
|
|
32
32
|
ILeaderboardType["Airdrops"] = "AIRDROPS";
|
|
33
|
+
ILeaderboardType["Projects"] = "PROJECTS";
|
|
33
34
|
})(ILeaderboardType || (exports.ILeaderboardType = ILeaderboardType = {}));
|
|
34
35
|
var IReftypeColor;
|
|
35
36
|
(function (IReftypeColor) {
|
|
@@ -154,12 +154,17 @@ export declare enum IPlayingStreakType {
|
|
|
154
154
|
A_21Days = "A_21_DAYS",
|
|
155
155
|
A_90Days = "A_90_DAYS"
|
|
156
156
|
}
|
|
157
|
+
export type IProfileOpportunities = {
|
|
158
|
+
newOpportunities?: Maybe<Array<Maybe<IOpportunityV2>>>;
|
|
159
|
+
recentOpportunities?: Maybe<Array<Maybe<IOpportunityV2>>>;
|
|
160
|
+
};
|
|
157
161
|
export type IQuery = {
|
|
158
162
|
getDummy: Scalars['String'];
|
|
159
163
|
fetchPlayerState: IPlayerState;
|
|
160
164
|
fetchFrensData: IFrensData;
|
|
161
165
|
fetchEnergy: IEnergy;
|
|
162
166
|
fetchOpportunities?: Maybe<Array<Maybe<IOpportunityV2>>>;
|
|
167
|
+
fetchProfileOpportunities: IProfileOpportunities;
|
|
163
168
|
};
|
|
164
169
|
export type ISubscription = {
|
|
165
170
|
onDummy: Scalars['String'];
|
|
@@ -216,6 +221,7 @@ export type IResolversTypes = {
|
|
|
216
221
|
PlayingStreak: ResolverTypeWrapper<IPlayingStreak>;
|
|
217
222
|
PlayingStreakStatus: IPlayingStreakStatus;
|
|
218
223
|
PlayingStreakType: IPlayingStreakType;
|
|
224
|
+
ProfileOpportunities: ResolverTypeWrapper<IProfileOpportunities>;
|
|
219
225
|
Query: ResolverTypeWrapper<{}>;
|
|
220
226
|
Subscription: ResolverTypeWrapper<{}>;
|
|
221
227
|
};
|
|
@@ -237,6 +243,7 @@ export type IResolversParentTypes = {
|
|
|
237
243
|
OpportunityV2: IOpportunityV2;
|
|
238
244
|
PlayerState: IPlayerState;
|
|
239
245
|
PlayingStreak: IPlayingStreak;
|
|
246
|
+
ProfileOpportunities: IProfileOpportunities;
|
|
240
247
|
Query: {};
|
|
241
248
|
Subscription: {};
|
|
242
249
|
};
|
|
@@ -340,12 +347,18 @@ export type IPlayingStreakResolvers<ContextType = any, ParentType extends IResol
|
|
|
340
347
|
totalDays?: Resolver<IResolversTypes['Int'], ParentType, ContextType>;
|
|
341
348
|
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
342
349
|
};
|
|
350
|
+
export type IProfileOpportunitiesResolvers<ContextType = any, ParentType extends IResolversParentTypes['ProfileOpportunities'] = IResolversParentTypes['ProfileOpportunities']> = {
|
|
351
|
+
newOpportunities?: Resolver<Maybe<Array<Maybe<IResolversTypes['OpportunityV2']>>>, ParentType, ContextType>;
|
|
352
|
+
recentOpportunities?: Resolver<Maybe<Array<Maybe<IResolversTypes['OpportunityV2']>>>, ParentType, ContextType>;
|
|
353
|
+
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
354
|
+
};
|
|
343
355
|
export type IQueryResolvers<ContextType = any, ParentType extends IResolversParentTypes['Query'] = IResolversParentTypes['Query']> = {
|
|
344
356
|
getDummy?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
|
|
345
357
|
fetchPlayerState?: Resolver<IResolversTypes['PlayerState'], ParentType, ContextType>;
|
|
346
358
|
fetchFrensData?: Resolver<IResolversTypes['FrensData'], ParentType, ContextType>;
|
|
347
359
|
fetchEnergy?: Resolver<IResolversTypes['Energy'], ParentType, ContextType>;
|
|
348
360
|
fetchOpportunities?: Resolver<Maybe<Array<Maybe<IResolversTypes['OpportunityV2']>>>, ParentType, ContextType>;
|
|
361
|
+
fetchProfileOpportunities?: Resolver<IResolversTypes['ProfileOpportunities'], ParentType, ContextType>;
|
|
349
362
|
};
|
|
350
363
|
export type ISubscriptionResolvers<ContextType = any, ParentType extends IResolversParentTypes['Subscription'] = IResolversParentTypes['Subscription']> = {
|
|
351
364
|
onDummy?: SubscriptionResolver<IResolversTypes['String'], "onDummy", ParentType, ContextType>;
|
|
@@ -363,6 +376,7 @@ export type IResolvers<ContextType = any> = {
|
|
|
363
376
|
OpportunityV2?: IOpportunityV2Resolvers<ContextType>;
|
|
364
377
|
PlayerState?: IPlayerStateResolvers<ContextType>;
|
|
365
378
|
PlayingStreak?: IPlayingStreakResolvers<ContextType>;
|
|
379
|
+
ProfileOpportunities?: IProfileOpportunitiesResolvers<ContextType>;
|
|
366
380
|
Query?: IQueryResolvers<ContextType>;
|
|
367
381
|
Subscription?: ISubscriptionResolvers<ContextType>;
|
|
368
382
|
};
|
|
@@ -430,6 +444,15 @@ export type IFetchPlayerStateQuery = {
|
|
|
430
444
|
notifications: Array<Pick<INotification, 'notificationId' | 'status' | 'text' | 'createdAt'>>;
|
|
431
445
|
});
|
|
432
446
|
};
|
|
447
|
+
export type IFetchProfileOpportunitiesQueryVariables = Exact<{
|
|
448
|
+
[key: string]: never;
|
|
449
|
+
}>;
|
|
450
|
+
export type IFetchProfileOpportunitiesQuery = {
|
|
451
|
+
fetchProfileOpportunities: {
|
|
452
|
+
newOpportunities?: Maybe<Array<Maybe<Pick<IOpportunityV2, 'opportunityId' | 'brandId' | 'categoryId' | 'opportunityStatus' | 'opportunityType' | 'notificationType' | 'name' | 'description' | 'brandName' | 'brandDescription' | 'brandMedia' | 'brandUrl' | 'brandIndustry' | 'categoryName' | 'ludoUrl' | 'projectUrl' | 'activeFrom' | 'activeUntil' | 'media' | 'reportLink' | 'shareLink'>>>>;
|
|
453
|
+
recentOpportunities?: Maybe<Array<Maybe<Pick<IOpportunityV2, 'opportunityId' | 'brandId' | 'categoryId' | 'opportunityStatus' | 'opportunityType' | 'notificationType' | 'name' | 'description' | 'brandName' | 'brandDescription' | 'brandMedia' | 'brandUrl' | 'brandIndustry' | 'categoryName' | 'ludoUrl' | 'projectUrl' | 'activeFrom' | 'activeUntil' | 'media' | 'reportLink' | 'shareLink'>>>>;
|
|
454
|
+
};
|
|
455
|
+
};
|
|
433
456
|
export type IOnPlayerStateUpdatedSubscriptionVariables = Exact<{
|
|
434
457
|
authToken: Scalars['String'];
|
|
435
458
|
}>;
|
|
@@ -713,6 +736,31 @@ export declare function useFetchPlayerStateLazyQuery(baseOptions?: Apollo.LazyQu
|
|
|
713
736
|
export type FetchPlayerStateQueryHookResult = ReturnType<typeof useFetchPlayerStateQuery>;
|
|
714
737
|
export type FetchPlayerStateLazyQueryHookResult = ReturnType<typeof useFetchPlayerStateLazyQuery>;
|
|
715
738
|
export type FetchPlayerStateQueryResult = Apollo.QueryResult<IFetchPlayerStateQuery, IFetchPlayerStateQueryVariables>;
|
|
739
|
+
export declare const FetchProfileOpportunitiesDocument: Apollo.DocumentNode;
|
|
740
|
+
/**
|
|
741
|
+
* __useFetchProfileOpportunitiesQuery__
|
|
742
|
+
*
|
|
743
|
+
* To run a query within a React component, call `useFetchProfileOpportunitiesQuery` and pass it any options that fit your needs.
|
|
744
|
+
* When your component renders, `useFetchProfileOpportunitiesQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
745
|
+
* you can use to render your UI.
|
|
746
|
+
*
|
|
747
|
+
* @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;
|
|
748
|
+
*
|
|
749
|
+
* @example
|
|
750
|
+
* const { data, loading, error } = useFetchProfileOpportunitiesQuery({
|
|
751
|
+
* variables: {
|
|
752
|
+
* },
|
|
753
|
+
* });
|
|
754
|
+
*/
|
|
755
|
+
export declare function useFetchProfileOpportunitiesQuery(baseOptions?: Apollo.QueryHookOptions<IFetchProfileOpportunitiesQuery, IFetchProfileOpportunitiesQueryVariables>): Apollo.QueryResult<IFetchProfileOpportunitiesQuery, Exact<{
|
|
756
|
+
[key: string]: never;
|
|
757
|
+
}>>;
|
|
758
|
+
export declare function useFetchProfileOpportunitiesLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<IFetchProfileOpportunitiesQuery, IFetchProfileOpportunitiesQueryVariables>): Apollo.LazyQueryResultTuple<IFetchProfileOpportunitiesQuery, Exact<{
|
|
759
|
+
[key: string]: never;
|
|
760
|
+
}>>;
|
|
761
|
+
export type FetchProfileOpportunitiesQueryHookResult = ReturnType<typeof useFetchProfileOpportunitiesQuery>;
|
|
762
|
+
export type FetchProfileOpportunitiesLazyQueryHookResult = ReturnType<typeof useFetchProfileOpportunitiesLazyQuery>;
|
|
763
|
+
export type FetchProfileOpportunitiesQueryResult = Apollo.QueryResult<IFetchProfileOpportunitiesQuery, IFetchProfileOpportunitiesQueryVariables>;
|
|
716
764
|
export declare const OnPlayerStateUpdatedDocument: Apollo.DocumentNode;
|
|
717
765
|
/**
|
|
718
766
|
* __useOnPlayerStateUpdatedSubscription__
|