@ludo.ninja/api 3.0.65 → 3.0.67
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 +69 -60
- package/build/graphql_tools/__generated__/adminHost/schema.js +41 -25
- package/build/graphql_tools/__generated__/opportunitiesHost/schema.d.ts +126 -1
- package/build/graphql_tools/__generated__/opportunitiesHost/schema.js +76 -1
- package/build/index.d.ts +22 -8
- package/package.json +1 -1
- package/src/graphql_tools/__generated__/adminHost/schema.ts +98 -74
- package/src/graphql_tools/__generated__/opportunitiesHost/schema.ts +164 -2
- package/tsconfig.tsbuildinfo +1 -1
|
@@ -133,7 +133,7 @@ export type IAdminOpportunity = {
|
|
|
133
133
|
opportunityId: Scalars['ID'];
|
|
134
134
|
name?: Maybe<Scalars['String']>;
|
|
135
135
|
description?: Maybe<Scalars['String']>;
|
|
136
|
-
|
|
136
|
+
projectName?: Maybe<Scalars['String']>;
|
|
137
137
|
industry?: Maybe<Scalars['String']>;
|
|
138
138
|
category?: Maybe<Scalars['String']>;
|
|
139
139
|
ludoUrl?: Maybe<Scalars['String']>;
|
|
@@ -163,9 +163,11 @@ export type IAdminOpportunity = {
|
|
|
163
163
|
showcase?: Maybe<Scalars['Boolean']>;
|
|
164
164
|
participantsLimit?: Maybe<Scalars['Int']>;
|
|
165
165
|
availablePlacesForAirdrop?: Maybe<Scalars['Int']>;
|
|
166
|
+
encodePayload?: Maybe<Scalars['Boolean']>;
|
|
167
|
+
payloadTypes?: Maybe<Array<Maybe<IPayloadType>>>;
|
|
166
168
|
};
|
|
167
169
|
export type IAdminOpportunityInput = {
|
|
168
|
-
|
|
170
|
+
projectId?: Maybe<Scalars['String']>;
|
|
169
171
|
categoryId: Scalars['String'];
|
|
170
172
|
status: Scalars['String'];
|
|
171
173
|
pushNotificationsEnabled: Scalars['Boolean'];
|
|
@@ -191,6 +193,8 @@ export type IAdminOpportunityInput = {
|
|
|
191
193
|
type: IOpportunityType;
|
|
192
194
|
devicePlatforms?: Maybe<Array<IDevicePlatform>>;
|
|
193
195
|
participantsLimit?: Maybe<Scalars['Int']>;
|
|
196
|
+
encodePayload?: Maybe<Scalars['Boolean']>;
|
|
197
|
+
payloadTypes?: Maybe<Array<Maybe<IPayloadType>>>;
|
|
194
198
|
};
|
|
195
199
|
export type IAdminPage = {
|
|
196
200
|
num?: Maybe<Scalars['Int']>;
|
|
@@ -216,39 +220,36 @@ export type IAdminPartnershipInquiry = {
|
|
|
216
220
|
ludoReferrerInfo?: Maybe<Scalars['String']>;
|
|
217
221
|
};
|
|
218
222
|
export type IAdminProject = {
|
|
219
|
-
id: Scalars['
|
|
223
|
+
id: Scalars['String'];
|
|
224
|
+
blockchain: Scalars['String'];
|
|
225
|
+
contract: Scalars['String'];
|
|
220
226
|
name: Scalars['String'];
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
227
|
+
verified: Scalars['Boolean'];
|
|
228
|
+
hidden: Scalars['Boolean'];
|
|
229
|
+
price?: Maybe<Scalars['Float']>;
|
|
230
|
+
priceDayDifference?: Maybe<Scalars['Float']>;
|
|
231
|
+
rank?: Maybe<Scalars['Float']>;
|
|
232
|
+
rankDayDifference?: Maybe<Scalars['Float']>;
|
|
233
|
+
holders?: Maybe<Scalars['Int']>;
|
|
234
|
+
holdersDayDifference?: Maybe<Scalars['Float']>;
|
|
235
|
+
twitterFollowers?: Maybe<Scalars['Int']>;
|
|
236
|
+
twitterFollowersDayDifference?: Maybe<Scalars['Float']>;
|
|
237
|
+
website?: Maybe<Scalars['String']>;
|
|
238
|
+
websiteRank?: Maybe<Scalars['Int']>;
|
|
239
|
+
twitter?: Maybe<Scalars['String']>;
|
|
230
240
|
};
|
|
231
241
|
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']>;
|
|
242
|
+
blockchain: Scalars['String'];
|
|
243
|
+
contract: Scalars['String'];
|
|
244
|
+
verified: Scalars['Boolean'];
|
|
245
|
+
hidden: Scalars['Boolean'];
|
|
242
246
|
};
|
|
243
247
|
export type IAdminProjectsFilterInput = {
|
|
248
|
+
contractTerm?: Maybe<Scalars['String']>;
|
|
244
249
|
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']>;
|
|
250
|
+
price?: Maybe<Scalars['Float']>;
|
|
251
|
+
rank?: Maybe<Scalars['Float']>;
|
|
252
|
+
holders?: Maybe<Scalars['Int']>;
|
|
252
253
|
};
|
|
253
254
|
export type IAdminProjectsPage = {
|
|
254
255
|
projects: Array<IAdminProject>;
|
|
@@ -651,10 +652,10 @@ export type IMutationUpdateAirdropArgs = {
|
|
|
651
652
|
file?: Maybe<Scalars['Upload']>;
|
|
652
653
|
};
|
|
653
654
|
export type IMutationCreateProjectArgs = {
|
|
654
|
-
|
|
655
|
+
blockchain: Scalars['String'];
|
|
656
|
+
contract: Scalars['String'];
|
|
655
657
|
};
|
|
656
658
|
export type IMutationUpdateProjectArgs = {
|
|
657
|
-
id: Scalars['ID'];
|
|
658
659
|
input: IAdminProjectInput;
|
|
659
660
|
};
|
|
660
661
|
export type IMutationCreateReferralTypeArgs = {
|
|
@@ -742,7 +743,7 @@ export type IOpportunitiesPage = {
|
|
|
742
743
|
};
|
|
743
744
|
export type IOpportunitiesSortInput = {
|
|
744
745
|
sortByOpportunityName?: Maybe<ISort>;
|
|
745
|
-
|
|
746
|
+
sortByProjectName?: Maybe<ISort>;
|
|
746
747
|
sortByCategory?: Maybe<ISort>;
|
|
747
748
|
sortByOpportunityStatus?: Maybe<ISort>;
|
|
748
749
|
sortByActiveFrom?: Maybe<ISort>;
|
|
@@ -777,6 +778,10 @@ export type IPartnershipInquirySortInput = {
|
|
|
777
778
|
sortByProjectName?: Maybe<ISort>;
|
|
778
779
|
sortByPartnershipType?: Maybe<ISort>;
|
|
779
780
|
};
|
|
781
|
+
export declare enum IPayloadType {
|
|
782
|
+
UserRank = "USER_RANK",
|
|
783
|
+
UserWallet = "USER_WALLET"
|
|
784
|
+
}
|
|
780
785
|
export declare enum IProjectType {
|
|
781
786
|
MemeCoins = "MEME_COINS",
|
|
782
787
|
AiAgents = "AI_AGENTS",
|
|
@@ -886,7 +891,6 @@ export type IQueryFetchAdminAirdropsPageArgs = {
|
|
|
886
891
|
};
|
|
887
892
|
export type IQueryFetchProjectsPageArgs = {
|
|
888
893
|
filter: IAdminProjectsFilterInput;
|
|
889
|
-
sort: IAdminProjectsSortInput;
|
|
890
894
|
page: IAdminPageInput;
|
|
891
895
|
};
|
|
892
896
|
export type IQueryFetchAdminReferralsPageArgs = {
|
|
@@ -1262,6 +1266,7 @@ export type IResolversTypes = {
|
|
|
1262
1266
|
PartnershipInquiryFilterInput: IPartnershipInquiryFilterInput;
|
|
1263
1267
|
PartnershipInquiryPage: ResolverTypeWrapper<IPartnershipInquiryPage>;
|
|
1264
1268
|
PartnershipInquirySortInput: IPartnershipInquirySortInput;
|
|
1269
|
+
PayloadType: IPayloadType;
|
|
1265
1270
|
ProjectType: IProjectType;
|
|
1266
1271
|
Query: ResolverTypeWrapper<{}>;
|
|
1267
1272
|
RateLimits: ResolverTypeWrapper<IRateLimits>;
|
|
@@ -1522,7 +1527,7 @@ export type IAdminOpportunityResolvers<ContextType = any, ParentType extends IRe
|
|
|
1522
1527
|
opportunityId?: Resolver<IResolversTypes['ID'], ParentType, ContextType>;
|
|
1523
1528
|
name?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
1524
1529
|
description?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
1525
|
-
|
|
1530
|
+
projectName?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
1526
1531
|
industry?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
1527
1532
|
category?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
1528
1533
|
ludoUrl?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
@@ -1552,6 +1557,8 @@ export type IAdminOpportunityResolvers<ContextType = any, ParentType extends IRe
|
|
|
1552
1557
|
showcase?: Resolver<Maybe<IResolversTypes['Boolean']>, ParentType, ContextType>;
|
|
1553
1558
|
participantsLimit?: Resolver<Maybe<IResolversTypes['Int']>, ParentType, ContextType>;
|
|
1554
1559
|
availablePlacesForAirdrop?: Resolver<Maybe<IResolversTypes['Int']>, ParentType, ContextType>;
|
|
1560
|
+
encodePayload?: Resolver<Maybe<IResolversTypes['Boolean']>, ParentType, ContextType>;
|
|
1561
|
+
payloadTypes?: Resolver<Maybe<Array<Maybe<IResolversTypes['PayloadType']>>>, ParentType, ContextType>;
|
|
1555
1562
|
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
1556
1563
|
};
|
|
1557
1564
|
export type IAdminPageResolvers<ContextType = any, ParentType extends IResolversParentTypes['AdminPage'] = IResolversParentTypes['AdminPage']> = {
|
|
@@ -1575,17 +1582,23 @@ export type IAdminPartnershipInquiryResolvers<ContextType = any, ParentType exte
|
|
|
1575
1582
|
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
1576
1583
|
};
|
|
1577
1584
|
export type IAdminProjectResolvers<ContextType = any, ParentType extends IResolversParentTypes['AdminProject'] = IResolversParentTypes['AdminProject']> = {
|
|
1578
|
-
id?: Resolver<IResolversTypes['
|
|
1585
|
+
id?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
|
|
1586
|
+
blockchain?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
|
|
1587
|
+
contract?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
|
|
1579
1588
|
name?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
|
|
1580
|
-
|
|
1581
|
-
|
|
1582
|
-
|
|
1583
|
-
|
|
1584
|
-
|
|
1585
|
-
|
|
1586
|
-
|
|
1587
|
-
|
|
1588
|
-
|
|
1589
|
+
verified?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType>;
|
|
1590
|
+
hidden?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType>;
|
|
1591
|
+
price?: Resolver<Maybe<IResolversTypes['Float']>, ParentType, ContextType>;
|
|
1592
|
+
priceDayDifference?: Resolver<Maybe<IResolversTypes['Float']>, ParentType, ContextType>;
|
|
1593
|
+
rank?: Resolver<Maybe<IResolversTypes['Float']>, ParentType, ContextType>;
|
|
1594
|
+
rankDayDifference?: Resolver<Maybe<IResolversTypes['Float']>, ParentType, ContextType>;
|
|
1595
|
+
holders?: Resolver<Maybe<IResolversTypes['Int']>, ParentType, ContextType>;
|
|
1596
|
+
holdersDayDifference?: Resolver<Maybe<IResolversTypes['Float']>, ParentType, ContextType>;
|
|
1597
|
+
twitterFollowers?: Resolver<Maybe<IResolversTypes['Int']>, ParentType, ContextType>;
|
|
1598
|
+
twitterFollowersDayDifference?: Resolver<Maybe<IResolversTypes['Float']>, ParentType, ContextType>;
|
|
1599
|
+
website?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
1600
|
+
websiteRank?: Resolver<Maybe<IResolversTypes['Int']>, ParentType, ContextType>;
|
|
1601
|
+
twitter?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
1589
1602
|
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
1590
1603
|
};
|
|
1591
1604
|
export type IAdminProjectsPageResolvers<ContextType = any, ParentType extends IResolversParentTypes['AdminProjectsPage'] = IResolversParentTypes['AdminProjectsPage']> = {
|
|
@@ -1737,8 +1750,8 @@ export type IMutationResolvers<ContextType = any, ParentType extends IResolversP
|
|
|
1737
1750
|
updateOpportunityArchivedStatus?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationUpdateOpportunityArchivedStatusArgs, 'id' | 'isArchived'>>;
|
|
1738
1751
|
triggerOpportunityNotification?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationTriggerOpportunityNotificationArgs, 'opportunityId'>>;
|
|
1739
1752
|
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, '
|
|
1753
|
+
createProject?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationCreateProjectArgs, 'blockchain' | 'contract'>>;
|
|
1754
|
+
updateProject?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationUpdateProjectArgs, 'input'>>;
|
|
1742
1755
|
createReferralType?: Resolver<Maybe<IResolversTypes['Boolean']>, ParentType, ContextType, RequireFields<IMutationCreateReferralTypeArgs, 'input'>>;
|
|
1743
1756
|
updateReferralType?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationUpdateReferralTypeArgs, 'id' | 'input'>>;
|
|
1744
1757
|
updateReferralTypeArchivedStatus?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationUpdateReferralTypeArchivedStatusArgs, 'id' | 'archived'>>;
|
|
@@ -1784,7 +1797,7 @@ export type IQueryResolvers<ContextType = any, ParentType extends IResolversPare
|
|
|
1784
1797
|
fetchAdminBrandsPage?: Resolver<IResolversTypes['BrandsPage'], ParentType, ContextType, RequireFields<IQueryFetchAdminBrandsPageArgs, 'filter' | 'sort' | 'page'>>;
|
|
1785
1798
|
fetchBlockchains?: Resolver<Array<IResolversTypes['String']>, ParentType, ContextType>;
|
|
1786
1799
|
fetchAdminAirdropsPage?: Resolver<IResolversTypes['OpportunitiesPage'], ParentType, ContextType, RequireFields<IQueryFetchAdminAirdropsPageArgs, 'filter' | 'page'>>;
|
|
1787
|
-
fetchProjectsPage?: Resolver<IResolversTypes['AdminProjectsPage'], ParentType, ContextType, RequireFields<IQueryFetchProjectsPageArgs, 'filter' | '
|
|
1800
|
+
fetchProjectsPage?: Resolver<IResolversTypes['AdminProjectsPage'], ParentType, ContextType, RequireFields<IQueryFetchProjectsPageArgs, 'filter' | 'page'>>;
|
|
1788
1801
|
fetchAdminReferralsPage?: Resolver<IResolversTypes['ReferralsPage'], ParentType, ContextType, RequireFields<IQueryFetchAdminReferralsPageArgs, 'filter' | 'sort' | 'page'>>;
|
|
1789
1802
|
fetchUnarchivedReferralTypes?: Resolver<Array<IResolversTypes['ReferralType']>, ParentType, ContextType>;
|
|
1790
1803
|
fetchReferralTypesPage?: Resolver<IResolversTypes['ReferralTypesPage'], ParentType, ContextType, RequireFields<IQueryFetchReferralTypesPageArgs, 'filter' | 'sort' | 'page'>>;
|
|
@@ -2025,7 +2038,8 @@ export type ICreateAdminOpportunityMutationVariables = Exact<{
|
|
|
2025
2038
|
}>;
|
|
2026
2039
|
export type ICreateAdminOpportunityMutation = Pick<IMutation, 'createAdminOpportunity'>;
|
|
2027
2040
|
export type ICreateProjectMutationVariables = Exact<{
|
|
2028
|
-
|
|
2041
|
+
blockchain: Scalars['String'];
|
|
2042
|
+
contract: Scalars['String'];
|
|
2029
2043
|
}>;
|
|
2030
2044
|
export type ICreateProjectMutation = Pick<IMutation, 'createProject'>;
|
|
2031
2045
|
export type IAddInviteCodesMutationVariables = Exact<{
|
|
@@ -2096,7 +2110,6 @@ export type IUpdateProfileStatusMutationVariables = Exact<{
|
|
|
2096
2110
|
}>;
|
|
2097
2111
|
export type IUpdateProfileStatusMutation = Pick<IMutation, 'updateProfileStatus'>;
|
|
2098
2112
|
export type IUpdateProjectMutationVariables = Exact<{
|
|
2099
|
-
id: Scalars['ID'];
|
|
2100
2113
|
input: IAdminProjectInput;
|
|
2101
2114
|
}>;
|
|
2102
2115
|
export type IUpdateProjectMutation = Pick<IMutation, 'updateProject'>;
|
|
@@ -2224,7 +2237,7 @@ export type IFetchAdminAirdropsPageQueryVariables = Exact<{
|
|
|
2224
2237
|
}>;
|
|
2225
2238
|
export type IFetchAdminAirdropsPageQuery = {
|
|
2226
2239
|
fetchAdminAirdropsPage: {
|
|
2227
|
-
opportunities: Array<Pick<IAdminOpportunity, 'opportunityId' | 'name' | '
|
|
2240
|
+
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
2241
|
nextPage?: Maybe<Pick<IAdminPage, 'elements' | 'lastNum' | 'num' | 'size' | 'token'>>;
|
|
2229
2242
|
};
|
|
2230
2243
|
};
|
|
@@ -2286,18 +2299,17 @@ export type IFetchAdminOpportunitiesPageQueryVariables = Exact<{
|
|
|
2286
2299
|
}>;
|
|
2287
2300
|
export type IFetchAdminOpportunitiesPageQuery = {
|
|
2288
2301
|
fetchAdminOpportunitiesPage: {
|
|
2289
|
-
opportunities: Array<Pick<IAdminOpportunity, 'opportunityId' | 'name' | '
|
|
2302
|
+
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
2303
|
nextPage?: Maybe<Pick<IAdminPage, 'elements' | 'lastNum' | 'num' | 'size' | 'token'>>;
|
|
2291
2304
|
};
|
|
2292
2305
|
};
|
|
2293
2306
|
export type IFetchAdminProjectsPageQueryVariables = Exact<{
|
|
2294
2307
|
filter: IAdminProjectsFilterInput;
|
|
2295
|
-
sort: IAdminProjectsSortInput;
|
|
2296
2308
|
page: IAdminPageInput;
|
|
2297
2309
|
}>;
|
|
2298
2310
|
export type IFetchAdminProjectsPageQuery = {
|
|
2299
2311
|
fetchProjectsPage: {
|
|
2300
|
-
projects: Array<Pick<IAdminProject, 'id' | 'name' | '
|
|
2312
|
+
projects: Array<Pick<IAdminProject, 'id' | 'blockchain' | 'contract' | 'name' | 'verified' | 'hidden' | 'price' | 'priceDayDifference' | 'rank' | 'rankDayDifference' | 'holders' | 'holdersDayDifference' | 'twitterFollowers' | 'twitterFollowersDayDifference' | 'website' | 'websiteRank' | 'twitter'>>;
|
|
2301
2313
|
nextPage?: Maybe<Pick<IAdminPage, 'elements' | 'lastNum' | 'num' | 'size' | 'token'>>;
|
|
2302
2314
|
};
|
|
2303
2315
|
};
|
|
@@ -2758,12 +2770,14 @@ export type ICreateProjectMutationFn = Apollo.MutationFunction<ICreateProjectMut
|
|
|
2758
2770
|
* @example
|
|
2759
2771
|
* const [createProjectMutation, { data, loading, error }] = useCreateProjectMutation({
|
|
2760
2772
|
* variables: {
|
|
2761
|
-
*
|
|
2773
|
+
* blockchain: // value for 'blockchain'
|
|
2774
|
+
* contract: // value for 'contract'
|
|
2762
2775
|
* },
|
|
2763
2776
|
* });
|
|
2764
2777
|
*/
|
|
2765
2778
|
export declare function useCreateProjectMutation(baseOptions?: Apollo.MutationHookOptions<ICreateProjectMutation, ICreateProjectMutationVariables>): Apollo.MutationTuple<ICreateProjectMutation, Exact<{
|
|
2766
|
-
|
|
2779
|
+
blockchain: string;
|
|
2780
|
+
contract: string;
|
|
2767
2781
|
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
2768
2782
|
export type CreateProjectMutationHookResult = ReturnType<typeof useCreateProjectMutation>;
|
|
2769
2783
|
export type CreateProjectMutationResult = Apollo.MutationResult<ICreateProjectMutation>;
|
|
@@ -3138,13 +3152,11 @@ export type IUpdateProjectMutationFn = Apollo.MutationFunction<IUpdateProjectMut
|
|
|
3138
3152
|
* @example
|
|
3139
3153
|
* const [updateProjectMutation, { data, loading, error }] = useUpdateProjectMutation({
|
|
3140
3154
|
* variables: {
|
|
3141
|
-
* id: // value for 'id'
|
|
3142
3155
|
* input: // value for 'input'
|
|
3143
3156
|
* },
|
|
3144
3157
|
* });
|
|
3145
3158
|
*/
|
|
3146
3159
|
export declare function useUpdateProjectMutation(baseOptions?: Apollo.MutationHookOptions<IUpdateProjectMutation, IUpdateProjectMutationVariables>): Apollo.MutationTuple<IUpdateProjectMutation, Exact<{
|
|
3147
|
-
id: string;
|
|
3148
3160
|
input: IAdminProjectInput;
|
|
3149
3161
|
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
3150
3162
|
export type UpdateProjectMutationHookResult = ReturnType<typeof useUpdateProjectMutation>;
|
|
@@ -3738,19 +3750,16 @@ export declare const FetchAdminProjectsPageDocument: Apollo.DocumentNode;
|
|
|
3738
3750
|
* const { data, loading, error } = useFetchAdminProjectsPageQuery({
|
|
3739
3751
|
* variables: {
|
|
3740
3752
|
* filter: // value for 'filter'
|
|
3741
|
-
* sort: // value for 'sort'
|
|
3742
3753
|
* page: // value for 'page'
|
|
3743
3754
|
* },
|
|
3744
3755
|
* });
|
|
3745
3756
|
*/
|
|
3746
3757
|
export declare function useFetchAdminProjectsPageQuery(baseOptions: Apollo.QueryHookOptions<IFetchAdminProjectsPageQuery, IFetchAdminProjectsPageQueryVariables>): Apollo.QueryResult<IFetchAdminProjectsPageQuery, Exact<{
|
|
3747
3758
|
filter: IAdminProjectsFilterInput;
|
|
3748
|
-
sort: IAdminProjectsSortInput;
|
|
3749
3759
|
page: IAdminPageInput;
|
|
3750
3760
|
}>>;
|
|
3751
3761
|
export declare function useFetchAdminProjectsPageLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<IFetchAdminProjectsPageQuery, IFetchAdminProjectsPageQueryVariables>): Apollo.LazyQueryResultTuple<IFetchAdminProjectsPageQuery, Exact<{
|
|
3752
3762
|
filter: IAdminProjectsFilterInput;
|
|
3753
|
-
sort: IAdminProjectsSortInput;
|
|
3754
3763
|
page: IAdminPageInput;
|
|
3755
3764
|
}>>;
|
|
3756
3765
|
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.FetchDefaultRateLimitsDocument = exports.useFetchCompanyTokensPageLazyQuery = exports.useFetchCompanyTokensPageQuery = 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.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 = void 0;
|
|
30
30
|
const client_1 = require("@apollo/client");
|
|
31
31
|
const Apollo = __importStar(require("@apollo/client"));
|
|
32
32
|
var IAccessType;
|
|
@@ -79,6 +79,11 @@ var IOpportunityType;
|
|
|
79
79
|
IOpportunityType["Marketing"] = "MARKETING";
|
|
80
80
|
IOpportunityType["NftMinting"] = "NFT_MINTING";
|
|
81
81
|
})(IOpportunityType || (exports.IOpportunityType = IOpportunityType = {}));
|
|
82
|
+
var IPayloadType;
|
|
83
|
+
(function (IPayloadType) {
|
|
84
|
+
IPayloadType["UserRank"] = "USER_RANK";
|
|
85
|
+
IPayloadType["UserWallet"] = "USER_WALLET";
|
|
86
|
+
})(IPayloadType || (exports.IPayloadType = IPayloadType = {}));
|
|
82
87
|
var IProjectType;
|
|
83
88
|
(function (IProjectType) {
|
|
84
89
|
IProjectType["MemeCoins"] = "MEME_COINS";
|
|
@@ -490,8 +495,8 @@ function useCreateAdminOpportunityMutation(baseOptions) {
|
|
|
490
495
|
}
|
|
491
496
|
exports.useCreateAdminOpportunityMutation = useCreateAdminOpportunityMutation;
|
|
492
497
|
exports.CreateProjectDocument = (0, client_1.gql) `
|
|
493
|
-
mutation CreateProject($
|
|
494
|
-
createProject(
|
|
498
|
+
mutation CreateProject($blockchain: String!, $contract: String!) {
|
|
499
|
+
createProject(blockchain: $blockchain, contract: $contract)
|
|
495
500
|
}
|
|
496
501
|
`;
|
|
497
502
|
/**
|
|
@@ -507,7 +512,8 @@ exports.CreateProjectDocument = (0, client_1.gql) `
|
|
|
507
512
|
* @example
|
|
508
513
|
* const [createProjectMutation, { data, loading, error }] = useCreateProjectMutation({
|
|
509
514
|
* variables: {
|
|
510
|
-
*
|
|
515
|
+
* blockchain: // value for 'blockchain'
|
|
516
|
+
* contract: // value for 'contract'
|
|
511
517
|
* },
|
|
512
518
|
* });
|
|
513
519
|
*/
|
|
@@ -869,8 +875,8 @@ function useUpdateProfileStatusMutation(baseOptions) {
|
|
|
869
875
|
}
|
|
870
876
|
exports.useUpdateProfileStatusMutation = useUpdateProfileStatusMutation;
|
|
871
877
|
exports.UpdateProjectDocument = (0, client_1.gql) `
|
|
872
|
-
mutation UpdateProject($
|
|
873
|
-
updateProject(
|
|
878
|
+
mutation UpdateProject($input: AdminProjectInput!) {
|
|
879
|
+
updateProject(input: $input)
|
|
874
880
|
}
|
|
875
881
|
`;
|
|
876
882
|
/**
|
|
@@ -886,7 +892,6 @@ exports.UpdateProjectDocument = (0, client_1.gql) `
|
|
|
886
892
|
* @example
|
|
887
893
|
* const [updateProjectMutation, { data, loading, error }] = useUpdateProjectMutation({
|
|
888
894
|
* variables: {
|
|
889
|
-
* id: // value for 'id'
|
|
890
895
|
* input: // value for 'input'
|
|
891
896
|
* },
|
|
892
897
|
* });
|
|
@@ -1441,21 +1446,21 @@ exports.FetchAdminAirdropsPageDocument = (0, client_1.gql) `
|
|
|
1441
1446
|
opportunities {
|
|
1442
1447
|
opportunityId
|
|
1443
1448
|
name
|
|
1444
|
-
|
|
1449
|
+
description
|
|
1450
|
+
projectName
|
|
1445
1451
|
industry
|
|
1446
1452
|
category
|
|
1447
1453
|
ludoUrl
|
|
1448
1454
|
projectUrl
|
|
1449
1455
|
pushNotificationsEnabled
|
|
1450
1456
|
status
|
|
1451
|
-
media
|
|
1452
|
-
description
|
|
1453
1457
|
activeFrom
|
|
1454
1458
|
activeUntil
|
|
1455
1459
|
minXpLevel
|
|
1456
1460
|
maxXpLevel
|
|
1457
1461
|
minLudoRank
|
|
1458
1462
|
maxLudoRank
|
|
1463
|
+
media
|
|
1459
1464
|
minWalletValue
|
|
1460
1465
|
maxWalletValue
|
|
1461
1466
|
clicks
|
|
@@ -1470,6 +1475,10 @@ exports.FetchAdminAirdropsPageDocument = (0, client_1.gql) `
|
|
|
1470
1475
|
participants
|
|
1471
1476
|
hidden
|
|
1472
1477
|
showcase
|
|
1478
|
+
participantsLimit
|
|
1479
|
+
availablePlacesForAirdrop
|
|
1480
|
+
encodePayload
|
|
1481
|
+
payloadTypes
|
|
1473
1482
|
}
|
|
1474
1483
|
nextPage {
|
|
1475
1484
|
elements
|
|
@@ -1755,7 +1764,7 @@ exports.FetchAdminOpportunitiesPageDocument = (0, client_1.gql) `
|
|
|
1755
1764
|
opportunities {
|
|
1756
1765
|
opportunityId
|
|
1757
1766
|
name
|
|
1758
|
-
|
|
1767
|
+
projectName
|
|
1759
1768
|
industry
|
|
1760
1769
|
category
|
|
1761
1770
|
ludoUrl
|
|
@@ -1783,6 +1792,8 @@ exports.FetchAdminOpportunitiesPageDocument = (0, client_1.gql) `
|
|
|
1783
1792
|
devicePlatforms
|
|
1784
1793
|
participantsLimit
|
|
1785
1794
|
availablePlacesForAirdrop
|
|
1795
|
+
encodePayload
|
|
1796
|
+
payloadTypes
|
|
1786
1797
|
}
|
|
1787
1798
|
nextPage {
|
|
1788
1799
|
elements
|
|
@@ -1821,20 +1832,26 @@ function useFetchAdminOpportunitiesPageLazyQuery(baseOptions) {
|
|
|
1821
1832
|
}
|
|
1822
1833
|
exports.useFetchAdminOpportunitiesPageLazyQuery = useFetchAdminOpportunitiesPageLazyQuery;
|
|
1823
1834
|
exports.FetchAdminProjectsPageDocument = (0, client_1.gql) `
|
|
1824
|
-
query FetchAdminProjectsPage($filter: AdminProjectsFilterInput!, $
|
|
1825
|
-
fetchProjectsPage(filter: $filter,
|
|
1835
|
+
query FetchAdminProjectsPage($filter: AdminProjectsFilterInput!, $page: AdminPageInput!) {
|
|
1836
|
+
fetchProjectsPage(filter: $filter, page: $page) {
|
|
1826
1837
|
projects {
|
|
1827
1838
|
id
|
|
1839
|
+
blockchain
|
|
1840
|
+
contract
|
|
1828
1841
|
name
|
|
1829
|
-
|
|
1830
|
-
tradingVolume24h
|
|
1831
|
-
liquidity
|
|
1832
|
-
avgInvestorsUserRank
|
|
1833
|
-
vcBackers
|
|
1834
|
-
securityScore
|
|
1835
|
-
types
|
|
1842
|
+
verified
|
|
1836
1843
|
hidden
|
|
1837
|
-
|
|
1844
|
+
price
|
|
1845
|
+
priceDayDifference
|
|
1846
|
+
rank
|
|
1847
|
+
rankDayDifference
|
|
1848
|
+
holders
|
|
1849
|
+
holdersDayDifference
|
|
1850
|
+
twitterFollowers
|
|
1851
|
+
twitterFollowersDayDifference
|
|
1852
|
+
website
|
|
1853
|
+
websiteRank
|
|
1854
|
+
twitter
|
|
1838
1855
|
}
|
|
1839
1856
|
nextPage {
|
|
1840
1857
|
elements
|
|
@@ -1859,7 +1876,6 @@ exports.FetchAdminProjectsPageDocument = (0, client_1.gql) `
|
|
|
1859
1876
|
* const { data, loading, error } = useFetchAdminProjectsPageQuery({
|
|
1860
1877
|
* variables: {
|
|
1861
1878
|
* filter: // value for 'filter'
|
|
1862
|
-
* sort: // value for 'sort'
|
|
1863
1879
|
* page: // value for 'page'
|
|
1864
1880
|
* },
|
|
1865
1881
|
* });
|