@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,422 @@
|
|
|
1
|
+
import { GraphQLResolveInfo, GraphQLScalarType, GraphQLScalarTypeConfig } from 'graphql';
|
|
2
|
+
import * as Apollo from '@apollo/client';
|
|
3
|
+
export type Maybe<T> = T | null;
|
|
4
|
+
export type Exact<T extends {
|
|
5
|
+
[key: string]: unknown;
|
|
6
|
+
}> = {
|
|
7
|
+
[K in keyof T]: T[K];
|
|
8
|
+
};
|
|
9
|
+
export type MakeOptional<T, K extends keyof T> = Omit<T, K> & {
|
|
10
|
+
[SubKey in K]?: Maybe<T[SubKey]>;
|
|
11
|
+
};
|
|
12
|
+
export type MakeMaybe<T, K extends keyof T> = Omit<T, K> & {
|
|
13
|
+
[SubKey in K]: Maybe<T[SubKey]>;
|
|
14
|
+
};
|
|
15
|
+
export type RequireFields<T, K extends keyof T> = Omit<T, K> & {
|
|
16
|
+
[P in K]-?: NonNullable<T[P]>;
|
|
17
|
+
};
|
|
18
|
+
/** All built-in and custom scalars, mapped to their actual values */
|
|
19
|
+
export type Scalars = {
|
|
20
|
+
ID: string;
|
|
21
|
+
String: string;
|
|
22
|
+
Boolean: boolean;
|
|
23
|
+
Int: number;
|
|
24
|
+
Float: number;
|
|
25
|
+
/** A 64-bit signed integer */
|
|
26
|
+
Long: any;
|
|
27
|
+
};
|
|
28
|
+
export type IContactSupportInput = {
|
|
29
|
+
userId?: Maybe<Scalars['ID']>;
|
|
30
|
+
email: Scalars['String'];
|
|
31
|
+
walletAddress: Scalars['String'];
|
|
32
|
+
category?: Maybe<Scalars['String']>;
|
|
33
|
+
description?: Maybe<Scalars['String']>;
|
|
34
|
+
priority?: Maybe<Scalars['String']>;
|
|
35
|
+
};
|
|
36
|
+
export type IContentReportInput = {
|
|
37
|
+
userId?: Maybe<Scalars['ID']>;
|
|
38
|
+
email: Scalars['String'];
|
|
39
|
+
nameOfSubject?: Maybe<Scalars['String']>;
|
|
40
|
+
contentType?: Maybe<Scalars['String']>;
|
|
41
|
+
contentId?: Maybe<Scalars['String']>;
|
|
42
|
+
reportReason?: Maybe<Scalars['String']>;
|
|
43
|
+
description?: Maybe<Scalars['String']>;
|
|
44
|
+
evidenceFileUrl?: Maybe<Scalars['String']>;
|
|
45
|
+
};
|
|
46
|
+
export type IInvestorInquiryInput = {
|
|
47
|
+
userId?: Maybe<Scalars['ID']>;
|
|
48
|
+
email: Scalars['String'];
|
|
49
|
+
name: Scalars['String'];
|
|
50
|
+
phoneNumber: Scalars['String'];
|
|
51
|
+
telegramId?: Maybe<Scalars['String']>;
|
|
52
|
+
investorType: Scalars['String'];
|
|
53
|
+
investmentAmount?: Maybe<Scalars['Float']>;
|
|
54
|
+
investmentExperience: Scalars['String'];
|
|
55
|
+
assistanceRequest: Scalars['String'];
|
|
56
|
+
ludoReferrerInfo?: Maybe<Scalars['String']>;
|
|
57
|
+
};
|
|
58
|
+
export type IMutation = {
|
|
59
|
+
setDummy: Scalars['String'];
|
|
60
|
+
submitOpportunity: Scalars['Boolean'];
|
|
61
|
+
submitContactSupport: Scalars['Boolean'];
|
|
62
|
+
submitRegistrationInvite: Scalars['Boolean'];
|
|
63
|
+
submitContentReport: Scalars['Boolean'];
|
|
64
|
+
submitPartnershipInquiry: Scalars['Boolean'];
|
|
65
|
+
submitUserFeedback: Scalars['Boolean'];
|
|
66
|
+
submitInvestorInquiry: Scalars['Boolean'];
|
|
67
|
+
};
|
|
68
|
+
export type IMutationSubmitOpportunityArgs = {
|
|
69
|
+
input: IOpportunityInput;
|
|
70
|
+
};
|
|
71
|
+
export type IMutationSubmitContactSupportArgs = {
|
|
72
|
+
input: IContactSupportInput;
|
|
73
|
+
};
|
|
74
|
+
export type IMutationSubmitRegistrationInviteArgs = {
|
|
75
|
+
input: IRegistrationInviteInput;
|
|
76
|
+
};
|
|
77
|
+
export type IMutationSubmitContentReportArgs = {
|
|
78
|
+
input: IContentReportInput;
|
|
79
|
+
};
|
|
80
|
+
export type IMutationSubmitPartnershipInquiryArgs = {
|
|
81
|
+
input: IPartnershipInquiryInput;
|
|
82
|
+
};
|
|
83
|
+
export type IMutationSubmitUserFeedbackArgs = {
|
|
84
|
+
input: IUserFeedbackInput;
|
|
85
|
+
};
|
|
86
|
+
export type IMutationSubmitInvestorInquiryArgs = {
|
|
87
|
+
input: IInvestorInquiryInput;
|
|
88
|
+
};
|
|
89
|
+
export type IOpportunityInput = {
|
|
90
|
+
userId?: Maybe<Scalars['ID']>;
|
|
91
|
+
submitterEmail: Scalars['String'];
|
|
92
|
+
name?: Maybe<Scalars['String']>;
|
|
93
|
+
description?: Maybe<Scalars['String']>;
|
|
94
|
+
registrationLink?: Maybe<Scalars['String']>;
|
|
95
|
+
startDate?: Maybe<Scalars['Long']>;
|
|
96
|
+
endDate?: Maybe<Scalars['Long']>;
|
|
97
|
+
};
|
|
98
|
+
export type IPartnershipInquiryInput = {
|
|
99
|
+
userId?: Maybe<Scalars['ID']>;
|
|
100
|
+
name: Scalars['String'];
|
|
101
|
+
email: Scalars['String'];
|
|
102
|
+
projectName: Scalars['String'];
|
|
103
|
+
website: Scalars['String'];
|
|
104
|
+
aboutProject: Scalars['String'];
|
|
105
|
+
partnershipType: Scalars['String'];
|
|
106
|
+
ludoReferrerInfo?: Maybe<Scalars['String']>;
|
|
107
|
+
};
|
|
108
|
+
export type IQuery = {
|
|
109
|
+
getDummy: Scalars['String'];
|
|
110
|
+
};
|
|
111
|
+
export type IRegistrationInviteInput = {
|
|
112
|
+
userId?: Maybe<Scalars['ID']>;
|
|
113
|
+
ludoIdOrAddress: Scalars['String'];
|
|
114
|
+
reason: Scalars['String'];
|
|
115
|
+
};
|
|
116
|
+
export type IUserFeedbackInput = {
|
|
117
|
+
userId?: Maybe<Scalars['ID']>;
|
|
118
|
+
email: Scalars['String'];
|
|
119
|
+
satisfactionScore: Scalars['Int'];
|
|
120
|
+
missedFeature?: Maybe<Scalars['String']>;
|
|
121
|
+
howEasyToUseScore?: Maybe<Scalars['String']>;
|
|
122
|
+
performanceScore?: Maybe<Scalars['Int']>;
|
|
123
|
+
whatToImprove?: Maybe<Scalars['String']>;
|
|
124
|
+
comments?: Maybe<Scalars['String']>;
|
|
125
|
+
};
|
|
126
|
+
export type ResolverTypeWrapper<T> = Promise<T> | T;
|
|
127
|
+
export type ResolverWithResolve<TResult, TParent, TContext, TArgs> = {
|
|
128
|
+
resolve: ResolverFn<TResult, TParent, TContext, TArgs>;
|
|
129
|
+
};
|
|
130
|
+
export type Resolver<TResult, TParent = {}, TContext = {}, TArgs = {}> = ResolverFn<TResult, TParent, TContext, TArgs> | ResolverWithResolve<TResult, TParent, TContext, TArgs>;
|
|
131
|
+
export type ResolverFn<TResult, TParent, TContext, TArgs> = (parent: TParent, args: TArgs, context: TContext, info: GraphQLResolveInfo) => Promise<TResult> | TResult;
|
|
132
|
+
export type SubscriptionSubscribeFn<TResult, TParent, TContext, TArgs> = (parent: TParent, args: TArgs, context: TContext, info: GraphQLResolveInfo) => AsyncIterable<TResult> | Promise<AsyncIterable<TResult>>;
|
|
133
|
+
export type SubscriptionResolveFn<TResult, TParent, TContext, TArgs> = (parent: TParent, args: TArgs, context: TContext, info: GraphQLResolveInfo) => TResult | Promise<TResult>;
|
|
134
|
+
export interface SubscriptionSubscriberObject<TResult, TKey extends string, TParent, TContext, TArgs> {
|
|
135
|
+
subscribe: SubscriptionSubscribeFn<{
|
|
136
|
+
[key in TKey]: TResult;
|
|
137
|
+
}, TParent, TContext, TArgs>;
|
|
138
|
+
resolve?: SubscriptionResolveFn<TResult, {
|
|
139
|
+
[key in TKey]: TResult;
|
|
140
|
+
}, TContext, TArgs>;
|
|
141
|
+
}
|
|
142
|
+
export interface SubscriptionResolverObject<TResult, TParent, TContext, TArgs> {
|
|
143
|
+
subscribe: SubscriptionSubscribeFn<any, TParent, TContext, TArgs>;
|
|
144
|
+
resolve: SubscriptionResolveFn<TResult, any, TContext, TArgs>;
|
|
145
|
+
}
|
|
146
|
+
export type SubscriptionObject<TResult, TKey extends string, TParent, TContext, TArgs> = SubscriptionSubscriberObject<TResult, TKey, TParent, TContext, TArgs> | SubscriptionResolverObject<TResult, TParent, TContext, TArgs>;
|
|
147
|
+
export type SubscriptionResolver<TResult, TKey extends string, TParent = {}, TContext = {}, TArgs = {}> = ((...args: any[]) => SubscriptionObject<TResult, TKey, TParent, TContext, TArgs>) | SubscriptionObject<TResult, TKey, TParent, TContext, TArgs>;
|
|
148
|
+
export type TypeResolveFn<TTypes, TParent = {}, TContext = {}> = (parent: TParent, context: TContext, info: GraphQLResolveInfo) => Maybe<TTypes> | Promise<Maybe<TTypes>>;
|
|
149
|
+
export type IsTypeOfResolverFn<T = {}, TContext = {}> = (obj: T, context: TContext, info: GraphQLResolveInfo) => boolean | Promise<boolean>;
|
|
150
|
+
export type NextResolverFn<T> = () => Promise<T>;
|
|
151
|
+
export type DirectiveResolverFn<TResult = {}, TParent = {}, TContext = {}, TArgs = {}> = (next: NextResolverFn<TResult>, parent: TParent, args: TArgs, context: TContext, info: GraphQLResolveInfo) => TResult | Promise<TResult>;
|
|
152
|
+
/** Mapping between all available schema types and the resolvers types */
|
|
153
|
+
export type IResolversTypes = {
|
|
154
|
+
ContactSupportInput: IContactSupportInput;
|
|
155
|
+
ID: ResolverTypeWrapper<Scalars['ID']>;
|
|
156
|
+
String: ResolverTypeWrapper<Scalars['String']>;
|
|
157
|
+
ContentReportInput: IContentReportInput;
|
|
158
|
+
InvestorInquiryInput: IInvestorInquiryInput;
|
|
159
|
+
Float: ResolverTypeWrapper<Scalars['Float']>;
|
|
160
|
+
Long: ResolverTypeWrapper<Scalars['Long']>;
|
|
161
|
+
Mutation: ResolverTypeWrapper<{}>;
|
|
162
|
+
Boolean: ResolverTypeWrapper<Scalars['Boolean']>;
|
|
163
|
+
OpportunityInput: IOpportunityInput;
|
|
164
|
+
PartnershipInquiryInput: IPartnershipInquiryInput;
|
|
165
|
+
Query: ResolverTypeWrapper<{}>;
|
|
166
|
+
RegistrationInviteInput: IRegistrationInviteInput;
|
|
167
|
+
UserFeedbackInput: IUserFeedbackInput;
|
|
168
|
+
Int: ResolverTypeWrapper<Scalars['Int']>;
|
|
169
|
+
};
|
|
170
|
+
/** Mapping between all available schema types and the resolvers parents */
|
|
171
|
+
export type IResolversParentTypes = {
|
|
172
|
+
ContactSupportInput: IContactSupportInput;
|
|
173
|
+
ID: Scalars['ID'];
|
|
174
|
+
String: Scalars['String'];
|
|
175
|
+
ContentReportInput: IContentReportInput;
|
|
176
|
+
InvestorInquiryInput: IInvestorInquiryInput;
|
|
177
|
+
Float: Scalars['Float'];
|
|
178
|
+
Long: Scalars['Long'];
|
|
179
|
+
Mutation: {};
|
|
180
|
+
Boolean: Scalars['Boolean'];
|
|
181
|
+
OpportunityInput: IOpportunityInput;
|
|
182
|
+
PartnershipInquiryInput: IPartnershipInquiryInput;
|
|
183
|
+
Query: {};
|
|
184
|
+
RegistrationInviteInput: IRegistrationInviteInput;
|
|
185
|
+
UserFeedbackInput: IUserFeedbackInput;
|
|
186
|
+
Int: Scalars['Int'];
|
|
187
|
+
};
|
|
188
|
+
export type IPatternDirectiveArgs = {
|
|
189
|
+
regexp: Scalars['String'];
|
|
190
|
+
message?: Maybe<Scalars['String']>;
|
|
191
|
+
};
|
|
192
|
+
export type IPatternDirectiveResolver<Result, Parent, ContextType = any, Args = IPatternDirectiveArgs> = DirectiveResolverFn<Result, Parent, ContextType, Args>;
|
|
193
|
+
export type IOneOfDirectiveArgs = {};
|
|
194
|
+
export type IOneOfDirectiveResolver<Result, Parent, ContextType = any, Args = IOneOfDirectiveArgs> = DirectiveResolverFn<Result, Parent, ContextType, Args>;
|
|
195
|
+
export interface ILongScalarConfig extends GraphQLScalarTypeConfig<IResolversTypes['Long'], any> {
|
|
196
|
+
name: 'Long';
|
|
197
|
+
}
|
|
198
|
+
export type IMutationResolvers<ContextType = any, ParentType extends IResolversParentTypes['Mutation'] = IResolversParentTypes['Mutation']> = {
|
|
199
|
+
setDummy?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
|
|
200
|
+
submitOpportunity?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationSubmitOpportunityArgs, 'input'>>;
|
|
201
|
+
submitContactSupport?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationSubmitContactSupportArgs, 'input'>>;
|
|
202
|
+
submitRegistrationInvite?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationSubmitRegistrationInviteArgs, 'input'>>;
|
|
203
|
+
submitContentReport?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationSubmitContentReportArgs, 'input'>>;
|
|
204
|
+
submitPartnershipInquiry?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationSubmitPartnershipInquiryArgs, 'input'>>;
|
|
205
|
+
submitUserFeedback?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationSubmitUserFeedbackArgs, 'input'>>;
|
|
206
|
+
submitInvestorInquiry?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationSubmitInvestorInquiryArgs, 'input'>>;
|
|
207
|
+
};
|
|
208
|
+
export type IQueryResolvers<ContextType = any, ParentType extends IResolversParentTypes['Query'] = IResolversParentTypes['Query']> = {
|
|
209
|
+
getDummy?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
|
|
210
|
+
};
|
|
211
|
+
export type IResolvers<ContextType = any> = {
|
|
212
|
+
Long?: GraphQLScalarType;
|
|
213
|
+
Mutation?: IMutationResolvers<ContextType>;
|
|
214
|
+
Query?: IQueryResolvers<ContextType>;
|
|
215
|
+
};
|
|
216
|
+
export type IDirectiveResolvers<ContextType = any> = {
|
|
217
|
+
Pattern?: IPatternDirectiveResolver<any, any, ContextType>;
|
|
218
|
+
oneOf?: IOneOfDirectiveResolver<any, any, ContextType>;
|
|
219
|
+
};
|
|
220
|
+
export type ISubmitContactSupportMutationVariables = Exact<{
|
|
221
|
+
input: IContactSupportInput;
|
|
222
|
+
}>;
|
|
223
|
+
export type ISubmitContactSupportMutation = Pick<IMutation, 'submitContactSupport'>;
|
|
224
|
+
export type ISubmitContentReportMutationVariables = Exact<{
|
|
225
|
+
input: IContentReportInput;
|
|
226
|
+
}>;
|
|
227
|
+
export type ISubmitContentReportMutation = Pick<IMutation, 'submitContentReport'>;
|
|
228
|
+
export type ISubmitInvestorInquiryMutationVariables = Exact<{
|
|
229
|
+
input: IInvestorInquiryInput;
|
|
230
|
+
}>;
|
|
231
|
+
export type ISubmitInvestorInquiryMutation = Pick<IMutation, 'submitInvestorInquiry'>;
|
|
232
|
+
export type ISubmitOpportunityMutationVariables = Exact<{
|
|
233
|
+
input: IOpportunityInput;
|
|
234
|
+
}>;
|
|
235
|
+
export type ISubmitOpportunityMutation = Pick<IMutation, 'submitOpportunity'>;
|
|
236
|
+
export type ISubmitPartnershipInquiryMutationVariables = Exact<{
|
|
237
|
+
input: IPartnershipInquiryInput;
|
|
238
|
+
}>;
|
|
239
|
+
export type ISubmitPartnershipInquiryMutation = Pick<IMutation, 'submitPartnershipInquiry'>;
|
|
240
|
+
export type ISubmitRegistrationInviteMutationVariables = Exact<{
|
|
241
|
+
input: IRegistrationInviteInput;
|
|
242
|
+
}>;
|
|
243
|
+
export type ISubmitRegistrationInviteMutation = Pick<IMutation, 'submitRegistrationInvite'>;
|
|
244
|
+
export type ISubmitUserFeedbackMutationVariables = Exact<{
|
|
245
|
+
input: IUserFeedbackInput;
|
|
246
|
+
}>;
|
|
247
|
+
export type ISubmitUserFeedbackMutation = Pick<IMutation, 'submitUserFeedback'>;
|
|
248
|
+
export declare const SubmitContactSupportDocument: Apollo.DocumentNode;
|
|
249
|
+
export type ISubmitContactSupportMutationFn = Apollo.MutationFunction<ISubmitContactSupportMutation, ISubmitContactSupportMutationVariables>;
|
|
250
|
+
/**
|
|
251
|
+
* __useSubmitContactSupportMutation__
|
|
252
|
+
*
|
|
253
|
+
* To run a mutation, you first call `useSubmitContactSupportMutation` within a React component and pass it any options that fit your needs.
|
|
254
|
+
* When your component renders, `useSubmitContactSupportMutation` returns a tuple that includes:
|
|
255
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
256
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
257
|
+
*
|
|
258
|
+
* @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;
|
|
259
|
+
*
|
|
260
|
+
* @example
|
|
261
|
+
* const [submitContactSupportMutation, { data, loading, error }] = useSubmitContactSupportMutation({
|
|
262
|
+
* variables: {
|
|
263
|
+
* input: // value for 'input'
|
|
264
|
+
* },
|
|
265
|
+
* });
|
|
266
|
+
*/
|
|
267
|
+
export declare function useSubmitContactSupportMutation(baseOptions?: Apollo.MutationHookOptions<ISubmitContactSupportMutation, ISubmitContactSupportMutationVariables>): Apollo.MutationTuple<ISubmitContactSupportMutation, Exact<{
|
|
268
|
+
input: IContactSupportInput;
|
|
269
|
+
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
270
|
+
export type SubmitContactSupportMutationHookResult = ReturnType<typeof useSubmitContactSupportMutation>;
|
|
271
|
+
export type SubmitContactSupportMutationResult = Apollo.MutationResult<ISubmitContactSupportMutation>;
|
|
272
|
+
export type SubmitContactSupportMutationOptions = Apollo.BaseMutationOptions<ISubmitContactSupportMutation, ISubmitContactSupportMutationVariables>;
|
|
273
|
+
export declare const SubmitContentReportDocument: Apollo.DocumentNode;
|
|
274
|
+
export type ISubmitContentReportMutationFn = Apollo.MutationFunction<ISubmitContentReportMutation, ISubmitContentReportMutationVariables>;
|
|
275
|
+
/**
|
|
276
|
+
* __useSubmitContentReportMutation__
|
|
277
|
+
*
|
|
278
|
+
* To run a mutation, you first call `useSubmitContentReportMutation` within a React component and pass it any options that fit your needs.
|
|
279
|
+
* When your component renders, `useSubmitContentReportMutation` returns a tuple that includes:
|
|
280
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
281
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
282
|
+
*
|
|
283
|
+
* @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;
|
|
284
|
+
*
|
|
285
|
+
* @example
|
|
286
|
+
* const [submitContentReportMutation, { data, loading, error }] = useSubmitContentReportMutation({
|
|
287
|
+
* variables: {
|
|
288
|
+
* input: // value for 'input'
|
|
289
|
+
* },
|
|
290
|
+
* });
|
|
291
|
+
*/
|
|
292
|
+
export declare function useSubmitContentReportMutation(baseOptions?: Apollo.MutationHookOptions<ISubmitContentReportMutation, ISubmitContentReportMutationVariables>): Apollo.MutationTuple<ISubmitContentReportMutation, Exact<{
|
|
293
|
+
input: IContentReportInput;
|
|
294
|
+
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
295
|
+
export type SubmitContentReportMutationHookResult = ReturnType<typeof useSubmitContentReportMutation>;
|
|
296
|
+
export type SubmitContentReportMutationResult = Apollo.MutationResult<ISubmitContentReportMutation>;
|
|
297
|
+
export type SubmitContentReportMutationOptions = Apollo.BaseMutationOptions<ISubmitContentReportMutation, ISubmitContentReportMutationVariables>;
|
|
298
|
+
export declare const SubmitInvestorInquiryDocument: Apollo.DocumentNode;
|
|
299
|
+
export type ISubmitInvestorInquiryMutationFn = Apollo.MutationFunction<ISubmitInvestorInquiryMutation, ISubmitInvestorInquiryMutationVariables>;
|
|
300
|
+
/**
|
|
301
|
+
* __useSubmitInvestorInquiryMutation__
|
|
302
|
+
*
|
|
303
|
+
* To run a mutation, you first call `useSubmitInvestorInquiryMutation` within a React component and pass it any options that fit your needs.
|
|
304
|
+
* When your component renders, `useSubmitInvestorInquiryMutation` returns a tuple that includes:
|
|
305
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
306
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
307
|
+
*
|
|
308
|
+
* @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;
|
|
309
|
+
*
|
|
310
|
+
* @example
|
|
311
|
+
* const [submitInvestorInquiryMutation, { data, loading, error }] = useSubmitInvestorInquiryMutation({
|
|
312
|
+
* variables: {
|
|
313
|
+
* input: // value for 'input'
|
|
314
|
+
* },
|
|
315
|
+
* });
|
|
316
|
+
*/
|
|
317
|
+
export declare function useSubmitInvestorInquiryMutation(baseOptions?: Apollo.MutationHookOptions<ISubmitInvestorInquiryMutation, ISubmitInvestorInquiryMutationVariables>): Apollo.MutationTuple<ISubmitInvestorInquiryMutation, Exact<{
|
|
318
|
+
input: IInvestorInquiryInput;
|
|
319
|
+
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
320
|
+
export type SubmitInvestorInquiryMutationHookResult = ReturnType<typeof useSubmitInvestorInquiryMutation>;
|
|
321
|
+
export type SubmitInvestorInquiryMutationResult = Apollo.MutationResult<ISubmitInvestorInquiryMutation>;
|
|
322
|
+
export type SubmitInvestorInquiryMutationOptions = Apollo.BaseMutationOptions<ISubmitInvestorInquiryMutation, ISubmitInvestorInquiryMutationVariables>;
|
|
323
|
+
export declare const SubmitOpportunityDocument: Apollo.DocumentNode;
|
|
324
|
+
export type ISubmitOpportunityMutationFn = Apollo.MutationFunction<ISubmitOpportunityMutation, ISubmitOpportunityMutationVariables>;
|
|
325
|
+
/**
|
|
326
|
+
* __useSubmitOpportunityMutation__
|
|
327
|
+
*
|
|
328
|
+
* To run a mutation, you first call `useSubmitOpportunityMutation` within a React component and pass it any options that fit your needs.
|
|
329
|
+
* When your component renders, `useSubmitOpportunityMutation` returns a tuple that includes:
|
|
330
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
331
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
332
|
+
*
|
|
333
|
+
* @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;
|
|
334
|
+
*
|
|
335
|
+
* @example
|
|
336
|
+
* const [submitOpportunityMutation, { data, loading, error }] = useSubmitOpportunityMutation({
|
|
337
|
+
* variables: {
|
|
338
|
+
* input: // value for 'input'
|
|
339
|
+
* },
|
|
340
|
+
* });
|
|
341
|
+
*/
|
|
342
|
+
export declare function useSubmitOpportunityMutation(baseOptions?: Apollo.MutationHookOptions<ISubmitOpportunityMutation, ISubmitOpportunityMutationVariables>): Apollo.MutationTuple<ISubmitOpportunityMutation, Exact<{
|
|
343
|
+
input: IOpportunityInput;
|
|
344
|
+
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
345
|
+
export type SubmitOpportunityMutationHookResult = ReturnType<typeof useSubmitOpportunityMutation>;
|
|
346
|
+
export type SubmitOpportunityMutationResult = Apollo.MutationResult<ISubmitOpportunityMutation>;
|
|
347
|
+
export type SubmitOpportunityMutationOptions = Apollo.BaseMutationOptions<ISubmitOpportunityMutation, ISubmitOpportunityMutationVariables>;
|
|
348
|
+
export declare const SubmitPartnershipInquiryDocument: Apollo.DocumentNode;
|
|
349
|
+
export type ISubmitPartnershipInquiryMutationFn = Apollo.MutationFunction<ISubmitPartnershipInquiryMutation, ISubmitPartnershipInquiryMutationVariables>;
|
|
350
|
+
/**
|
|
351
|
+
* __useSubmitPartnershipInquiryMutation__
|
|
352
|
+
*
|
|
353
|
+
* To run a mutation, you first call `useSubmitPartnershipInquiryMutation` within a React component and pass it any options that fit your needs.
|
|
354
|
+
* When your component renders, `useSubmitPartnershipInquiryMutation` returns a tuple that includes:
|
|
355
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
356
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
357
|
+
*
|
|
358
|
+
* @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;
|
|
359
|
+
*
|
|
360
|
+
* @example
|
|
361
|
+
* const [submitPartnershipInquiryMutation, { data, loading, error }] = useSubmitPartnershipInquiryMutation({
|
|
362
|
+
* variables: {
|
|
363
|
+
* input: // value for 'input'
|
|
364
|
+
* },
|
|
365
|
+
* });
|
|
366
|
+
*/
|
|
367
|
+
export declare function useSubmitPartnershipInquiryMutation(baseOptions?: Apollo.MutationHookOptions<ISubmitPartnershipInquiryMutation, ISubmitPartnershipInquiryMutationVariables>): Apollo.MutationTuple<ISubmitPartnershipInquiryMutation, Exact<{
|
|
368
|
+
input: IPartnershipInquiryInput;
|
|
369
|
+
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
370
|
+
export type SubmitPartnershipInquiryMutationHookResult = ReturnType<typeof useSubmitPartnershipInquiryMutation>;
|
|
371
|
+
export type SubmitPartnershipInquiryMutationResult = Apollo.MutationResult<ISubmitPartnershipInquiryMutation>;
|
|
372
|
+
export type SubmitPartnershipInquiryMutationOptions = Apollo.BaseMutationOptions<ISubmitPartnershipInquiryMutation, ISubmitPartnershipInquiryMutationVariables>;
|
|
373
|
+
export declare const SubmitRegistrationInviteDocument: Apollo.DocumentNode;
|
|
374
|
+
export type ISubmitRegistrationInviteMutationFn = Apollo.MutationFunction<ISubmitRegistrationInviteMutation, ISubmitRegistrationInviteMutationVariables>;
|
|
375
|
+
/**
|
|
376
|
+
* __useSubmitRegistrationInviteMutation__
|
|
377
|
+
*
|
|
378
|
+
* To run a mutation, you first call `useSubmitRegistrationInviteMutation` within a React component and pass it any options that fit your needs.
|
|
379
|
+
* When your component renders, `useSubmitRegistrationInviteMutation` returns a tuple that includes:
|
|
380
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
381
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
382
|
+
*
|
|
383
|
+
* @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;
|
|
384
|
+
*
|
|
385
|
+
* @example
|
|
386
|
+
* const [submitRegistrationInviteMutation, { data, loading, error }] = useSubmitRegistrationInviteMutation({
|
|
387
|
+
* variables: {
|
|
388
|
+
* input: // value for 'input'
|
|
389
|
+
* },
|
|
390
|
+
* });
|
|
391
|
+
*/
|
|
392
|
+
export declare function useSubmitRegistrationInviteMutation(baseOptions?: Apollo.MutationHookOptions<ISubmitRegistrationInviteMutation, ISubmitRegistrationInviteMutationVariables>): Apollo.MutationTuple<ISubmitRegistrationInviteMutation, Exact<{
|
|
393
|
+
input: IRegistrationInviteInput;
|
|
394
|
+
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
395
|
+
export type SubmitRegistrationInviteMutationHookResult = ReturnType<typeof useSubmitRegistrationInviteMutation>;
|
|
396
|
+
export type SubmitRegistrationInviteMutationResult = Apollo.MutationResult<ISubmitRegistrationInviteMutation>;
|
|
397
|
+
export type SubmitRegistrationInviteMutationOptions = Apollo.BaseMutationOptions<ISubmitRegistrationInviteMutation, ISubmitRegistrationInviteMutationVariables>;
|
|
398
|
+
export declare const SubmitUserFeedbackDocument: Apollo.DocumentNode;
|
|
399
|
+
export type ISubmitUserFeedbackMutationFn = Apollo.MutationFunction<ISubmitUserFeedbackMutation, ISubmitUserFeedbackMutationVariables>;
|
|
400
|
+
/**
|
|
401
|
+
* __useSubmitUserFeedbackMutation__
|
|
402
|
+
*
|
|
403
|
+
* To run a mutation, you first call `useSubmitUserFeedbackMutation` within a React component and pass it any options that fit your needs.
|
|
404
|
+
* When your component renders, `useSubmitUserFeedbackMutation` returns a tuple that includes:
|
|
405
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
406
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
407
|
+
*
|
|
408
|
+
* @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;
|
|
409
|
+
*
|
|
410
|
+
* @example
|
|
411
|
+
* const [submitUserFeedbackMutation, { data, loading, error }] = useSubmitUserFeedbackMutation({
|
|
412
|
+
* variables: {
|
|
413
|
+
* input: // value for 'input'
|
|
414
|
+
* },
|
|
415
|
+
* });
|
|
416
|
+
*/
|
|
417
|
+
export declare function useSubmitUserFeedbackMutation(baseOptions?: Apollo.MutationHookOptions<ISubmitUserFeedbackMutation, ISubmitUserFeedbackMutationVariables>): Apollo.MutationTuple<ISubmitUserFeedbackMutation, Exact<{
|
|
418
|
+
input: IUserFeedbackInput;
|
|
419
|
+
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
420
|
+
export type SubmitUserFeedbackMutationHookResult = ReturnType<typeof useSubmitUserFeedbackMutation>;
|
|
421
|
+
export type SubmitUserFeedbackMutationResult = Apollo.MutationResult<ISubmitUserFeedbackMutation>;
|
|
422
|
+
export type SubmitUserFeedbackMutationOptions = Apollo.BaseMutationOptions<ISubmitUserFeedbackMutation, ISubmitUserFeedbackMutationVariables>;
|
|
@@ -0,0 +1,210 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
+
if (mod && mod.__esModule) return mod;
|
|
20
|
+
var result = {};
|
|
21
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
+
__setModuleDefault(result, mod);
|
|
23
|
+
return result;
|
|
24
|
+
};
|
|
25
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
+
exports.useSubmitUserFeedbackMutation = exports.SubmitUserFeedbackDocument = exports.useSubmitRegistrationInviteMutation = exports.SubmitRegistrationInviteDocument = exports.useSubmitPartnershipInquiryMutation = exports.SubmitPartnershipInquiryDocument = exports.useSubmitOpportunityMutation = exports.SubmitOpportunityDocument = exports.useSubmitInvestorInquiryMutation = exports.SubmitInvestorInquiryDocument = exports.useSubmitContentReportMutation = exports.SubmitContentReportDocument = exports.useSubmitContactSupportMutation = exports.SubmitContactSupportDocument = void 0;
|
|
27
|
+
const client_1 = require("@apollo/client");
|
|
28
|
+
const Apollo = __importStar(require("@apollo/client"));
|
|
29
|
+
exports.SubmitContactSupportDocument = (0, client_1.gql) `
|
|
30
|
+
mutation SubmitContactSupport($input: ContactSupportInput!) {
|
|
31
|
+
submitContactSupport(input: $input)
|
|
32
|
+
}
|
|
33
|
+
`;
|
|
34
|
+
/**
|
|
35
|
+
* __useSubmitContactSupportMutation__
|
|
36
|
+
*
|
|
37
|
+
* To run a mutation, you first call `useSubmitContactSupportMutation` within a React component and pass it any options that fit your needs.
|
|
38
|
+
* When your component renders, `useSubmitContactSupportMutation` returns a tuple that includes:
|
|
39
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
40
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
41
|
+
*
|
|
42
|
+
* @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;
|
|
43
|
+
*
|
|
44
|
+
* @example
|
|
45
|
+
* const [submitContactSupportMutation, { data, loading, error }] = useSubmitContactSupportMutation({
|
|
46
|
+
* variables: {
|
|
47
|
+
* input: // value for 'input'
|
|
48
|
+
* },
|
|
49
|
+
* });
|
|
50
|
+
*/
|
|
51
|
+
function useSubmitContactSupportMutation(baseOptions) {
|
|
52
|
+
return Apollo.useMutation(exports.SubmitContactSupportDocument, baseOptions);
|
|
53
|
+
}
|
|
54
|
+
exports.useSubmitContactSupportMutation = useSubmitContactSupportMutation;
|
|
55
|
+
exports.SubmitContentReportDocument = (0, client_1.gql) `
|
|
56
|
+
mutation SubmitContentReport($input: ContentReportInput!) {
|
|
57
|
+
submitContentReport(input: $input)
|
|
58
|
+
}
|
|
59
|
+
`;
|
|
60
|
+
/**
|
|
61
|
+
* __useSubmitContentReportMutation__
|
|
62
|
+
*
|
|
63
|
+
* To run a mutation, you first call `useSubmitContentReportMutation` within a React component and pass it any options that fit your needs.
|
|
64
|
+
* When your component renders, `useSubmitContentReportMutation` returns a tuple that includes:
|
|
65
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
66
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
67
|
+
*
|
|
68
|
+
* @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;
|
|
69
|
+
*
|
|
70
|
+
* @example
|
|
71
|
+
* const [submitContentReportMutation, { data, loading, error }] = useSubmitContentReportMutation({
|
|
72
|
+
* variables: {
|
|
73
|
+
* input: // value for 'input'
|
|
74
|
+
* },
|
|
75
|
+
* });
|
|
76
|
+
*/
|
|
77
|
+
function useSubmitContentReportMutation(baseOptions) {
|
|
78
|
+
return Apollo.useMutation(exports.SubmitContentReportDocument, baseOptions);
|
|
79
|
+
}
|
|
80
|
+
exports.useSubmitContentReportMutation = useSubmitContentReportMutation;
|
|
81
|
+
exports.SubmitInvestorInquiryDocument = (0, client_1.gql) `
|
|
82
|
+
mutation SubmitInvestorInquiry($input: InvestorInquiryInput!) {
|
|
83
|
+
submitInvestorInquiry(input: $input)
|
|
84
|
+
}
|
|
85
|
+
`;
|
|
86
|
+
/**
|
|
87
|
+
* __useSubmitInvestorInquiryMutation__
|
|
88
|
+
*
|
|
89
|
+
* To run a mutation, you first call `useSubmitInvestorInquiryMutation` within a React component and pass it any options that fit your needs.
|
|
90
|
+
* When your component renders, `useSubmitInvestorInquiryMutation` returns a tuple that includes:
|
|
91
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
92
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
93
|
+
*
|
|
94
|
+
* @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;
|
|
95
|
+
*
|
|
96
|
+
* @example
|
|
97
|
+
* const [submitInvestorInquiryMutation, { data, loading, error }] = useSubmitInvestorInquiryMutation({
|
|
98
|
+
* variables: {
|
|
99
|
+
* input: // value for 'input'
|
|
100
|
+
* },
|
|
101
|
+
* });
|
|
102
|
+
*/
|
|
103
|
+
function useSubmitInvestorInquiryMutation(baseOptions) {
|
|
104
|
+
return Apollo.useMutation(exports.SubmitInvestorInquiryDocument, baseOptions);
|
|
105
|
+
}
|
|
106
|
+
exports.useSubmitInvestorInquiryMutation = useSubmitInvestorInquiryMutation;
|
|
107
|
+
exports.SubmitOpportunityDocument = (0, client_1.gql) `
|
|
108
|
+
mutation SubmitOpportunity($input: OpportunityInput!) {
|
|
109
|
+
submitOpportunity(input: $input)
|
|
110
|
+
}
|
|
111
|
+
`;
|
|
112
|
+
/**
|
|
113
|
+
* __useSubmitOpportunityMutation__
|
|
114
|
+
*
|
|
115
|
+
* To run a mutation, you first call `useSubmitOpportunityMutation` within a React component and pass it any options that fit your needs.
|
|
116
|
+
* When your component renders, `useSubmitOpportunityMutation` returns a tuple that includes:
|
|
117
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
118
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
119
|
+
*
|
|
120
|
+
* @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;
|
|
121
|
+
*
|
|
122
|
+
* @example
|
|
123
|
+
* const [submitOpportunityMutation, { data, loading, error }] = useSubmitOpportunityMutation({
|
|
124
|
+
* variables: {
|
|
125
|
+
* input: // value for 'input'
|
|
126
|
+
* },
|
|
127
|
+
* });
|
|
128
|
+
*/
|
|
129
|
+
function useSubmitOpportunityMutation(baseOptions) {
|
|
130
|
+
return Apollo.useMutation(exports.SubmitOpportunityDocument, baseOptions);
|
|
131
|
+
}
|
|
132
|
+
exports.useSubmitOpportunityMutation = useSubmitOpportunityMutation;
|
|
133
|
+
exports.SubmitPartnershipInquiryDocument = (0, client_1.gql) `
|
|
134
|
+
mutation SubmitPartnershipInquiry($input: PartnershipInquiryInput!) {
|
|
135
|
+
submitPartnershipInquiry(input: $input)
|
|
136
|
+
}
|
|
137
|
+
`;
|
|
138
|
+
/**
|
|
139
|
+
* __useSubmitPartnershipInquiryMutation__
|
|
140
|
+
*
|
|
141
|
+
* To run a mutation, you first call `useSubmitPartnershipInquiryMutation` within a React component and pass it any options that fit your needs.
|
|
142
|
+
* When your component renders, `useSubmitPartnershipInquiryMutation` returns a tuple that includes:
|
|
143
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
144
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
145
|
+
*
|
|
146
|
+
* @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;
|
|
147
|
+
*
|
|
148
|
+
* @example
|
|
149
|
+
* const [submitPartnershipInquiryMutation, { data, loading, error }] = useSubmitPartnershipInquiryMutation({
|
|
150
|
+
* variables: {
|
|
151
|
+
* input: // value for 'input'
|
|
152
|
+
* },
|
|
153
|
+
* });
|
|
154
|
+
*/
|
|
155
|
+
function useSubmitPartnershipInquiryMutation(baseOptions) {
|
|
156
|
+
return Apollo.useMutation(exports.SubmitPartnershipInquiryDocument, baseOptions);
|
|
157
|
+
}
|
|
158
|
+
exports.useSubmitPartnershipInquiryMutation = useSubmitPartnershipInquiryMutation;
|
|
159
|
+
exports.SubmitRegistrationInviteDocument = (0, client_1.gql) `
|
|
160
|
+
mutation SubmitRegistrationInvite($input: RegistrationInviteInput!) {
|
|
161
|
+
submitRegistrationInvite(input: $input)
|
|
162
|
+
}
|
|
163
|
+
`;
|
|
164
|
+
/**
|
|
165
|
+
* __useSubmitRegistrationInviteMutation__
|
|
166
|
+
*
|
|
167
|
+
* To run a mutation, you first call `useSubmitRegistrationInviteMutation` within a React component and pass it any options that fit your needs.
|
|
168
|
+
* When your component renders, `useSubmitRegistrationInviteMutation` returns a tuple that includes:
|
|
169
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
170
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
171
|
+
*
|
|
172
|
+
* @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;
|
|
173
|
+
*
|
|
174
|
+
* @example
|
|
175
|
+
* const [submitRegistrationInviteMutation, { data, loading, error }] = useSubmitRegistrationInviteMutation({
|
|
176
|
+
* variables: {
|
|
177
|
+
* input: // value for 'input'
|
|
178
|
+
* },
|
|
179
|
+
* });
|
|
180
|
+
*/
|
|
181
|
+
function useSubmitRegistrationInviteMutation(baseOptions) {
|
|
182
|
+
return Apollo.useMutation(exports.SubmitRegistrationInviteDocument, baseOptions);
|
|
183
|
+
}
|
|
184
|
+
exports.useSubmitRegistrationInviteMutation = useSubmitRegistrationInviteMutation;
|
|
185
|
+
exports.SubmitUserFeedbackDocument = (0, client_1.gql) `
|
|
186
|
+
mutation SubmitUserFeedback($input: UserFeedbackInput!) {
|
|
187
|
+
submitUserFeedback(input: $input)
|
|
188
|
+
}
|
|
189
|
+
`;
|
|
190
|
+
/**
|
|
191
|
+
* __useSubmitUserFeedbackMutation__
|
|
192
|
+
*
|
|
193
|
+
* To run a mutation, you first call `useSubmitUserFeedbackMutation` within a React component and pass it any options that fit your needs.
|
|
194
|
+
* When your component renders, `useSubmitUserFeedbackMutation` returns a tuple that includes:
|
|
195
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
196
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
197
|
+
*
|
|
198
|
+
* @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;
|
|
199
|
+
*
|
|
200
|
+
* @example
|
|
201
|
+
* const [submitUserFeedbackMutation, { data, loading, error }] = useSubmitUserFeedbackMutation({
|
|
202
|
+
* variables: {
|
|
203
|
+
* input: // value for 'input'
|
|
204
|
+
* },
|
|
205
|
+
* });
|
|
206
|
+
*/
|
|
207
|
+
function useSubmitUserFeedbackMutation(baseOptions) {
|
|
208
|
+
return Apollo.useMutation(exports.SubmitUserFeedbackDocument, baseOptions);
|
|
209
|
+
}
|
|
210
|
+
exports.useSubmitUserFeedbackMutation = useSubmitUserFeedbackMutation;
|