@ludo.ninja/api 3.0.42 → 3.0.44
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 +206 -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/index.d.ts +34 -0
- package/package.json +1 -1
- package/src/graphql_tools/__generated__/adminHost/schema.ts +255 -1
- package/src/graphql_tools/__generated__/searchHost/schema.ts +2 -1
- package/tsconfig.tsbuildinfo +1 -1
|
@@ -212,6 +212,50 @@ 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
|
+
nameTerm?: Maybe<Scalars['String']>;
|
|
242
|
+
marketCap?: Maybe<Scalars['Int']>;
|
|
243
|
+
liquidity?: Maybe<Scalars['Float']>;
|
|
244
|
+
avgInvestorsUserRank?: Maybe<Scalars['Int']>;
|
|
245
|
+
vcBackers?: Maybe<Scalars['Int']>;
|
|
246
|
+
securityScore?: Maybe<Scalars['Int']>;
|
|
247
|
+
type?: Maybe<IProjectType>;
|
|
248
|
+
hidden?: Maybe<Scalars['Boolean']>;
|
|
249
|
+
};
|
|
250
|
+
export type IAdminProjectsPage = {
|
|
251
|
+
projects: Array<IAdminProject>;
|
|
252
|
+
nextPage?: Maybe<IAdminPage>;
|
|
253
|
+
};
|
|
254
|
+
export type IAdminProjectsSortInput = {
|
|
255
|
+
sortByMarketCap?: Maybe<ISort>;
|
|
256
|
+
sortByLiquidity?: Maybe<ISort>;
|
|
257
|
+
sortBySecurityScore?: Maybe<ISort>;
|
|
258
|
+
};
|
|
215
259
|
export type IAdminReferral = {
|
|
216
260
|
userId: Scalars['ID'];
|
|
217
261
|
username?: Maybe<Scalars['String']>;
|
|
@@ -446,7 +490,8 @@ export type ILeaderboardInput = {
|
|
|
446
490
|
hidden: Scalars['Boolean'];
|
|
447
491
|
};
|
|
448
492
|
export declare enum ILeaderboardType {
|
|
449
|
-
Airdrops = "AIRDROPS"
|
|
493
|
+
Airdrops = "AIRDROPS",
|
|
494
|
+
Projects = "PROJECTS"
|
|
450
495
|
}
|
|
451
496
|
export type ILocation = {
|
|
452
497
|
name: Scalars['String'];
|
|
@@ -482,6 +527,8 @@ export type IMutation = {
|
|
|
482
527
|
updateOpportunityArchivedStatus: Scalars['Boolean'];
|
|
483
528
|
triggerOpportunityNotification: Scalars['Boolean'];
|
|
484
529
|
updateAirdrop: Scalars['Boolean'];
|
|
530
|
+
createProject: Scalars['Boolean'];
|
|
531
|
+
updateProject: Scalars['Boolean'];
|
|
485
532
|
createReferralType?: Maybe<Scalars['Boolean']>;
|
|
486
533
|
updateReferralType: Scalars['Boolean'];
|
|
487
534
|
updateReferralTypeArchivedStatus: Scalars['Boolean'];
|
|
@@ -559,6 +606,13 @@ export type IMutationUpdateAirdropArgs = {
|
|
|
559
606
|
input: IAdminAirdropInput;
|
|
560
607
|
file?: Maybe<Scalars['Upload']>;
|
|
561
608
|
};
|
|
609
|
+
export type IMutationCreateProjectArgs = {
|
|
610
|
+
input: IAdminProjectInput;
|
|
611
|
+
};
|
|
612
|
+
export type IMutationUpdateProjectArgs = {
|
|
613
|
+
id: Scalars['ID'];
|
|
614
|
+
input: IAdminProjectInput;
|
|
615
|
+
};
|
|
562
616
|
export type IMutationCreateReferralTypeArgs = {
|
|
563
617
|
input: IReferralTypeInput;
|
|
564
618
|
};
|
|
@@ -669,6 +723,12 @@ export type IPartnershipInquirySortInput = {
|
|
|
669
723
|
sortByProjectName?: Maybe<ISort>;
|
|
670
724
|
sortByPartnershipType?: Maybe<ISort>;
|
|
671
725
|
};
|
|
726
|
+
export declare enum IProjectType {
|
|
727
|
+
MemeCoins = "MEME_COINS",
|
|
728
|
+
AiAgents = "AI_AGENTS",
|
|
729
|
+
GameFi = "GAME_FI",
|
|
730
|
+
DeFi = "DE_FI"
|
|
731
|
+
}
|
|
672
732
|
export type IQuery = {
|
|
673
733
|
getDummy: Scalars['String'];
|
|
674
734
|
fetchContactSupportPage: IContactSupportPage;
|
|
@@ -690,6 +750,7 @@ export type IQuery = {
|
|
|
690
750
|
fetchAdminBrandsPage: IBrandsPage;
|
|
691
751
|
fetchBlockchains: Array<Scalars['String']>;
|
|
692
752
|
fetchAdminAirdropsPage: IOpportunitiesPage;
|
|
753
|
+
fetchProjectsPage: IAdminProjectsPage;
|
|
693
754
|
fetchAdminReferralsPage: IReferralsPage;
|
|
694
755
|
fetchUnarchivedReferralTypes: Array<IReferralType>;
|
|
695
756
|
fetchReferralTypesPage: IReferralTypesPage;
|
|
@@ -767,6 +828,11 @@ export type IQueryFetchAdminAirdropsPageArgs = {
|
|
|
767
828
|
sort?: Maybe<IAirdropsLeaderboardSortInput>;
|
|
768
829
|
page: IAdminPageInput;
|
|
769
830
|
};
|
|
831
|
+
export type IQueryFetchProjectsPageArgs = {
|
|
832
|
+
filter: IAdminProjectsFilterInput;
|
|
833
|
+
sort: IAdminProjectsSortInput;
|
|
834
|
+
page: IAdminPageInput;
|
|
835
|
+
};
|
|
770
836
|
export type IQueryFetchAdminReferralsPageArgs = {
|
|
771
837
|
filter: IReferralsFilterInput;
|
|
772
838
|
sort: IReferralsSortInput;
|
|
@@ -1053,6 +1119,11 @@ export type IResolversTypes = {
|
|
|
1053
1119
|
AdminPage: ResolverTypeWrapper<IAdminPage>;
|
|
1054
1120
|
AdminPageInput: IAdminPageInput;
|
|
1055
1121
|
AdminPartnershipInquiry: ResolverTypeWrapper<IAdminPartnershipInquiry>;
|
|
1122
|
+
AdminProject: ResolverTypeWrapper<IAdminProject>;
|
|
1123
|
+
AdminProjectInput: IAdminProjectInput;
|
|
1124
|
+
AdminProjectsFilterInput: IAdminProjectsFilterInput;
|
|
1125
|
+
AdminProjectsPage: ResolverTypeWrapper<IAdminProjectsPage>;
|
|
1126
|
+
AdminProjectsSortInput: IAdminProjectsSortInput;
|
|
1056
1127
|
AdminReferral: ResolverTypeWrapper<IAdminReferral>;
|
|
1057
1128
|
AdminUser: ResolverTypeWrapper<IAdminUser>;
|
|
1058
1129
|
AdminXp: ResolverTypeWrapper<IAdminXp>;
|
|
@@ -1101,6 +1172,7 @@ export type IResolversTypes = {
|
|
|
1101
1172
|
PartnershipInquiryFilterInput: IPartnershipInquiryFilterInput;
|
|
1102
1173
|
PartnershipInquiryPage: ResolverTypeWrapper<IPartnershipInquiryPage>;
|
|
1103
1174
|
PartnershipInquirySortInput: IPartnershipInquirySortInput;
|
|
1175
|
+
ProjectType: IProjectType;
|
|
1104
1176
|
Query: ResolverTypeWrapper<{}>;
|
|
1105
1177
|
ReferralLink: ResolverTypeWrapper<IReferralLink>;
|
|
1106
1178
|
ReferralType: ResolverTypeWrapper<IReferralType>;
|
|
@@ -1158,6 +1230,11 @@ export type IResolversParentTypes = {
|
|
|
1158
1230
|
AdminPage: IAdminPage;
|
|
1159
1231
|
AdminPageInput: IAdminPageInput;
|
|
1160
1232
|
AdminPartnershipInquiry: IAdminPartnershipInquiry;
|
|
1233
|
+
AdminProject: IAdminProject;
|
|
1234
|
+
AdminProjectInput: IAdminProjectInput;
|
|
1235
|
+
AdminProjectsFilterInput: IAdminProjectsFilterInput;
|
|
1236
|
+
AdminProjectsPage: IAdminProjectsPage;
|
|
1237
|
+
AdminProjectsSortInput: IAdminProjectsSortInput;
|
|
1161
1238
|
AdminReferral: IAdminReferral;
|
|
1162
1239
|
AdminUser: IAdminUser;
|
|
1163
1240
|
AdminXp: IAdminXp;
|
|
@@ -1396,6 +1473,25 @@ export type IAdminPartnershipInquiryResolvers<ContextType = any, ParentType exte
|
|
|
1396
1473
|
ludoReferrerInfo?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
1397
1474
|
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
1398
1475
|
};
|
|
1476
|
+
export type IAdminProjectResolvers<ContextType = any, ParentType extends IResolversParentTypes['AdminProject'] = IResolversParentTypes['AdminProject']> = {
|
|
1477
|
+
id?: Resolver<IResolversTypes['ID'], ParentType, ContextType>;
|
|
1478
|
+
name?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
|
|
1479
|
+
marketCap?: Resolver<Maybe<IResolversTypes['Int']>, ParentType, ContextType>;
|
|
1480
|
+
tradingVolume24h?: Resolver<Maybe<IResolversTypes['Float']>, ParentType, ContextType>;
|
|
1481
|
+
liquidity?: Resolver<Maybe<IResolversTypes['Float']>, ParentType, ContextType>;
|
|
1482
|
+
avgInvestorsUserRank?: Resolver<Maybe<IResolversTypes['Int']>, ParentType, ContextType>;
|
|
1483
|
+
vcBackers?: Resolver<Maybe<IResolversTypes['Int']>, ParentType, ContextType>;
|
|
1484
|
+
securityScore?: Resolver<Maybe<IResolversTypes['Int']>, ParentType, ContextType>;
|
|
1485
|
+
types?: Resolver<Array<IResolversTypes['ProjectType']>, ParentType, ContextType>;
|
|
1486
|
+
hidden?: Resolver<Maybe<IResolversTypes['Boolean']>, ParentType, ContextType>;
|
|
1487
|
+
showcase?: Resolver<Maybe<IResolversTypes['Boolean']>, ParentType, ContextType>;
|
|
1488
|
+
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
1489
|
+
};
|
|
1490
|
+
export type IAdminProjectsPageResolvers<ContextType = any, ParentType extends IResolversParentTypes['AdminProjectsPage'] = IResolversParentTypes['AdminProjectsPage']> = {
|
|
1491
|
+
projects?: Resolver<Array<IResolversTypes['AdminProject']>, ParentType, ContextType>;
|
|
1492
|
+
nextPage?: Resolver<Maybe<IResolversTypes['AdminPage']>, ParentType, ContextType>;
|
|
1493
|
+
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
1494
|
+
};
|
|
1399
1495
|
export type IAdminReferralResolvers<ContextType = any, ParentType extends IResolversParentTypes['AdminReferral'] = IResolversParentTypes['AdminReferral']> = {
|
|
1400
1496
|
userId?: Resolver<IResolversTypes['ID'], ParentType, ContextType>;
|
|
1401
1497
|
username?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
@@ -1520,6 +1616,8 @@ export type IMutationResolvers<ContextType = any, ParentType extends IResolversP
|
|
|
1520
1616
|
updateOpportunityArchivedStatus?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationUpdateOpportunityArchivedStatusArgs, 'id' | 'isArchived'>>;
|
|
1521
1617
|
triggerOpportunityNotification?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationTriggerOpportunityNotificationArgs, 'opportunityId'>>;
|
|
1522
1618
|
updateAirdrop?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationUpdateAirdropArgs, 'id' | 'input'>>;
|
|
1619
|
+
createProject?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationCreateProjectArgs, 'input'>>;
|
|
1620
|
+
updateProject?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationUpdateProjectArgs, 'id' | 'input'>>;
|
|
1523
1621
|
createReferralType?: Resolver<Maybe<IResolversTypes['Boolean']>, ParentType, ContextType, RequireFields<IMutationCreateReferralTypeArgs, 'input'>>;
|
|
1524
1622
|
updateReferralType?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationUpdateReferralTypeArgs, 'id' | 'input'>>;
|
|
1525
1623
|
updateReferralTypeArchivedStatus?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationUpdateReferralTypeArchivedStatusArgs, 'id' | 'archived'>>;
|
|
@@ -1562,6 +1660,7 @@ export type IQueryResolvers<ContextType = any, ParentType extends IResolversPare
|
|
|
1562
1660
|
fetchAdminBrandsPage?: Resolver<IResolversTypes['BrandsPage'], ParentType, ContextType, RequireFields<IQueryFetchAdminBrandsPageArgs, 'filter' | 'sort' | 'page'>>;
|
|
1563
1661
|
fetchBlockchains?: Resolver<Array<IResolversTypes['String']>, ParentType, ContextType>;
|
|
1564
1662
|
fetchAdminAirdropsPage?: Resolver<IResolversTypes['OpportunitiesPage'], ParentType, ContextType, RequireFields<IQueryFetchAdminAirdropsPageArgs, 'filter' | 'page'>>;
|
|
1663
|
+
fetchProjectsPage?: Resolver<IResolversTypes['AdminProjectsPage'], ParentType, ContextType, RequireFields<IQueryFetchProjectsPageArgs, 'filter' | 'sort' | 'page'>>;
|
|
1565
1664
|
fetchAdminReferralsPage?: Resolver<IResolversTypes['ReferralsPage'], ParentType, ContextType, RequireFields<IQueryFetchAdminReferralsPageArgs, 'filter' | 'sort' | 'page'>>;
|
|
1566
1665
|
fetchUnarchivedReferralTypes?: Resolver<Array<IResolversTypes['ReferralType']>, ParentType, ContextType>;
|
|
1567
1666
|
fetchReferralTypesPage?: Resolver<IResolversTypes['ReferralTypesPage'], ParentType, ContextType, RequireFields<IQueryFetchReferralTypesPageArgs, 'filter' | 'sort' | 'page'>>;
|
|
@@ -1680,6 +1779,8 @@ export type IResolvers<ContextType = any> = {
|
|
|
1680
1779
|
AdminOpportunity?: IAdminOpportunityResolvers<ContextType>;
|
|
1681
1780
|
AdminPage?: IAdminPageResolvers<ContextType>;
|
|
1682
1781
|
AdminPartnershipInquiry?: IAdminPartnershipInquiryResolvers<ContextType>;
|
|
1782
|
+
AdminProject?: IAdminProjectResolvers<ContextType>;
|
|
1783
|
+
AdminProjectsPage?: IAdminProjectsPageResolvers<ContextType>;
|
|
1683
1784
|
AdminReferral?: IAdminReferralResolvers<ContextType>;
|
|
1684
1785
|
AdminUser?: IAdminUserResolvers<ContextType>;
|
|
1685
1786
|
AdminXp?: IAdminXpResolvers<ContextType>;
|
|
@@ -1782,6 +1883,10 @@ export type ICreateAdminOpportunityMutationVariables = Exact<{
|
|
|
1782
1883
|
input: IAdminOpportunityInput;
|
|
1783
1884
|
}>;
|
|
1784
1885
|
export type ICreateAdminOpportunityMutation = Pick<IMutation, 'createAdminOpportunity'>;
|
|
1886
|
+
export type ICreateProjectMutationVariables = Exact<{
|
|
1887
|
+
input: IAdminProjectInput;
|
|
1888
|
+
}>;
|
|
1889
|
+
export type ICreateProjectMutation = Pick<IMutation, 'createProject'>;
|
|
1785
1890
|
export type IAddInviteCodesMutationVariables = Exact<{
|
|
1786
1891
|
userId: Scalars['String'];
|
|
1787
1892
|
codesNum: Scalars['Int'];
|
|
@@ -1840,6 +1945,11 @@ export type IUpdateProfileStatusMutationVariables = Exact<{
|
|
|
1840
1945
|
isActive: Scalars['Boolean'];
|
|
1841
1946
|
}>;
|
|
1842
1947
|
export type IUpdateProfileStatusMutation = Pick<IMutation, 'updateProfileStatus'>;
|
|
1948
|
+
export type IUpdateProjectMutationVariables = Exact<{
|
|
1949
|
+
id: Scalars['ID'];
|
|
1950
|
+
input: IAdminProjectInput;
|
|
1951
|
+
}>;
|
|
1952
|
+
export type IUpdateProjectMutation = Pick<IMutation, 'updateProject'>;
|
|
1843
1953
|
export type ICheckInviteCodeQueryVariables = Exact<{
|
|
1844
1954
|
code: Scalars['String'];
|
|
1845
1955
|
}>;
|
|
@@ -2030,6 +2140,17 @@ export type IFetchAdminOpportunitiesPageQuery = {
|
|
|
2030
2140
|
nextPage?: Maybe<Pick<IAdminPage, 'elements' | 'lastNum' | 'num' | 'size' | 'token'>>;
|
|
2031
2141
|
};
|
|
2032
2142
|
};
|
|
2143
|
+
export type IFetchAdminProjectsPageQueryVariables = Exact<{
|
|
2144
|
+
filter: IAdminProjectsFilterInput;
|
|
2145
|
+
sort: IAdminProjectsSortInput;
|
|
2146
|
+
page: IAdminPageInput;
|
|
2147
|
+
}>;
|
|
2148
|
+
export type IFetchAdminProjectsPageQuery = {
|
|
2149
|
+
fetchProjectsPage: {
|
|
2150
|
+
projects: Array<Pick<IAdminProject, 'id' | 'name' | 'marketCap' | 'tradingVolume24h' | 'liquidity' | 'avgInvestorsUserRank' | 'vcBackers' | 'securityScore' | 'types' | 'hidden' | 'showcase'>>;
|
|
2151
|
+
nextPage?: Maybe<Pick<IAdminPage, 'elements' | 'lastNum' | 'num' | 'size' | 'token'>>;
|
|
2152
|
+
};
|
|
2153
|
+
};
|
|
2033
2154
|
export type IFetchAdminReferralsPageQueryVariables = Exact<{
|
|
2034
2155
|
filter: IReferralsFilterInput;
|
|
2035
2156
|
sort: IReferralsSortInput;
|
|
@@ -2431,6 +2552,31 @@ export declare function useCreateAdminOpportunityMutation(baseOptions?: Apollo.M
|
|
|
2431
2552
|
export type CreateAdminOpportunityMutationHookResult = ReturnType<typeof useCreateAdminOpportunityMutation>;
|
|
2432
2553
|
export type CreateAdminOpportunityMutationResult = Apollo.MutationResult<ICreateAdminOpportunityMutation>;
|
|
2433
2554
|
export type CreateAdminOpportunityMutationOptions = Apollo.BaseMutationOptions<ICreateAdminOpportunityMutation, ICreateAdminOpportunityMutationVariables>;
|
|
2555
|
+
export declare const CreateProjectDocument: Apollo.DocumentNode;
|
|
2556
|
+
export type ICreateProjectMutationFn = Apollo.MutationFunction<ICreateProjectMutation, ICreateProjectMutationVariables>;
|
|
2557
|
+
/**
|
|
2558
|
+
* __useCreateProjectMutation__
|
|
2559
|
+
*
|
|
2560
|
+
* To run a mutation, you first call `useCreateProjectMutation` within a React component and pass it any options that fit your needs.
|
|
2561
|
+
* When your component renders, `useCreateProjectMutation` returns a tuple that includes:
|
|
2562
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
2563
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
2564
|
+
*
|
|
2565
|
+
* @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;
|
|
2566
|
+
*
|
|
2567
|
+
* @example
|
|
2568
|
+
* const [createProjectMutation, { data, loading, error }] = useCreateProjectMutation({
|
|
2569
|
+
* variables: {
|
|
2570
|
+
* input: // value for 'input'
|
|
2571
|
+
* },
|
|
2572
|
+
* });
|
|
2573
|
+
*/
|
|
2574
|
+
export declare function useCreateProjectMutation(baseOptions?: Apollo.MutationHookOptions<ICreateProjectMutation, ICreateProjectMutationVariables>): Apollo.MutationTuple<ICreateProjectMutation, Exact<{
|
|
2575
|
+
input: IAdminProjectInput;
|
|
2576
|
+
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
2577
|
+
export type CreateProjectMutationHookResult = ReturnType<typeof useCreateProjectMutation>;
|
|
2578
|
+
export type CreateProjectMutationResult = Apollo.MutationResult<ICreateProjectMutation>;
|
|
2579
|
+
export type CreateProjectMutationOptions = Apollo.BaseMutationOptions<ICreateProjectMutation, ICreateProjectMutationVariables>;
|
|
2434
2580
|
export declare const AddInviteCodesDocument: Apollo.DocumentNode;
|
|
2435
2581
|
export type IAddInviteCodesMutationFn = Apollo.MutationFunction<IAddInviteCodesMutation, IAddInviteCodesMutationVariables>;
|
|
2436
2582
|
/**
|
|
@@ -2734,6 +2880,33 @@ export declare function useUpdateProfileStatusMutation(baseOptions?: Apollo.Muta
|
|
|
2734
2880
|
export type UpdateProfileStatusMutationHookResult = ReturnType<typeof useUpdateProfileStatusMutation>;
|
|
2735
2881
|
export type UpdateProfileStatusMutationResult = Apollo.MutationResult<IUpdateProfileStatusMutation>;
|
|
2736
2882
|
export type UpdateProfileStatusMutationOptions = Apollo.BaseMutationOptions<IUpdateProfileStatusMutation, IUpdateProfileStatusMutationVariables>;
|
|
2883
|
+
export declare const UpdateProjectDocument: Apollo.DocumentNode;
|
|
2884
|
+
export type IUpdateProjectMutationFn = Apollo.MutationFunction<IUpdateProjectMutation, IUpdateProjectMutationVariables>;
|
|
2885
|
+
/**
|
|
2886
|
+
* __useUpdateProjectMutation__
|
|
2887
|
+
*
|
|
2888
|
+
* To run a mutation, you first call `useUpdateProjectMutation` within a React component and pass it any options that fit your needs.
|
|
2889
|
+
* When your component renders, `useUpdateProjectMutation` returns a tuple that includes:
|
|
2890
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
2891
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
2892
|
+
*
|
|
2893
|
+
* @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;
|
|
2894
|
+
*
|
|
2895
|
+
* @example
|
|
2896
|
+
* const [updateProjectMutation, { data, loading, error }] = useUpdateProjectMutation({
|
|
2897
|
+
* variables: {
|
|
2898
|
+
* id: // value for 'id'
|
|
2899
|
+
* input: // value for 'input'
|
|
2900
|
+
* },
|
|
2901
|
+
* });
|
|
2902
|
+
*/
|
|
2903
|
+
export declare function useUpdateProjectMutation(baseOptions?: Apollo.MutationHookOptions<IUpdateProjectMutation, IUpdateProjectMutationVariables>): Apollo.MutationTuple<IUpdateProjectMutation, Exact<{
|
|
2904
|
+
id: string;
|
|
2905
|
+
input: IAdminProjectInput;
|
|
2906
|
+
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
2907
|
+
export type UpdateProjectMutationHookResult = ReturnType<typeof useUpdateProjectMutation>;
|
|
2908
|
+
export type UpdateProjectMutationResult = Apollo.MutationResult<IUpdateProjectMutation>;
|
|
2909
|
+
export type UpdateProjectMutationOptions = Apollo.BaseMutationOptions<IUpdateProjectMutation, IUpdateProjectMutationVariables>;
|
|
2737
2910
|
export declare const CheckInviteCodeDocument: Apollo.DocumentNode;
|
|
2738
2911
|
/**
|
|
2739
2912
|
* __useCheckInviteCodeQuery__
|
|
@@ -3308,6 +3481,38 @@ export declare function useFetchAdminOpportunitiesPageLazyQuery(baseOptions?: Ap
|
|
|
3308
3481
|
export type FetchAdminOpportunitiesPageQueryHookResult = ReturnType<typeof useFetchAdminOpportunitiesPageQuery>;
|
|
3309
3482
|
export type FetchAdminOpportunitiesPageLazyQueryHookResult = ReturnType<typeof useFetchAdminOpportunitiesPageLazyQuery>;
|
|
3310
3483
|
export type FetchAdminOpportunitiesPageQueryResult = Apollo.QueryResult<IFetchAdminOpportunitiesPageQuery, IFetchAdminOpportunitiesPageQueryVariables>;
|
|
3484
|
+
export declare const FetchAdminProjectsPageDocument: Apollo.DocumentNode;
|
|
3485
|
+
/**
|
|
3486
|
+
* __useFetchAdminProjectsPageQuery__
|
|
3487
|
+
*
|
|
3488
|
+
* To run a query within a React component, call `useFetchAdminProjectsPageQuery` and pass it any options that fit your needs.
|
|
3489
|
+
* When your component renders, `useFetchAdminProjectsPageQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
3490
|
+
* you can use to render your UI.
|
|
3491
|
+
*
|
|
3492
|
+
* @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;
|
|
3493
|
+
*
|
|
3494
|
+
* @example
|
|
3495
|
+
* const { data, loading, error } = useFetchAdminProjectsPageQuery({
|
|
3496
|
+
* variables: {
|
|
3497
|
+
* filter: // value for 'filter'
|
|
3498
|
+
* sort: // value for 'sort'
|
|
3499
|
+
* page: // value for 'page'
|
|
3500
|
+
* },
|
|
3501
|
+
* });
|
|
3502
|
+
*/
|
|
3503
|
+
export declare function useFetchAdminProjectsPageQuery(baseOptions: Apollo.QueryHookOptions<IFetchAdminProjectsPageQuery, IFetchAdminProjectsPageQueryVariables>): Apollo.QueryResult<IFetchAdminProjectsPageQuery, Exact<{
|
|
3504
|
+
filter: IAdminProjectsFilterInput;
|
|
3505
|
+
sort: IAdminProjectsSortInput;
|
|
3506
|
+
page: IAdminPageInput;
|
|
3507
|
+
}>>;
|
|
3508
|
+
export declare function useFetchAdminProjectsPageLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<IFetchAdminProjectsPageQuery, IFetchAdminProjectsPageQueryVariables>): Apollo.LazyQueryResultTuple<IFetchAdminProjectsPageQuery, Exact<{
|
|
3509
|
+
filter: IAdminProjectsFilterInput;
|
|
3510
|
+
sort: IAdminProjectsSortInput;
|
|
3511
|
+
page: IAdminPageInput;
|
|
3512
|
+
}>>;
|
|
3513
|
+
export type FetchAdminProjectsPageQueryHookResult = ReturnType<typeof useFetchAdminProjectsPageQuery>;
|
|
3514
|
+
export type FetchAdminProjectsPageLazyQueryHookResult = ReturnType<typeof useFetchAdminProjectsPageLazyQuery>;
|
|
3515
|
+
export type FetchAdminProjectsPageQueryResult = Apollo.QueryResult<IFetchAdminProjectsPageQuery, IFetchAdminProjectsPageQueryVariables>;
|
|
3311
3516
|
export declare const FetchAdminReferralsPageDocument: Apollo.DocumentNode;
|
|
3312
3517
|
/**
|
|
3313
3518
|
* __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) {
|
package/build/index.d.ts
CHANGED
|
@@ -1577,6 +1577,11 @@ declare const schema: {
|
|
|
1577
1577
|
file?: any;
|
|
1578
1578
|
input: adminSchema.IAdminOpportunityInput;
|
|
1579
1579
|
}>, import("@apollo/client").DefaultContext, import("@apollo/client").ApolloCache<any>>;
|
|
1580
|
+
useCreateProjectMutation(baseOptions?: import("@apollo/client").MutationHookOptions<adminSchema.ICreateProjectMutation, adminSchema.Exact<{
|
|
1581
|
+
input: adminSchema.IAdminProjectInput;
|
|
1582
|
+
}>, import("@apollo/client").DefaultContext, import("@apollo/client").ApolloCache<any>> | undefined): import("@apollo/client").MutationTuple<adminSchema.ICreateProjectMutation, adminSchema.Exact<{
|
|
1583
|
+
input: adminSchema.IAdminProjectInput;
|
|
1584
|
+
}>, import("@apollo/client").DefaultContext, import("@apollo/client").ApolloCache<any>>;
|
|
1580
1585
|
useAddInviteCodesMutation(baseOptions?: import("@apollo/client").MutationHookOptions<adminSchema.IAddInviteCodesMutation, adminSchema.Exact<{
|
|
1581
1586
|
userId: string;
|
|
1582
1587
|
codesNum: number;
|
|
@@ -1660,6 +1665,13 @@ declare const schema: {
|
|
|
1660
1665
|
userId: string;
|
|
1661
1666
|
isActive: boolean;
|
|
1662
1667
|
}>, import("@apollo/client").DefaultContext, import("@apollo/client").ApolloCache<any>>;
|
|
1668
|
+
useUpdateProjectMutation(baseOptions?: import("@apollo/client").MutationHookOptions<adminSchema.IUpdateProjectMutation, adminSchema.Exact<{
|
|
1669
|
+
id: string;
|
|
1670
|
+
input: adminSchema.IAdminProjectInput;
|
|
1671
|
+
}>, import("@apollo/client").DefaultContext, import("@apollo/client").ApolloCache<any>> | undefined): import("@apollo/client").MutationTuple<adminSchema.IUpdateProjectMutation, adminSchema.Exact<{
|
|
1672
|
+
id: string;
|
|
1673
|
+
input: adminSchema.IAdminProjectInput;
|
|
1674
|
+
}>, import("@apollo/client").DefaultContext, import("@apollo/client").ApolloCache<any>>;
|
|
1663
1675
|
useCheckInviteCodeQuery(baseOptions: import("@apollo/client").QueryHookOptions<adminSchema.ICheckInviteCodeQuery, adminSchema.Exact<{
|
|
1664
1676
|
code: string;
|
|
1665
1677
|
}>>): import("@apollo/client").QueryResult<adminSchema.ICheckInviteCodeQuery, adminSchema.Exact<{
|
|
@@ -1962,6 +1974,24 @@ declare const schema: {
|
|
|
1962
1974
|
sort: adminSchema.IOpportunitiesSortInput;
|
|
1963
1975
|
page: adminSchema.IAdminPageInput;
|
|
1964
1976
|
}>>;
|
|
1977
|
+
useFetchAdminProjectsPageQuery(baseOptions: import("@apollo/client").QueryHookOptions<adminSchema.IFetchAdminProjectsPageQuery, adminSchema.Exact<{
|
|
1978
|
+
filter: adminSchema.IAdminProjectsFilterInput;
|
|
1979
|
+
sort: adminSchema.IAdminProjectsSortInput;
|
|
1980
|
+
page: adminSchema.IAdminPageInput;
|
|
1981
|
+
}>>): import("@apollo/client").QueryResult<adminSchema.IFetchAdminProjectsPageQuery, adminSchema.Exact<{
|
|
1982
|
+
filter: adminSchema.IAdminProjectsFilterInput;
|
|
1983
|
+
sort: adminSchema.IAdminProjectsSortInput;
|
|
1984
|
+
page: adminSchema.IAdminPageInput;
|
|
1985
|
+
}>>;
|
|
1986
|
+
useFetchAdminProjectsPageLazyQuery(baseOptions?: import("@apollo/client").LazyQueryHookOptions<adminSchema.IFetchAdminProjectsPageQuery, adminSchema.Exact<{
|
|
1987
|
+
filter: adminSchema.IAdminProjectsFilterInput;
|
|
1988
|
+
sort: adminSchema.IAdminProjectsSortInput;
|
|
1989
|
+
page: adminSchema.IAdminPageInput;
|
|
1990
|
+
}>> | undefined): import("@apollo/client").LazyQueryResultTuple<adminSchema.IFetchAdminProjectsPageQuery, adminSchema.Exact<{
|
|
1991
|
+
filter: adminSchema.IAdminProjectsFilterInput;
|
|
1992
|
+
sort: adminSchema.IAdminProjectsSortInput;
|
|
1993
|
+
page: adminSchema.IAdminPageInput;
|
|
1994
|
+
}>>;
|
|
1965
1995
|
useFetchAdminReferralsPageQuery(baseOptions: import("@apollo/client").QueryHookOptions<adminSchema.IFetchAdminReferralsPageQuery, adminSchema.Exact<{
|
|
1966
1996
|
filter: adminSchema.IReferralsFilterInput;
|
|
1967
1997
|
sort: adminSchema.IReferralsSortInput;
|
|
@@ -2050,6 +2080,7 @@ declare const schema: {
|
|
|
2050
2080
|
IDevicePlatform: typeof adminSchema.IDevicePlatform;
|
|
2051
2081
|
ILocationType: typeof adminSchema.ILocationType;
|
|
2052
2082
|
INotificationDestination: typeof adminSchema.INotificationDestination;
|
|
2083
|
+
IProjectType: typeof adminSchema.IProjectType;
|
|
2053
2084
|
CreateReferralTypeDocument: import("graphql").DocumentNode;
|
|
2054
2085
|
CreateTierDocument: import("graphql").DocumentNode;
|
|
2055
2086
|
TriggerOpportunityNotificationDocument: import("graphql").DocumentNode;
|
|
@@ -2063,6 +2094,7 @@ declare const schema: {
|
|
|
2063
2094
|
CreateCategoryDocument: import("graphql").DocumentNode;
|
|
2064
2095
|
CreateBrandDocument: import("graphql").DocumentNode;
|
|
2065
2096
|
CreateAdminOpportunityDocument: import("graphql").DocumentNode;
|
|
2097
|
+
CreateProjectDocument: import("graphql").DocumentNode;
|
|
2066
2098
|
AddInviteCodesDocument: import("graphql").DocumentNode;
|
|
2067
2099
|
RemoveInviteCodeDocument: import("graphql").DocumentNode;
|
|
2068
2100
|
UpdateAirdropDocument: import("graphql").DocumentNode;
|
|
@@ -2074,6 +2106,7 @@ declare const schema: {
|
|
|
2074
2106
|
UpdateOpportunityDocument: import("graphql").DocumentNode;
|
|
2075
2107
|
UpdateOpportunityArchivedStatusDocument: import("graphql").DocumentNode;
|
|
2076
2108
|
UpdateProfileStatusDocument: import("graphql").DocumentNode;
|
|
2109
|
+
UpdateProjectDocument: import("graphql").DocumentNode;
|
|
2077
2110
|
CheckInviteCodeDocument: import("graphql").DocumentNode;
|
|
2078
2111
|
FetchContactSupportPageDocument: import("graphql").DocumentNode;
|
|
2079
2112
|
FetchContentReportPageDocument: import("graphql").DocumentNode;
|
|
@@ -2093,6 +2126,7 @@ declare const schema: {
|
|
|
2093
2126
|
FetchAdminCategoriesPageDocument: import("graphql").DocumentNode;
|
|
2094
2127
|
FetchAdminInvitesPageDocument: import("graphql").DocumentNode;
|
|
2095
2128
|
FetchAdminOpportunitiesPageDocument: import("graphql").DocumentNode;
|
|
2129
|
+
FetchAdminProjectsPageDocument: import("graphql").DocumentNode;
|
|
2096
2130
|
FetchAdminReferralsPageDocument: import("graphql").DocumentNode;
|
|
2097
2131
|
FetchAdminUsersPageDocument: import("graphql").DocumentNode;
|
|
2098
2132
|
FetchAdminXpPageDocument: import("graphql").DocumentNode;
|