@ludo.ninja/api 2.8.51 → 2.8.52
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 +221 -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 +6 -0
- package/build/graphql_tools/__generated__/searchHost/schema.d.ts +22 -0
- package/build/index.d.ts +38 -0
- package/package.json +1 -1
- package/src/graphql_tools/__generated__/adminHost/schema.ts +274 -2
- package/src/graphql_tools/__generated__/formsHost/schema.ts +6 -0
- package/src/graphql_tools/__generated__/opportunitiesHost/schema.ts +8 -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']>;
|
|
@@ -270,6 +295,53 @@ export type IContentReportSortInput = {
|
|
|
270
295
|
sortByReportReason?: Maybe<ISort>;
|
|
271
296
|
};
|
|
272
297
|
|
|
298
|
+
export type IFormOpportunityFilterInput = {
|
|
299
|
+
idTerm?: Maybe<Scalars['String']>;
|
|
300
|
+
userIdTerm?: Maybe<Scalars['String']>;
|
|
301
|
+
submitterEmailTerm?: Maybe<Scalars['String']>;
|
|
302
|
+
nameTerm?: Maybe<Scalars['String']>;
|
|
303
|
+
registrationLinkTerm?: Maybe<Scalars['String']>;
|
|
304
|
+
startDateTimestamp?: Maybe<Scalars['Long']>;
|
|
305
|
+
endDateTimestamp?: Maybe<Scalars['Long']>;
|
|
306
|
+
};
|
|
307
|
+
|
|
308
|
+
export type IFormOpportunityPage = {
|
|
309
|
+
opportunities: Array<IAdminFormOpportunity>;
|
|
310
|
+
nextPage?: Maybe<IAdminPage>;
|
|
311
|
+
};
|
|
312
|
+
|
|
313
|
+
export type IFormOpportunitySortInput = {
|
|
314
|
+
sortByUserId?: Maybe<ISort>;
|
|
315
|
+
sortBySubmitterEmail?: Maybe<ISort>;
|
|
316
|
+
sortByName?: Maybe<ISort>;
|
|
317
|
+
sortByStartDate?: Maybe<ISort>;
|
|
318
|
+
sortByEndDate?: Maybe<ISort>;
|
|
319
|
+
};
|
|
320
|
+
|
|
321
|
+
export type IInvestorInquiryFilterInput = {
|
|
322
|
+
idTerm?: Maybe<Scalars['String']>;
|
|
323
|
+
userIdTerm?: Maybe<Scalars['String']>;
|
|
324
|
+
emailTerm?: Maybe<Scalars['String']>;
|
|
325
|
+
nameTerm?: Maybe<Scalars['String']>;
|
|
326
|
+
phoneNumberTerm?: Maybe<Scalars['String']>;
|
|
327
|
+
telegramIdTerm?: Maybe<Scalars['String']>;
|
|
328
|
+
investorTypeTerm?: Maybe<Scalars['String']>;
|
|
329
|
+
};
|
|
330
|
+
|
|
331
|
+
export type IInvestorInquiryPage = {
|
|
332
|
+
investorInquiries: Array<IAdminInvestorInquiry>;
|
|
333
|
+
nextPage?: Maybe<IAdminPage>;
|
|
334
|
+
};
|
|
335
|
+
|
|
336
|
+
export type IInvestorInquirySortInput = {
|
|
337
|
+
sortByUserId?: Maybe<ISort>;
|
|
338
|
+
sortByEmail?: Maybe<ISort>;
|
|
339
|
+
sortByName?: Maybe<ISort>;
|
|
340
|
+
sortByPhoneNumber?: Maybe<ISort>;
|
|
341
|
+
sortByInvestorType?: Maybe<ISort>;
|
|
342
|
+
sortByInvestmentAmount?: Maybe<ISort>;
|
|
343
|
+
};
|
|
344
|
+
|
|
273
345
|
export type IInvitesFilterInput = {
|
|
274
346
|
userIdTerm?: Maybe<Scalars['String']>;
|
|
275
347
|
usernameTerm?: Maybe<Scalars['String']>;
|
|
@@ -444,6 +516,8 @@ export type IQuery = {
|
|
|
444
516
|
getDummy: Scalars['String'];
|
|
445
517
|
fetchContactSupportPage: IContactSupportPage;
|
|
446
518
|
fetchContentReportPage: IContentReportPage;
|
|
519
|
+
fetchInvestorInquiryPage: IInvestorInquiryPage;
|
|
520
|
+
fetchFormOpportunityPage: IFormOpportunityPage;
|
|
447
521
|
fetchAdminInvitesPage: IInvitesPage;
|
|
448
522
|
fetchAdminOpportunitiesPage: IOpportunitiesPage;
|
|
449
523
|
fetchAdminCategories: Array<IAdminCategory>;
|
|
@@ -471,6 +545,20 @@ export type IQueryFetchContentReportPageArgs = {
|
|
|
471
545
|
};
|
|
472
546
|
|
|
473
547
|
|
|
548
|
+
export type IQueryFetchInvestorInquiryPageArgs = {
|
|
549
|
+
filter: IInvestorInquiryFilterInput;
|
|
550
|
+
sort: IInvestorInquirySortInput;
|
|
551
|
+
page: IAdminPageInput;
|
|
552
|
+
};
|
|
553
|
+
|
|
554
|
+
|
|
555
|
+
export type IQueryFetchFormOpportunityPageArgs = {
|
|
556
|
+
filter: IFormOpportunityFilterInput;
|
|
557
|
+
sort: IFormOpportunitySortInput;
|
|
558
|
+
page: IAdminPageInput;
|
|
559
|
+
};
|
|
560
|
+
|
|
561
|
+
|
|
474
562
|
export type IQueryFetchAdminInvitesPageArgs = {
|
|
475
563
|
filter: IInvitesFilterInput;
|
|
476
564
|
sort: IInvitesSortInput;
|
|
@@ -696,11 +784,13 @@ export type IResolversTypes = {
|
|
|
696
784
|
AdminCategory: ResolverTypeWrapper<IAdminCategory>;
|
|
697
785
|
AdminContactSupport: ResolverTypeWrapper<IAdminContactSupport>;
|
|
698
786
|
AdminContentReport: ResolverTypeWrapper<IAdminContentReport>;
|
|
787
|
+
AdminFormOpportunity: ResolverTypeWrapper<IAdminFormOpportunity>;
|
|
788
|
+
AdminInvestorInquiry: ResolverTypeWrapper<IAdminInvestorInquiry>;
|
|
789
|
+
Float: ResolverTypeWrapper<Scalars['Float']>;
|
|
699
790
|
AdminInvite: ResolverTypeWrapper<IAdminInvite>;
|
|
700
791
|
Int: ResolverTypeWrapper<Scalars['Int']>;
|
|
701
792
|
AdminOpportunity: ResolverTypeWrapper<IAdminOpportunity>;
|
|
702
793
|
ID: ResolverTypeWrapper<Scalars['ID']>;
|
|
703
|
-
Float: ResolverTypeWrapper<Scalars['Float']>;
|
|
704
794
|
AdminOpportunityInput: IAdminOpportunityInput;
|
|
705
795
|
AdminPage: ResolverTypeWrapper<IAdminPage>;
|
|
706
796
|
AdminPageInput: IAdminPageInput;
|
|
@@ -721,6 +811,12 @@ export type IResolversTypes = {
|
|
|
721
811
|
ContentReportFilterInput: IContentReportFilterInput;
|
|
722
812
|
ContentReportPage: ResolverTypeWrapper<IContentReportPage>;
|
|
723
813
|
ContentReportSortInput: IContentReportSortInput;
|
|
814
|
+
FormOpportunityFilterInput: IFormOpportunityFilterInput;
|
|
815
|
+
FormOpportunityPage: ResolverTypeWrapper<IFormOpportunityPage>;
|
|
816
|
+
FormOpportunitySortInput: IFormOpportunitySortInput;
|
|
817
|
+
InvestorInquiryFilterInput: IInvestorInquiryFilterInput;
|
|
818
|
+
InvestorInquiryPage: ResolverTypeWrapper<IInvestorInquiryPage>;
|
|
819
|
+
InvestorInquirySortInput: IInvestorInquirySortInput;
|
|
724
820
|
InvitesFilterInput: IInvitesFilterInput;
|
|
725
821
|
InvitesPage: ResolverTypeWrapper<IInvitesPage>;
|
|
726
822
|
InvitesSortInput: IInvitesSortInput;
|
|
@@ -755,11 +851,13 @@ export type IResolversParentTypes = {
|
|
|
755
851
|
AdminCategory: IAdminCategory;
|
|
756
852
|
AdminContactSupport: IAdminContactSupport;
|
|
757
853
|
AdminContentReport: IAdminContentReport;
|
|
854
|
+
AdminFormOpportunity: IAdminFormOpportunity;
|
|
855
|
+
AdminInvestorInquiry: IAdminInvestorInquiry;
|
|
856
|
+
Float: Scalars['Float'];
|
|
758
857
|
AdminInvite: IAdminInvite;
|
|
759
858
|
Int: Scalars['Int'];
|
|
760
859
|
AdminOpportunity: IAdminOpportunity;
|
|
761
860
|
ID: Scalars['ID'];
|
|
762
|
-
Float: Scalars['Float'];
|
|
763
861
|
AdminOpportunityInput: IAdminOpportunityInput;
|
|
764
862
|
AdminPage: IAdminPage;
|
|
765
863
|
AdminPageInput: IAdminPageInput;
|
|
@@ -780,6 +878,12 @@ export type IResolversParentTypes = {
|
|
|
780
878
|
ContentReportFilterInput: IContentReportFilterInput;
|
|
781
879
|
ContentReportPage: IContentReportPage;
|
|
782
880
|
ContentReportSortInput: IContentReportSortInput;
|
|
881
|
+
FormOpportunityFilterInput: IFormOpportunityFilterInput;
|
|
882
|
+
FormOpportunityPage: IFormOpportunityPage;
|
|
883
|
+
FormOpportunitySortInput: IFormOpportunitySortInput;
|
|
884
|
+
InvestorInquiryFilterInput: IInvestorInquiryFilterInput;
|
|
885
|
+
InvestorInquiryPage: IInvestorInquiryPage;
|
|
886
|
+
InvestorInquirySortInput: IInvestorInquirySortInput;
|
|
783
887
|
InvitesFilterInput: IInvitesFilterInput;
|
|
784
888
|
InvitesPage: IInvitesPage;
|
|
785
889
|
InvitesSortInput: IInvitesSortInput;
|
|
@@ -875,6 +979,33 @@ export type IAdminContentReportResolvers<ContextType = any, ParentType extends I
|
|
|
875
979
|
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
876
980
|
};
|
|
877
981
|
|
|
982
|
+
export type IAdminFormOpportunityResolvers<ContextType = any, ParentType extends IResolversParentTypes['AdminFormOpportunity'] = IResolversParentTypes['AdminFormOpportunity']> = {
|
|
983
|
+
id?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
|
|
984
|
+
userId?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
985
|
+
submitterEmail?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
986
|
+
name?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
987
|
+
description?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
988
|
+
registrationLink?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
989
|
+
startDate?: Resolver<Maybe<IResolversTypes['Long']>, ParentType, ContextType>;
|
|
990
|
+
endDate?: Resolver<Maybe<IResolversTypes['Long']>, ParentType, ContextType>;
|
|
991
|
+
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
992
|
+
};
|
|
993
|
+
|
|
994
|
+
export type IAdminInvestorInquiryResolvers<ContextType = any, ParentType extends IResolversParentTypes['AdminInvestorInquiry'] = IResolversParentTypes['AdminInvestorInquiry']> = {
|
|
995
|
+
id?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
|
|
996
|
+
userId?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
997
|
+
email?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
998
|
+
name?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
999
|
+
phoneNumber?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
1000
|
+
telegramId?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
1001
|
+
investorType?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
1002
|
+
investmentAmount?: Resolver<Maybe<IResolversTypes['Float']>, ParentType, ContextType>;
|
|
1003
|
+
investmentExperience?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
1004
|
+
assistanceRequest?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
1005
|
+
ludoReferrerInfo?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
1006
|
+
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
1007
|
+
};
|
|
1008
|
+
|
|
878
1009
|
export type IAdminInviteResolvers<ContextType = any, ParentType extends IResolversParentTypes['AdminInvite'] = IResolversParentTypes['AdminInvite']> = {
|
|
879
1010
|
userId?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
|
|
880
1011
|
username?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
@@ -982,6 +1113,18 @@ export type IContentReportPageResolvers<ContextType = any, ParentType extends IR
|
|
|
982
1113
|
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
983
1114
|
};
|
|
984
1115
|
|
|
1116
|
+
export type IFormOpportunityPageResolvers<ContextType = any, ParentType extends IResolversParentTypes['FormOpportunityPage'] = IResolversParentTypes['FormOpportunityPage']> = {
|
|
1117
|
+
opportunities?: Resolver<Array<IResolversTypes['AdminFormOpportunity']>, ParentType, ContextType>;
|
|
1118
|
+
nextPage?: Resolver<Maybe<IResolversTypes['AdminPage']>, ParentType, ContextType>;
|
|
1119
|
+
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
1120
|
+
};
|
|
1121
|
+
|
|
1122
|
+
export type IInvestorInquiryPageResolvers<ContextType = any, ParentType extends IResolversParentTypes['InvestorInquiryPage'] = IResolversParentTypes['InvestorInquiryPage']> = {
|
|
1123
|
+
investorInquiries?: Resolver<Array<IResolversTypes['AdminInvestorInquiry']>, ParentType, ContextType>;
|
|
1124
|
+
nextPage?: Resolver<Maybe<IResolversTypes['AdminPage']>, ParentType, ContextType>;
|
|
1125
|
+
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
1126
|
+
};
|
|
1127
|
+
|
|
985
1128
|
export type IInvitesPageResolvers<ContextType = any, ParentType extends IResolversParentTypes['InvitesPage'] = IResolversParentTypes['InvitesPage']> = {
|
|
986
1129
|
invites?: Resolver<Array<IResolversTypes['AdminInvite']>, ParentType, ContextType>;
|
|
987
1130
|
nextPage?: Resolver<Maybe<IResolversTypes['AdminPage']>, ParentType, ContextType>;
|
|
@@ -1021,6 +1164,8 @@ export type IQueryResolvers<ContextType = any, ParentType extends IResolversPare
|
|
|
1021
1164
|
getDummy?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
|
|
1022
1165
|
fetchContactSupportPage?: Resolver<IResolversTypes['ContactSupportPage'], ParentType, ContextType, RequireFields<IQueryFetchContactSupportPageArgs, 'filter' | 'sort' | 'page'>>;
|
|
1023
1166
|
fetchContentReportPage?: Resolver<IResolversTypes['ContentReportPage'], ParentType, ContextType, RequireFields<IQueryFetchContentReportPageArgs, 'filter' | 'sort' | 'page'>>;
|
|
1167
|
+
fetchInvestorInquiryPage?: Resolver<IResolversTypes['InvestorInquiryPage'], ParentType, ContextType, RequireFields<IQueryFetchInvestorInquiryPageArgs, 'filter' | 'sort' | 'page'>>;
|
|
1168
|
+
fetchFormOpportunityPage?: Resolver<IResolversTypes['FormOpportunityPage'], ParentType, ContextType, RequireFields<IQueryFetchFormOpportunityPageArgs, 'filter' | 'sort' | 'page'>>;
|
|
1024
1169
|
fetchAdminInvitesPage?: Resolver<IResolversTypes['InvitesPage'], ParentType, ContextType, RequireFields<IQueryFetchAdminInvitesPageArgs, 'filter' | 'sort' | 'page'>>;
|
|
1025
1170
|
fetchAdminOpportunitiesPage?: Resolver<IResolversTypes['OpportunitiesPage'], ParentType, ContextType, RequireFields<IQueryFetchAdminOpportunitiesPageArgs, 'filter' | 'sort' | 'page'>>;
|
|
1026
1171
|
fetchAdminCategories?: Resolver<Array<IResolversTypes['AdminCategory']>, ParentType, ContextType>;
|
|
@@ -1076,6 +1221,8 @@ export type IResolvers<ContextType = any> = {
|
|
|
1076
1221
|
AdminCategory?: IAdminCategoryResolvers<ContextType>;
|
|
1077
1222
|
AdminContactSupport?: IAdminContactSupportResolvers<ContextType>;
|
|
1078
1223
|
AdminContentReport?: IAdminContentReportResolvers<ContextType>;
|
|
1224
|
+
AdminFormOpportunity?: IAdminFormOpportunityResolvers<ContextType>;
|
|
1225
|
+
AdminInvestorInquiry?: IAdminInvestorInquiryResolvers<ContextType>;
|
|
1079
1226
|
AdminInvite?: IAdminInviteResolvers<ContextType>;
|
|
1080
1227
|
AdminOpportunity?: IAdminOpportunityResolvers<ContextType>;
|
|
1081
1228
|
AdminPage?: IAdminPageResolvers<ContextType>;
|
|
@@ -1086,6 +1233,8 @@ export type IResolvers<ContextType = any> = {
|
|
|
1086
1233
|
CategoriesPage?: ICategoriesPageResolvers<ContextType>;
|
|
1087
1234
|
ContactSupportPage?: IContactSupportPageResolvers<ContextType>;
|
|
1088
1235
|
ContentReportPage?: IContentReportPageResolvers<ContextType>;
|
|
1236
|
+
FormOpportunityPage?: IFormOpportunityPageResolvers<ContextType>;
|
|
1237
|
+
InvestorInquiryPage?: IInvestorInquiryPageResolvers<ContextType>;
|
|
1089
1238
|
InvitesPage?: IInvitesPageResolvers<ContextType>;
|
|
1090
1239
|
Long?: GraphQLScalarType;
|
|
1091
1240
|
Mutation?: IMutationResolvers<ContextType>;
|
|
@@ -1194,6 +1343,24 @@ export type IFetchContentReportPageQueryVariables = Exact<{
|
|
|
1194
1343
|
|
|
1195
1344
|
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
1345
|
|
|
1346
|
+
export type IFetchFormOpportunityPageQueryVariables = Exact<{
|
|
1347
|
+
filter: IFormOpportunityFilterInput;
|
|
1348
|
+
sort: IFormOpportunitySortInput;
|
|
1349
|
+
page: IAdminPageInput;
|
|
1350
|
+
}>;
|
|
1351
|
+
|
|
1352
|
+
|
|
1353
|
+
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'>> } };
|
|
1354
|
+
|
|
1355
|
+
export type IFetchInvestorInquiryPageQueryVariables = Exact<{
|
|
1356
|
+
filter: IInvestorInquiryFilterInput;
|
|
1357
|
+
sort: IInvestorInquirySortInput;
|
|
1358
|
+
page: IAdminPageInput;
|
|
1359
|
+
}>;
|
|
1360
|
+
|
|
1361
|
+
|
|
1362
|
+
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'>> } };
|
|
1363
|
+
|
|
1197
1364
|
export type IFetchAdminBrandsQueryVariables = Exact<{ [key: string]: never; }>;
|
|
1198
1365
|
|
|
1199
1366
|
|
|
@@ -1665,6 +1832,111 @@ export function useFetchContentReportPageLazyQuery(baseOptions?: Apollo.LazyQuer
|
|
|
1665
1832
|
export type FetchContentReportPageQueryHookResult = ReturnType<typeof useFetchContentReportPageQuery>;
|
|
1666
1833
|
export type FetchContentReportPageLazyQueryHookResult = ReturnType<typeof useFetchContentReportPageLazyQuery>;
|
|
1667
1834
|
export type FetchContentReportPageQueryResult = Apollo.QueryResult<IFetchContentReportPageQuery, IFetchContentReportPageQueryVariables>;
|
|
1835
|
+
export const FetchFormOpportunityPageDocument = gql`
|
|
1836
|
+
query FetchFormOpportunityPage($filter: FormOpportunityFilterInput!, $sort: FormOpportunitySortInput!, $page: AdminPageInput!) {
|
|
1837
|
+
fetchFormOpportunityPage(filter: $filter, sort: $sort, page: $page) {
|
|
1838
|
+
opportunities {
|
|
1839
|
+
userId
|
|
1840
|
+
id
|
|
1841
|
+
name
|
|
1842
|
+
submitterEmail
|
|
1843
|
+
description
|
|
1844
|
+
registrationLink
|
|
1845
|
+
startDate
|
|
1846
|
+
endDate
|
|
1847
|
+
}
|
|
1848
|
+
nextPage {
|
|
1849
|
+
elements
|
|
1850
|
+
lastNum
|
|
1851
|
+
num
|
|
1852
|
+
size
|
|
1853
|
+
token
|
|
1854
|
+
}
|
|
1855
|
+
}
|
|
1856
|
+
}
|
|
1857
|
+
`;
|
|
1858
|
+
|
|
1859
|
+
/**
|
|
1860
|
+
* __useFetchFormOpportunityPageQuery__
|
|
1861
|
+
*
|
|
1862
|
+
* To run a query within a React component, call `useFetchFormOpportunityPageQuery` and pass it any options that fit your needs.
|
|
1863
|
+
* When your component renders, `useFetchFormOpportunityPageQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
1864
|
+
* you can use to render your UI.
|
|
1865
|
+
*
|
|
1866
|
+
* @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;
|
|
1867
|
+
*
|
|
1868
|
+
* @example
|
|
1869
|
+
* const { data, loading, error } = useFetchFormOpportunityPageQuery({
|
|
1870
|
+
* variables: {
|
|
1871
|
+
* filter: // value for 'filter'
|
|
1872
|
+
* sort: // value for 'sort'
|
|
1873
|
+
* page: // value for 'page'
|
|
1874
|
+
* },
|
|
1875
|
+
* });
|
|
1876
|
+
*/
|
|
1877
|
+
export function useFetchFormOpportunityPageQuery(baseOptions: Apollo.QueryHookOptions<IFetchFormOpportunityPageQuery, IFetchFormOpportunityPageQueryVariables>) {
|
|
1878
|
+
return Apollo.useQuery<IFetchFormOpportunityPageQuery, IFetchFormOpportunityPageQueryVariables>(FetchFormOpportunityPageDocument, baseOptions);
|
|
1879
|
+
}
|
|
1880
|
+
export function useFetchFormOpportunityPageLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<IFetchFormOpportunityPageQuery, IFetchFormOpportunityPageQueryVariables>) {
|
|
1881
|
+
return Apollo.useLazyQuery<IFetchFormOpportunityPageQuery, IFetchFormOpportunityPageQueryVariables>(FetchFormOpportunityPageDocument, baseOptions);
|
|
1882
|
+
}
|
|
1883
|
+
export type FetchFormOpportunityPageQueryHookResult = ReturnType<typeof useFetchFormOpportunityPageQuery>;
|
|
1884
|
+
export type FetchFormOpportunityPageLazyQueryHookResult = ReturnType<typeof useFetchFormOpportunityPageLazyQuery>;
|
|
1885
|
+
export type FetchFormOpportunityPageQueryResult = Apollo.QueryResult<IFetchFormOpportunityPageQuery, IFetchFormOpportunityPageQueryVariables>;
|
|
1886
|
+
export const FetchInvestorInquiryPageDocument = gql`
|
|
1887
|
+
query FetchInvestorInquiryPage($filter: InvestorInquiryFilterInput!, $sort: InvestorInquirySortInput!, $page: AdminPageInput!) {
|
|
1888
|
+
fetchInvestorInquiryPage(filter: $filter, sort: $sort, page: $page) {
|
|
1889
|
+
investorInquiries {
|
|
1890
|
+
userId
|
|
1891
|
+
id
|
|
1892
|
+
email
|
|
1893
|
+
name
|
|
1894
|
+
phoneNumber
|
|
1895
|
+
telegramId
|
|
1896
|
+
investorType
|
|
1897
|
+
investmentAmount
|
|
1898
|
+
investmentExperience
|
|
1899
|
+
assistanceRequest
|
|
1900
|
+
ludoReferrerInfo
|
|
1901
|
+
}
|
|
1902
|
+
nextPage {
|
|
1903
|
+
elements
|
|
1904
|
+
lastNum
|
|
1905
|
+
num
|
|
1906
|
+
size
|
|
1907
|
+
token
|
|
1908
|
+
}
|
|
1909
|
+
}
|
|
1910
|
+
}
|
|
1911
|
+
`;
|
|
1912
|
+
|
|
1913
|
+
/**
|
|
1914
|
+
* __useFetchInvestorInquiryPageQuery__
|
|
1915
|
+
*
|
|
1916
|
+
* To run a query within a React component, call `useFetchInvestorInquiryPageQuery` and pass it any options that fit your needs.
|
|
1917
|
+
* When your component renders, `useFetchInvestorInquiryPageQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
1918
|
+
* you can use to render your UI.
|
|
1919
|
+
*
|
|
1920
|
+
* @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;
|
|
1921
|
+
*
|
|
1922
|
+
* @example
|
|
1923
|
+
* const { data, loading, error } = useFetchInvestorInquiryPageQuery({
|
|
1924
|
+
* variables: {
|
|
1925
|
+
* filter: // value for 'filter'
|
|
1926
|
+
* sort: // value for 'sort'
|
|
1927
|
+
* page: // value for 'page'
|
|
1928
|
+
* },
|
|
1929
|
+
* });
|
|
1930
|
+
*/
|
|
1931
|
+
export function useFetchInvestorInquiryPageQuery(baseOptions: Apollo.QueryHookOptions<IFetchInvestorInquiryPageQuery, IFetchInvestorInquiryPageQueryVariables>) {
|
|
1932
|
+
return Apollo.useQuery<IFetchInvestorInquiryPageQuery, IFetchInvestorInquiryPageQueryVariables>(FetchInvestorInquiryPageDocument, baseOptions);
|
|
1933
|
+
}
|
|
1934
|
+
export function useFetchInvestorInquiryPageLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<IFetchInvestorInquiryPageQuery, IFetchInvestorInquiryPageQueryVariables>) {
|
|
1935
|
+
return Apollo.useLazyQuery<IFetchInvestorInquiryPageQuery, IFetchInvestorInquiryPageQueryVariables>(FetchInvestorInquiryPageDocument, baseOptions);
|
|
1936
|
+
}
|
|
1937
|
+
export type FetchInvestorInquiryPageQueryHookResult = ReturnType<typeof useFetchInvestorInquiryPageQuery>;
|
|
1938
|
+
export type FetchInvestorInquiryPageLazyQueryHookResult = ReturnType<typeof useFetchInvestorInquiryPageLazyQuery>;
|
|
1939
|
+
export type FetchInvestorInquiryPageQueryResult = Apollo.QueryResult<IFetchInvestorInquiryPageQuery, IFetchInvestorInquiryPageQueryVariables>;
|
|
1668
1940
|
export const FetchAdminBrandsDocument = gql`
|
|
1669
1941
|
query FetchAdminBrands {
|
|
1670
1942
|
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> = {
|
|
@@ -51,6 +51,7 @@ export type IAsset = {
|
|
|
51
51
|
rankRaw?: Maybe<Scalars['Float']>;
|
|
52
52
|
rankMax?: Maybe<Scalars['Float']>;
|
|
53
53
|
rankUpdatedAt?: Maybe<Scalars['Float']>;
|
|
54
|
+
rankVersion?: Maybe<Scalars['String']>;
|
|
54
55
|
collectionId?: Maybe<Scalars['String']>;
|
|
55
56
|
collectionTitle?: Maybe<Scalars['String']>;
|
|
56
57
|
collectionOriginalUrls?: Maybe<Array<Maybe<Scalars['String']>>>;
|
|
@@ -203,9 +204,33 @@ export type IMedia = {
|
|
|
203
204
|
|
|
204
205
|
export type IMutation = {
|
|
205
206
|
setDummy: Scalars['String'];
|
|
207
|
+
likeAsset: Scalars['Boolean'];
|
|
208
|
+
dislikeAsset: Scalars['Boolean'];
|
|
209
|
+
likeCollection: Scalars['Boolean'];
|
|
210
|
+
dislikeCollection: Scalars['Boolean'];
|
|
206
211
|
clearCaches: Scalars['Boolean'];
|
|
207
212
|
};
|
|
208
213
|
|
|
214
|
+
|
|
215
|
+
export type IMutationLikeAssetArgs = {
|
|
216
|
+
assetId: Scalars['String'];
|
|
217
|
+
};
|
|
218
|
+
|
|
219
|
+
|
|
220
|
+
export type IMutationDislikeAssetArgs = {
|
|
221
|
+
assetId: Scalars['String'];
|
|
222
|
+
};
|
|
223
|
+
|
|
224
|
+
|
|
225
|
+
export type IMutationLikeCollectionArgs = {
|
|
226
|
+
collectionId: Scalars['String'];
|
|
227
|
+
};
|
|
228
|
+
|
|
229
|
+
|
|
230
|
+
export type IMutationDislikeCollectionArgs = {
|
|
231
|
+
collectionId: Scalars['String'];
|
|
232
|
+
};
|
|
233
|
+
|
|
209
234
|
export type IPage = {
|
|
210
235
|
token?: Maybe<Scalars['String']>;
|
|
211
236
|
num?: Maybe<Scalars['Int']>;
|
|
@@ -543,6 +568,7 @@ export type IAssetResolvers<ContextType = any, ParentType extends IResolversPare
|
|
|
543
568
|
rankRaw?: Resolver<Maybe<IResolversTypes['Float']>, ParentType, ContextType>;
|
|
544
569
|
rankMax?: Resolver<Maybe<IResolversTypes['Float']>, ParentType, ContextType>;
|
|
545
570
|
rankUpdatedAt?: Resolver<Maybe<IResolversTypes['Float']>, ParentType, ContextType>;
|
|
571
|
+
rankVersion?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
546
572
|
collectionId?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
547
573
|
collectionTitle?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
548
574
|
collectionOriginalUrls?: Resolver<Maybe<Array<Maybe<IResolversTypes['String']>>>, ParentType, ContextType>;
|
|
@@ -692,6 +718,10 @@ export type IMediaResolvers<ContextType = any, ParentType extends IResolversPare
|
|
|
692
718
|
|
|
693
719
|
export type IMutationResolvers<ContextType = any, ParentType extends IResolversParentTypes['Mutation'] = IResolversParentTypes['Mutation']> = {
|
|
694
720
|
setDummy?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
|
|
721
|
+
likeAsset?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationLikeAssetArgs, 'assetId'>>;
|
|
722
|
+
dislikeAsset?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationDislikeAssetArgs, 'assetId'>>;
|
|
723
|
+
likeCollection?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationLikeCollectionArgs, 'collectionId'>>;
|
|
724
|
+
dislikeCollection?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationDislikeCollectionArgs, 'collectionId'>>;
|
|
695
725
|
clearCaches?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType>;
|
|
696
726
|
};
|
|
697
727
|
|