@ludo.ninja/api 2.8.34 → 2.8.35
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__/formsHost/schema.d.ts +422 -0
- package/build/graphql_tools/__generated__/formsHost/schema.js +210 -0
- package/build/graphql_tools/__generated__/identityHost/schema.d.ts +75 -6
- package/package.json +1 -1
- package/src/graphql_tools/__generated__/formsHost/schema.ts +550 -0
- package/src/graphql_tools/__generated__/identityHost/schema.ts +85 -6
- package/tsconfig.tsbuildinfo +1 -1
|
@@ -0,0 +1,550 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
import { GraphQLResolveInfo, GraphQLScalarType, GraphQLScalarTypeConfig } from 'graphql';
|
|
3
|
+
import { gql } from '@apollo/client';
|
|
4
|
+
import * as Apollo from '@apollo/client';
|
|
5
|
+
export type Maybe<T> = T | null;
|
|
6
|
+
export type Exact<T extends { [key: string]: unknown }> = { [K in keyof T]: T[K] };
|
|
7
|
+
export type MakeOptional<T, K extends keyof T> = Omit<T, K> & { [SubKey in K]?: Maybe<T[SubKey]> };
|
|
8
|
+
export type MakeMaybe<T, K extends keyof T> = Omit<T, K> & { [SubKey in K]: Maybe<T[SubKey]> };
|
|
9
|
+
export type RequireFields<T, K extends keyof T> = Omit<T, K> & { [P in K]-?: NonNullable<T[P]> };
|
|
10
|
+
/** All built-in and custom scalars, mapped to their actual values */
|
|
11
|
+
export type Scalars = {
|
|
12
|
+
ID: string;
|
|
13
|
+
String: string;
|
|
14
|
+
Boolean: boolean;
|
|
15
|
+
Int: number;
|
|
16
|
+
Float: number;
|
|
17
|
+
/** A 64-bit signed integer */
|
|
18
|
+
Long: any;
|
|
19
|
+
};
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
export type IContactSupportInput = {
|
|
24
|
+
userId?: Maybe<Scalars['ID']>;
|
|
25
|
+
email: Scalars['String'];
|
|
26
|
+
walletAddress: Scalars['String'];
|
|
27
|
+
category?: Maybe<Scalars['String']>;
|
|
28
|
+
description?: Maybe<Scalars['String']>;
|
|
29
|
+
priority?: Maybe<Scalars['String']>;
|
|
30
|
+
};
|
|
31
|
+
|
|
32
|
+
export type IContentReportInput = {
|
|
33
|
+
userId?: Maybe<Scalars['ID']>;
|
|
34
|
+
email: Scalars['String'];
|
|
35
|
+
nameOfSubject?: Maybe<Scalars['String']>;
|
|
36
|
+
contentType?: Maybe<Scalars['String']>;
|
|
37
|
+
contentId?: Maybe<Scalars['String']>;
|
|
38
|
+
reportReason?: Maybe<Scalars['String']>;
|
|
39
|
+
description?: Maybe<Scalars['String']>;
|
|
40
|
+
evidenceFileUrl?: Maybe<Scalars['String']>;
|
|
41
|
+
};
|
|
42
|
+
|
|
43
|
+
export type IInvestorInquiryInput = {
|
|
44
|
+
userId?: Maybe<Scalars['ID']>;
|
|
45
|
+
email: Scalars['String'];
|
|
46
|
+
name: Scalars['String'];
|
|
47
|
+
phoneNumber: Scalars['String'];
|
|
48
|
+
telegramId?: Maybe<Scalars['String']>;
|
|
49
|
+
investorType: Scalars['String'];
|
|
50
|
+
investmentAmount?: Maybe<Scalars['Float']>;
|
|
51
|
+
investmentExperience: Scalars['String'];
|
|
52
|
+
assistanceRequest: Scalars['String'];
|
|
53
|
+
ludoReferrerInfo?: Maybe<Scalars['String']>;
|
|
54
|
+
};
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
export type IMutation = {
|
|
58
|
+
setDummy: Scalars['String'];
|
|
59
|
+
submitOpportunity: Scalars['Boolean'];
|
|
60
|
+
submitContactSupport: Scalars['Boolean'];
|
|
61
|
+
submitRegistrationInvite: Scalars['Boolean'];
|
|
62
|
+
submitContentReport: Scalars['Boolean'];
|
|
63
|
+
submitPartnershipInquiry: Scalars['Boolean'];
|
|
64
|
+
submitUserFeedback: Scalars['Boolean'];
|
|
65
|
+
submitInvestorInquiry: Scalars['Boolean'];
|
|
66
|
+
};
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
export type IMutationSubmitOpportunityArgs = {
|
|
70
|
+
input: IOpportunityInput;
|
|
71
|
+
};
|
|
72
|
+
|
|
73
|
+
|
|
74
|
+
export type IMutationSubmitContactSupportArgs = {
|
|
75
|
+
input: IContactSupportInput;
|
|
76
|
+
};
|
|
77
|
+
|
|
78
|
+
|
|
79
|
+
export type IMutationSubmitRegistrationInviteArgs = {
|
|
80
|
+
input: IRegistrationInviteInput;
|
|
81
|
+
};
|
|
82
|
+
|
|
83
|
+
|
|
84
|
+
export type IMutationSubmitContentReportArgs = {
|
|
85
|
+
input: IContentReportInput;
|
|
86
|
+
};
|
|
87
|
+
|
|
88
|
+
|
|
89
|
+
export type IMutationSubmitPartnershipInquiryArgs = {
|
|
90
|
+
input: IPartnershipInquiryInput;
|
|
91
|
+
};
|
|
92
|
+
|
|
93
|
+
|
|
94
|
+
export type IMutationSubmitUserFeedbackArgs = {
|
|
95
|
+
input: IUserFeedbackInput;
|
|
96
|
+
};
|
|
97
|
+
|
|
98
|
+
|
|
99
|
+
export type IMutationSubmitInvestorInquiryArgs = {
|
|
100
|
+
input: IInvestorInquiryInput;
|
|
101
|
+
};
|
|
102
|
+
|
|
103
|
+
export type IOpportunityInput = {
|
|
104
|
+
userId?: Maybe<Scalars['ID']>;
|
|
105
|
+
submitterEmail: Scalars['String'];
|
|
106
|
+
name?: Maybe<Scalars['String']>;
|
|
107
|
+
description?: Maybe<Scalars['String']>;
|
|
108
|
+
registrationLink?: Maybe<Scalars['String']>;
|
|
109
|
+
startDate?: Maybe<Scalars['Long']>;
|
|
110
|
+
endDate?: Maybe<Scalars['Long']>;
|
|
111
|
+
};
|
|
112
|
+
|
|
113
|
+
export type IPartnershipInquiryInput = {
|
|
114
|
+
userId?: Maybe<Scalars['ID']>;
|
|
115
|
+
name: Scalars['String'];
|
|
116
|
+
email: Scalars['String'];
|
|
117
|
+
projectName: Scalars['String'];
|
|
118
|
+
website: Scalars['String'];
|
|
119
|
+
aboutProject: Scalars['String'];
|
|
120
|
+
partnershipType: Scalars['String'];
|
|
121
|
+
ludoReferrerInfo?: Maybe<Scalars['String']>;
|
|
122
|
+
};
|
|
123
|
+
|
|
124
|
+
export type IQuery = {
|
|
125
|
+
getDummy: Scalars['String'];
|
|
126
|
+
};
|
|
127
|
+
|
|
128
|
+
export type IRegistrationInviteInput = {
|
|
129
|
+
userId?: Maybe<Scalars['ID']>;
|
|
130
|
+
ludoIdOrAddress: Scalars['String'];
|
|
131
|
+
reason: Scalars['String'];
|
|
132
|
+
};
|
|
133
|
+
|
|
134
|
+
export type IUserFeedbackInput = {
|
|
135
|
+
userId?: Maybe<Scalars['ID']>;
|
|
136
|
+
email: Scalars['String'];
|
|
137
|
+
satisfactionScore: Scalars['Int'];
|
|
138
|
+
missedFeature?: Maybe<Scalars['String']>;
|
|
139
|
+
howEasyToUseScore?: Maybe<Scalars['String']>;
|
|
140
|
+
performanceScore?: Maybe<Scalars['Int']>;
|
|
141
|
+
whatToImprove?: Maybe<Scalars['String']>;
|
|
142
|
+
comments?: Maybe<Scalars['String']>;
|
|
143
|
+
};
|
|
144
|
+
|
|
145
|
+
|
|
146
|
+
|
|
147
|
+
export type ResolverTypeWrapper<T> = Promise<T> | T;
|
|
148
|
+
|
|
149
|
+
|
|
150
|
+
export type ResolverWithResolve<TResult, TParent, TContext, TArgs> = {
|
|
151
|
+
resolve: ResolverFn<TResult, TParent, TContext, TArgs>;
|
|
152
|
+
};
|
|
153
|
+
export type Resolver<TResult, TParent = {}, TContext = {}, TArgs = {}> = ResolverFn<TResult, TParent, TContext, TArgs> | ResolverWithResolve<TResult, TParent, TContext, TArgs>;
|
|
154
|
+
|
|
155
|
+
export type ResolverFn<TResult, TParent, TContext, TArgs> = (
|
|
156
|
+
parent: TParent,
|
|
157
|
+
args: TArgs,
|
|
158
|
+
context: TContext,
|
|
159
|
+
info: GraphQLResolveInfo
|
|
160
|
+
) => Promise<TResult> | TResult;
|
|
161
|
+
|
|
162
|
+
export type SubscriptionSubscribeFn<TResult, TParent, TContext, TArgs> = (
|
|
163
|
+
parent: TParent,
|
|
164
|
+
args: TArgs,
|
|
165
|
+
context: TContext,
|
|
166
|
+
info: GraphQLResolveInfo
|
|
167
|
+
) => AsyncIterable<TResult> | Promise<AsyncIterable<TResult>>;
|
|
168
|
+
|
|
169
|
+
export type SubscriptionResolveFn<TResult, TParent, TContext, TArgs> = (
|
|
170
|
+
parent: TParent,
|
|
171
|
+
args: TArgs,
|
|
172
|
+
context: TContext,
|
|
173
|
+
info: GraphQLResolveInfo
|
|
174
|
+
) => TResult | Promise<TResult>;
|
|
175
|
+
|
|
176
|
+
export interface SubscriptionSubscriberObject<TResult, TKey extends string, TParent, TContext, TArgs> {
|
|
177
|
+
subscribe: SubscriptionSubscribeFn<{ [key in TKey]: TResult }, TParent, TContext, TArgs>;
|
|
178
|
+
resolve?: SubscriptionResolveFn<TResult, { [key in TKey]: TResult }, TContext, TArgs>;
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
export interface SubscriptionResolverObject<TResult, TParent, TContext, TArgs> {
|
|
182
|
+
subscribe: SubscriptionSubscribeFn<any, TParent, TContext, TArgs>;
|
|
183
|
+
resolve: SubscriptionResolveFn<TResult, any, TContext, TArgs>;
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
export type SubscriptionObject<TResult, TKey extends string, TParent, TContext, TArgs> =
|
|
187
|
+
| SubscriptionSubscriberObject<TResult, TKey, TParent, TContext, TArgs>
|
|
188
|
+
| SubscriptionResolverObject<TResult, TParent, TContext, TArgs>;
|
|
189
|
+
|
|
190
|
+
export type SubscriptionResolver<TResult, TKey extends string, TParent = {}, TContext = {}, TArgs = {}> =
|
|
191
|
+
| ((...args: any[]) => SubscriptionObject<TResult, TKey, TParent, TContext, TArgs>)
|
|
192
|
+
| SubscriptionObject<TResult, TKey, TParent, TContext, TArgs>;
|
|
193
|
+
|
|
194
|
+
export type TypeResolveFn<TTypes, TParent = {}, TContext = {}> = (
|
|
195
|
+
parent: TParent,
|
|
196
|
+
context: TContext,
|
|
197
|
+
info: GraphQLResolveInfo
|
|
198
|
+
) => Maybe<TTypes> | Promise<Maybe<TTypes>>;
|
|
199
|
+
|
|
200
|
+
export type IsTypeOfResolverFn<T = {}, TContext = {}> = (obj: T, context: TContext, info: GraphQLResolveInfo) => boolean | Promise<boolean>;
|
|
201
|
+
|
|
202
|
+
export type NextResolverFn<T> = () => Promise<T>;
|
|
203
|
+
|
|
204
|
+
export type DirectiveResolverFn<TResult = {}, TParent = {}, TContext = {}, TArgs = {}> = (
|
|
205
|
+
next: NextResolverFn<TResult>,
|
|
206
|
+
parent: TParent,
|
|
207
|
+
args: TArgs,
|
|
208
|
+
context: TContext,
|
|
209
|
+
info: GraphQLResolveInfo
|
|
210
|
+
) => TResult | Promise<TResult>;
|
|
211
|
+
|
|
212
|
+
/** Mapping between all available schema types and the resolvers types */
|
|
213
|
+
export type IResolversTypes = {
|
|
214
|
+
ContactSupportInput: IContactSupportInput;
|
|
215
|
+
ID: ResolverTypeWrapper<Scalars['ID']>;
|
|
216
|
+
String: ResolverTypeWrapper<Scalars['String']>;
|
|
217
|
+
ContentReportInput: IContentReportInput;
|
|
218
|
+
InvestorInquiryInput: IInvestorInquiryInput;
|
|
219
|
+
Float: ResolverTypeWrapper<Scalars['Float']>;
|
|
220
|
+
Long: ResolverTypeWrapper<Scalars['Long']>;
|
|
221
|
+
Mutation: ResolverTypeWrapper<{}>;
|
|
222
|
+
Boolean: ResolverTypeWrapper<Scalars['Boolean']>;
|
|
223
|
+
OpportunityInput: IOpportunityInput;
|
|
224
|
+
PartnershipInquiryInput: IPartnershipInquiryInput;
|
|
225
|
+
Query: ResolverTypeWrapper<{}>;
|
|
226
|
+
RegistrationInviteInput: IRegistrationInviteInput;
|
|
227
|
+
UserFeedbackInput: IUserFeedbackInput;
|
|
228
|
+
Int: ResolverTypeWrapper<Scalars['Int']>;
|
|
229
|
+
};
|
|
230
|
+
|
|
231
|
+
/** Mapping between all available schema types and the resolvers parents */
|
|
232
|
+
export type IResolversParentTypes = {
|
|
233
|
+
ContactSupportInput: IContactSupportInput;
|
|
234
|
+
ID: Scalars['ID'];
|
|
235
|
+
String: Scalars['String'];
|
|
236
|
+
ContentReportInput: IContentReportInput;
|
|
237
|
+
InvestorInquiryInput: IInvestorInquiryInput;
|
|
238
|
+
Float: Scalars['Float'];
|
|
239
|
+
Long: Scalars['Long'];
|
|
240
|
+
Mutation: {};
|
|
241
|
+
Boolean: Scalars['Boolean'];
|
|
242
|
+
OpportunityInput: IOpportunityInput;
|
|
243
|
+
PartnershipInquiryInput: IPartnershipInquiryInput;
|
|
244
|
+
Query: {};
|
|
245
|
+
RegistrationInviteInput: IRegistrationInviteInput;
|
|
246
|
+
UserFeedbackInput: IUserFeedbackInput;
|
|
247
|
+
Int: Scalars['Int'];
|
|
248
|
+
};
|
|
249
|
+
|
|
250
|
+
export type IPatternDirectiveArgs = {
|
|
251
|
+
regexp: Scalars['String'];
|
|
252
|
+
message?: Maybe<Scalars['String']>;
|
|
253
|
+
};
|
|
254
|
+
|
|
255
|
+
export type IPatternDirectiveResolver<Result, Parent, ContextType = any, Args = IPatternDirectiveArgs> = DirectiveResolverFn<Result, Parent, ContextType, Args>;
|
|
256
|
+
|
|
257
|
+
export type IOneOfDirectiveArgs = { };
|
|
258
|
+
|
|
259
|
+
export type IOneOfDirectiveResolver<Result, Parent, ContextType = any, Args = IOneOfDirectiveArgs> = DirectiveResolverFn<Result, Parent, ContextType, Args>;
|
|
260
|
+
|
|
261
|
+
export interface ILongScalarConfig extends GraphQLScalarTypeConfig<IResolversTypes['Long'], any> {
|
|
262
|
+
name: 'Long';
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
export type IMutationResolvers<ContextType = any, ParentType extends IResolversParentTypes['Mutation'] = IResolversParentTypes['Mutation']> = {
|
|
266
|
+
setDummy?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
|
|
267
|
+
submitOpportunity?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationSubmitOpportunityArgs, 'input'>>;
|
|
268
|
+
submitContactSupport?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationSubmitContactSupportArgs, 'input'>>;
|
|
269
|
+
submitRegistrationInvite?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationSubmitRegistrationInviteArgs, 'input'>>;
|
|
270
|
+
submitContentReport?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationSubmitContentReportArgs, 'input'>>;
|
|
271
|
+
submitPartnershipInquiry?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationSubmitPartnershipInquiryArgs, 'input'>>;
|
|
272
|
+
submitUserFeedback?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationSubmitUserFeedbackArgs, 'input'>>;
|
|
273
|
+
submitInvestorInquiry?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationSubmitInvestorInquiryArgs, 'input'>>;
|
|
274
|
+
};
|
|
275
|
+
|
|
276
|
+
export type IQueryResolvers<ContextType = any, ParentType extends IResolversParentTypes['Query'] = IResolversParentTypes['Query']> = {
|
|
277
|
+
getDummy?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
|
|
278
|
+
};
|
|
279
|
+
|
|
280
|
+
export type IResolvers<ContextType = any> = {
|
|
281
|
+
Long?: GraphQLScalarType;
|
|
282
|
+
Mutation?: IMutationResolvers<ContextType>;
|
|
283
|
+
Query?: IQueryResolvers<ContextType>;
|
|
284
|
+
};
|
|
285
|
+
|
|
286
|
+
export type IDirectiveResolvers<ContextType = any> = {
|
|
287
|
+
Pattern?: IPatternDirectiveResolver<any, any, ContextType>;
|
|
288
|
+
oneOf?: IOneOfDirectiveResolver<any, any, ContextType>;
|
|
289
|
+
};
|
|
290
|
+
|
|
291
|
+
export type ISubmitContactSupportMutationVariables = Exact<{
|
|
292
|
+
input: IContactSupportInput;
|
|
293
|
+
}>;
|
|
294
|
+
|
|
295
|
+
|
|
296
|
+
export type ISubmitContactSupportMutation = Pick<IMutation, 'submitContactSupport'>;
|
|
297
|
+
|
|
298
|
+
export type ISubmitContentReportMutationVariables = Exact<{
|
|
299
|
+
input: IContentReportInput;
|
|
300
|
+
}>;
|
|
301
|
+
|
|
302
|
+
|
|
303
|
+
export type ISubmitContentReportMutation = Pick<IMutation, 'submitContentReport'>;
|
|
304
|
+
|
|
305
|
+
export type ISubmitInvestorInquiryMutationVariables = Exact<{
|
|
306
|
+
input: IInvestorInquiryInput;
|
|
307
|
+
}>;
|
|
308
|
+
|
|
309
|
+
|
|
310
|
+
export type ISubmitInvestorInquiryMutation = Pick<IMutation, 'submitInvestorInquiry'>;
|
|
311
|
+
|
|
312
|
+
export type ISubmitOpportunityMutationVariables = Exact<{
|
|
313
|
+
input: IOpportunityInput;
|
|
314
|
+
}>;
|
|
315
|
+
|
|
316
|
+
|
|
317
|
+
export type ISubmitOpportunityMutation = Pick<IMutation, 'submitOpportunity'>;
|
|
318
|
+
|
|
319
|
+
export type ISubmitPartnershipInquiryMutationVariables = Exact<{
|
|
320
|
+
input: IPartnershipInquiryInput;
|
|
321
|
+
}>;
|
|
322
|
+
|
|
323
|
+
|
|
324
|
+
export type ISubmitPartnershipInquiryMutation = Pick<IMutation, 'submitPartnershipInquiry'>;
|
|
325
|
+
|
|
326
|
+
export type ISubmitRegistrationInviteMutationVariables = Exact<{
|
|
327
|
+
input: IRegistrationInviteInput;
|
|
328
|
+
}>;
|
|
329
|
+
|
|
330
|
+
|
|
331
|
+
export type ISubmitRegistrationInviteMutation = Pick<IMutation, 'submitRegistrationInvite'>;
|
|
332
|
+
|
|
333
|
+
export type ISubmitUserFeedbackMutationVariables = Exact<{
|
|
334
|
+
input: IUserFeedbackInput;
|
|
335
|
+
}>;
|
|
336
|
+
|
|
337
|
+
|
|
338
|
+
export type ISubmitUserFeedbackMutation = Pick<IMutation, 'submitUserFeedback'>;
|
|
339
|
+
|
|
340
|
+
|
|
341
|
+
export const SubmitContactSupportDocument = gql`
|
|
342
|
+
mutation SubmitContactSupport($input: ContactSupportInput!) {
|
|
343
|
+
submitContactSupport(input: $input)
|
|
344
|
+
}
|
|
345
|
+
`;
|
|
346
|
+
export type ISubmitContactSupportMutationFn = Apollo.MutationFunction<ISubmitContactSupportMutation, ISubmitContactSupportMutationVariables>;
|
|
347
|
+
|
|
348
|
+
/**
|
|
349
|
+
* __useSubmitContactSupportMutation__
|
|
350
|
+
*
|
|
351
|
+
* To run a mutation, you first call `useSubmitContactSupportMutation` within a React component and pass it any options that fit your needs.
|
|
352
|
+
* When your component renders, `useSubmitContactSupportMutation` returns a tuple that includes:
|
|
353
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
354
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
355
|
+
*
|
|
356
|
+
* @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
|
|
357
|
+
*
|
|
358
|
+
* @example
|
|
359
|
+
* const [submitContactSupportMutation, { data, loading, error }] = useSubmitContactSupportMutation({
|
|
360
|
+
* variables: {
|
|
361
|
+
* input: // value for 'input'
|
|
362
|
+
* },
|
|
363
|
+
* });
|
|
364
|
+
*/
|
|
365
|
+
export function useSubmitContactSupportMutation(baseOptions?: Apollo.MutationHookOptions<ISubmitContactSupportMutation, ISubmitContactSupportMutationVariables>) {
|
|
366
|
+
return Apollo.useMutation<ISubmitContactSupportMutation, ISubmitContactSupportMutationVariables>(SubmitContactSupportDocument, baseOptions);
|
|
367
|
+
}
|
|
368
|
+
export type SubmitContactSupportMutationHookResult = ReturnType<typeof useSubmitContactSupportMutation>;
|
|
369
|
+
export type SubmitContactSupportMutationResult = Apollo.MutationResult<ISubmitContactSupportMutation>;
|
|
370
|
+
export type SubmitContactSupportMutationOptions = Apollo.BaseMutationOptions<ISubmitContactSupportMutation, ISubmitContactSupportMutationVariables>;
|
|
371
|
+
export const SubmitContentReportDocument = gql`
|
|
372
|
+
mutation SubmitContentReport($input: ContentReportInput!) {
|
|
373
|
+
submitContentReport(input: $input)
|
|
374
|
+
}
|
|
375
|
+
`;
|
|
376
|
+
export type ISubmitContentReportMutationFn = Apollo.MutationFunction<ISubmitContentReportMutation, ISubmitContentReportMutationVariables>;
|
|
377
|
+
|
|
378
|
+
/**
|
|
379
|
+
* __useSubmitContentReportMutation__
|
|
380
|
+
*
|
|
381
|
+
* To run a mutation, you first call `useSubmitContentReportMutation` within a React component and pass it any options that fit your needs.
|
|
382
|
+
* When your component renders, `useSubmitContentReportMutation` returns a tuple that includes:
|
|
383
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
384
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
385
|
+
*
|
|
386
|
+
* @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
|
|
387
|
+
*
|
|
388
|
+
* @example
|
|
389
|
+
* const [submitContentReportMutation, { data, loading, error }] = useSubmitContentReportMutation({
|
|
390
|
+
* variables: {
|
|
391
|
+
* input: // value for 'input'
|
|
392
|
+
* },
|
|
393
|
+
* });
|
|
394
|
+
*/
|
|
395
|
+
export function useSubmitContentReportMutation(baseOptions?: Apollo.MutationHookOptions<ISubmitContentReportMutation, ISubmitContentReportMutationVariables>) {
|
|
396
|
+
return Apollo.useMutation<ISubmitContentReportMutation, ISubmitContentReportMutationVariables>(SubmitContentReportDocument, baseOptions);
|
|
397
|
+
}
|
|
398
|
+
export type SubmitContentReportMutationHookResult = ReturnType<typeof useSubmitContentReportMutation>;
|
|
399
|
+
export type SubmitContentReportMutationResult = Apollo.MutationResult<ISubmitContentReportMutation>;
|
|
400
|
+
export type SubmitContentReportMutationOptions = Apollo.BaseMutationOptions<ISubmitContentReportMutation, ISubmitContentReportMutationVariables>;
|
|
401
|
+
export const SubmitInvestorInquiryDocument = gql`
|
|
402
|
+
mutation SubmitInvestorInquiry($input: InvestorInquiryInput!) {
|
|
403
|
+
submitInvestorInquiry(input: $input)
|
|
404
|
+
}
|
|
405
|
+
`;
|
|
406
|
+
export type ISubmitInvestorInquiryMutationFn = Apollo.MutationFunction<ISubmitInvestorInquiryMutation, ISubmitInvestorInquiryMutationVariables>;
|
|
407
|
+
|
|
408
|
+
/**
|
|
409
|
+
* __useSubmitInvestorInquiryMutation__
|
|
410
|
+
*
|
|
411
|
+
* To run a mutation, you first call `useSubmitInvestorInquiryMutation` within a React component and pass it any options that fit your needs.
|
|
412
|
+
* When your component renders, `useSubmitInvestorInquiryMutation` returns a tuple that includes:
|
|
413
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
414
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
415
|
+
*
|
|
416
|
+
* @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
|
|
417
|
+
*
|
|
418
|
+
* @example
|
|
419
|
+
* const [submitInvestorInquiryMutation, { data, loading, error }] = useSubmitInvestorInquiryMutation({
|
|
420
|
+
* variables: {
|
|
421
|
+
* input: // value for 'input'
|
|
422
|
+
* },
|
|
423
|
+
* });
|
|
424
|
+
*/
|
|
425
|
+
export function useSubmitInvestorInquiryMutation(baseOptions?: Apollo.MutationHookOptions<ISubmitInvestorInquiryMutation, ISubmitInvestorInquiryMutationVariables>) {
|
|
426
|
+
return Apollo.useMutation<ISubmitInvestorInquiryMutation, ISubmitInvestorInquiryMutationVariables>(SubmitInvestorInquiryDocument, baseOptions);
|
|
427
|
+
}
|
|
428
|
+
export type SubmitInvestorInquiryMutationHookResult = ReturnType<typeof useSubmitInvestorInquiryMutation>;
|
|
429
|
+
export type SubmitInvestorInquiryMutationResult = Apollo.MutationResult<ISubmitInvestorInquiryMutation>;
|
|
430
|
+
export type SubmitInvestorInquiryMutationOptions = Apollo.BaseMutationOptions<ISubmitInvestorInquiryMutation, ISubmitInvestorInquiryMutationVariables>;
|
|
431
|
+
export const SubmitOpportunityDocument = gql`
|
|
432
|
+
mutation SubmitOpportunity($input: OpportunityInput!) {
|
|
433
|
+
submitOpportunity(input: $input)
|
|
434
|
+
}
|
|
435
|
+
`;
|
|
436
|
+
export type ISubmitOpportunityMutationFn = Apollo.MutationFunction<ISubmitOpportunityMutation, ISubmitOpportunityMutationVariables>;
|
|
437
|
+
|
|
438
|
+
/**
|
|
439
|
+
* __useSubmitOpportunityMutation__
|
|
440
|
+
*
|
|
441
|
+
* To run a mutation, you first call `useSubmitOpportunityMutation` within a React component and pass it any options that fit your needs.
|
|
442
|
+
* When your component renders, `useSubmitOpportunityMutation` returns a tuple that includes:
|
|
443
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
444
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
445
|
+
*
|
|
446
|
+
* @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
|
|
447
|
+
*
|
|
448
|
+
* @example
|
|
449
|
+
* const [submitOpportunityMutation, { data, loading, error }] = useSubmitOpportunityMutation({
|
|
450
|
+
* variables: {
|
|
451
|
+
* input: // value for 'input'
|
|
452
|
+
* },
|
|
453
|
+
* });
|
|
454
|
+
*/
|
|
455
|
+
export function useSubmitOpportunityMutation(baseOptions?: Apollo.MutationHookOptions<ISubmitOpportunityMutation, ISubmitOpportunityMutationVariables>) {
|
|
456
|
+
return Apollo.useMutation<ISubmitOpportunityMutation, ISubmitOpportunityMutationVariables>(SubmitOpportunityDocument, baseOptions);
|
|
457
|
+
}
|
|
458
|
+
export type SubmitOpportunityMutationHookResult = ReturnType<typeof useSubmitOpportunityMutation>;
|
|
459
|
+
export type SubmitOpportunityMutationResult = Apollo.MutationResult<ISubmitOpportunityMutation>;
|
|
460
|
+
export type SubmitOpportunityMutationOptions = Apollo.BaseMutationOptions<ISubmitOpportunityMutation, ISubmitOpportunityMutationVariables>;
|
|
461
|
+
export const SubmitPartnershipInquiryDocument = gql`
|
|
462
|
+
mutation SubmitPartnershipInquiry($input: PartnershipInquiryInput!) {
|
|
463
|
+
submitPartnershipInquiry(input: $input)
|
|
464
|
+
}
|
|
465
|
+
`;
|
|
466
|
+
export type ISubmitPartnershipInquiryMutationFn = Apollo.MutationFunction<ISubmitPartnershipInquiryMutation, ISubmitPartnershipInquiryMutationVariables>;
|
|
467
|
+
|
|
468
|
+
/**
|
|
469
|
+
* __useSubmitPartnershipInquiryMutation__
|
|
470
|
+
*
|
|
471
|
+
* To run a mutation, you first call `useSubmitPartnershipInquiryMutation` within a React component and pass it any options that fit your needs.
|
|
472
|
+
* When your component renders, `useSubmitPartnershipInquiryMutation` returns a tuple that includes:
|
|
473
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
474
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
475
|
+
*
|
|
476
|
+
* @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
|
|
477
|
+
*
|
|
478
|
+
* @example
|
|
479
|
+
* const [submitPartnershipInquiryMutation, { data, loading, error }] = useSubmitPartnershipInquiryMutation({
|
|
480
|
+
* variables: {
|
|
481
|
+
* input: // value for 'input'
|
|
482
|
+
* },
|
|
483
|
+
* });
|
|
484
|
+
*/
|
|
485
|
+
export function useSubmitPartnershipInquiryMutation(baseOptions?: Apollo.MutationHookOptions<ISubmitPartnershipInquiryMutation, ISubmitPartnershipInquiryMutationVariables>) {
|
|
486
|
+
return Apollo.useMutation<ISubmitPartnershipInquiryMutation, ISubmitPartnershipInquiryMutationVariables>(SubmitPartnershipInquiryDocument, baseOptions);
|
|
487
|
+
}
|
|
488
|
+
export type SubmitPartnershipInquiryMutationHookResult = ReturnType<typeof useSubmitPartnershipInquiryMutation>;
|
|
489
|
+
export type SubmitPartnershipInquiryMutationResult = Apollo.MutationResult<ISubmitPartnershipInquiryMutation>;
|
|
490
|
+
export type SubmitPartnershipInquiryMutationOptions = Apollo.BaseMutationOptions<ISubmitPartnershipInquiryMutation, ISubmitPartnershipInquiryMutationVariables>;
|
|
491
|
+
export const SubmitRegistrationInviteDocument = gql`
|
|
492
|
+
mutation SubmitRegistrationInvite($input: RegistrationInviteInput!) {
|
|
493
|
+
submitRegistrationInvite(input: $input)
|
|
494
|
+
}
|
|
495
|
+
`;
|
|
496
|
+
export type ISubmitRegistrationInviteMutationFn = Apollo.MutationFunction<ISubmitRegistrationInviteMutation, ISubmitRegistrationInviteMutationVariables>;
|
|
497
|
+
|
|
498
|
+
/**
|
|
499
|
+
* __useSubmitRegistrationInviteMutation__
|
|
500
|
+
*
|
|
501
|
+
* To run a mutation, you first call `useSubmitRegistrationInviteMutation` within a React component and pass it any options that fit your needs.
|
|
502
|
+
* When your component renders, `useSubmitRegistrationInviteMutation` returns a tuple that includes:
|
|
503
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
504
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
505
|
+
*
|
|
506
|
+
* @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
|
|
507
|
+
*
|
|
508
|
+
* @example
|
|
509
|
+
* const [submitRegistrationInviteMutation, { data, loading, error }] = useSubmitRegistrationInviteMutation({
|
|
510
|
+
* variables: {
|
|
511
|
+
* input: // value for 'input'
|
|
512
|
+
* },
|
|
513
|
+
* });
|
|
514
|
+
*/
|
|
515
|
+
export function useSubmitRegistrationInviteMutation(baseOptions?: Apollo.MutationHookOptions<ISubmitRegistrationInviteMutation, ISubmitRegistrationInviteMutationVariables>) {
|
|
516
|
+
return Apollo.useMutation<ISubmitRegistrationInviteMutation, ISubmitRegistrationInviteMutationVariables>(SubmitRegistrationInviteDocument, baseOptions);
|
|
517
|
+
}
|
|
518
|
+
export type SubmitRegistrationInviteMutationHookResult = ReturnType<typeof useSubmitRegistrationInviteMutation>;
|
|
519
|
+
export type SubmitRegistrationInviteMutationResult = Apollo.MutationResult<ISubmitRegistrationInviteMutation>;
|
|
520
|
+
export type SubmitRegistrationInviteMutationOptions = Apollo.BaseMutationOptions<ISubmitRegistrationInviteMutation, ISubmitRegistrationInviteMutationVariables>;
|
|
521
|
+
export const SubmitUserFeedbackDocument = gql`
|
|
522
|
+
mutation SubmitUserFeedback($input: UserFeedbackInput!) {
|
|
523
|
+
submitUserFeedback(input: $input)
|
|
524
|
+
}
|
|
525
|
+
`;
|
|
526
|
+
export type ISubmitUserFeedbackMutationFn = Apollo.MutationFunction<ISubmitUserFeedbackMutation, ISubmitUserFeedbackMutationVariables>;
|
|
527
|
+
|
|
528
|
+
/**
|
|
529
|
+
* __useSubmitUserFeedbackMutation__
|
|
530
|
+
*
|
|
531
|
+
* To run a mutation, you first call `useSubmitUserFeedbackMutation` within a React component and pass it any options that fit your needs.
|
|
532
|
+
* When your component renders, `useSubmitUserFeedbackMutation` returns a tuple that includes:
|
|
533
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
534
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
535
|
+
*
|
|
536
|
+
* @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
|
|
537
|
+
*
|
|
538
|
+
* @example
|
|
539
|
+
* const [submitUserFeedbackMutation, { data, loading, error }] = useSubmitUserFeedbackMutation({
|
|
540
|
+
* variables: {
|
|
541
|
+
* input: // value for 'input'
|
|
542
|
+
* },
|
|
543
|
+
* });
|
|
544
|
+
*/
|
|
545
|
+
export function useSubmitUserFeedbackMutation(baseOptions?: Apollo.MutationHookOptions<ISubmitUserFeedbackMutation, ISubmitUserFeedbackMutationVariables>) {
|
|
546
|
+
return Apollo.useMutation<ISubmitUserFeedbackMutation, ISubmitUserFeedbackMutationVariables>(SubmitUserFeedbackDocument, baseOptions);
|
|
547
|
+
}
|
|
548
|
+
export type SubmitUserFeedbackMutationHookResult = ReturnType<typeof useSubmitUserFeedbackMutation>;
|
|
549
|
+
export type SubmitUserFeedbackMutationResult = Apollo.MutationResult<ISubmitUserFeedbackMutation>;
|
|
550
|
+
export type SubmitUserFeedbackMutationOptions = Apollo.BaseMutationOptions<ISubmitUserFeedbackMutation, ISubmitUserFeedbackMutationVariables>;
|