@ludo.ninja/api 3.0.66 → 3.0.68
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 +109 -61
- package/build/graphql_tools/__generated__/adminHost/schema.js +73 -25
- package/build/index.d.ts +16 -8
- package/package.json +1 -1
- package/src/graphql_tools/__generated__/adminHost/schema.ts +145 -75
- package/tsconfig.tsbuildinfo +1 -1
|
@@ -131,9 +131,10 @@ export type IAdminInvite = {
|
|
|
131
131
|
};
|
|
132
132
|
export type IAdminOpportunity = {
|
|
133
133
|
opportunityId: Scalars['ID'];
|
|
134
|
+
projectId?: Maybe<Scalars['String']>;
|
|
134
135
|
name?: Maybe<Scalars['String']>;
|
|
135
136
|
description?: Maybe<Scalars['String']>;
|
|
136
|
-
|
|
137
|
+
projectName?: Maybe<Scalars['String']>;
|
|
137
138
|
industry?: Maybe<Scalars['String']>;
|
|
138
139
|
category?: Maybe<Scalars['String']>;
|
|
139
140
|
ludoUrl?: Maybe<Scalars['String']>;
|
|
@@ -163,9 +164,12 @@ export type IAdminOpportunity = {
|
|
|
163
164
|
showcase?: Maybe<Scalars['Boolean']>;
|
|
164
165
|
participantsLimit?: Maybe<Scalars['Int']>;
|
|
165
166
|
availablePlacesForAirdrop?: Maybe<Scalars['Int']>;
|
|
167
|
+
encodePayload?: Maybe<Scalars['Boolean']>;
|
|
168
|
+
payloadTypes?: Maybe<Array<Maybe<IPayloadType>>>;
|
|
169
|
+
parentOpportunityId?: Maybe<Scalars['String']>;
|
|
166
170
|
};
|
|
167
171
|
export type IAdminOpportunityInput = {
|
|
168
|
-
|
|
172
|
+
projectId?: Maybe<Scalars['String']>;
|
|
169
173
|
categoryId: Scalars['String'];
|
|
170
174
|
status: Scalars['String'];
|
|
171
175
|
pushNotificationsEnabled: Scalars['Boolean'];
|
|
@@ -191,6 +195,9 @@ export type IAdminOpportunityInput = {
|
|
|
191
195
|
type: IOpportunityType;
|
|
192
196
|
devicePlatforms?: Maybe<Array<IDevicePlatform>>;
|
|
193
197
|
participantsLimit?: Maybe<Scalars['Int']>;
|
|
198
|
+
encodePayload?: Maybe<Scalars['Boolean']>;
|
|
199
|
+
payloadTypes?: Maybe<Array<Maybe<IPayloadType>>>;
|
|
200
|
+
parentOpportunityId?: Maybe<Scalars['String']>;
|
|
194
201
|
};
|
|
195
202
|
export type IAdminPage = {
|
|
196
203
|
num?: Maybe<Scalars['Int']>;
|
|
@@ -216,39 +223,36 @@ export type IAdminPartnershipInquiry = {
|
|
|
216
223
|
ludoReferrerInfo?: Maybe<Scalars['String']>;
|
|
217
224
|
};
|
|
218
225
|
export type IAdminProject = {
|
|
219
|
-
id: Scalars['
|
|
226
|
+
id: Scalars['String'];
|
|
227
|
+
blockchain: Scalars['String'];
|
|
228
|
+
contract: Scalars['String'];
|
|
220
229
|
name: Scalars['String'];
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
+
verified: Scalars['Boolean'];
|
|
231
|
+
hidden: Scalars['Boolean'];
|
|
232
|
+
price?: Maybe<Scalars['Float']>;
|
|
233
|
+
priceDayDifference?: Maybe<Scalars['Float']>;
|
|
234
|
+
rank?: Maybe<Scalars['Float']>;
|
|
235
|
+
rankDayDifference?: Maybe<Scalars['Float']>;
|
|
236
|
+
holders?: Maybe<Scalars['Int']>;
|
|
237
|
+
holdersDayDifference?: Maybe<Scalars['Float']>;
|
|
238
|
+
twitterFollowers?: Maybe<Scalars['Int']>;
|
|
239
|
+
twitterFollowersDayDifference?: Maybe<Scalars['Float']>;
|
|
240
|
+
website?: Maybe<Scalars['String']>;
|
|
241
|
+
websiteRank?: Maybe<Scalars['Int']>;
|
|
242
|
+
twitter?: Maybe<Scalars['String']>;
|
|
230
243
|
};
|
|
231
244
|
export type IAdminProjectInput = {
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
avgInvestorsUserRank?: Maybe<Scalars['Int']>;
|
|
237
|
-
vcBackers?: Maybe<Scalars['Int']>;
|
|
238
|
-
securityScore?: Maybe<Scalars['Int']>;
|
|
239
|
-
types: Array<IProjectType>;
|
|
240
|
-
hidden?: Maybe<Scalars['Boolean']>;
|
|
241
|
-
showcase?: Maybe<Scalars['Boolean']>;
|
|
245
|
+
blockchain: Scalars['String'];
|
|
246
|
+
contract: Scalars['String'];
|
|
247
|
+
verified: Scalars['Boolean'];
|
|
248
|
+
hidden: Scalars['Boolean'];
|
|
242
249
|
};
|
|
243
250
|
export type IAdminProjectsFilterInput = {
|
|
251
|
+
contractTerm?: Maybe<Scalars['String']>;
|
|
244
252
|
nameTerm?: Maybe<Scalars['String']>;
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
vcBackers?: Maybe<Scalars['Int']>;
|
|
249
|
-
securityScore?: Maybe<Scalars['Int']>;
|
|
250
|
-
type?: Maybe<IProjectType>;
|
|
251
|
-
hidden?: Maybe<Scalars['Boolean']>;
|
|
253
|
+
price?: Maybe<Scalars['Float']>;
|
|
254
|
+
rank?: Maybe<Scalars['Float']>;
|
|
255
|
+
holders?: Maybe<Scalars['Int']>;
|
|
252
256
|
};
|
|
253
257
|
export type IAdminProjectsPage = {
|
|
254
258
|
projects: Array<IAdminProject>;
|
|
@@ -651,10 +655,10 @@ export type IMutationUpdateAirdropArgs = {
|
|
|
651
655
|
file?: Maybe<Scalars['Upload']>;
|
|
652
656
|
};
|
|
653
657
|
export type IMutationCreateProjectArgs = {
|
|
654
|
-
|
|
658
|
+
blockchain: Scalars['String'];
|
|
659
|
+
contract: Scalars['String'];
|
|
655
660
|
};
|
|
656
661
|
export type IMutationUpdateProjectArgs = {
|
|
657
|
-
id: Scalars['ID'];
|
|
658
662
|
input: IAdminProjectInput;
|
|
659
663
|
};
|
|
660
664
|
export type IMutationCreateReferralTypeArgs = {
|
|
@@ -742,7 +746,7 @@ export type IOpportunitiesPage = {
|
|
|
742
746
|
};
|
|
743
747
|
export type IOpportunitiesSortInput = {
|
|
744
748
|
sortByOpportunityName?: Maybe<ISort>;
|
|
745
|
-
|
|
749
|
+
sortByProjectName?: Maybe<ISort>;
|
|
746
750
|
sortByCategory?: Maybe<ISort>;
|
|
747
751
|
sortByOpportunityStatus?: Maybe<ISort>;
|
|
748
752
|
sortByActiveFrom?: Maybe<ISort>;
|
|
@@ -756,7 +760,8 @@ export type IOpportunitiesSortInput = {
|
|
|
756
760
|
export declare enum IOpportunityType {
|
|
757
761
|
TokenAirdrop = "TOKEN_AIRDROP",
|
|
758
762
|
Marketing = "MARKETING",
|
|
759
|
-
NftMinting = "NFT_MINTING"
|
|
763
|
+
NftMinting = "NFT_MINTING",
|
|
764
|
+
Event = "EVENT"
|
|
760
765
|
}
|
|
761
766
|
export type IPartnershipInquiryFilterInput = {
|
|
762
767
|
idTerm?: Maybe<Scalars['String']>;
|
|
@@ -777,6 +782,10 @@ export type IPartnershipInquirySortInput = {
|
|
|
777
782
|
sortByProjectName?: Maybe<ISort>;
|
|
778
783
|
sortByPartnershipType?: Maybe<ISort>;
|
|
779
784
|
};
|
|
785
|
+
export declare enum IPayloadType {
|
|
786
|
+
UserRank = "USER_RANK",
|
|
787
|
+
UserWallet = "USER_WALLET"
|
|
788
|
+
}
|
|
780
789
|
export declare enum IProjectType {
|
|
781
790
|
MemeCoins = "MEME_COINS",
|
|
782
791
|
AiAgents = "AI_AGENTS",
|
|
@@ -801,6 +810,7 @@ export type IQuery = {
|
|
|
801
810
|
fetchAdminCategories: Array<IAdminCategory>;
|
|
802
811
|
fetchAdminCategoriesPage: ICategoriesPage;
|
|
803
812
|
fetchAdminBrands: Array<IAdminBrand>;
|
|
813
|
+
fetchAdminProjects: Array<IAdminProject>;
|
|
804
814
|
fetchAdminBrandsPage: IBrandsPage;
|
|
805
815
|
fetchBlockchains: Array<Scalars['String']>;
|
|
806
816
|
fetchAdminAirdropsPage: IOpportunitiesPage;
|
|
@@ -886,7 +896,6 @@ export type IQueryFetchAdminAirdropsPageArgs = {
|
|
|
886
896
|
};
|
|
887
897
|
export type IQueryFetchProjectsPageArgs = {
|
|
888
898
|
filter: IAdminProjectsFilterInput;
|
|
889
|
-
sort: IAdminProjectsSortInput;
|
|
890
899
|
page: IAdminPageInput;
|
|
891
900
|
};
|
|
892
901
|
export type IQueryFetchAdminReferralsPageArgs = {
|
|
@@ -1262,6 +1271,7 @@ export type IResolversTypes = {
|
|
|
1262
1271
|
PartnershipInquiryFilterInput: IPartnershipInquiryFilterInput;
|
|
1263
1272
|
PartnershipInquiryPage: ResolverTypeWrapper<IPartnershipInquiryPage>;
|
|
1264
1273
|
PartnershipInquirySortInput: IPartnershipInquirySortInput;
|
|
1274
|
+
PayloadType: IPayloadType;
|
|
1265
1275
|
ProjectType: IProjectType;
|
|
1266
1276
|
Query: ResolverTypeWrapper<{}>;
|
|
1267
1277
|
RateLimits: ResolverTypeWrapper<IRateLimits>;
|
|
@@ -1520,9 +1530,10 @@ export type IAdminInviteResolvers<ContextType = any, ParentType extends IResolve
|
|
|
1520
1530
|
};
|
|
1521
1531
|
export type IAdminOpportunityResolvers<ContextType = any, ParentType extends IResolversParentTypes['AdminOpportunity'] = IResolversParentTypes['AdminOpportunity']> = {
|
|
1522
1532
|
opportunityId?: Resolver<IResolversTypes['ID'], ParentType, ContextType>;
|
|
1533
|
+
projectId?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
1523
1534
|
name?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
1524
1535
|
description?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
1525
|
-
|
|
1536
|
+
projectName?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
1526
1537
|
industry?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
1527
1538
|
category?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
1528
1539
|
ludoUrl?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
@@ -1552,6 +1563,9 @@ export type IAdminOpportunityResolvers<ContextType = any, ParentType extends IRe
|
|
|
1552
1563
|
showcase?: Resolver<Maybe<IResolversTypes['Boolean']>, ParentType, ContextType>;
|
|
1553
1564
|
participantsLimit?: Resolver<Maybe<IResolversTypes['Int']>, ParentType, ContextType>;
|
|
1554
1565
|
availablePlacesForAirdrop?: Resolver<Maybe<IResolversTypes['Int']>, ParentType, ContextType>;
|
|
1566
|
+
encodePayload?: Resolver<Maybe<IResolversTypes['Boolean']>, ParentType, ContextType>;
|
|
1567
|
+
payloadTypes?: Resolver<Maybe<Array<Maybe<IResolversTypes['PayloadType']>>>, ParentType, ContextType>;
|
|
1568
|
+
parentOpportunityId?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
1555
1569
|
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
1556
1570
|
};
|
|
1557
1571
|
export type IAdminPageResolvers<ContextType = any, ParentType extends IResolversParentTypes['AdminPage'] = IResolversParentTypes['AdminPage']> = {
|
|
@@ -1575,17 +1589,23 @@ export type IAdminPartnershipInquiryResolvers<ContextType = any, ParentType exte
|
|
|
1575
1589
|
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
1576
1590
|
};
|
|
1577
1591
|
export type IAdminProjectResolvers<ContextType = any, ParentType extends IResolversParentTypes['AdminProject'] = IResolversParentTypes['AdminProject']> = {
|
|
1578
|
-
id?: Resolver<IResolversTypes['
|
|
1592
|
+
id?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
|
|
1593
|
+
blockchain?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
|
|
1594
|
+
contract?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
|
|
1579
1595
|
name?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
|
|
1580
|
-
|
|
1581
|
-
|
|
1582
|
-
|
|
1583
|
-
|
|
1584
|
-
|
|
1585
|
-
|
|
1586
|
-
|
|
1587
|
-
|
|
1588
|
-
|
|
1596
|
+
verified?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType>;
|
|
1597
|
+
hidden?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType>;
|
|
1598
|
+
price?: Resolver<Maybe<IResolversTypes['Float']>, ParentType, ContextType>;
|
|
1599
|
+
priceDayDifference?: Resolver<Maybe<IResolversTypes['Float']>, ParentType, ContextType>;
|
|
1600
|
+
rank?: Resolver<Maybe<IResolversTypes['Float']>, ParentType, ContextType>;
|
|
1601
|
+
rankDayDifference?: Resolver<Maybe<IResolversTypes['Float']>, ParentType, ContextType>;
|
|
1602
|
+
holders?: Resolver<Maybe<IResolversTypes['Int']>, ParentType, ContextType>;
|
|
1603
|
+
holdersDayDifference?: Resolver<Maybe<IResolversTypes['Float']>, ParentType, ContextType>;
|
|
1604
|
+
twitterFollowers?: Resolver<Maybe<IResolversTypes['Int']>, ParentType, ContextType>;
|
|
1605
|
+
twitterFollowersDayDifference?: Resolver<Maybe<IResolversTypes['Float']>, ParentType, ContextType>;
|
|
1606
|
+
website?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
1607
|
+
websiteRank?: Resolver<Maybe<IResolversTypes['Int']>, ParentType, ContextType>;
|
|
1608
|
+
twitter?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
1589
1609
|
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
1590
1610
|
};
|
|
1591
1611
|
export type IAdminProjectsPageResolvers<ContextType = any, ParentType extends IResolversParentTypes['AdminProjectsPage'] = IResolversParentTypes['AdminProjectsPage']> = {
|
|
@@ -1737,8 +1757,8 @@ export type IMutationResolvers<ContextType = any, ParentType extends IResolversP
|
|
|
1737
1757
|
updateOpportunityArchivedStatus?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationUpdateOpportunityArchivedStatusArgs, 'id' | 'isArchived'>>;
|
|
1738
1758
|
triggerOpportunityNotification?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationTriggerOpportunityNotificationArgs, 'opportunityId'>>;
|
|
1739
1759
|
updateAirdrop?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationUpdateAirdropArgs, 'id' | 'input'>>;
|
|
1740
|
-
createProject?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationCreateProjectArgs, '
|
|
1741
|
-
updateProject?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationUpdateProjectArgs, '
|
|
1760
|
+
createProject?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationCreateProjectArgs, 'blockchain' | 'contract'>>;
|
|
1761
|
+
updateProject?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationUpdateProjectArgs, 'input'>>;
|
|
1742
1762
|
createReferralType?: Resolver<Maybe<IResolversTypes['Boolean']>, ParentType, ContextType, RequireFields<IMutationCreateReferralTypeArgs, 'input'>>;
|
|
1743
1763
|
updateReferralType?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationUpdateReferralTypeArgs, 'id' | 'input'>>;
|
|
1744
1764
|
updateReferralTypeArchivedStatus?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationUpdateReferralTypeArchivedStatusArgs, 'id' | 'archived'>>;
|
|
@@ -1781,10 +1801,11 @@ export type IQueryResolvers<ContextType = any, ParentType extends IResolversPare
|
|
|
1781
1801
|
fetchAdminCategories?: Resolver<Array<IResolversTypes['AdminCategory']>, ParentType, ContextType>;
|
|
1782
1802
|
fetchAdminCategoriesPage?: Resolver<IResolversTypes['CategoriesPage'], ParentType, ContextType, RequireFields<IQueryFetchAdminCategoriesPageArgs, 'filter' | 'sort' | 'page'>>;
|
|
1783
1803
|
fetchAdminBrands?: Resolver<Array<IResolversTypes['AdminBrand']>, ParentType, ContextType>;
|
|
1804
|
+
fetchAdminProjects?: Resolver<Array<IResolversTypes['AdminProject']>, ParentType, ContextType>;
|
|
1784
1805
|
fetchAdminBrandsPage?: Resolver<IResolversTypes['BrandsPage'], ParentType, ContextType, RequireFields<IQueryFetchAdminBrandsPageArgs, 'filter' | 'sort' | 'page'>>;
|
|
1785
1806
|
fetchBlockchains?: Resolver<Array<IResolversTypes['String']>, ParentType, ContextType>;
|
|
1786
1807
|
fetchAdminAirdropsPage?: Resolver<IResolversTypes['OpportunitiesPage'], ParentType, ContextType, RequireFields<IQueryFetchAdminAirdropsPageArgs, 'filter' | 'page'>>;
|
|
1787
|
-
fetchProjectsPage?: Resolver<IResolversTypes['AdminProjectsPage'], ParentType, ContextType, RequireFields<IQueryFetchProjectsPageArgs, 'filter' | '
|
|
1808
|
+
fetchProjectsPage?: Resolver<IResolversTypes['AdminProjectsPage'], ParentType, ContextType, RequireFields<IQueryFetchProjectsPageArgs, 'filter' | 'page'>>;
|
|
1788
1809
|
fetchAdminReferralsPage?: Resolver<IResolversTypes['ReferralsPage'], ParentType, ContextType, RequireFields<IQueryFetchAdminReferralsPageArgs, 'filter' | 'sort' | 'page'>>;
|
|
1789
1810
|
fetchUnarchivedReferralTypes?: Resolver<Array<IResolversTypes['ReferralType']>, ParentType, ContextType>;
|
|
1790
1811
|
fetchReferralTypesPage?: Resolver<IResolversTypes['ReferralTypesPage'], ParentType, ContextType, RequireFields<IQueryFetchReferralTypesPageArgs, 'filter' | 'sort' | 'page'>>;
|
|
@@ -2025,7 +2046,8 @@ export type ICreateAdminOpportunityMutationVariables = Exact<{
|
|
|
2025
2046
|
}>;
|
|
2026
2047
|
export type ICreateAdminOpportunityMutation = Pick<IMutation, 'createAdminOpportunity'>;
|
|
2027
2048
|
export type ICreateProjectMutationVariables = Exact<{
|
|
2028
|
-
|
|
2049
|
+
blockchain: Scalars['String'];
|
|
2050
|
+
contract: Scalars['String'];
|
|
2029
2051
|
}>;
|
|
2030
2052
|
export type ICreateProjectMutation = Pick<IMutation, 'createProject'>;
|
|
2031
2053
|
export type IAddInviteCodesMutationVariables = Exact<{
|
|
@@ -2096,7 +2118,6 @@ export type IUpdateProfileStatusMutationVariables = Exact<{
|
|
|
2096
2118
|
}>;
|
|
2097
2119
|
export type IUpdateProfileStatusMutation = Pick<IMutation, 'updateProfileStatus'>;
|
|
2098
2120
|
export type IUpdateProjectMutationVariables = Exact<{
|
|
2099
|
-
id: Scalars['ID'];
|
|
2100
2121
|
input: IAdminProjectInput;
|
|
2101
2122
|
}>;
|
|
2102
2123
|
export type IUpdateProjectMutation = Pick<IMutation, 'updateProject'>;
|
|
@@ -2224,7 +2245,7 @@ export type IFetchAdminAirdropsPageQueryVariables = Exact<{
|
|
|
2224
2245
|
}>;
|
|
2225
2246
|
export type IFetchAdminAirdropsPageQuery = {
|
|
2226
2247
|
fetchAdminAirdropsPage: {
|
|
2227
|
-
opportunities: Array<Pick<IAdminOpportunity, 'opportunityId' | 'name' | '
|
|
2248
|
+
opportunities: Array<Pick<IAdminOpportunity, 'opportunityId' | 'name' | 'description' | 'projectName' | 'industry' | 'category' | 'ludoUrl' | 'projectUrl' | 'pushNotificationsEnabled' | 'status' | 'activeFrom' | 'activeUntil' | 'minXpLevel' | 'maxXpLevel' | 'minLudoRank' | 'maxLudoRank' | 'media' | 'minWalletValue' | 'maxWalletValue' | 'clicks' | 'views' | 'addedBy' | 'archived' | 'blockchains' | 'geolocations' | 'notificationDestinations' | 'type' | 'devicePlatforms' | 'participants' | 'hidden' | 'showcase' | 'participantsLimit' | 'availablePlacesForAirdrop' | 'encodePayload' | 'payloadTypes'>>;
|
|
2228
2249
|
nextPage?: Maybe<Pick<IAdminPage, 'elements' | 'lastNum' | 'num' | 'size' | 'token'>>;
|
|
2229
2250
|
};
|
|
2230
2251
|
};
|
|
@@ -2286,18 +2307,23 @@ export type IFetchAdminOpportunitiesPageQueryVariables = Exact<{
|
|
|
2286
2307
|
}>;
|
|
2287
2308
|
export type IFetchAdminOpportunitiesPageQuery = {
|
|
2288
2309
|
fetchAdminOpportunitiesPage: {
|
|
2289
|
-
opportunities: Array<Pick<IAdminOpportunity, 'opportunityId' | 'name' | '
|
|
2310
|
+
opportunities: Array<Pick<IAdminOpportunity, 'opportunityId' | 'name' | 'projectName' | 'industry' | 'category' | 'ludoUrl' | 'projectUrl' | 'pushNotificationsEnabled' | 'status' | 'media' | 'description' | 'activeFrom' | 'activeUntil' | 'minXpLevel' | 'maxXpLevel' | 'minLudoRank' | 'maxLudoRank' | 'minWalletValue' | 'maxWalletValue' | 'clicks' | 'views' | 'addedBy' | 'archived' | 'blockchains' | 'geolocations' | 'notificationDestinations' | 'type' | 'devicePlatforms' | 'participantsLimit' | 'availablePlacesForAirdrop' | 'encodePayload' | 'payloadTypes'>>;
|
|
2290
2311
|
nextPage?: Maybe<Pick<IAdminPage, 'elements' | 'lastNum' | 'num' | 'size' | 'token'>>;
|
|
2291
2312
|
};
|
|
2292
2313
|
};
|
|
2314
|
+
export type IFetchAdminProjectsQueryVariables = Exact<{
|
|
2315
|
+
[key: string]: never;
|
|
2316
|
+
}>;
|
|
2317
|
+
export type IFetchAdminProjectsQuery = {
|
|
2318
|
+
fetchAdminProjects: Array<Pick<IAdminProject, 'id' | 'name'>>;
|
|
2319
|
+
};
|
|
2293
2320
|
export type IFetchAdminProjectsPageQueryVariables = Exact<{
|
|
2294
2321
|
filter: IAdminProjectsFilterInput;
|
|
2295
|
-
sort: IAdminProjectsSortInput;
|
|
2296
2322
|
page: IAdminPageInput;
|
|
2297
2323
|
}>;
|
|
2298
2324
|
export type IFetchAdminProjectsPageQuery = {
|
|
2299
2325
|
fetchProjectsPage: {
|
|
2300
|
-
projects: Array<Pick<IAdminProject, 'id' | 'name' | '
|
|
2326
|
+
projects: Array<Pick<IAdminProject, 'id' | 'blockchain' | 'contract' | 'name' | 'verified' | 'hidden' | 'price' | 'priceDayDifference' | 'rank' | 'rankDayDifference' | 'holders' | 'holdersDayDifference' | 'twitterFollowers' | 'twitterFollowersDayDifference' | 'website' | 'websiteRank' | 'twitter'>>;
|
|
2301
2327
|
nextPage?: Maybe<Pick<IAdminPage, 'elements' | 'lastNum' | 'num' | 'size' | 'token'>>;
|
|
2302
2328
|
};
|
|
2303
2329
|
};
|
|
@@ -2758,12 +2784,14 @@ export type ICreateProjectMutationFn = Apollo.MutationFunction<ICreateProjectMut
|
|
|
2758
2784
|
* @example
|
|
2759
2785
|
* const [createProjectMutation, { data, loading, error }] = useCreateProjectMutation({
|
|
2760
2786
|
* variables: {
|
|
2761
|
-
*
|
|
2787
|
+
* blockchain: // value for 'blockchain'
|
|
2788
|
+
* contract: // value for 'contract'
|
|
2762
2789
|
* },
|
|
2763
2790
|
* });
|
|
2764
2791
|
*/
|
|
2765
2792
|
export declare function useCreateProjectMutation(baseOptions?: Apollo.MutationHookOptions<ICreateProjectMutation, ICreateProjectMutationVariables>): Apollo.MutationTuple<ICreateProjectMutation, Exact<{
|
|
2766
|
-
|
|
2793
|
+
blockchain: string;
|
|
2794
|
+
contract: string;
|
|
2767
2795
|
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
2768
2796
|
export type CreateProjectMutationHookResult = ReturnType<typeof useCreateProjectMutation>;
|
|
2769
2797
|
export type CreateProjectMutationResult = Apollo.MutationResult<ICreateProjectMutation>;
|
|
@@ -3138,13 +3166,11 @@ export type IUpdateProjectMutationFn = Apollo.MutationFunction<IUpdateProjectMut
|
|
|
3138
3166
|
* @example
|
|
3139
3167
|
* const [updateProjectMutation, { data, loading, error }] = useUpdateProjectMutation({
|
|
3140
3168
|
* variables: {
|
|
3141
|
-
* id: // value for 'id'
|
|
3142
3169
|
* input: // value for 'input'
|
|
3143
3170
|
* },
|
|
3144
3171
|
* });
|
|
3145
3172
|
*/
|
|
3146
3173
|
export declare function useUpdateProjectMutation(baseOptions?: Apollo.MutationHookOptions<IUpdateProjectMutation, IUpdateProjectMutationVariables>): Apollo.MutationTuple<IUpdateProjectMutation, Exact<{
|
|
3147
|
-
id: string;
|
|
3148
3174
|
input: IAdminProjectInput;
|
|
3149
3175
|
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
3150
3176
|
export type UpdateProjectMutationHookResult = ReturnType<typeof useUpdateProjectMutation>;
|
|
@@ -3724,6 +3750,31 @@ export declare function useFetchAdminOpportunitiesPageLazyQuery(baseOptions?: Ap
|
|
|
3724
3750
|
export type FetchAdminOpportunitiesPageQueryHookResult = ReturnType<typeof useFetchAdminOpportunitiesPageQuery>;
|
|
3725
3751
|
export type FetchAdminOpportunitiesPageLazyQueryHookResult = ReturnType<typeof useFetchAdminOpportunitiesPageLazyQuery>;
|
|
3726
3752
|
export type FetchAdminOpportunitiesPageQueryResult = Apollo.QueryResult<IFetchAdminOpportunitiesPageQuery, IFetchAdminOpportunitiesPageQueryVariables>;
|
|
3753
|
+
export declare const FetchAdminProjectsDocument: Apollo.DocumentNode;
|
|
3754
|
+
/**
|
|
3755
|
+
* __useFetchAdminProjectsQuery__
|
|
3756
|
+
*
|
|
3757
|
+
* To run a query within a React component, call `useFetchAdminProjectsQuery` and pass it any options that fit your needs.
|
|
3758
|
+
* When your component renders, `useFetchAdminProjectsQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
3759
|
+
* you can use to render your UI.
|
|
3760
|
+
*
|
|
3761
|
+
* @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;
|
|
3762
|
+
*
|
|
3763
|
+
* @example
|
|
3764
|
+
* const { data, loading, error } = useFetchAdminProjectsQuery({
|
|
3765
|
+
* variables: {
|
|
3766
|
+
* },
|
|
3767
|
+
* });
|
|
3768
|
+
*/
|
|
3769
|
+
export declare function useFetchAdminProjectsQuery(baseOptions?: Apollo.QueryHookOptions<IFetchAdminProjectsQuery, IFetchAdminProjectsQueryVariables>): Apollo.QueryResult<IFetchAdminProjectsQuery, Exact<{
|
|
3770
|
+
[key: string]: never;
|
|
3771
|
+
}>>;
|
|
3772
|
+
export declare function useFetchAdminProjectsLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<IFetchAdminProjectsQuery, IFetchAdminProjectsQueryVariables>): Apollo.LazyQueryResultTuple<IFetchAdminProjectsQuery, Exact<{
|
|
3773
|
+
[key: string]: never;
|
|
3774
|
+
}>>;
|
|
3775
|
+
export type FetchAdminProjectsQueryHookResult = ReturnType<typeof useFetchAdminProjectsQuery>;
|
|
3776
|
+
export type FetchAdminProjectsLazyQueryHookResult = ReturnType<typeof useFetchAdminProjectsLazyQuery>;
|
|
3777
|
+
export type FetchAdminProjectsQueryResult = Apollo.QueryResult<IFetchAdminProjectsQuery, IFetchAdminProjectsQueryVariables>;
|
|
3727
3778
|
export declare const FetchAdminProjectsPageDocument: Apollo.DocumentNode;
|
|
3728
3779
|
/**
|
|
3729
3780
|
* __useFetchAdminProjectsPageQuery__
|
|
@@ -3738,19 +3789,16 @@ export declare const FetchAdminProjectsPageDocument: Apollo.DocumentNode;
|
|
|
3738
3789
|
* const { data, loading, error } = useFetchAdminProjectsPageQuery({
|
|
3739
3790
|
* variables: {
|
|
3740
3791
|
* filter: // value for 'filter'
|
|
3741
|
-
* sort: // value for 'sort'
|
|
3742
3792
|
* page: // value for 'page'
|
|
3743
3793
|
* },
|
|
3744
3794
|
* });
|
|
3745
3795
|
*/
|
|
3746
3796
|
export declare function useFetchAdminProjectsPageQuery(baseOptions: Apollo.QueryHookOptions<IFetchAdminProjectsPageQuery, IFetchAdminProjectsPageQueryVariables>): Apollo.QueryResult<IFetchAdminProjectsPageQuery, Exact<{
|
|
3747
3797
|
filter: IAdminProjectsFilterInput;
|
|
3748
|
-
sort: IAdminProjectsSortInput;
|
|
3749
3798
|
page: IAdminPageInput;
|
|
3750
3799
|
}>>;
|
|
3751
3800
|
export declare function useFetchAdminProjectsPageLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<IFetchAdminProjectsPageQuery, IFetchAdminProjectsPageQueryVariables>): Apollo.LazyQueryResultTuple<IFetchAdminProjectsPageQuery, Exact<{
|
|
3752
3801
|
filter: IAdminProjectsFilterInput;
|
|
3753
|
-
sort: IAdminProjectsSortInput;
|
|
3754
3802
|
page: IAdminPageInput;
|
|
3755
3803
|
}>>;
|
|
3756
3804
|
export type FetchAdminProjectsPageQueryHookResult = ReturnType<typeof useFetchAdminProjectsPageQuery>;
|
|
@@ -23,10 +23,10 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
23
23
|
return result;
|
|
24
24
|
};
|
|
25
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
-
exports.
|
|
27
|
-
exports.
|
|
28
|
-
exports.
|
|
29
|
-
exports.useFetchLeaderboardLazyQuery = exports.useFetchLeaderboardQuery = exports.FetchLeaderboardDocument = exports.useFetchDefaultRateLimitsLazyQuery = void 0;
|
|
26
|
+
exports.UpdateAirdropDocument = exports.useRevokeCompanyTokenMutation = exports.RevokeCompanyTokenDocument = exports.useRemoveInviteCodeMutation = exports.RemoveInviteCodeDocument = exports.useAddInviteCodesMutation = exports.AddInviteCodesDocument = exports.useCreateProjectMutation = exports.CreateProjectDocument = exports.useCreateAdminOpportunityMutation = exports.CreateAdminOpportunityDocument = exports.useCreateCompanyTokenMutation = exports.CreateCompanyTokenDocument = exports.useCreateBrandMutation = exports.CreateBrandDocument = exports.useCreateCategoryMutation = exports.CreateCategoryDocument = exports.useChangeXpPointsMutation = exports.ChangeXpPointsDocument = exports.useUpdateTierArchivedStatusMutation = exports.UpdateTierArchivedStatusDocument = exports.useUpdateTierMutation = exports.UpdateTierDocument = exports.useUpdateReferralTypeArchivedStatusMutation = exports.UpdateReferralTypeArchivedStatusDocument = exports.useUpdateReferralTypeMutation = exports.UpdateReferralTypeDocument = exports.useUpdateOpportunityPushStatusMutation = exports.UpdateOpportunityPushStatusDocument = exports.useUpdateInviteCodeUsagesLimitMutation = exports.UpdateInviteCodeUsagesLimitDocument = exports.useTriggerOpportunityNotificationMutation = exports.TriggerOpportunityNotificationDocument = exports.useCreateTierMutation = exports.CreateTierDocument = exports.useCreateReferralTypeMutation = exports.CreateReferralTypeDocument = exports.ITariffPlan = exports.ISortDirection = exports.IReftypeColor = exports.IProjectType = exports.IPayloadType = exports.IOpportunityType = exports.INotificationDestination = exports.ILoginSource = exports.ILocationType = exports.ILeaderboardType = exports.IDevicePlatform = exports.IAuthorityType = exports.IAccessType = void 0;
|
|
27
|
+
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.useUpdateCompanyTokenRateLimitsMutation = exports.UpdateCompanyTokenRateLimitsDocument = exports.useUpdateCategoryArchivedStatusMutation = exports.UpdateCategoryArchivedStatusDocument = exports.useUpdateCategoryMutation = exports.UpdateCategoryDocument = exports.useUpdateBrandArchivedStatusMutation = exports.UpdateBrandArchivedStatusDocument = exports.useUpdateBrandMutation = exports.UpdateBrandDocument = exports.useUpdateAirdropMutation = void 0;
|
|
28
|
+
exports.FetchCompanyTokensPageDocument = 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.useFetchAdminProjectsLazyQuery = exports.useFetchAdminProjectsQuery = exports.FetchAdminProjectsDocument = 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 = exports.useFetchAdminAirdropsPageQuery = exports.FetchAdminAirdropsPageDocument = exports.useFetchUserFeedbackPageLazyQuery = exports.useFetchUserFeedbackPageQuery = exports.FetchUserFeedbackPageDocument = exports.useFetchTiersPageLazyQuery = exports.useFetchTiersPageQuery = exports.FetchTiersPageDocument = exports.useFetchTiersLazyQuery = void 0;
|
|
29
|
+
exports.useFetchLeaderboardLazyQuery = exports.useFetchLeaderboardQuery = exports.FetchLeaderboardDocument = exports.useFetchDefaultRateLimitsLazyQuery = exports.useFetchDefaultRateLimitsQuery = exports.FetchDefaultRateLimitsDocument = exports.useFetchCompanyTokensPageLazyQuery = exports.useFetchCompanyTokensPageQuery = void 0;
|
|
30
30
|
const client_1 = require("@apollo/client");
|
|
31
31
|
const Apollo = __importStar(require("@apollo/client"));
|
|
32
32
|
var IAccessType;
|
|
@@ -78,7 +78,13 @@ var IOpportunityType;
|
|
|
78
78
|
IOpportunityType["TokenAirdrop"] = "TOKEN_AIRDROP";
|
|
79
79
|
IOpportunityType["Marketing"] = "MARKETING";
|
|
80
80
|
IOpportunityType["NftMinting"] = "NFT_MINTING";
|
|
81
|
+
IOpportunityType["Event"] = "EVENT";
|
|
81
82
|
})(IOpportunityType || (exports.IOpportunityType = IOpportunityType = {}));
|
|
83
|
+
var IPayloadType;
|
|
84
|
+
(function (IPayloadType) {
|
|
85
|
+
IPayloadType["UserRank"] = "USER_RANK";
|
|
86
|
+
IPayloadType["UserWallet"] = "USER_WALLET";
|
|
87
|
+
})(IPayloadType || (exports.IPayloadType = IPayloadType = {}));
|
|
82
88
|
var IProjectType;
|
|
83
89
|
(function (IProjectType) {
|
|
84
90
|
IProjectType["MemeCoins"] = "MEME_COINS";
|
|
@@ -490,8 +496,8 @@ function useCreateAdminOpportunityMutation(baseOptions) {
|
|
|
490
496
|
}
|
|
491
497
|
exports.useCreateAdminOpportunityMutation = useCreateAdminOpportunityMutation;
|
|
492
498
|
exports.CreateProjectDocument = (0, client_1.gql) `
|
|
493
|
-
mutation CreateProject($
|
|
494
|
-
createProject(
|
|
499
|
+
mutation CreateProject($blockchain: String!, $contract: String!) {
|
|
500
|
+
createProject(blockchain: $blockchain, contract: $contract)
|
|
495
501
|
}
|
|
496
502
|
`;
|
|
497
503
|
/**
|
|
@@ -507,7 +513,8 @@ exports.CreateProjectDocument = (0, client_1.gql) `
|
|
|
507
513
|
* @example
|
|
508
514
|
* const [createProjectMutation, { data, loading, error }] = useCreateProjectMutation({
|
|
509
515
|
* variables: {
|
|
510
|
-
*
|
|
516
|
+
* blockchain: // value for 'blockchain'
|
|
517
|
+
* contract: // value for 'contract'
|
|
511
518
|
* },
|
|
512
519
|
* });
|
|
513
520
|
*/
|
|
@@ -869,8 +876,8 @@ function useUpdateProfileStatusMutation(baseOptions) {
|
|
|
869
876
|
}
|
|
870
877
|
exports.useUpdateProfileStatusMutation = useUpdateProfileStatusMutation;
|
|
871
878
|
exports.UpdateProjectDocument = (0, client_1.gql) `
|
|
872
|
-
mutation UpdateProject($
|
|
873
|
-
updateProject(
|
|
879
|
+
mutation UpdateProject($input: AdminProjectInput!) {
|
|
880
|
+
updateProject(input: $input)
|
|
874
881
|
}
|
|
875
882
|
`;
|
|
876
883
|
/**
|
|
@@ -886,7 +893,6 @@ exports.UpdateProjectDocument = (0, client_1.gql) `
|
|
|
886
893
|
* @example
|
|
887
894
|
* const [updateProjectMutation, { data, loading, error }] = useUpdateProjectMutation({
|
|
888
895
|
* variables: {
|
|
889
|
-
* id: // value for 'id'
|
|
890
896
|
* input: // value for 'input'
|
|
891
897
|
* },
|
|
892
898
|
* });
|
|
@@ -1441,21 +1447,21 @@ exports.FetchAdminAirdropsPageDocument = (0, client_1.gql) `
|
|
|
1441
1447
|
opportunities {
|
|
1442
1448
|
opportunityId
|
|
1443
1449
|
name
|
|
1444
|
-
|
|
1450
|
+
description
|
|
1451
|
+
projectName
|
|
1445
1452
|
industry
|
|
1446
1453
|
category
|
|
1447
1454
|
ludoUrl
|
|
1448
1455
|
projectUrl
|
|
1449
1456
|
pushNotificationsEnabled
|
|
1450
1457
|
status
|
|
1451
|
-
media
|
|
1452
|
-
description
|
|
1453
1458
|
activeFrom
|
|
1454
1459
|
activeUntil
|
|
1455
1460
|
minXpLevel
|
|
1456
1461
|
maxXpLevel
|
|
1457
1462
|
minLudoRank
|
|
1458
1463
|
maxLudoRank
|
|
1464
|
+
media
|
|
1459
1465
|
minWalletValue
|
|
1460
1466
|
maxWalletValue
|
|
1461
1467
|
clicks
|
|
@@ -1470,6 +1476,10 @@ exports.FetchAdminAirdropsPageDocument = (0, client_1.gql) `
|
|
|
1470
1476
|
participants
|
|
1471
1477
|
hidden
|
|
1472
1478
|
showcase
|
|
1479
|
+
participantsLimit
|
|
1480
|
+
availablePlacesForAirdrop
|
|
1481
|
+
encodePayload
|
|
1482
|
+
payloadTypes
|
|
1473
1483
|
}
|
|
1474
1484
|
nextPage {
|
|
1475
1485
|
elements
|
|
@@ -1755,7 +1765,7 @@ exports.FetchAdminOpportunitiesPageDocument = (0, client_1.gql) `
|
|
|
1755
1765
|
opportunities {
|
|
1756
1766
|
opportunityId
|
|
1757
1767
|
name
|
|
1758
|
-
|
|
1768
|
+
projectName
|
|
1759
1769
|
industry
|
|
1760
1770
|
category
|
|
1761
1771
|
ludoUrl
|
|
@@ -1783,6 +1793,8 @@ exports.FetchAdminOpportunitiesPageDocument = (0, client_1.gql) `
|
|
|
1783
1793
|
devicePlatforms
|
|
1784
1794
|
participantsLimit
|
|
1785
1795
|
availablePlacesForAirdrop
|
|
1796
|
+
encodePayload
|
|
1797
|
+
payloadTypes
|
|
1786
1798
|
}
|
|
1787
1799
|
nextPage {
|
|
1788
1800
|
elements
|
|
@@ -1820,21 +1832,58 @@ function useFetchAdminOpportunitiesPageLazyQuery(baseOptions) {
|
|
|
1820
1832
|
return Apollo.useLazyQuery(exports.FetchAdminOpportunitiesPageDocument, baseOptions);
|
|
1821
1833
|
}
|
|
1822
1834
|
exports.useFetchAdminOpportunitiesPageLazyQuery = useFetchAdminOpportunitiesPageLazyQuery;
|
|
1835
|
+
exports.FetchAdminProjectsDocument = (0, client_1.gql) `
|
|
1836
|
+
query FetchAdminProjects {
|
|
1837
|
+
fetchAdminProjects {
|
|
1838
|
+
id
|
|
1839
|
+
name
|
|
1840
|
+
}
|
|
1841
|
+
}
|
|
1842
|
+
`;
|
|
1843
|
+
/**
|
|
1844
|
+
* __useFetchAdminProjectsQuery__
|
|
1845
|
+
*
|
|
1846
|
+
* To run a query within a React component, call `useFetchAdminProjectsQuery` and pass it any options that fit your needs.
|
|
1847
|
+
* When your component renders, `useFetchAdminProjectsQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
1848
|
+
* you can use to render your UI.
|
|
1849
|
+
*
|
|
1850
|
+
* @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;
|
|
1851
|
+
*
|
|
1852
|
+
* @example
|
|
1853
|
+
* const { data, loading, error } = useFetchAdminProjectsQuery({
|
|
1854
|
+
* variables: {
|
|
1855
|
+
* },
|
|
1856
|
+
* });
|
|
1857
|
+
*/
|
|
1858
|
+
function useFetchAdminProjectsQuery(baseOptions) {
|
|
1859
|
+
return Apollo.useQuery(exports.FetchAdminProjectsDocument, baseOptions);
|
|
1860
|
+
}
|
|
1861
|
+
exports.useFetchAdminProjectsQuery = useFetchAdminProjectsQuery;
|
|
1862
|
+
function useFetchAdminProjectsLazyQuery(baseOptions) {
|
|
1863
|
+
return Apollo.useLazyQuery(exports.FetchAdminProjectsDocument, baseOptions);
|
|
1864
|
+
}
|
|
1865
|
+
exports.useFetchAdminProjectsLazyQuery = useFetchAdminProjectsLazyQuery;
|
|
1823
1866
|
exports.FetchAdminProjectsPageDocument = (0, client_1.gql) `
|
|
1824
|
-
query FetchAdminProjectsPage($filter: AdminProjectsFilterInput!, $
|
|
1825
|
-
fetchProjectsPage(filter: $filter,
|
|
1867
|
+
query FetchAdminProjectsPage($filter: AdminProjectsFilterInput!, $page: AdminPageInput!) {
|
|
1868
|
+
fetchProjectsPage(filter: $filter, page: $page) {
|
|
1826
1869
|
projects {
|
|
1827
1870
|
id
|
|
1871
|
+
blockchain
|
|
1872
|
+
contract
|
|
1828
1873
|
name
|
|
1829
|
-
|
|
1830
|
-
tradingVolume24h
|
|
1831
|
-
liquidity
|
|
1832
|
-
avgInvestorsUserRank
|
|
1833
|
-
vcBackers
|
|
1834
|
-
securityScore
|
|
1835
|
-
types
|
|
1874
|
+
verified
|
|
1836
1875
|
hidden
|
|
1837
|
-
|
|
1876
|
+
price
|
|
1877
|
+
priceDayDifference
|
|
1878
|
+
rank
|
|
1879
|
+
rankDayDifference
|
|
1880
|
+
holders
|
|
1881
|
+
holdersDayDifference
|
|
1882
|
+
twitterFollowers
|
|
1883
|
+
twitterFollowersDayDifference
|
|
1884
|
+
website
|
|
1885
|
+
websiteRank
|
|
1886
|
+
twitter
|
|
1838
1887
|
}
|
|
1839
1888
|
nextPage {
|
|
1840
1889
|
elements
|
|
@@ -1859,7 +1908,6 @@ exports.FetchAdminProjectsPageDocument = (0, client_1.gql) `
|
|
|
1859
1908
|
* const { data, loading, error } = useFetchAdminProjectsPageQuery({
|
|
1860
1909
|
* variables: {
|
|
1861
1910
|
* filter: // value for 'filter'
|
|
1862
|
-
* sort: // value for 'sort'
|
|
1863
1911
|
* page: // value for 'page'
|
|
1864
1912
|
* },
|
|
1865
1913
|
* });
|