@ludo.ninja/api 2.8.51 → 2.8.53
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 +285 -2
- package/build/graphql_tools/__generated__/adminHost/schema.js +103 -2
- package/build/graphql_tools/__generated__/formsHost/schema.d.ts +6 -0
- package/build/graphql_tools/__generated__/opportunitiesHost/schema.d.ts +38 -0
- package/build/graphql_tools/__generated__/opportunitiesHost/schema.js +64 -1
- package/build/graphql_tools/__generated__/searchHost/schema.d.ts +22 -0
- package/build/index.d.ts +49 -0
- package/package.json +1 -1
- package/src/graphql_tools/__generated__/adminHost/schema.ts +346 -2
- package/src/graphql_tools/__generated__/formsHost/schema.ts +6 -0
- package/src/graphql_tools/__generated__/opportunitiesHost/schema.ts +80 -0
- package/src/graphql_tools/__generated__/searchHost/schema.ts +30 -0
- package/tsconfig.tsbuildinfo +1 -1
|
@@ -70,6 +70,31 @@ export type IAdminContentReport = {
|
|
|
70
70
|
evidenceFileUrl?: Maybe<Scalars['String']>;
|
|
71
71
|
};
|
|
72
72
|
|
|
73
|
+
export type IAdminFormOpportunity = {
|
|
74
|
+
id: Scalars['String'];
|
|
75
|
+
userId?: Maybe<Scalars['String']>;
|
|
76
|
+
submitterEmail?: Maybe<Scalars['String']>;
|
|
77
|
+
name?: Maybe<Scalars['String']>;
|
|
78
|
+
description?: Maybe<Scalars['String']>;
|
|
79
|
+
registrationLink?: Maybe<Scalars['String']>;
|
|
80
|
+
startDate?: Maybe<Scalars['Long']>;
|
|
81
|
+
endDate?: Maybe<Scalars['Long']>;
|
|
82
|
+
};
|
|
83
|
+
|
|
84
|
+
export type IAdminInvestorInquiry = {
|
|
85
|
+
id: Scalars['String'];
|
|
86
|
+
userId?: Maybe<Scalars['String']>;
|
|
87
|
+
email?: Maybe<Scalars['String']>;
|
|
88
|
+
name?: Maybe<Scalars['String']>;
|
|
89
|
+
phoneNumber?: Maybe<Scalars['String']>;
|
|
90
|
+
telegramId?: Maybe<Scalars['String']>;
|
|
91
|
+
investorType?: Maybe<Scalars['String']>;
|
|
92
|
+
investmentAmount?: Maybe<Scalars['Float']>;
|
|
93
|
+
investmentExperience?: Maybe<Scalars['String']>;
|
|
94
|
+
assistanceRequest?: Maybe<Scalars['String']>;
|
|
95
|
+
ludoReferrerInfo?: Maybe<Scalars['String']>;
|
|
96
|
+
};
|
|
97
|
+
|
|
73
98
|
export type IAdminInvite = {
|
|
74
99
|
userId: Scalars['String'];
|
|
75
100
|
username?: Maybe<Scalars['String']>;
|
|
@@ -140,6 +165,18 @@ export type IAdminPageInput = {
|
|
|
140
165
|
token?: Maybe<Scalars['String']>;
|
|
141
166
|
};
|
|
142
167
|
|
|
168
|
+
export type IAdminPartnershipInquiry = {
|
|
169
|
+
id: Scalars['String'];
|
|
170
|
+
userId?: Maybe<Scalars['String']>;
|
|
171
|
+
name?: Maybe<Scalars['String']>;
|
|
172
|
+
email?: Maybe<Scalars['String']>;
|
|
173
|
+
projectName?: Maybe<Scalars['String']>;
|
|
174
|
+
website?: Maybe<Scalars['String']>;
|
|
175
|
+
aboutProject?: Maybe<Scalars['String']>;
|
|
176
|
+
partnershipType?: Maybe<Scalars['String']>;
|
|
177
|
+
ludoReferrerInfo?: Maybe<Scalars['String']>;
|
|
178
|
+
};
|
|
179
|
+
|
|
143
180
|
export type IAdminReferral = {
|
|
144
181
|
userId: Scalars['ID'];
|
|
145
182
|
username?: Maybe<Scalars['String']>;
|
|
@@ -270,6 +307,53 @@ export type IContentReportSortInput = {
|
|
|
270
307
|
sortByReportReason?: Maybe<ISort>;
|
|
271
308
|
};
|
|
272
309
|
|
|
310
|
+
export type IFormOpportunityFilterInput = {
|
|
311
|
+
idTerm?: Maybe<Scalars['String']>;
|
|
312
|
+
userIdTerm?: Maybe<Scalars['String']>;
|
|
313
|
+
submitterEmailTerm?: Maybe<Scalars['String']>;
|
|
314
|
+
nameTerm?: Maybe<Scalars['String']>;
|
|
315
|
+
registrationLinkTerm?: Maybe<Scalars['String']>;
|
|
316
|
+
startDateTimestamp?: Maybe<Scalars['Long']>;
|
|
317
|
+
endDateTimestamp?: Maybe<Scalars['Long']>;
|
|
318
|
+
};
|
|
319
|
+
|
|
320
|
+
export type IFormOpportunityPage = {
|
|
321
|
+
opportunities: Array<IAdminFormOpportunity>;
|
|
322
|
+
nextPage?: Maybe<IAdminPage>;
|
|
323
|
+
};
|
|
324
|
+
|
|
325
|
+
export type IFormOpportunitySortInput = {
|
|
326
|
+
sortByUserId?: Maybe<ISort>;
|
|
327
|
+
sortBySubmitterEmail?: Maybe<ISort>;
|
|
328
|
+
sortByName?: Maybe<ISort>;
|
|
329
|
+
sortByStartDate?: Maybe<ISort>;
|
|
330
|
+
sortByEndDate?: Maybe<ISort>;
|
|
331
|
+
};
|
|
332
|
+
|
|
333
|
+
export type IInvestorInquiryFilterInput = {
|
|
334
|
+
idTerm?: Maybe<Scalars['String']>;
|
|
335
|
+
userIdTerm?: Maybe<Scalars['String']>;
|
|
336
|
+
emailTerm?: Maybe<Scalars['String']>;
|
|
337
|
+
nameTerm?: Maybe<Scalars['String']>;
|
|
338
|
+
phoneNumberTerm?: Maybe<Scalars['String']>;
|
|
339
|
+
telegramIdTerm?: Maybe<Scalars['String']>;
|
|
340
|
+
investorTypeTerm?: Maybe<Scalars['String']>;
|
|
341
|
+
};
|
|
342
|
+
|
|
343
|
+
export type IInvestorInquiryPage = {
|
|
344
|
+
investorInquiries: Array<IAdminInvestorInquiry>;
|
|
345
|
+
nextPage?: Maybe<IAdminPage>;
|
|
346
|
+
};
|
|
347
|
+
|
|
348
|
+
export type IInvestorInquirySortInput = {
|
|
349
|
+
sortByUserId?: Maybe<ISort>;
|
|
350
|
+
sortByEmail?: Maybe<ISort>;
|
|
351
|
+
sortByName?: Maybe<ISort>;
|
|
352
|
+
sortByPhoneNumber?: Maybe<ISort>;
|
|
353
|
+
sortByInvestorType?: Maybe<ISort>;
|
|
354
|
+
sortByInvestmentAmount?: Maybe<ISort>;
|
|
355
|
+
};
|
|
356
|
+
|
|
273
357
|
export type IInvitesFilterInput = {
|
|
274
358
|
userIdTerm?: Maybe<Scalars['String']>;
|
|
275
359
|
usernameTerm?: Maybe<Scalars['String']>;
|
|
@@ -440,10 +524,35 @@ export type IOpportunitiesSortInput = {
|
|
|
440
524
|
sortByAddedBy?: Maybe<ISort>;
|
|
441
525
|
};
|
|
442
526
|
|
|
527
|
+
export type IPartnershipInquiryFilterInput = {
|
|
528
|
+
idTerm?: Maybe<Scalars['String']>;
|
|
529
|
+
userIdTerm?: Maybe<Scalars['String']>;
|
|
530
|
+
nameTerm?: Maybe<Scalars['String']>;
|
|
531
|
+
emailTerm?: Maybe<Scalars['String']>;
|
|
532
|
+
projectNameTerm?: Maybe<Scalars['String']>;
|
|
533
|
+
websiteTerm?: Maybe<Scalars['String']>;
|
|
534
|
+
partnershipTypeTerm?: Maybe<Scalars['String']>;
|
|
535
|
+
};
|
|
536
|
+
|
|
537
|
+
export type IPartnershipInquiryPage = {
|
|
538
|
+
partnershipInquiries: Array<IAdminPartnershipInquiry>;
|
|
539
|
+
nextPage?: Maybe<IAdminPage>;
|
|
540
|
+
};
|
|
541
|
+
|
|
542
|
+
export type IPartnershipInquirySortInput = {
|
|
543
|
+
sortByUserId?: Maybe<ISort>;
|
|
544
|
+
sortByEmail?: Maybe<ISort>;
|
|
545
|
+
sortByProjectName?: Maybe<ISort>;
|
|
546
|
+
sortByPartnershipType?: Maybe<ISort>;
|
|
547
|
+
};
|
|
548
|
+
|
|
443
549
|
export type IQuery = {
|
|
444
550
|
getDummy: Scalars['String'];
|
|
445
551
|
fetchContactSupportPage: IContactSupportPage;
|
|
446
552
|
fetchContentReportPage: IContentReportPage;
|
|
553
|
+
fetchInvestorInquiryPage: IInvestorInquiryPage;
|
|
554
|
+
fetchFormOpportunityPage: IFormOpportunityPage;
|
|
555
|
+
fetchPartnershipInquiryPage: IPartnershipInquiryPage;
|
|
447
556
|
fetchAdminInvitesPage: IInvitesPage;
|
|
448
557
|
fetchAdminOpportunitiesPage: IOpportunitiesPage;
|
|
449
558
|
fetchAdminCategories: Array<IAdminCategory>;
|
|
@@ -471,6 +580,27 @@ export type IQueryFetchContentReportPageArgs = {
|
|
|
471
580
|
};
|
|
472
581
|
|
|
473
582
|
|
|
583
|
+
export type IQueryFetchInvestorInquiryPageArgs = {
|
|
584
|
+
filter: IInvestorInquiryFilterInput;
|
|
585
|
+
sort: IInvestorInquirySortInput;
|
|
586
|
+
page: IAdminPageInput;
|
|
587
|
+
};
|
|
588
|
+
|
|
589
|
+
|
|
590
|
+
export type IQueryFetchFormOpportunityPageArgs = {
|
|
591
|
+
filter: IFormOpportunityFilterInput;
|
|
592
|
+
sort: IFormOpportunitySortInput;
|
|
593
|
+
page: IAdminPageInput;
|
|
594
|
+
};
|
|
595
|
+
|
|
596
|
+
|
|
597
|
+
export type IQueryFetchPartnershipInquiryPageArgs = {
|
|
598
|
+
filter: IPartnershipInquiryFilterInput;
|
|
599
|
+
sort: IPartnershipInquirySortInput;
|
|
600
|
+
page: IAdminPageInput;
|
|
601
|
+
};
|
|
602
|
+
|
|
603
|
+
|
|
474
604
|
export type IQueryFetchAdminInvitesPageArgs = {
|
|
475
605
|
filter: IInvitesFilterInput;
|
|
476
606
|
sort: IInvitesSortInput;
|
|
@@ -696,14 +826,17 @@ export type IResolversTypes = {
|
|
|
696
826
|
AdminCategory: ResolverTypeWrapper<IAdminCategory>;
|
|
697
827
|
AdminContactSupport: ResolverTypeWrapper<IAdminContactSupport>;
|
|
698
828
|
AdminContentReport: ResolverTypeWrapper<IAdminContentReport>;
|
|
829
|
+
AdminFormOpportunity: ResolverTypeWrapper<IAdminFormOpportunity>;
|
|
830
|
+
AdminInvestorInquiry: ResolverTypeWrapper<IAdminInvestorInquiry>;
|
|
831
|
+
Float: ResolverTypeWrapper<Scalars['Float']>;
|
|
699
832
|
AdminInvite: ResolverTypeWrapper<IAdminInvite>;
|
|
700
833
|
Int: ResolverTypeWrapper<Scalars['Int']>;
|
|
701
834
|
AdminOpportunity: ResolverTypeWrapper<IAdminOpportunity>;
|
|
702
835
|
ID: ResolverTypeWrapper<Scalars['ID']>;
|
|
703
|
-
Float: ResolverTypeWrapper<Scalars['Float']>;
|
|
704
836
|
AdminOpportunityInput: IAdminOpportunityInput;
|
|
705
837
|
AdminPage: ResolverTypeWrapper<IAdminPage>;
|
|
706
838
|
AdminPageInput: IAdminPageInput;
|
|
839
|
+
AdminPartnershipInquiry: ResolverTypeWrapper<IAdminPartnershipInquiry>;
|
|
707
840
|
AdminReferral: ResolverTypeWrapper<IAdminReferral>;
|
|
708
841
|
AdminUser: ResolverTypeWrapper<IAdminUser>;
|
|
709
842
|
AdminXp: ResolverTypeWrapper<IAdminXp>;
|
|
@@ -721,6 +854,12 @@ export type IResolversTypes = {
|
|
|
721
854
|
ContentReportFilterInput: IContentReportFilterInput;
|
|
722
855
|
ContentReportPage: ResolverTypeWrapper<IContentReportPage>;
|
|
723
856
|
ContentReportSortInput: IContentReportSortInput;
|
|
857
|
+
FormOpportunityFilterInput: IFormOpportunityFilterInput;
|
|
858
|
+
FormOpportunityPage: ResolverTypeWrapper<IFormOpportunityPage>;
|
|
859
|
+
FormOpportunitySortInput: IFormOpportunitySortInput;
|
|
860
|
+
InvestorInquiryFilterInput: IInvestorInquiryFilterInput;
|
|
861
|
+
InvestorInquiryPage: ResolverTypeWrapper<IInvestorInquiryPage>;
|
|
862
|
+
InvestorInquirySortInput: IInvestorInquirySortInput;
|
|
724
863
|
InvitesFilterInput: IInvitesFilterInput;
|
|
725
864
|
InvitesPage: ResolverTypeWrapper<IInvitesPage>;
|
|
726
865
|
InvitesSortInput: IInvitesSortInput;
|
|
@@ -729,6 +868,9 @@ export type IResolversTypes = {
|
|
|
729
868
|
OpportunitiesFilterInput: IOpportunitiesFilterInput;
|
|
730
869
|
OpportunitiesPage: ResolverTypeWrapper<IOpportunitiesPage>;
|
|
731
870
|
OpportunitiesSortInput: IOpportunitiesSortInput;
|
|
871
|
+
PartnershipInquiryFilterInput: IPartnershipInquiryFilterInput;
|
|
872
|
+
PartnershipInquiryPage: ResolverTypeWrapper<IPartnershipInquiryPage>;
|
|
873
|
+
PartnershipInquirySortInput: IPartnershipInquirySortInput;
|
|
732
874
|
Query: ResolverTypeWrapper<{}>;
|
|
733
875
|
ReferralsFilterInput: IReferralsFilterInput;
|
|
734
876
|
ReferralsPage: ResolverTypeWrapper<IReferralsPage>;
|
|
@@ -755,14 +897,17 @@ export type IResolversParentTypes = {
|
|
|
755
897
|
AdminCategory: IAdminCategory;
|
|
756
898
|
AdminContactSupport: IAdminContactSupport;
|
|
757
899
|
AdminContentReport: IAdminContentReport;
|
|
900
|
+
AdminFormOpportunity: IAdminFormOpportunity;
|
|
901
|
+
AdminInvestorInquiry: IAdminInvestorInquiry;
|
|
902
|
+
Float: Scalars['Float'];
|
|
758
903
|
AdminInvite: IAdminInvite;
|
|
759
904
|
Int: Scalars['Int'];
|
|
760
905
|
AdminOpportunity: IAdminOpportunity;
|
|
761
906
|
ID: Scalars['ID'];
|
|
762
|
-
Float: Scalars['Float'];
|
|
763
907
|
AdminOpportunityInput: IAdminOpportunityInput;
|
|
764
908
|
AdminPage: IAdminPage;
|
|
765
909
|
AdminPageInput: IAdminPageInput;
|
|
910
|
+
AdminPartnershipInquiry: IAdminPartnershipInquiry;
|
|
766
911
|
AdminReferral: IAdminReferral;
|
|
767
912
|
AdminUser: IAdminUser;
|
|
768
913
|
AdminXp: IAdminXp;
|
|
@@ -780,6 +925,12 @@ export type IResolversParentTypes = {
|
|
|
780
925
|
ContentReportFilterInput: IContentReportFilterInput;
|
|
781
926
|
ContentReportPage: IContentReportPage;
|
|
782
927
|
ContentReportSortInput: IContentReportSortInput;
|
|
928
|
+
FormOpportunityFilterInput: IFormOpportunityFilterInput;
|
|
929
|
+
FormOpportunityPage: IFormOpportunityPage;
|
|
930
|
+
FormOpportunitySortInput: IFormOpportunitySortInput;
|
|
931
|
+
InvestorInquiryFilterInput: IInvestorInquiryFilterInput;
|
|
932
|
+
InvestorInquiryPage: IInvestorInquiryPage;
|
|
933
|
+
InvestorInquirySortInput: IInvestorInquirySortInput;
|
|
783
934
|
InvitesFilterInput: IInvitesFilterInput;
|
|
784
935
|
InvitesPage: IInvitesPage;
|
|
785
936
|
InvitesSortInput: IInvitesSortInput;
|
|
@@ -788,6 +939,9 @@ export type IResolversParentTypes = {
|
|
|
788
939
|
OpportunitiesFilterInput: IOpportunitiesFilterInput;
|
|
789
940
|
OpportunitiesPage: IOpportunitiesPage;
|
|
790
941
|
OpportunitiesSortInput: IOpportunitiesSortInput;
|
|
942
|
+
PartnershipInquiryFilterInput: IPartnershipInquiryFilterInput;
|
|
943
|
+
PartnershipInquiryPage: IPartnershipInquiryPage;
|
|
944
|
+
PartnershipInquirySortInput: IPartnershipInquirySortInput;
|
|
791
945
|
Query: {};
|
|
792
946
|
ReferralsFilterInput: IReferralsFilterInput;
|
|
793
947
|
ReferralsPage: IReferralsPage;
|
|
@@ -875,6 +1029,33 @@ export type IAdminContentReportResolvers<ContextType = any, ParentType extends I
|
|
|
875
1029
|
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
876
1030
|
};
|
|
877
1031
|
|
|
1032
|
+
export type IAdminFormOpportunityResolvers<ContextType = any, ParentType extends IResolversParentTypes['AdminFormOpportunity'] = IResolversParentTypes['AdminFormOpportunity']> = {
|
|
1033
|
+
id?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
|
|
1034
|
+
userId?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
1035
|
+
submitterEmail?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
1036
|
+
name?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
1037
|
+
description?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
1038
|
+
registrationLink?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
1039
|
+
startDate?: Resolver<Maybe<IResolversTypes['Long']>, ParentType, ContextType>;
|
|
1040
|
+
endDate?: Resolver<Maybe<IResolversTypes['Long']>, ParentType, ContextType>;
|
|
1041
|
+
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
1042
|
+
};
|
|
1043
|
+
|
|
1044
|
+
export type IAdminInvestorInquiryResolvers<ContextType = any, ParentType extends IResolversParentTypes['AdminInvestorInquiry'] = IResolversParentTypes['AdminInvestorInquiry']> = {
|
|
1045
|
+
id?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
|
|
1046
|
+
userId?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
1047
|
+
email?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
1048
|
+
name?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
1049
|
+
phoneNumber?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
1050
|
+
telegramId?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
1051
|
+
investorType?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
1052
|
+
investmentAmount?: Resolver<Maybe<IResolversTypes['Float']>, ParentType, ContextType>;
|
|
1053
|
+
investmentExperience?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
1054
|
+
assistanceRequest?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
1055
|
+
ludoReferrerInfo?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
1056
|
+
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
1057
|
+
};
|
|
1058
|
+
|
|
878
1059
|
export type IAdminInviteResolvers<ContextType = any, ParentType extends IResolversParentTypes['AdminInvite'] = IResolversParentTypes['AdminInvite']> = {
|
|
879
1060
|
userId?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
|
|
880
1061
|
username?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
@@ -920,6 +1101,19 @@ export type IAdminPageResolvers<ContextType = any, ParentType extends IResolvers
|
|
|
920
1101
|
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
921
1102
|
};
|
|
922
1103
|
|
|
1104
|
+
export type IAdminPartnershipInquiryResolvers<ContextType = any, ParentType extends IResolversParentTypes['AdminPartnershipInquiry'] = IResolversParentTypes['AdminPartnershipInquiry']> = {
|
|
1105
|
+
id?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
|
|
1106
|
+
userId?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
1107
|
+
name?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
1108
|
+
email?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
1109
|
+
projectName?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
1110
|
+
website?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
1111
|
+
aboutProject?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
1112
|
+
partnershipType?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
1113
|
+
ludoReferrerInfo?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
1114
|
+
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
1115
|
+
};
|
|
1116
|
+
|
|
923
1117
|
export type IAdminReferralResolvers<ContextType = any, ParentType extends IResolversParentTypes['AdminReferral'] = IResolversParentTypes['AdminReferral']> = {
|
|
924
1118
|
userId?: Resolver<IResolversTypes['ID'], ParentType, ContextType>;
|
|
925
1119
|
username?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
@@ -982,6 +1176,18 @@ export type IContentReportPageResolvers<ContextType = any, ParentType extends IR
|
|
|
982
1176
|
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
983
1177
|
};
|
|
984
1178
|
|
|
1179
|
+
export type IFormOpportunityPageResolvers<ContextType = any, ParentType extends IResolversParentTypes['FormOpportunityPage'] = IResolversParentTypes['FormOpportunityPage']> = {
|
|
1180
|
+
opportunities?: Resolver<Array<IResolversTypes['AdminFormOpportunity']>, ParentType, ContextType>;
|
|
1181
|
+
nextPage?: Resolver<Maybe<IResolversTypes['AdminPage']>, ParentType, ContextType>;
|
|
1182
|
+
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
1183
|
+
};
|
|
1184
|
+
|
|
1185
|
+
export type IInvestorInquiryPageResolvers<ContextType = any, ParentType extends IResolversParentTypes['InvestorInquiryPage'] = IResolversParentTypes['InvestorInquiryPage']> = {
|
|
1186
|
+
investorInquiries?: Resolver<Array<IResolversTypes['AdminInvestorInquiry']>, ParentType, ContextType>;
|
|
1187
|
+
nextPage?: Resolver<Maybe<IResolversTypes['AdminPage']>, ParentType, ContextType>;
|
|
1188
|
+
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
1189
|
+
};
|
|
1190
|
+
|
|
985
1191
|
export type IInvitesPageResolvers<ContextType = any, ParentType extends IResolversParentTypes['InvitesPage'] = IResolversParentTypes['InvitesPage']> = {
|
|
986
1192
|
invites?: Resolver<Array<IResolversTypes['AdminInvite']>, ParentType, ContextType>;
|
|
987
1193
|
nextPage?: Resolver<Maybe<IResolversTypes['AdminPage']>, ParentType, ContextType>;
|
|
@@ -1017,10 +1223,19 @@ export type IOpportunitiesPageResolvers<ContextType = any, ParentType extends IR
|
|
|
1017
1223
|
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
1018
1224
|
};
|
|
1019
1225
|
|
|
1226
|
+
export type IPartnershipInquiryPageResolvers<ContextType = any, ParentType extends IResolversParentTypes['PartnershipInquiryPage'] = IResolversParentTypes['PartnershipInquiryPage']> = {
|
|
1227
|
+
partnershipInquiries?: Resolver<Array<IResolversTypes['AdminPartnershipInquiry']>, ParentType, ContextType>;
|
|
1228
|
+
nextPage?: Resolver<Maybe<IResolversTypes['AdminPage']>, ParentType, ContextType>;
|
|
1229
|
+
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
1230
|
+
};
|
|
1231
|
+
|
|
1020
1232
|
export type IQueryResolvers<ContextType = any, ParentType extends IResolversParentTypes['Query'] = IResolversParentTypes['Query']> = {
|
|
1021
1233
|
getDummy?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
|
|
1022
1234
|
fetchContactSupportPage?: Resolver<IResolversTypes['ContactSupportPage'], ParentType, ContextType, RequireFields<IQueryFetchContactSupportPageArgs, 'filter' | 'sort' | 'page'>>;
|
|
1023
1235
|
fetchContentReportPage?: Resolver<IResolversTypes['ContentReportPage'], ParentType, ContextType, RequireFields<IQueryFetchContentReportPageArgs, 'filter' | 'sort' | 'page'>>;
|
|
1236
|
+
fetchInvestorInquiryPage?: Resolver<IResolversTypes['InvestorInquiryPage'], ParentType, ContextType, RequireFields<IQueryFetchInvestorInquiryPageArgs, 'filter' | 'sort' | 'page'>>;
|
|
1237
|
+
fetchFormOpportunityPage?: Resolver<IResolversTypes['FormOpportunityPage'], ParentType, ContextType, RequireFields<IQueryFetchFormOpportunityPageArgs, 'filter' | 'sort' | 'page'>>;
|
|
1238
|
+
fetchPartnershipInquiryPage?: Resolver<IResolversTypes['PartnershipInquiryPage'], ParentType, ContextType, RequireFields<IQueryFetchPartnershipInquiryPageArgs, 'filter' | 'sort' | 'page'>>;
|
|
1024
1239
|
fetchAdminInvitesPage?: Resolver<IResolversTypes['InvitesPage'], ParentType, ContextType, RequireFields<IQueryFetchAdminInvitesPageArgs, 'filter' | 'sort' | 'page'>>;
|
|
1025
1240
|
fetchAdminOpportunitiesPage?: Resolver<IResolversTypes['OpportunitiesPage'], ParentType, ContextType, RequireFields<IQueryFetchAdminOpportunitiesPageArgs, 'filter' | 'sort' | 'page'>>;
|
|
1026
1241
|
fetchAdminCategories?: Resolver<Array<IResolversTypes['AdminCategory']>, ParentType, ContextType>;
|
|
@@ -1076,9 +1291,12 @@ export type IResolvers<ContextType = any> = {
|
|
|
1076
1291
|
AdminCategory?: IAdminCategoryResolvers<ContextType>;
|
|
1077
1292
|
AdminContactSupport?: IAdminContactSupportResolvers<ContextType>;
|
|
1078
1293
|
AdminContentReport?: IAdminContentReportResolvers<ContextType>;
|
|
1294
|
+
AdminFormOpportunity?: IAdminFormOpportunityResolvers<ContextType>;
|
|
1295
|
+
AdminInvestorInquiry?: IAdminInvestorInquiryResolvers<ContextType>;
|
|
1079
1296
|
AdminInvite?: IAdminInviteResolvers<ContextType>;
|
|
1080
1297
|
AdminOpportunity?: IAdminOpportunityResolvers<ContextType>;
|
|
1081
1298
|
AdminPage?: IAdminPageResolvers<ContextType>;
|
|
1299
|
+
AdminPartnershipInquiry?: IAdminPartnershipInquiryResolvers<ContextType>;
|
|
1082
1300
|
AdminReferral?: IAdminReferralResolvers<ContextType>;
|
|
1083
1301
|
AdminUser?: IAdminUserResolvers<ContextType>;
|
|
1084
1302
|
AdminXp?: IAdminXpResolvers<ContextType>;
|
|
@@ -1086,10 +1304,13 @@ export type IResolvers<ContextType = any> = {
|
|
|
1086
1304
|
CategoriesPage?: ICategoriesPageResolvers<ContextType>;
|
|
1087
1305
|
ContactSupportPage?: IContactSupportPageResolvers<ContextType>;
|
|
1088
1306
|
ContentReportPage?: IContentReportPageResolvers<ContextType>;
|
|
1307
|
+
FormOpportunityPage?: IFormOpportunityPageResolvers<ContextType>;
|
|
1308
|
+
InvestorInquiryPage?: IInvestorInquiryPageResolvers<ContextType>;
|
|
1089
1309
|
InvitesPage?: IInvitesPageResolvers<ContextType>;
|
|
1090
1310
|
Long?: GraphQLScalarType;
|
|
1091
1311
|
Mutation?: IMutationResolvers<ContextType>;
|
|
1092
1312
|
OpportunitiesPage?: IOpportunitiesPageResolvers<ContextType>;
|
|
1313
|
+
PartnershipInquiryPage?: IPartnershipInquiryPageResolvers<ContextType>;
|
|
1093
1314
|
Query?: IQueryResolvers<ContextType>;
|
|
1094
1315
|
ReferralsPage?: IReferralsPageResolvers<ContextType>;
|
|
1095
1316
|
ReferredUsersInfo?: IReferredUsersInfoResolvers<ContextType>;
|
|
@@ -1194,6 +1415,24 @@ export type IFetchContentReportPageQueryVariables = Exact<{
|
|
|
1194
1415
|
|
|
1195
1416
|
export type IFetchContentReportPageQuery = { fetchContentReportPage: { contentReports: Array<Pick<IAdminContentReport, 'userId' | 'id' | 'email' | 'description' | 'nameOfSubject' | 'contentType' | 'contentId' | 'reportReason' | 'evidenceFileUrl'>>, nextPage?: Maybe<Pick<IAdminPage, 'elements' | 'lastNum' | 'num' | 'size' | 'token'>> } };
|
|
1196
1417
|
|
|
1418
|
+
export type IFetchFormOpportunityPageQueryVariables = Exact<{
|
|
1419
|
+
filter: IFormOpportunityFilterInput;
|
|
1420
|
+
sort: IFormOpportunitySortInput;
|
|
1421
|
+
page: IAdminPageInput;
|
|
1422
|
+
}>;
|
|
1423
|
+
|
|
1424
|
+
|
|
1425
|
+
export type IFetchFormOpportunityPageQuery = { fetchFormOpportunityPage: { opportunities: Array<Pick<IAdminFormOpportunity, 'userId' | 'id' | 'name' | 'submitterEmail' | 'description' | 'registrationLink' | 'startDate' | 'endDate'>>, nextPage?: Maybe<Pick<IAdminPage, 'elements' | 'lastNum' | 'num' | 'size' | 'token'>> } };
|
|
1426
|
+
|
|
1427
|
+
export type IFetchInvestorInquiryPageQueryVariables = Exact<{
|
|
1428
|
+
filter: IInvestorInquiryFilterInput;
|
|
1429
|
+
sort: IInvestorInquirySortInput;
|
|
1430
|
+
page: IAdminPageInput;
|
|
1431
|
+
}>;
|
|
1432
|
+
|
|
1433
|
+
|
|
1434
|
+
export type IFetchInvestorInquiryPageQuery = { fetchInvestorInquiryPage: { investorInquiries: Array<Pick<IAdminInvestorInquiry, 'userId' | 'id' | 'email' | 'name' | 'phoneNumber' | 'telegramId' | 'investorType' | 'investmentAmount' | 'investmentExperience' | 'assistanceRequest' | 'ludoReferrerInfo'>>, nextPage?: Maybe<Pick<IAdminPage, 'elements' | 'lastNum' | 'num' | 'size' | 'token'>> } };
|
|
1435
|
+
|
|
1197
1436
|
export type IFetchAdminBrandsQueryVariables = Exact<{ [key: string]: never; }>;
|
|
1198
1437
|
|
|
1199
1438
|
|
|
@@ -1665,6 +1904,111 @@ export function useFetchContentReportPageLazyQuery(baseOptions?: Apollo.LazyQuer
|
|
|
1665
1904
|
export type FetchContentReportPageQueryHookResult = ReturnType<typeof useFetchContentReportPageQuery>;
|
|
1666
1905
|
export type FetchContentReportPageLazyQueryHookResult = ReturnType<typeof useFetchContentReportPageLazyQuery>;
|
|
1667
1906
|
export type FetchContentReportPageQueryResult = Apollo.QueryResult<IFetchContentReportPageQuery, IFetchContentReportPageQueryVariables>;
|
|
1907
|
+
export const FetchFormOpportunityPageDocument = gql`
|
|
1908
|
+
query FetchFormOpportunityPage($filter: FormOpportunityFilterInput!, $sort: FormOpportunitySortInput!, $page: AdminPageInput!) {
|
|
1909
|
+
fetchFormOpportunityPage(filter: $filter, sort: $sort, page: $page) {
|
|
1910
|
+
opportunities {
|
|
1911
|
+
userId
|
|
1912
|
+
id
|
|
1913
|
+
name
|
|
1914
|
+
submitterEmail
|
|
1915
|
+
description
|
|
1916
|
+
registrationLink
|
|
1917
|
+
startDate
|
|
1918
|
+
endDate
|
|
1919
|
+
}
|
|
1920
|
+
nextPage {
|
|
1921
|
+
elements
|
|
1922
|
+
lastNum
|
|
1923
|
+
num
|
|
1924
|
+
size
|
|
1925
|
+
token
|
|
1926
|
+
}
|
|
1927
|
+
}
|
|
1928
|
+
}
|
|
1929
|
+
`;
|
|
1930
|
+
|
|
1931
|
+
/**
|
|
1932
|
+
* __useFetchFormOpportunityPageQuery__
|
|
1933
|
+
*
|
|
1934
|
+
* To run a query within a React component, call `useFetchFormOpportunityPageQuery` and pass it any options that fit your needs.
|
|
1935
|
+
* When your component renders, `useFetchFormOpportunityPageQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
1936
|
+
* you can use to render your UI.
|
|
1937
|
+
*
|
|
1938
|
+
* @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;
|
|
1939
|
+
*
|
|
1940
|
+
* @example
|
|
1941
|
+
* const { data, loading, error } = useFetchFormOpportunityPageQuery({
|
|
1942
|
+
* variables: {
|
|
1943
|
+
* filter: // value for 'filter'
|
|
1944
|
+
* sort: // value for 'sort'
|
|
1945
|
+
* page: // value for 'page'
|
|
1946
|
+
* },
|
|
1947
|
+
* });
|
|
1948
|
+
*/
|
|
1949
|
+
export function useFetchFormOpportunityPageQuery(baseOptions: Apollo.QueryHookOptions<IFetchFormOpportunityPageQuery, IFetchFormOpportunityPageQueryVariables>) {
|
|
1950
|
+
return Apollo.useQuery<IFetchFormOpportunityPageQuery, IFetchFormOpportunityPageQueryVariables>(FetchFormOpportunityPageDocument, baseOptions);
|
|
1951
|
+
}
|
|
1952
|
+
export function useFetchFormOpportunityPageLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<IFetchFormOpportunityPageQuery, IFetchFormOpportunityPageQueryVariables>) {
|
|
1953
|
+
return Apollo.useLazyQuery<IFetchFormOpportunityPageQuery, IFetchFormOpportunityPageQueryVariables>(FetchFormOpportunityPageDocument, baseOptions);
|
|
1954
|
+
}
|
|
1955
|
+
export type FetchFormOpportunityPageQueryHookResult = ReturnType<typeof useFetchFormOpportunityPageQuery>;
|
|
1956
|
+
export type FetchFormOpportunityPageLazyQueryHookResult = ReturnType<typeof useFetchFormOpportunityPageLazyQuery>;
|
|
1957
|
+
export type FetchFormOpportunityPageQueryResult = Apollo.QueryResult<IFetchFormOpportunityPageQuery, IFetchFormOpportunityPageQueryVariables>;
|
|
1958
|
+
export const FetchInvestorInquiryPageDocument = gql`
|
|
1959
|
+
query FetchInvestorInquiryPage($filter: InvestorInquiryFilterInput!, $sort: InvestorInquirySortInput!, $page: AdminPageInput!) {
|
|
1960
|
+
fetchInvestorInquiryPage(filter: $filter, sort: $sort, page: $page) {
|
|
1961
|
+
investorInquiries {
|
|
1962
|
+
userId
|
|
1963
|
+
id
|
|
1964
|
+
email
|
|
1965
|
+
name
|
|
1966
|
+
phoneNumber
|
|
1967
|
+
telegramId
|
|
1968
|
+
investorType
|
|
1969
|
+
investmentAmount
|
|
1970
|
+
investmentExperience
|
|
1971
|
+
assistanceRequest
|
|
1972
|
+
ludoReferrerInfo
|
|
1973
|
+
}
|
|
1974
|
+
nextPage {
|
|
1975
|
+
elements
|
|
1976
|
+
lastNum
|
|
1977
|
+
num
|
|
1978
|
+
size
|
|
1979
|
+
token
|
|
1980
|
+
}
|
|
1981
|
+
}
|
|
1982
|
+
}
|
|
1983
|
+
`;
|
|
1984
|
+
|
|
1985
|
+
/**
|
|
1986
|
+
* __useFetchInvestorInquiryPageQuery__
|
|
1987
|
+
*
|
|
1988
|
+
* To run a query within a React component, call `useFetchInvestorInquiryPageQuery` and pass it any options that fit your needs.
|
|
1989
|
+
* When your component renders, `useFetchInvestorInquiryPageQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
1990
|
+
* you can use to render your UI.
|
|
1991
|
+
*
|
|
1992
|
+
* @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;
|
|
1993
|
+
*
|
|
1994
|
+
* @example
|
|
1995
|
+
* const { data, loading, error } = useFetchInvestorInquiryPageQuery({
|
|
1996
|
+
* variables: {
|
|
1997
|
+
* filter: // value for 'filter'
|
|
1998
|
+
* sort: // value for 'sort'
|
|
1999
|
+
* page: // value for 'page'
|
|
2000
|
+
* },
|
|
2001
|
+
* });
|
|
2002
|
+
*/
|
|
2003
|
+
export function useFetchInvestorInquiryPageQuery(baseOptions: Apollo.QueryHookOptions<IFetchInvestorInquiryPageQuery, IFetchInvestorInquiryPageQueryVariables>) {
|
|
2004
|
+
return Apollo.useQuery<IFetchInvestorInquiryPageQuery, IFetchInvestorInquiryPageQueryVariables>(FetchInvestorInquiryPageDocument, baseOptions);
|
|
2005
|
+
}
|
|
2006
|
+
export function useFetchInvestorInquiryPageLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<IFetchInvestorInquiryPageQuery, IFetchInvestorInquiryPageQueryVariables>) {
|
|
2007
|
+
return Apollo.useLazyQuery<IFetchInvestorInquiryPageQuery, IFetchInvestorInquiryPageQueryVariables>(FetchInvestorInquiryPageDocument, baseOptions);
|
|
2008
|
+
}
|
|
2009
|
+
export type FetchInvestorInquiryPageQueryHookResult = ReturnType<typeof useFetchInvestorInquiryPageQuery>;
|
|
2010
|
+
export type FetchInvestorInquiryPageLazyQueryHookResult = ReturnType<typeof useFetchInvestorInquiryPageLazyQuery>;
|
|
2011
|
+
export type FetchInvestorInquiryPageQueryResult = Apollo.QueryResult<IFetchInvestorInquiryPageQuery, IFetchInvestorInquiryPageQueryVariables>;
|
|
1668
2012
|
export const FetchAdminBrandsDocument = gql`
|
|
1669
2013
|
query FetchAdminBrands {
|
|
1670
2014
|
fetchAdminBrands {
|
|
@@ -39,6 +39,7 @@ export type IContentReportInput = {
|
|
|
39
39
|
reportReason?: Maybe<Scalars['String']>;
|
|
40
40
|
description?: Maybe<Scalars['String']>;
|
|
41
41
|
evidenceFileUrl?: Maybe<Scalars['String']>;
|
|
42
|
+
recaptchaToken: Scalars['String'];
|
|
42
43
|
};
|
|
43
44
|
|
|
44
45
|
export type IInvestorInquiryInput = {
|
|
@@ -52,6 +53,7 @@ export type IInvestorInquiryInput = {
|
|
|
52
53
|
investmentExperience: Scalars['String'];
|
|
53
54
|
assistanceRequest: Scalars['String'];
|
|
54
55
|
ludoReferrerInfo?: Maybe<Scalars['String']>;
|
|
56
|
+
recaptchaToken: Scalars['String'];
|
|
55
57
|
};
|
|
56
58
|
|
|
57
59
|
|
|
@@ -109,6 +111,7 @@ export type IOpportunityInput = {
|
|
|
109
111
|
registrationLink?: Maybe<Scalars['String']>;
|
|
110
112
|
startDate?: Maybe<Scalars['Long']>;
|
|
111
113
|
endDate?: Maybe<Scalars['Long']>;
|
|
114
|
+
recaptchaToken: Scalars['String'];
|
|
112
115
|
};
|
|
113
116
|
|
|
114
117
|
export type IPartnershipInquiryInput = {
|
|
@@ -120,6 +123,7 @@ export type IPartnershipInquiryInput = {
|
|
|
120
123
|
aboutProject: Scalars['String'];
|
|
121
124
|
partnershipType: Scalars['String'];
|
|
122
125
|
ludoReferrerInfo?: Maybe<Scalars['String']>;
|
|
126
|
+
recaptchaToken: Scalars['String'];
|
|
123
127
|
};
|
|
124
128
|
|
|
125
129
|
export type IQuery = {
|
|
@@ -130,6 +134,7 @@ export type IRegistrationInviteInput = {
|
|
|
130
134
|
userId?: Maybe<Scalars['ID']>;
|
|
131
135
|
ludoIdOrAddress: Scalars['String'];
|
|
132
136
|
reason: Scalars['String'];
|
|
137
|
+
recaptchaToken: Scalars['String'];
|
|
133
138
|
};
|
|
134
139
|
|
|
135
140
|
export type IUserFeedbackInput = {
|
|
@@ -141,6 +146,7 @@ export type IUserFeedbackInput = {
|
|
|
141
146
|
performanceScore?: Maybe<Scalars['Int']>;
|
|
142
147
|
whatToImprove?: Maybe<Scalars['String']>;
|
|
143
148
|
comments?: Maybe<Scalars['String']>;
|
|
149
|
+
recaptchaToken: Scalars['String'];
|
|
144
150
|
};
|
|
145
151
|
|
|
146
152
|
|
|
@@ -221,6 +221,7 @@ export type IQuery = {
|
|
|
221
221
|
fetchOpportunitiesV2?: Maybe<Array<Maybe<IOpportunityV2>>>;
|
|
222
222
|
fetchOpportunitiesForProfile: Array<Maybe<IOpportunityV2>>;
|
|
223
223
|
fetchOpportunity: IOpportunityV2;
|
|
224
|
+
fetchOpportunitiesByIds: Array<IOpportunityV2>;
|
|
224
225
|
};
|
|
225
226
|
|
|
226
227
|
|
|
@@ -248,6 +249,12 @@ export type IQueryFetchOpportunityArgs = {
|
|
|
248
249
|
};
|
|
249
250
|
|
|
250
251
|
|
|
252
|
+
/** scalar Upload */
|
|
253
|
+
export type IQueryFetchOpportunitiesByIdsArgs = {
|
|
254
|
+
opportunityIds: Array<Scalars['ID']>;
|
|
255
|
+
};
|
|
256
|
+
|
|
257
|
+
|
|
251
258
|
|
|
252
259
|
export type ResolverTypeWrapper<T> = Promise<T> | T;
|
|
253
260
|
|
|
@@ -478,6 +485,7 @@ export type IQueryResolvers<ContextType = any, ParentType extends IResolversPare
|
|
|
478
485
|
fetchOpportunitiesV2?: Resolver<Maybe<Array<Maybe<IResolversTypes['OpportunityV2']>>>, ParentType, ContextType>;
|
|
479
486
|
fetchOpportunitiesForProfile?: Resolver<Array<Maybe<IResolversTypes['OpportunityV2']>>, ParentType, ContextType>;
|
|
480
487
|
fetchOpportunity?: Resolver<IResolversTypes['OpportunityV2'], ParentType, ContextType, RequireFields<IQueryFetchOpportunityArgs, 'opportunityId'>>;
|
|
488
|
+
fetchOpportunitiesByIds?: Resolver<Array<IResolversTypes['OpportunityV2']>, ParentType, ContextType, RequireFields<IQueryFetchOpportunitiesByIdsArgs, 'opportunityIds'>>;
|
|
481
489
|
};
|
|
482
490
|
|
|
483
491
|
export type IResolvers<ContextType = any> = {
|
|
@@ -523,6 +531,13 @@ export type IOpenOpportunityMutationVariables = Exact<{
|
|
|
523
531
|
|
|
524
532
|
export type IOpenOpportunityMutation = Pick<IMutation, 'openOpportunity'>;
|
|
525
533
|
|
|
534
|
+
export type IFetchOpportunitiesByIdsQueryVariables = Exact<{
|
|
535
|
+
opportunityIds: Array<Scalars['ID']>;
|
|
536
|
+
}>;
|
|
537
|
+
|
|
538
|
+
|
|
539
|
+
export type IFetchOpportunitiesByIdsQuery = { fetchOpportunitiesByIds: Array<Pick<IOpportunityV2, 'opportunityId' | 'brandId' | 'categoryId' | 'opportunityStatus' | 'opportunityType' | 'notificationType' | 'name' | 'description' | 'brandName' | 'brandDescription' | 'brandMedia' | 'brandUrl' | 'brandIndustry' | 'categoryName' | 'ludoUrl' | 'projectUrl' | 'activeFrom' | 'activeUntil' | 'minXpLevel' | 'maxXpLevel' | 'minRank' | 'maxRank' | 'media' | 'reportLink' | 'clicks' | 'views' | 'blockchain' | 'collection' | 'createdAt' | 'minWalletValue' | 'maxWalletValue' | 'shareLink' | 'liked'>> };
|
|
540
|
+
|
|
526
541
|
export type IFetchOpportunitiesForProfileQueryVariables = Exact<{ [key: string]: never; }>;
|
|
527
542
|
|
|
528
543
|
|
|
@@ -656,6 +671,71 @@ export function useOpenOpportunityMutation(baseOptions?: Apollo.MutationHookOpti
|
|
|
656
671
|
export type OpenOpportunityMutationHookResult = ReturnType<typeof useOpenOpportunityMutation>;
|
|
657
672
|
export type OpenOpportunityMutationResult = Apollo.MutationResult<IOpenOpportunityMutation>;
|
|
658
673
|
export type OpenOpportunityMutationOptions = Apollo.BaseMutationOptions<IOpenOpportunityMutation, IOpenOpportunityMutationVariables>;
|
|
674
|
+
export const FetchOpportunitiesByIdsDocument = gql`
|
|
675
|
+
query FetchOpportunitiesByIds($opportunityIds: [ID!]!) {
|
|
676
|
+
fetchOpportunitiesByIds(opportunityIds: $opportunityIds) {
|
|
677
|
+
opportunityId
|
|
678
|
+
brandId
|
|
679
|
+
categoryId
|
|
680
|
+
opportunityStatus
|
|
681
|
+
opportunityType
|
|
682
|
+
notificationType
|
|
683
|
+
name
|
|
684
|
+
description
|
|
685
|
+
brandName
|
|
686
|
+
brandDescription
|
|
687
|
+
brandMedia
|
|
688
|
+
brandUrl
|
|
689
|
+
brandIndustry
|
|
690
|
+
categoryName
|
|
691
|
+
ludoUrl
|
|
692
|
+
projectUrl
|
|
693
|
+
activeFrom
|
|
694
|
+
activeUntil
|
|
695
|
+
minXpLevel
|
|
696
|
+
maxXpLevel
|
|
697
|
+
minRank
|
|
698
|
+
maxRank
|
|
699
|
+
media
|
|
700
|
+
reportLink
|
|
701
|
+
clicks
|
|
702
|
+
views
|
|
703
|
+
blockchain
|
|
704
|
+
collection
|
|
705
|
+
createdAt
|
|
706
|
+
minWalletValue
|
|
707
|
+
maxWalletValue
|
|
708
|
+
shareLink
|
|
709
|
+
liked
|
|
710
|
+
}
|
|
711
|
+
}
|
|
712
|
+
`;
|
|
713
|
+
|
|
714
|
+
/**
|
|
715
|
+
* __useFetchOpportunitiesByIdsQuery__
|
|
716
|
+
*
|
|
717
|
+
* To run a query within a React component, call `useFetchOpportunitiesByIdsQuery` and pass it any options that fit your needs.
|
|
718
|
+
* When your component renders, `useFetchOpportunitiesByIdsQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
719
|
+
* you can use to render your UI.
|
|
720
|
+
*
|
|
721
|
+
* @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;
|
|
722
|
+
*
|
|
723
|
+
* @example
|
|
724
|
+
* const { data, loading, error } = useFetchOpportunitiesByIdsQuery({
|
|
725
|
+
* variables: {
|
|
726
|
+
* opportunityIds: // value for 'opportunityIds'
|
|
727
|
+
* },
|
|
728
|
+
* });
|
|
729
|
+
*/
|
|
730
|
+
export function useFetchOpportunitiesByIdsQuery(baseOptions: Apollo.QueryHookOptions<IFetchOpportunitiesByIdsQuery, IFetchOpportunitiesByIdsQueryVariables>) {
|
|
731
|
+
return Apollo.useQuery<IFetchOpportunitiesByIdsQuery, IFetchOpportunitiesByIdsQueryVariables>(FetchOpportunitiesByIdsDocument, baseOptions);
|
|
732
|
+
}
|
|
733
|
+
export function useFetchOpportunitiesByIdsLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<IFetchOpportunitiesByIdsQuery, IFetchOpportunitiesByIdsQueryVariables>) {
|
|
734
|
+
return Apollo.useLazyQuery<IFetchOpportunitiesByIdsQuery, IFetchOpportunitiesByIdsQueryVariables>(FetchOpportunitiesByIdsDocument, baseOptions);
|
|
735
|
+
}
|
|
736
|
+
export type FetchOpportunitiesByIdsQueryHookResult = ReturnType<typeof useFetchOpportunitiesByIdsQuery>;
|
|
737
|
+
export type FetchOpportunitiesByIdsLazyQueryHookResult = ReturnType<typeof useFetchOpportunitiesByIdsLazyQuery>;
|
|
738
|
+
export type FetchOpportunitiesByIdsQueryResult = Apollo.QueryResult<IFetchOpportunitiesByIdsQuery, IFetchOpportunitiesByIdsQueryVariables>;
|
|
659
739
|
export const FetchOpportunitiesForProfileDocument = gql`
|
|
660
740
|
query FetchOpportunitiesForProfile {
|
|
661
741
|
fetchOpportunitiesForProfile {
|