@ludo.ninja/api 2.8.24 → 2.8.26

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.
Files changed (49) hide show
  1. package/build/config/index.js +4 -4
  2. package/build/graphql_tools/__generated__/schema.d.ts +8936 -0
  3. package/build/graphql_tools/__generated__/schema.js +5431 -0
  4. package/build/hosts/index.d.ts +3 -0
  5. package/build/hosts/index.js +4 -1
  6. package/build/index.d.ts +2 -13
  7. package/build/index.js +3 -25
  8. package/package.json +1 -1
  9. package/src/config/index.ts +50 -50
  10. package/src/graphql_tools/__generated__/schema.ts +12028 -0
  11. package/src/hosts/index.ts +6 -0
  12. package/src/index.ts +2 -29
  13. package/tsconfig.tsbuildinfo +1 -1
  14. package/build/graphql_tools/__generated__/adminHost/schema.d.ts +0 -1406
  15. package/build/graphql_tools/__generated__/adminHost/schema.js +0 -683
  16. package/build/graphql_tools/__generated__/assetsHost/schema.d.ts +0 -392
  17. package/build/graphql_tools/__generated__/assetsHost/schema.js +0 -80
  18. package/build/graphql_tools/__generated__/authHost/schema.d.ts +0 -238
  19. package/build/graphql_tools/__generated__/authHost/schema.js +0 -85
  20. package/build/graphql_tools/__generated__/collectionsHost/schema.d.ts +0 -455
  21. package/build/graphql_tools/__generated__/collectionsHost/schema.js +0 -80
  22. package/build/graphql_tools/__generated__/experiencesHost/schema.d.ts +0 -356
  23. package/build/graphql_tools/__generated__/experiencesHost/schema.js +0 -191
  24. package/build/graphql_tools/__generated__/extensionHost/schema.d.ts +0 -808
  25. package/build/graphql_tools/__generated__/extensionHost/schema.js +0 -449
  26. package/build/graphql_tools/__generated__/galleriesHost/schema.d.ts +0 -794
  27. package/build/graphql_tools/__generated__/galleriesHost/schema.js +0 -575
  28. package/build/graphql_tools/__generated__/identityHost/schema.d.ts +0 -1201
  29. package/build/graphql_tools/__generated__/identityHost/schema.js +0 -757
  30. package/build/graphql_tools/__generated__/mediasHost/schema.d.ts +0 -242
  31. package/build/graphql_tools/__generated__/mediasHost/schema.js +0 -110
  32. package/build/graphql_tools/__generated__/opportunitiesHost/schema.d.ts +0 -486
  33. package/build/graphql_tools/__generated__/opportunitiesHost/schema.js +0 -148
  34. package/build/graphql_tools/__generated__/preferencesHost/schema.d.ts +0 -604
  35. package/build/graphql_tools/__generated__/preferencesHost/schema.js +0 -411
  36. package/build/graphql_tools/__generated__/searchHost/schema.d.ts +0 -1304
  37. package/build/graphql_tools/__generated__/searchHost/schema.js +0 -1191
  38. package/src/graphql_tools/__generated__/adminHost/schema.ts +0 -1777
  39. package/src/graphql_tools/__generated__/assetsHost/schema.ts +0 -482
  40. package/src/graphql_tools/__generated__/authHost/schema.ts +0 -317
  41. package/src/graphql_tools/__generated__/collectionsHost/schema.ts +0 -554
  42. package/src/graphql_tools/__generated__/experiencesHost/schema.ts +0 -478
  43. package/src/graphql_tools/__generated__/extensionHost/schema.ts +0 -1074
  44. package/src/graphql_tools/__generated__/galleriesHost/schema.ts +0 -1090
  45. package/src/graphql_tools/__generated__/identityHost/schema.ts +0 -1580
  46. package/src/graphql_tools/__generated__/mediasHost/schema.ts +0 -333
  47. package/src/graphql_tools/__generated__/opportunitiesHost/schema.ts +0 -629
  48. package/src/graphql_tools/__generated__/preferencesHost/schema.ts +0 -772
  49. package/src/graphql_tools/__generated__/searchHost/schema.ts +0 -2137
@@ -1,1201 +0,0 @@
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 IFollowingStatus = {
29
- userId: Scalars['ID'];
30
- following: Scalars['Boolean'];
31
- };
32
- export type IIdentity = {
33
- userId: Scalars['ID'];
34
- wallets: Array<Maybe<Scalars['String']>>;
35
- authToken: Scalars['String'];
36
- refreshToken: Scalars['String'];
37
- tokens: ITokenPairs;
38
- role: IRole;
39
- newUser?: Maybe<Scalars['Boolean']>;
40
- inviteCode?: Maybe<Scalars['String']>;
41
- };
42
- export type IInputProfile = {
43
- username?: Maybe<Scalars['String']>;
44
- about?: Maybe<Scalars['String']>;
45
- social?: Maybe<IInputSocial>;
46
- showNsfw?: Maybe<Scalars['Boolean']>;
47
- };
48
- export type IInputSocial = {
49
- facebook?: Maybe<Scalars['String']>;
50
- twitter?: Maybe<Scalars['String']>;
51
- instagram?: Maybe<Scalars['String']>;
52
- website?: Maybe<Scalars['String']>;
53
- };
54
- export type IMutation = {
55
- setDummy: Scalars['String'];
56
- createNonce: Scalars['String'];
57
- signInAdminMetamask: IIdentity;
58
- signInMetamask: IIdentity;
59
- signInTezos: IIdentity;
60
- signInSolana: IIdentity;
61
- signInElrond: IIdentity;
62
- signInFlow: IIdentity;
63
- addWalletMetamask: Scalars['Boolean'];
64
- addWalletTezos: Scalars['Boolean'];
65
- addWalletSolana: Scalars['Boolean'];
66
- addWalletElrond: Scalars['Boolean'];
67
- addWalletFlow: Scalars['Boolean'];
68
- removeWallet: Scalars['Boolean'];
69
- setMainWallet: Scalars['Boolean'];
70
- generateNewInviteCodes: Array<IUserInviteCode>;
71
- saveEmailOfJoiner: Scalars['Boolean'];
72
- useInviteCode: Scalars['Boolean'];
73
- updateProfile: Scalars['Boolean'];
74
- followProfile: Scalars['Boolean'];
75
- unfollowProfile: Scalars['Boolean'];
76
- };
77
- export type IMutationCreateNonceArgs = {
78
- address: Scalars['String'];
79
- blockchain: Scalars['String'];
80
- chainId?: Maybe<Scalars['String']>;
81
- };
82
- export type IMutationSignInAdminMetamaskArgs = {
83
- signature: Scalars['String'];
84
- address: Scalars['String'];
85
- chainId: Scalars['String'];
86
- };
87
- export type IMutationSignInMetamaskArgs = {
88
- signature: Scalars['String'];
89
- address: Scalars['String'];
90
- chainId: Scalars['String'];
91
- restore?: Maybe<Scalars['Boolean']>;
92
- inviteCode?: Maybe<Scalars['String']>;
93
- };
94
- export type IMutationSignInTezosArgs = {
95
- signature: Scalars['String'];
96
- pubkey: Scalars['String'];
97
- restore?: Maybe<Scalars['Boolean']>;
98
- inviteCode?: Maybe<Scalars['String']>;
99
- };
100
- export type IMutationSignInSolanaArgs = {
101
- signature: Scalars['String'];
102
- pubkey: Scalars['String'];
103
- restore?: Maybe<Scalars['Boolean']>;
104
- inviteCode?: Maybe<Scalars['String']>;
105
- };
106
- export type IMutationSignInElrondArgs = {
107
- signature: Scalars['String'];
108
- address: Scalars['String'];
109
- restore?: Maybe<Scalars['Boolean']>;
110
- inviteCode?: Maybe<Scalars['String']>;
111
- };
112
- export type IMutationSignInFlowArgs = {
113
- signature: Scalars['String'];
114
- address: Scalars['String'];
115
- restore?: Maybe<Scalars['Boolean']>;
116
- inviteCode?: Maybe<Scalars['String']>;
117
- };
118
- export type IMutationAddWalletMetamaskArgs = {
119
- signature: Scalars['String'];
120
- address: Scalars['String'];
121
- chainId: Scalars['String'];
122
- };
123
- export type IMutationAddWalletTezosArgs = {
124
- signature: Scalars['String'];
125
- pubkey: Scalars['String'];
126
- };
127
- export type IMutationAddWalletSolanaArgs = {
128
- signature: Scalars['String'];
129
- pubkey: Scalars['String'];
130
- };
131
- export type IMutationAddWalletElrondArgs = {
132
- signature: Scalars['String'];
133
- address: Scalars['String'];
134
- };
135
- export type IMutationAddWalletFlowArgs = {
136
- signature: Scalars['String'];
137
- address: Scalars['String'];
138
- };
139
- export type IMutationRemoveWalletArgs = {
140
- blockchain: Scalars['String'];
141
- address: Scalars['String'];
142
- chainId?: Maybe<Scalars['String']>;
143
- };
144
- export type IMutationSetMainWalletArgs = {
145
- blockchain: Scalars['String'];
146
- address: Scalars['String'];
147
- chainId?: Maybe<Scalars['String']>;
148
- };
149
- export type IMutationGenerateNewInviteCodesArgs = {
150
- codesNum: Scalars['Int'];
151
- };
152
- export type IMutationSaveEmailOfJoinerArgs = {
153
- email: Scalars['String'];
154
- isSubscribed: Scalars['Boolean'];
155
- };
156
- export type IMutationUseInviteCodeArgs = {
157
- inviteCode: Scalars['String'];
158
- };
159
- export type IMutationUpdateProfileArgs = {
160
- profile?: Maybe<IInputProfile>;
161
- };
162
- export type IMutationFollowProfileArgs = {
163
- followingUserId: Scalars['ID'];
164
- };
165
- export type IMutationUnfollowProfileArgs = {
166
- followingUserId: Scalars['ID'];
167
- };
168
- export type IProfile = {
169
- userId: Scalars['ID'];
170
- username?: Maybe<Scalars['String']>;
171
- about?: Maybe<Scalars['String']>;
172
- userpic?: Maybe<Scalars['String']>;
173
- following?: Maybe<Scalars['Boolean']>;
174
- followings?: Maybe<Scalars['Int']>;
175
- followers?: Maybe<Scalars['Int']>;
176
- social?: Maybe<ISocial>;
177
- views?: Maybe<Scalars['Int']>;
178
- createdAt?: Maybe<Scalars['Long']>;
179
- deletedAt?: Maybe<Scalars['Long']>;
180
- visible?: Maybe<Scalars['Boolean']>;
181
- deleted?: Maybe<Scalars['Boolean']>;
182
- showNsfw?: Maybe<Scalars['Boolean']>;
183
- rank?: Maybe<Scalars['Float']>;
184
- wallets?: Maybe<Array<Maybe<IWallet>>>;
185
- };
186
- export type IQuery = {
187
- getDummy: Scalars['String'];
188
- fetchUserWallets: Array<Maybe<IWallet>>;
189
- isInviteCodeAvailable: Scalars['Boolean'];
190
- getMyInviteCodes: Array<IUserInviteCode>;
191
- fetchProfile: IProfile;
192
- fetchFollowingStatus: IFollowingStatus;
193
- fetchFollowingStatuses: Array<Maybe<IFollowingStatus>>;
194
- };
195
- export type IQueryFetchUserWalletsArgs = {
196
- userId: Scalars['ID'];
197
- };
198
- export type IQueryIsInviteCodeAvailableArgs = {
199
- inviteCode: Scalars['String'];
200
- };
201
- export type IQueryFetchProfileArgs = {
202
- userId: Scalars['ID'];
203
- };
204
- export type IQueryFetchFollowingStatusArgs = {
205
- userId: Scalars['ID'];
206
- };
207
- export type IQueryFetchFollowingStatusesArgs = {
208
- userIds: Array<Scalars['ID']>;
209
- };
210
- export declare enum IRole {
211
- Admin = "admin",
212
- Plain = "plain"
213
- }
214
- export type ISocial = {
215
- facebook?: Maybe<Scalars['String']>;
216
- twitter?: Maybe<Scalars['String']>;
217
- instagram?: Maybe<Scalars['String']>;
218
- website?: Maybe<Scalars['String']>;
219
- };
220
- export type ITokenPair = {
221
- authToken: Scalars['String'];
222
- refreshToken: Scalars['String'];
223
- };
224
- export type ITokenPairs = {
225
- portalTokenPair: ITokenPair;
226
- extensionTokenPair: ITokenPair;
227
- };
228
- export type IUserInviteCode = {
229
- inviteCode: Scalars['String'];
230
- inviteeId?: Maybe<Scalars['ID']>;
231
- isUsed: Scalars['Boolean'];
232
- usedAt?: Maybe<Scalars['Long']>;
233
- };
234
- export type IWallet = {
235
- userId: Scalars['ID'];
236
- address: Scalars['String'];
237
- walletName: Scalars['String'];
238
- blockchain: Scalars['String'];
239
- chainId?: Maybe<Scalars['String']>;
240
- mainWallet: Scalars['Boolean'];
241
- };
242
- export type ResolverTypeWrapper<T> = Promise<T> | T;
243
- export type ResolverWithResolve<TResult, TParent, TContext, TArgs> = {
244
- resolve: ResolverFn<TResult, TParent, TContext, TArgs>;
245
- };
246
- export type Resolver<TResult, TParent = {}, TContext = {}, TArgs = {}> = ResolverFn<TResult, TParent, TContext, TArgs> | ResolverWithResolve<TResult, TParent, TContext, TArgs>;
247
- export type ResolverFn<TResult, TParent, TContext, TArgs> = (parent: TParent, args: TArgs, context: TContext, info: GraphQLResolveInfo) => Promise<TResult> | TResult;
248
- export type SubscriptionSubscribeFn<TResult, TParent, TContext, TArgs> = (parent: TParent, args: TArgs, context: TContext, info: GraphQLResolveInfo) => AsyncIterable<TResult> | Promise<AsyncIterable<TResult>>;
249
- export type SubscriptionResolveFn<TResult, TParent, TContext, TArgs> = (parent: TParent, args: TArgs, context: TContext, info: GraphQLResolveInfo) => TResult | Promise<TResult>;
250
- export interface SubscriptionSubscriberObject<TResult, TKey extends string, TParent, TContext, TArgs> {
251
- subscribe: SubscriptionSubscribeFn<{
252
- [key in TKey]: TResult;
253
- }, TParent, TContext, TArgs>;
254
- resolve?: SubscriptionResolveFn<TResult, {
255
- [key in TKey]: TResult;
256
- }, TContext, TArgs>;
257
- }
258
- export interface SubscriptionResolverObject<TResult, TParent, TContext, TArgs> {
259
- subscribe: SubscriptionSubscribeFn<any, TParent, TContext, TArgs>;
260
- resolve: SubscriptionResolveFn<TResult, any, TContext, TArgs>;
261
- }
262
- export type SubscriptionObject<TResult, TKey extends string, TParent, TContext, TArgs> = SubscriptionSubscriberObject<TResult, TKey, TParent, TContext, TArgs> | SubscriptionResolverObject<TResult, TParent, TContext, TArgs>;
263
- export type SubscriptionResolver<TResult, TKey extends string, TParent = {}, TContext = {}, TArgs = {}> = ((...args: any[]) => SubscriptionObject<TResult, TKey, TParent, TContext, TArgs>) | SubscriptionObject<TResult, TKey, TParent, TContext, TArgs>;
264
- export type TypeResolveFn<TTypes, TParent = {}, TContext = {}> = (parent: TParent, context: TContext, info: GraphQLResolveInfo) => Maybe<TTypes> | Promise<Maybe<TTypes>>;
265
- export type IsTypeOfResolverFn<T = {}, TContext = {}> = (obj: T, context: TContext, info: GraphQLResolveInfo) => boolean | Promise<boolean>;
266
- export type NextResolverFn<T> = () => Promise<T>;
267
- export type DirectiveResolverFn<TResult = {}, TParent = {}, TContext = {}, TArgs = {}> = (next: NextResolverFn<TResult>, parent: TParent, args: TArgs, context: TContext, info: GraphQLResolveInfo) => TResult | Promise<TResult>;
268
- /** Mapping between all available schema types and the resolvers types */
269
- export type IResolversTypes = {
270
- FollowingStatus: ResolverTypeWrapper<IFollowingStatus>;
271
- ID: ResolverTypeWrapper<Scalars['ID']>;
272
- Boolean: ResolverTypeWrapper<Scalars['Boolean']>;
273
- Identity: ResolverTypeWrapper<IIdentity>;
274
- String: ResolverTypeWrapper<Scalars['String']>;
275
- InputProfile: IInputProfile;
276
- InputSocial: IInputSocial;
277
- Long: ResolverTypeWrapper<Scalars['Long']>;
278
- Mutation: ResolverTypeWrapper<{}>;
279
- Int: ResolverTypeWrapper<Scalars['Int']>;
280
- Profile: ResolverTypeWrapper<IProfile>;
281
- Float: ResolverTypeWrapper<Scalars['Float']>;
282
- Query: ResolverTypeWrapper<{}>;
283
- Role: IRole;
284
- Social: ResolverTypeWrapper<ISocial>;
285
- TokenPair: ResolverTypeWrapper<ITokenPair>;
286
- TokenPairs: ResolverTypeWrapper<ITokenPairs>;
287
- UserInviteCode: ResolverTypeWrapper<IUserInviteCode>;
288
- Wallet: ResolverTypeWrapper<IWallet>;
289
- };
290
- /** Mapping between all available schema types and the resolvers parents */
291
- export type IResolversParentTypes = {
292
- FollowingStatus: IFollowingStatus;
293
- ID: Scalars['ID'];
294
- Boolean: Scalars['Boolean'];
295
- Identity: IIdentity;
296
- String: Scalars['String'];
297
- InputProfile: IInputProfile;
298
- InputSocial: IInputSocial;
299
- Long: Scalars['Long'];
300
- Mutation: {};
301
- Int: Scalars['Int'];
302
- Profile: IProfile;
303
- Float: Scalars['Float'];
304
- Query: {};
305
- Social: ISocial;
306
- TokenPair: ITokenPair;
307
- TokenPairs: ITokenPairs;
308
- UserInviteCode: IUserInviteCode;
309
- Wallet: IWallet;
310
- };
311
- export type IPatternDirectiveArgs = {
312
- regexp: Scalars['String'];
313
- message?: Maybe<Scalars['String']>;
314
- };
315
- export type IPatternDirectiveResolver<Result, Parent, ContextType = any, Args = IPatternDirectiveArgs> = DirectiveResolverFn<Result, Parent, ContextType, Args>;
316
- export type IRangeDirectiveArgs = {
317
- min?: Maybe<Scalars['Int']>;
318
- max?: Maybe<Scalars['Int']>;
319
- message?: Maybe<Scalars['String']>;
320
- };
321
- export type IRangeDirectiveResolver<Result, Parent, ContextType = any, Args = IRangeDirectiveArgs> = DirectiveResolverFn<Result, Parent, ContextType, Args>;
322
- export type ISizeDirectiveArgs = {
323
- min?: Maybe<Scalars['Int']>;
324
- max?: Maybe<Scalars['Int']>;
325
- message?: Maybe<Scalars['String']>;
326
- };
327
- export type ISizeDirectiveResolver<Result, Parent, ContextType = any, Args = ISizeDirectiveArgs> = DirectiveResolverFn<Result, Parent, ContextType, Args>;
328
- export type IConnectionDirectiveArgs = {
329
- for: Scalars['String'];
330
- };
331
- export type IConnectionDirectiveResolver<Result, Parent, ContextType = any, Args = IConnectionDirectiveArgs> = DirectiveResolverFn<Result, Parent, ContextType, Args>;
332
- export type IOneOfDirectiveArgs = {};
333
- export type IOneOfDirectiveResolver<Result, Parent, ContextType = any, Args = IOneOfDirectiveArgs> = DirectiveResolverFn<Result, Parent, ContextType, Args>;
334
- export type IFollowingStatusResolvers<ContextType = any, ParentType extends IResolversParentTypes['FollowingStatus'] = IResolversParentTypes['FollowingStatus']> = {
335
- userId?: Resolver<IResolversTypes['ID'], ParentType, ContextType>;
336
- following?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType>;
337
- __isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
338
- };
339
- export type IIdentityResolvers<ContextType = any, ParentType extends IResolversParentTypes['Identity'] = IResolversParentTypes['Identity']> = {
340
- userId?: Resolver<IResolversTypes['ID'], ParentType, ContextType>;
341
- wallets?: Resolver<Array<Maybe<IResolversTypes['String']>>, ParentType, ContextType>;
342
- authToken?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
343
- refreshToken?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
344
- tokens?: Resolver<IResolversTypes['TokenPairs'], ParentType, ContextType>;
345
- role?: Resolver<IResolversTypes['Role'], ParentType, ContextType>;
346
- newUser?: Resolver<Maybe<IResolversTypes['Boolean']>, ParentType, ContextType>;
347
- inviteCode?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
348
- __isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
349
- };
350
- export interface ILongScalarConfig extends GraphQLScalarTypeConfig<IResolversTypes['Long'], any> {
351
- name: 'Long';
352
- }
353
- export type IMutationResolvers<ContextType = any, ParentType extends IResolversParentTypes['Mutation'] = IResolversParentTypes['Mutation']> = {
354
- setDummy?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
355
- createNonce?: Resolver<IResolversTypes['String'], ParentType, ContextType, RequireFields<IMutationCreateNonceArgs, 'address' | 'blockchain'>>;
356
- signInAdminMetamask?: Resolver<IResolversTypes['Identity'], ParentType, ContextType, RequireFields<IMutationSignInAdminMetamaskArgs, 'signature' | 'address' | 'chainId'>>;
357
- signInMetamask?: Resolver<IResolversTypes['Identity'], ParentType, ContextType, RequireFields<IMutationSignInMetamaskArgs, 'signature' | 'address' | 'chainId'>>;
358
- signInTezos?: Resolver<IResolversTypes['Identity'], ParentType, ContextType, RequireFields<IMutationSignInTezosArgs, 'signature' | 'pubkey'>>;
359
- signInSolana?: Resolver<IResolversTypes['Identity'], ParentType, ContextType, RequireFields<IMutationSignInSolanaArgs, 'signature' | 'pubkey'>>;
360
- signInElrond?: Resolver<IResolversTypes['Identity'], ParentType, ContextType, RequireFields<IMutationSignInElrondArgs, 'signature' | 'address'>>;
361
- signInFlow?: Resolver<IResolversTypes['Identity'], ParentType, ContextType, RequireFields<IMutationSignInFlowArgs, 'signature' | 'address'>>;
362
- addWalletMetamask?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationAddWalletMetamaskArgs, 'signature' | 'address' | 'chainId'>>;
363
- addWalletTezos?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationAddWalletTezosArgs, 'signature' | 'pubkey'>>;
364
- addWalletSolana?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationAddWalletSolanaArgs, 'signature' | 'pubkey'>>;
365
- addWalletElrond?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationAddWalletElrondArgs, 'signature' | 'address'>>;
366
- addWalletFlow?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationAddWalletFlowArgs, 'signature' | 'address'>>;
367
- removeWallet?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationRemoveWalletArgs, 'blockchain' | 'address'>>;
368
- setMainWallet?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationSetMainWalletArgs, 'blockchain' | 'address'>>;
369
- generateNewInviteCodes?: Resolver<Array<IResolversTypes['UserInviteCode']>, ParentType, ContextType, RequireFields<IMutationGenerateNewInviteCodesArgs, 'codesNum'>>;
370
- saveEmailOfJoiner?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationSaveEmailOfJoinerArgs, 'email' | 'isSubscribed'>>;
371
- useInviteCode?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationUseInviteCodeArgs, 'inviteCode'>>;
372
- updateProfile?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, Partial<IMutationUpdateProfileArgs>>;
373
- followProfile?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationFollowProfileArgs, 'followingUserId'>>;
374
- unfollowProfile?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationUnfollowProfileArgs, 'followingUserId'>>;
375
- };
376
- export type IProfileResolvers<ContextType = any, ParentType extends IResolversParentTypes['Profile'] = IResolversParentTypes['Profile']> = {
377
- userId?: Resolver<IResolversTypes['ID'], ParentType, ContextType>;
378
- username?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
379
- about?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
380
- userpic?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
381
- following?: Resolver<Maybe<IResolversTypes['Boolean']>, ParentType, ContextType>;
382
- followings?: Resolver<Maybe<IResolversTypes['Int']>, ParentType, ContextType>;
383
- followers?: Resolver<Maybe<IResolversTypes['Int']>, ParentType, ContextType>;
384
- social?: Resolver<Maybe<IResolversTypes['Social']>, ParentType, ContextType>;
385
- views?: Resolver<Maybe<IResolversTypes['Int']>, ParentType, ContextType>;
386
- createdAt?: Resolver<Maybe<IResolversTypes['Long']>, ParentType, ContextType>;
387
- deletedAt?: Resolver<Maybe<IResolversTypes['Long']>, ParentType, ContextType>;
388
- visible?: Resolver<Maybe<IResolversTypes['Boolean']>, ParentType, ContextType>;
389
- deleted?: Resolver<Maybe<IResolversTypes['Boolean']>, ParentType, ContextType>;
390
- showNsfw?: Resolver<Maybe<IResolversTypes['Boolean']>, ParentType, ContextType>;
391
- rank?: Resolver<Maybe<IResolversTypes['Float']>, ParentType, ContextType>;
392
- wallets?: Resolver<Maybe<Array<Maybe<IResolversTypes['Wallet']>>>, ParentType, ContextType>;
393
- __isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
394
- };
395
- export type IQueryResolvers<ContextType = any, ParentType extends IResolversParentTypes['Query'] = IResolversParentTypes['Query']> = {
396
- getDummy?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
397
- fetchUserWallets?: Resolver<Array<Maybe<IResolversTypes['Wallet']>>, ParentType, ContextType, RequireFields<IQueryFetchUserWalletsArgs, 'userId'>>;
398
- isInviteCodeAvailable?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IQueryIsInviteCodeAvailableArgs, 'inviteCode'>>;
399
- getMyInviteCodes?: Resolver<Array<IResolversTypes['UserInviteCode']>, ParentType, ContextType>;
400
- fetchProfile?: Resolver<IResolversTypes['Profile'], ParentType, ContextType, RequireFields<IQueryFetchProfileArgs, 'userId'>>;
401
- fetchFollowingStatus?: Resolver<IResolversTypes['FollowingStatus'], ParentType, ContextType, RequireFields<IQueryFetchFollowingStatusArgs, 'userId'>>;
402
- fetchFollowingStatuses?: Resolver<Array<Maybe<IResolversTypes['FollowingStatus']>>, ParentType, ContextType, RequireFields<IQueryFetchFollowingStatusesArgs, 'userIds'>>;
403
- };
404
- export type ISocialResolvers<ContextType = any, ParentType extends IResolversParentTypes['Social'] = IResolversParentTypes['Social']> = {
405
- facebook?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
406
- twitter?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
407
- instagram?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
408
- website?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
409
- __isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
410
- };
411
- export type ITokenPairResolvers<ContextType = any, ParentType extends IResolversParentTypes['TokenPair'] = IResolversParentTypes['TokenPair']> = {
412
- authToken?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
413
- refreshToken?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
414
- __isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
415
- };
416
- export type ITokenPairsResolvers<ContextType = any, ParentType extends IResolversParentTypes['TokenPairs'] = IResolversParentTypes['TokenPairs']> = {
417
- portalTokenPair?: Resolver<IResolversTypes['TokenPair'], ParentType, ContextType>;
418
- extensionTokenPair?: Resolver<IResolversTypes['TokenPair'], ParentType, ContextType>;
419
- __isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
420
- };
421
- export type IUserInviteCodeResolvers<ContextType = any, ParentType extends IResolversParentTypes['UserInviteCode'] = IResolversParentTypes['UserInviteCode']> = {
422
- inviteCode?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
423
- inviteeId?: Resolver<Maybe<IResolversTypes['ID']>, ParentType, ContextType>;
424
- isUsed?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType>;
425
- usedAt?: Resolver<Maybe<IResolversTypes['Long']>, ParentType, ContextType>;
426
- __isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
427
- };
428
- export type IWalletResolvers<ContextType = any, ParentType extends IResolversParentTypes['Wallet'] = IResolversParentTypes['Wallet']> = {
429
- userId?: Resolver<IResolversTypes['ID'], ParentType, ContextType>;
430
- address?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
431
- walletName?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
432
- blockchain?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
433
- chainId?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
434
- mainWallet?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType>;
435
- __isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
436
- };
437
- export type IResolvers<ContextType = any> = {
438
- FollowingStatus?: IFollowingStatusResolvers<ContextType>;
439
- Identity?: IIdentityResolvers<ContextType>;
440
- Long?: GraphQLScalarType;
441
- Mutation?: IMutationResolvers<ContextType>;
442
- Profile?: IProfileResolvers<ContextType>;
443
- Query?: IQueryResolvers<ContextType>;
444
- Social?: ISocialResolvers<ContextType>;
445
- TokenPair?: ITokenPairResolvers<ContextType>;
446
- TokenPairs?: ITokenPairsResolvers<ContextType>;
447
- UserInviteCode?: IUserInviteCodeResolvers<ContextType>;
448
- Wallet?: IWalletResolvers<ContextType>;
449
- };
450
- export type IDirectiveResolvers<ContextType = any> = {
451
- Pattern?: IPatternDirectiveResolver<any, any, ContextType>;
452
- Range?: IRangeDirectiveResolver<any, any, ContextType>;
453
- Size?: ISizeDirectiveResolver<any, any, ContextType>;
454
- connection?: IConnectionDirectiveResolver<any, any, ContextType>;
455
- oneOf?: IOneOfDirectiveResolver<any, any, ContextType>;
456
- };
457
- export type IAddWalletElrondMutationVariables = Exact<{
458
- signature: Scalars['String'];
459
- address: Scalars['String'];
460
- }>;
461
- export type IAddWalletElrondMutation = Pick<IMutation, 'addWalletElrond'>;
462
- export type IAddWalletFlowMutationVariables = Exact<{
463
- signature: Scalars['String'];
464
- address: Scalars['String'];
465
- }>;
466
- export type IAddWalletFlowMutation = Pick<IMutation, 'addWalletFlow'>;
467
- export type IAddWalletMetamaskMutationVariables = Exact<{
468
- signature: Scalars['String'];
469
- address: Scalars['String'];
470
- chainId: Scalars['String'];
471
- }>;
472
- export type IAddWalletMetamaskMutation = Pick<IMutation, 'addWalletMetamask'>;
473
- export type IAddWalletSolanaMutationVariables = Exact<{
474
- signature: Scalars['String'];
475
- pubkey: Scalars['String'];
476
- }>;
477
- export type IAddWalletSolanaMutation = Pick<IMutation, 'addWalletSolana'>;
478
- export type IAddWalletTezosMutationVariables = Exact<{
479
- signature: Scalars['String'];
480
- pubkey: Scalars['String'];
481
- }>;
482
- export type IAddWalletTezosMutation = Pick<IMutation, 'addWalletTezos'>;
483
- export type ICreateNonceMutationVariables = Exact<{
484
- address: Scalars['String'];
485
- blockchain: Scalars['String'];
486
- chainId?: Maybe<Scalars['String']>;
487
- }>;
488
- export type ICreateNonceMutation = Pick<IMutation, 'createNonce'>;
489
- export type IGenerateNewInviteCodesMutationVariables = Exact<{
490
- codesNum: Scalars['Int'];
491
- }>;
492
- export type IGenerateNewInviteCodesMutation = {
493
- generateNewInviteCodes: Array<Pick<IUserInviteCode, 'inviteCode' | 'inviteeId' | 'isUsed' | 'usedAt'>>;
494
- };
495
- export type IUseInviteCodeMutationVariables = Exact<{
496
- inviteCode: Scalars['String'];
497
- }>;
498
- export type IUseInviteCodeMutation = Pick<IMutation, 'useInviteCode'>;
499
- export type IRemoveWalletMutationVariables = Exact<{
500
- blockchain: Scalars['String'];
501
- address: Scalars['String'];
502
- chainId?: Maybe<Scalars['String']>;
503
- }>;
504
- export type IRemoveWalletMutation = Pick<IMutation, 'removeWallet'>;
505
- export type ISaveEmailOfJoinerMutationVariables = Exact<{
506
- email: Scalars['String'];
507
- isSubscribed: Scalars['Boolean'];
508
- }>;
509
- export type ISaveEmailOfJoinerMutation = Pick<IMutation, 'saveEmailOfJoiner'>;
510
- export type ISetMainWalletMutationVariables = Exact<{
511
- blockchain: Scalars['String'];
512
- address: Scalars['String'];
513
- chainId?: Maybe<Scalars['String']>;
514
- }>;
515
- export type ISetMainWalletMutation = Pick<IMutation, 'setMainWallet'>;
516
- export type ISignInAdminMetamaskMutationVariables = Exact<{
517
- signature: Scalars['String'];
518
- address: Scalars['String'];
519
- chainId: Scalars['String'];
520
- }>;
521
- export type ISignInAdminMetamaskMutation = {
522
- signInAdminMetamask: (Pick<IIdentity, 'userId' | 'wallets' | 'newUser' | 'inviteCode' | 'role'> & {
523
- tokens: {
524
- portalTokenPair: Pick<ITokenPair, 'authToken' | 'refreshToken'>;
525
- extensionTokenPair: Pick<ITokenPair, 'authToken' | 'refreshToken'>;
526
- };
527
- });
528
- };
529
- export type ISignInElrondMutationVariables = Exact<{
530
- signature: Scalars['String'];
531
- address: Scalars['String'];
532
- }>;
533
- export type ISignInElrondMutation = {
534
- signInElrond: (Pick<IIdentity, 'userId' | 'wallets' | 'newUser' | 'inviteCode' | 'role'> & {
535
- tokens: {
536
- portalTokenPair: Pick<ITokenPair, 'authToken' | 'refreshToken'>;
537
- extensionTokenPair: Pick<ITokenPair, 'authToken' | 'refreshToken'>;
538
- };
539
- });
540
- };
541
- export type ISignInFlowMutationVariables = Exact<{
542
- signature: Scalars['String'];
543
- address: Scalars['String'];
544
- }>;
545
- export type ISignInFlowMutation = {
546
- signInFlow: (Pick<IIdentity, 'userId' | 'wallets' | 'newUser' | 'inviteCode' | 'role'> & {
547
- tokens: {
548
- portalTokenPair: Pick<ITokenPair, 'authToken' | 'refreshToken'>;
549
- extensionTokenPair: Pick<ITokenPair, 'authToken' | 'refreshToken'>;
550
- };
551
- });
552
- };
553
- export type ISignInMetamaskMutationVariables = Exact<{
554
- signature: Scalars['String'];
555
- address: Scalars['String'];
556
- chainId: Scalars['String'];
557
- }>;
558
- export type ISignInMetamaskMutation = {
559
- signInMetamask: (Pick<IIdentity, 'userId' | 'wallets' | 'newUser' | 'inviteCode' | 'role'> & {
560
- tokens: {
561
- portalTokenPair: Pick<ITokenPair, 'authToken' | 'refreshToken'>;
562
- extensionTokenPair: Pick<ITokenPair, 'authToken' | 'refreshToken'>;
563
- };
564
- });
565
- };
566
- export type ISignInSolanaMutationVariables = Exact<{
567
- signature: Scalars['String'];
568
- pubkey: Scalars['String'];
569
- }>;
570
- export type ISignInSolanaMutation = {
571
- signInSolana: (Pick<IIdentity, 'userId' | 'wallets' | 'newUser' | 'inviteCode' | 'role'> & {
572
- tokens: {
573
- portalTokenPair: Pick<ITokenPair, 'authToken' | 'refreshToken'>;
574
- extensionTokenPair: Pick<ITokenPair, 'authToken' | 'refreshToken'>;
575
- };
576
- });
577
- };
578
- export type ISignInTezosMutationVariables = Exact<{
579
- signature: Scalars['String'];
580
- pubkey: Scalars['String'];
581
- }>;
582
- export type ISignInTezosMutation = {
583
- signInTezos: (Pick<IIdentity, 'userId' | 'wallets' | 'newUser' | 'inviteCode' | 'role'> & {
584
- tokens: {
585
- portalTokenPair: Pick<ITokenPair, 'authToken' | 'refreshToken'>;
586
- extensionTokenPair: Pick<ITokenPair, 'authToken' | 'refreshToken'>;
587
- };
588
- });
589
- };
590
- export type IUpdateProfileMutationVariables = Exact<{
591
- username?: Maybe<Scalars['String']>;
592
- about?: Maybe<Scalars['String']>;
593
- facebook?: Maybe<Scalars['String']>;
594
- twitter?: Maybe<Scalars['String']>;
595
- instagram?: Maybe<Scalars['String']>;
596
- website?: Maybe<Scalars['String']>;
597
- showNsfw?: Maybe<Scalars['Boolean']>;
598
- }>;
599
- export type IUpdateProfileMutation = Pick<IMutation, 'updateProfile'>;
600
- export type IFetchProfileQueryVariables = Exact<{
601
- userId: Scalars['ID'];
602
- }>;
603
- export type IFetchProfileQuery = {
604
- fetchProfile: (Pick<IProfile, 'userId' | 'username' | 'about' | 'userpic' | 'following' | 'followings' | 'followers' | 'rank' | 'views' | 'createdAt' | 'deletedAt' | 'visible' | 'deleted' | 'showNsfw'> & {
605
- social?: Maybe<Pick<ISocial, 'facebook' | 'twitter' | 'instagram' | 'website'>>;
606
- wallets?: Maybe<Array<Maybe<Pick<IWallet, 'userId' | 'address' | 'walletName' | 'blockchain' | 'chainId'>>>>;
607
- });
608
- };
609
- export type IFetchUserWalletsQueryVariables = Exact<{
610
- userId: Scalars['ID'];
611
- }>;
612
- export type IFetchUserWalletsQuery = {
613
- fetchUserWallets: Array<Maybe<Pick<IWallet, 'userId' | 'address' | 'walletName' | 'blockchain' | 'chainId' | 'mainWallet'>>>;
614
- };
615
- export type IGetMyInviteCodesQueryVariables = Exact<{
616
- [key: string]: never;
617
- }>;
618
- export type IGetMyInviteCodesQuery = {
619
- getMyInviteCodes: Array<Pick<IUserInviteCode, 'inviteCode' | 'inviteeId' | 'isUsed' | 'usedAt'>>;
620
- };
621
- export declare const AddWalletElrondDocument: Apollo.DocumentNode;
622
- export type IAddWalletElrondMutationFn = Apollo.MutationFunction<IAddWalletElrondMutation, IAddWalletElrondMutationVariables>;
623
- /**
624
- * __useAddWalletElrondMutation__
625
- *
626
- * To run a mutation, you first call `useAddWalletElrondMutation` within a React component and pass it any options that fit your needs.
627
- * When your component renders, `useAddWalletElrondMutation` returns a tuple that includes:
628
- * - A mutate function that you can call at any time to execute the mutation
629
- * - An object with fields that represent the current status of the mutation's execution
630
- *
631
- * @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;
632
- *
633
- * @example
634
- * const [addWalletElrondMutation, { data, loading, error }] = useAddWalletElrondMutation({
635
- * variables: {
636
- * signature: // value for 'signature'
637
- * address: // value for 'address'
638
- * },
639
- * });
640
- */
641
- export declare function useAddWalletElrondMutation(baseOptions?: Apollo.MutationHookOptions<IAddWalletElrondMutation, IAddWalletElrondMutationVariables>): Apollo.MutationTuple<IAddWalletElrondMutation, Exact<{
642
- signature: string;
643
- address: string;
644
- }>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
645
- export type AddWalletElrondMutationHookResult = ReturnType<typeof useAddWalletElrondMutation>;
646
- export type AddWalletElrondMutationResult = Apollo.MutationResult<IAddWalletElrondMutation>;
647
- export type AddWalletElrondMutationOptions = Apollo.BaseMutationOptions<IAddWalletElrondMutation, IAddWalletElrondMutationVariables>;
648
- export declare const AddWalletFlowDocument: Apollo.DocumentNode;
649
- export type IAddWalletFlowMutationFn = Apollo.MutationFunction<IAddWalletFlowMutation, IAddWalletFlowMutationVariables>;
650
- /**
651
- * __useAddWalletFlowMutation__
652
- *
653
- * To run a mutation, you first call `useAddWalletFlowMutation` within a React component and pass it any options that fit your needs.
654
- * When your component renders, `useAddWalletFlowMutation` returns a tuple that includes:
655
- * - A mutate function that you can call at any time to execute the mutation
656
- * - An object with fields that represent the current status of the mutation's execution
657
- *
658
- * @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;
659
- *
660
- * @example
661
- * const [addWalletFlowMutation, { data, loading, error }] = useAddWalletFlowMutation({
662
- * variables: {
663
- * signature: // value for 'signature'
664
- * address: // value for 'address'
665
- * },
666
- * });
667
- */
668
- export declare function useAddWalletFlowMutation(baseOptions?: Apollo.MutationHookOptions<IAddWalletFlowMutation, IAddWalletFlowMutationVariables>): Apollo.MutationTuple<IAddWalletFlowMutation, Exact<{
669
- signature: string;
670
- address: string;
671
- }>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
672
- export type AddWalletFlowMutationHookResult = ReturnType<typeof useAddWalletFlowMutation>;
673
- export type AddWalletFlowMutationResult = Apollo.MutationResult<IAddWalletFlowMutation>;
674
- export type AddWalletFlowMutationOptions = Apollo.BaseMutationOptions<IAddWalletFlowMutation, IAddWalletFlowMutationVariables>;
675
- export declare const AddWalletMetamaskDocument: Apollo.DocumentNode;
676
- export type IAddWalletMetamaskMutationFn = Apollo.MutationFunction<IAddWalletMetamaskMutation, IAddWalletMetamaskMutationVariables>;
677
- /**
678
- * __useAddWalletMetamaskMutation__
679
- *
680
- * To run a mutation, you first call `useAddWalletMetamaskMutation` within a React component and pass it any options that fit your needs.
681
- * When your component renders, `useAddWalletMetamaskMutation` returns a tuple that includes:
682
- * - A mutate function that you can call at any time to execute the mutation
683
- * - An object with fields that represent the current status of the mutation's execution
684
- *
685
- * @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;
686
- *
687
- * @example
688
- * const [addWalletMetamaskMutation, { data, loading, error }] = useAddWalletMetamaskMutation({
689
- * variables: {
690
- * signature: // value for 'signature'
691
- * address: // value for 'address'
692
- * chainId: // value for 'chainId'
693
- * },
694
- * });
695
- */
696
- export declare function useAddWalletMetamaskMutation(baseOptions?: Apollo.MutationHookOptions<IAddWalletMetamaskMutation, IAddWalletMetamaskMutationVariables>): Apollo.MutationTuple<IAddWalletMetamaskMutation, Exact<{
697
- signature: string;
698
- address: string;
699
- chainId: string;
700
- }>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
701
- export type AddWalletMetamaskMutationHookResult = ReturnType<typeof useAddWalletMetamaskMutation>;
702
- export type AddWalletMetamaskMutationResult = Apollo.MutationResult<IAddWalletMetamaskMutation>;
703
- export type AddWalletMetamaskMutationOptions = Apollo.BaseMutationOptions<IAddWalletMetamaskMutation, IAddWalletMetamaskMutationVariables>;
704
- export declare const AddWalletSolanaDocument: Apollo.DocumentNode;
705
- export type IAddWalletSolanaMutationFn = Apollo.MutationFunction<IAddWalletSolanaMutation, IAddWalletSolanaMutationVariables>;
706
- /**
707
- * __useAddWalletSolanaMutation__
708
- *
709
- * To run a mutation, you first call `useAddWalletSolanaMutation` within a React component and pass it any options that fit your needs.
710
- * When your component renders, `useAddWalletSolanaMutation` returns a tuple that includes:
711
- * - A mutate function that you can call at any time to execute the mutation
712
- * - An object with fields that represent the current status of the mutation's execution
713
- *
714
- * @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;
715
- *
716
- * @example
717
- * const [addWalletSolanaMutation, { data, loading, error }] = useAddWalletSolanaMutation({
718
- * variables: {
719
- * signature: // value for 'signature'
720
- * pubkey: // value for 'pubkey'
721
- * },
722
- * });
723
- */
724
- export declare function useAddWalletSolanaMutation(baseOptions?: Apollo.MutationHookOptions<IAddWalletSolanaMutation, IAddWalletSolanaMutationVariables>): Apollo.MutationTuple<IAddWalletSolanaMutation, Exact<{
725
- signature: string;
726
- pubkey: string;
727
- }>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
728
- export type AddWalletSolanaMutationHookResult = ReturnType<typeof useAddWalletSolanaMutation>;
729
- export type AddWalletSolanaMutationResult = Apollo.MutationResult<IAddWalletSolanaMutation>;
730
- export type AddWalletSolanaMutationOptions = Apollo.BaseMutationOptions<IAddWalletSolanaMutation, IAddWalletSolanaMutationVariables>;
731
- export declare const AddWalletTezosDocument: Apollo.DocumentNode;
732
- export type IAddWalletTezosMutationFn = Apollo.MutationFunction<IAddWalletTezosMutation, IAddWalletTezosMutationVariables>;
733
- /**
734
- * __useAddWalletTezosMutation__
735
- *
736
- * To run a mutation, you first call `useAddWalletTezosMutation` within a React component and pass it any options that fit your needs.
737
- * When your component renders, `useAddWalletTezosMutation` returns a tuple that includes:
738
- * - A mutate function that you can call at any time to execute the mutation
739
- * - An object with fields that represent the current status of the mutation's execution
740
- *
741
- * @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;
742
- *
743
- * @example
744
- * const [addWalletTezosMutation, { data, loading, error }] = useAddWalletTezosMutation({
745
- * variables: {
746
- * signature: // value for 'signature'
747
- * pubkey: // value for 'pubkey'
748
- * },
749
- * });
750
- */
751
- export declare function useAddWalletTezosMutation(baseOptions?: Apollo.MutationHookOptions<IAddWalletTezosMutation, IAddWalletTezosMutationVariables>): Apollo.MutationTuple<IAddWalletTezosMutation, Exact<{
752
- signature: string;
753
- pubkey: string;
754
- }>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
755
- export type AddWalletTezosMutationHookResult = ReturnType<typeof useAddWalletTezosMutation>;
756
- export type AddWalletTezosMutationResult = Apollo.MutationResult<IAddWalletTezosMutation>;
757
- export type AddWalletTezosMutationOptions = Apollo.BaseMutationOptions<IAddWalletTezosMutation, IAddWalletTezosMutationVariables>;
758
- export declare const CreateNonceDocument: Apollo.DocumentNode;
759
- export type ICreateNonceMutationFn = Apollo.MutationFunction<ICreateNonceMutation, ICreateNonceMutationVariables>;
760
- /**
761
- * __useCreateNonceMutation__
762
- *
763
- * To run a mutation, you first call `useCreateNonceMutation` within a React component and pass it any options that fit your needs.
764
- * When your component renders, `useCreateNonceMutation` returns a tuple that includes:
765
- * - A mutate function that you can call at any time to execute the mutation
766
- * - An object with fields that represent the current status of the mutation's execution
767
- *
768
- * @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;
769
- *
770
- * @example
771
- * const [createNonceMutation, { data, loading, error }] = useCreateNonceMutation({
772
- * variables: {
773
- * address: // value for 'address'
774
- * blockchain: // value for 'blockchain'
775
- * chainId: // value for 'chainId'
776
- * },
777
- * });
778
- */
779
- export declare function useCreateNonceMutation(baseOptions?: Apollo.MutationHookOptions<ICreateNonceMutation, ICreateNonceMutationVariables>): Apollo.MutationTuple<ICreateNonceMutation, Exact<{
780
- address: string;
781
- blockchain: string;
782
- chainId?: Maybe<string> | undefined;
783
- }>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
784
- export type CreateNonceMutationHookResult = ReturnType<typeof useCreateNonceMutation>;
785
- export type CreateNonceMutationResult = Apollo.MutationResult<ICreateNonceMutation>;
786
- export type CreateNonceMutationOptions = Apollo.BaseMutationOptions<ICreateNonceMutation, ICreateNonceMutationVariables>;
787
- export declare const GenerateNewInviteCodesDocument: Apollo.DocumentNode;
788
- export type IGenerateNewInviteCodesMutationFn = Apollo.MutationFunction<IGenerateNewInviteCodesMutation, IGenerateNewInviteCodesMutationVariables>;
789
- /**
790
- * __useGenerateNewInviteCodesMutation__
791
- *
792
- * To run a mutation, you first call `useGenerateNewInviteCodesMutation` within a React component and pass it any options that fit your needs.
793
- * When your component renders, `useGenerateNewInviteCodesMutation` returns a tuple that includes:
794
- * - A mutate function that you can call at any time to execute the mutation
795
- * - An object with fields that represent the current status of the mutation's execution
796
- *
797
- * @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;
798
- *
799
- * @example
800
- * const [generateNewInviteCodesMutation, { data, loading, error }] = useGenerateNewInviteCodesMutation({
801
- * variables: {
802
- * codesNum: // value for 'codesNum'
803
- * },
804
- * });
805
- */
806
- export declare function useGenerateNewInviteCodesMutation(baseOptions?: Apollo.MutationHookOptions<IGenerateNewInviteCodesMutation, IGenerateNewInviteCodesMutationVariables>): Apollo.MutationTuple<IGenerateNewInviteCodesMutation, Exact<{
807
- codesNum: number;
808
- }>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
809
- export type GenerateNewInviteCodesMutationHookResult = ReturnType<typeof useGenerateNewInviteCodesMutation>;
810
- export type GenerateNewInviteCodesMutationResult = Apollo.MutationResult<IGenerateNewInviteCodesMutation>;
811
- export type GenerateNewInviteCodesMutationOptions = Apollo.BaseMutationOptions<IGenerateNewInviteCodesMutation, IGenerateNewInviteCodesMutationVariables>;
812
- export declare const UseInviteCodeDocument: Apollo.DocumentNode;
813
- export type IUseInviteCodeMutationFn = Apollo.MutationFunction<IUseInviteCodeMutation, IUseInviteCodeMutationVariables>;
814
- /**
815
- * __useUseInviteCodeMutation__
816
- *
817
- * To run a mutation, you first call `useUseInviteCodeMutation` within a React component and pass it any options that fit your needs.
818
- * When your component renders, `useUseInviteCodeMutation` returns a tuple that includes:
819
- * - A mutate function that you can call at any time to execute the mutation
820
- * - An object with fields that represent the current status of the mutation's execution
821
- *
822
- * @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;
823
- *
824
- * @example
825
- * const [useInviteCodeMutation, { data, loading, error }] = useUseInviteCodeMutation({
826
- * variables: {
827
- * inviteCode: // value for 'inviteCode'
828
- * },
829
- * });
830
- */
831
- export declare function useUseInviteCodeMutation(baseOptions?: Apollo.MutationHookOptions<IUseInviteCodeMutation, IUseInviteCodeMutationVariables>): Apollo.MutationTuple<IUseInviteCodeMutation, Exact<{
832
- inviteCode: string;
833
- }>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
834
- export type UseInviteCodeMutationHookResult = ReturnType<typeof useUseInviteCodeMutation>;
835
- export type UseInviteCodeMutationResult = Apollo.MutationResult<IUseInviteCodeMutation>;
836
- export type UseInviteCodeMutationOptions = Apollo.BaseMutationOptions<IUseInviteCodeMutation, IUseInviteCodeMutationVariables>;
837
- export declare const RemoveWalletDocument: Apollo.DocumentNode;
838
- export type IRemoveWalletMutationFn = Apollo.MutationFunction<IRemoveWalletMutation, IRemoveWalletMutationVariables>;
839
- /**
840
- * __useRemoveWalletMutation__
841
- *
842
- * To run a mutation, you first call `useRemoveWalletMutation` within a React component and pass it any options that fit your needs.
843
- * When your component renders, `useRemoveWalletMutation` returns a tuple that includes:
844
- * - A mutate function that you can call at any time to execute the mutation
845
- * - An object with fields that represent the current status of the mutation's execution
846
- *
847
- * @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;
848
- *
849
- * @example
850
- * const [removeWalletMutation, { data, loading, error }] = useRemoveWalletMutation({
851
- * variables: {
852
- * blockchain: // value for 'blockchain'
853
- * address: // value for 'address'
854
- * chainId: // value for 'chainId'
855
- * },
856
- * });
857
- */
858
- export declare function useRemoveWalletMutation(baseOptions?: Apollo.MutationHookOptions<IRemoveWalletMutation, IRemoveWalletMutationVariables>): Apollo.MutationTuple<IRemoveWalletMutation, Exact<{
859
- blockchain: string;
860
- address: string;
861
- chainId?: Maybe<string> | undefined;
862
- }>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
863
- export type RemoveWalletMutationHookResult = ReturnType<typeof useRemoveWalletMutation>;
864
- export type RemoveWalletMutationResult = Apollo.MutationResult<IRemoveWalletMutation>;
865
- export type RemoveWalletMutationOptions = Apollo.BaseMutationOptions<IRemoveWalletMutation, IRemoveWalletMutationVariables>;
866
- export declare const SaveEmailOfJoinerDocument: Apollo.DocumentNode;
867
- export type ISaveEmailOfJoinerMutationFn = Apollo.MutationFunction<ISaveEmailOfJoinerMutation, ISaveEmailOfJoinerMutationVariables>;
868
- /**
869
- * __useSaveEmailOfJoinerMutation__
870
- *
871
- * To run a mutation, you first call `useSaveEmailOfJoinerMutation` within a React component and pass it any options that fit your needs.
872
- * When your component renders, `useSaveEmailOfJoinerMutation` returns a tuple that includes:
873
- * - A mutate function that you can call at any time to execute the mutation
874
- * - An object with fields that represent the current status of the mutation's execution
875
- *
876
- * @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;
877
- *
878
- * @example
879
- * const [saveEmailOfJoinerMutation, { data, loading, error }] = useSaveEmailOfJoinerMutation({
880
- * variables: {
881
- * email: // value for 'email'
882
- * isSubscribed: // value for 'isSubscribed'
883
- * },
884
- * });
885
- */
886
- export declare function useSaveEmailOfJoinerMutation(baseOptions?: Apollo.MutationHookOptions<ISaveEmailOfJoinerMutation, ISaveEmailOfJoinerMutationVariables>): Apollo.MutationTuple<ISaveEmailOfJoinerMutation, Exact<{
887
- email: string;
888
- isSubscribed: boolean;
889
- }>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
890
- export type SaveEmailOfJoinerMutationHookResult = ReturnType<typeof useSaveEmailOfJoinerMutation>;
891
- export type SaveEmailOfJoinerMutationResult = Apollo.MutationResult<ISaveEmailOfJoinerMutation>;
892
- export type SaveEmailOfJoinerMutationOptions = Apollo.BaseMutationOptions<ISaveEmailOfJoinerMutation, ISaveEmailOfJoinerMutationVariables>;
893
- export declare const SetMainWalletDocument: Apollo.DocumentNode;
894
- export type ISetMainWalletMutationFn = Apollo.MutationFunction<ISetMainWalletMutation, ISetMainWalletMutationVariables>;
895
- /**
896
- * __useSetMainWalletMutation__
897
- *
898
- * To run a mutation, you first call `useSetMainWalletMutation` within a React component and pass it any options that fit your needs.
899
- * When your component renders, `useSetMainWalletMutation` returns a tuple that includes:
900
- * - A mutate function that you can call at any time to execute the mutation
901
- * - An object with fields that represent the current status of the mutation's execution
902
- *
903
- * @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;
904
- *
905
- * @example
906
- * const [setMainWalletMutation, { data, loading, error }] = useSetMainWalletMutation({
907
- * variables: {
908
- * blockchain: // value for 'blockchain'
909
- * address: // value for 'address'
910
- * chainId: // value for 'chainId'
911
- * },
912
- * });
913
- */
914
- export declare function useSetMainWalletMutation(baseOptions?: Apollo.MutationHookOptions<ISetMainWalletMutation, ISetMainWalletMutationVariables>): Apollo.MutationTuple<ISetMainWalletMutation, Exact<{
915
- blockchain: string;
916
- address: string;
917
- chainId?: Maybe<string> | undefined;
918
- }>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
919
- export type SetMainWalletMutationHookResult = ReturnType<typeof useSetMainWalletMutation>;
920
- export type SetMainWalletMutationResult = Apollo.MutationResult<ISetMainWalletMutation>;
921
- export type SetMainWalletMutationOptions = Apollo.BaseMutationOptions<ISetMainWalletMutation, ISetMainWalletMutationVariables>;
922
- export declare const SignInAdminMetamaskDocument: Apollo.DocumentNode;
923
- export type ISignInAdminMetamaskMutationFn = Apollo.MutationFunction<ISignInAdminMetamaskMutation, ISignInAdminMetamaskMutationVariables>;
924
- /**
925
- * __useSignInAdminMetamaskMutation__
926
- *
927
- * To run a mutation, you first call `useSignInAdminMetamaskMutation` within a React component and pass it any options that fit your needs.
928
- * When your component renders, `useSignInAdminMetamaskMutation` returns a tuple that includes:
929
- * - A mutate function that you can call at any time to execute the mutation
930
- * - An object with fields that represent the current status of the mutation's execution
931
- *
932
- * @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;
933
- *
934
- * @example
935
- * const [signInAdminMetamaskMutation, { data, loading, error }] = useSignInAdminMetamaskMutation({
936
- * variables: {
937
- * signature: // value for 'signature'
938
- * address: // value for 'address'
939
- * chainId: // value for 'chainId'
940
- * },
941
- * });
942
- */
943
- export declare function useSignInAdminMetamaskMutation(baseOptions?: Apollo.MutationHookOptions<ISignInAdminMetamaskMutation, ISignInAdminMetamaskMutationVariables>): Apollo.MutationTuple<ISignInAdminMetamaskMutation, Exact<{
944
- signature: string;
945
- address: string;
946
- chainId: string;
947
- }>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
948
- export type SignInAdminMetamaskMutationHookResult = ReturnType<typeof useSignInAdminMetamaskMutation>;
949
- export type SignInAdminMetamaskMutationResult = Apollo.MutationResult<ISignInAdminMetamaskMutation>;
950
- export type SignInAdminMetamaskMutationOptions = Apollo.BaseMutationOptions<ISignInAdminMetamaskMutation, ISignInAdminMetamaskMutationVariables>;
951
- export declare const SignInElrondDocument: Apollo.DocumentNode;
952
- export type ISignInElrondMutationFn = Apollo.MutationFunction<ISignInElrondMutation, ISignInElrondMutationVariables>;
953
- /**
954
- * __useSignInElrondMutation__
955
- *
956
- * To run a mutation, you first call `useSignInElrondMutation` within a React component and pass it any options that fit your needs.
957
- * When your component renders, `useSignInElrondMutation` returns a tuple that includes:
958
- * - A mutate function that you can call at any time to execute the mutation
959
- * - An object with fields that represent the current status of the mutation's execution
960
- *
961
- * @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;
962
- *
963
- * @example
964
- * const [signInElrondMutation, { data, loading, error }] = useSignInElrondMutation({
965
- * variables: {
966
- * signature: // value for 'signature'
967
- * address: // value for 'address'
968
- * },
969
- * });
970
- */
971
- export declare function useSignInElrondMutation(baseOptions?: Apollo.MutationHookOptions<ISignInElrondMutation, ISignInElrondMutationVariables>): Apollo.MutationTuple<ISignInElrondMutation, Exact<{
972
- signature: string;
973
- address: string;
974
- }>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
975
- export type SignInElrondMutationHookResult = ReturnType<typeof useSignInElrondMutation>;
976
- export type SignInElrondMutationResult = Apollo.MutationResult<ISignInElrondMutation>;
977
- export type SignInElrondMutationOptions = Apollo.BaseMutationOptions<ISignInElrondMutation, ISignInElrondMutationVariables>;
978
- export declare const SignInFlowDocument: Apollo.DocumentNode;
979
- export type ISignInFlowMutationFn = Apollo.MutationFunction<ISignInFlowMutation, ISignInFlowMutationVariables>;
980
- /**
981
- * __useSignInFlowMutation__
982
- *
983
- * To run a mutation, you first call `useSignInFlowMutation` within a React component and pass it any options that fit your needs.
984
- * When your component renders, `useSignInFlowMutation` returns a tuple that includes:
985
- * - A mutate function that you can call at any time to execute the mutation
986
- * - An object with fields that represent the current status of the mutation's execution
987
- *
988
- * @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;
989
- *
990
- * @example
991
- * const [signInFlowMutation, { data, loading, error }] = useSignInFlowMutation({
992
- * variables: {
993
- * signature: // value for 'signature'
994
- * address: // value for 'address'
995
- * },
996
- * });
997
- */
998
- export declare function useSignInFlowMutation(baseOptions?: Apollo.MutationHookOptions<ISignInFlowMutation, ISignInFlowMutationVariables>): Apollo.MutationTuple<ISignInFlowMutation, Exact<{
999
- signature: string;
1000
- address: string;
1001
- }>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
1002
- export type SignInFlowMutationHookResult = ReturnType<typeof useSignInFlowMutation>;
1003
- export type SignInFlowMutationResult = Apollo.MutationResult<ISignInFlowMutation>;
1004
- export type SignInFlowMutationOptions = Apollo.BaseMutationOptions<ISignInFlowMutation, ISignInFlowMutationVariables>;
1005
- export declare const SignInMetamaskDocument: Apollo.DocumentNode;
1006
- export type ISignInMetamaskMutationFn = Apollo.MutationFunction<ISignInMetamaskMutation, ISignInMetamaskMutationVariables>;
1007
- /**
1008
- * __useSignInMetamaskMutation__
1009
- *
1010
- * To run a mutation, you first call `useSignInMetamaskMutation` within a React component and pass it any options that fit your needs.
1011
- * When your component renders, `useSignInMetamaskMutation` returns a tuple that includes:
1012
- * - A mutate function that you can call at any time to execute the mutation
1013
- * - An object with fields that represent the current status of the mutation's execution
1014
- *
1015
- * @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;
1016
- *
1017
- * @example
1018
- * const [signInMetamaskMutation, { data, loading, error }] = useSignInMetamaskMutation({
1019
- * variables: {
1020
- * signature: // value for 'signature'
1021
- * address: // value for 'address'
1022
- * chainId: // value for 'chainId'
1023
- * },
1024
- * });
1025
- */
1026
- export declare function useSignInMetamaskMutation(baseOptions?: Apollo.MutationHookOptions<ISignInMetamaskMutation, ISignInMetamaskMutationVariables>): Apollo.MutationTuple<ISignInMetamaskMutation, Exact<{
1027
- signature: string;
1028
- address: string;
1029
- chainId: string;
1030
- }>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
1031
- export type SignInMetamaskMutationHookResult = ReturnType<typeof useSignInMetamaskMutation>;
1032
- export type SignInMetamaskMutationResult = Apollo.MutationResult<ISignInMetamaskMutation>;
1033
- export type SignInMetamaskMutationOptions = Apollo.BaseMutationOptions<ISignInMetamaskMutation, ISignInMetamaskMutationVariables>;
1034
- export declare const SignInSolanaDocument: Apollo.DocumentNode;
1035
- export type ISignInSolanaMutationFn = Apollo.MutationFunction<ISignInSolanaMutation, ISignInSolanaMutationVariables>;
1036
- /**
1037
- * __useSignInSolanaMutation__
1038
- *
1039
- * To run a mutation, you first call `useSignInSolanaMutation` within a React component and pass it any options that fit your needs.
1040
- * When your component renders, `useSignInSolanaMutation` returns a tuple that includes:
1041
- * - A mutate function that you can call at any time to execute the mutation
1042
- * - An object with fields that represent the current status of the mutation's execution
1043
- *
1044
- * @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;
1045
- *
1046
- * @example
1047
- * const [signInSolanaMutation, { data, loading, error }] = useSignInSolanaMutation({
1048
- * variables: {
1049
- * signature: // value for 'signature'
1050
- * pubkey: // value for 'pubkey'
1051
- * },
1052
- * });
1053
- */
1054
- export declare function useSignInSolanaMutation(baseOptions?: Apollo.MutationHookOptions<ISignInSolanaMutation, ISignInSolanaMutationVariables>): Apollo.MutationTuple<ISignInSolanaMutation, Exact<{
1055
- signature: string;
1056
- pubkey: string;
1057
- }>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
1058
- export type SignInSolanaMutationHookResult = ReturnType<typeof useSignInSolanaMutation>;
1059
- export type SignInSolanaMutationResult = Apollo.MutationResult<ISignInSolanaMutation>;
1060
- export type SignInSolanaMutationOptions = Apollo.BaseMutationOptions<ISignInSolanaMutation, ISignInSolanaMutationVariables>;
1061
- export declare const SignInTezosDocument: Apollo.DocumentNode;
1062
- export type ISignInTezosMutationFn = Apollo.MutationFunction<ISignInTezosMutation, ISignInTezosMutationVariables>;
1063
- /**
1064
- * __useSignInTezosMutation__
1065
- *
1066
- * To run a mutation, you first call `useSignInTezosMutation` within a React component and pass it any options that fit your needs.
1067
- * When your component renders, `useSignInTezosMutation` returns a tuple that includes:
1068
- * - A mutate function that you can call at any time to execute the mutation
1069
- * - An object with fields that represent the current status of the mutation's execution
1070
- *
1071
- * @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;
1072
- *
1073
- * @example
1074
- * const [signInTezosMutation, { data, loading, error }] = useSignInTezosMutation({
1075
- * variables: {
1076
- * signature: // value for 'signature'
1077
- * pubkey: // value for 'pubkey'
1078
- * },
1079
- * });
1080
- */
1081
- export declare function useSignInTezosMutation(baseOptions?: Apollo.MutationHookOptions<ISignInTezosMutation, ISignInTezosMutationVariables>): Apollo.MutationTuple<ISignInTezosMutation, Exact<{
1082
- signature: string;
1083
- pubkey: string;
1084
- }>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
1085
- export type SignInTezosMutationHookResult = ReturnType<typeof useSignInTezosMutation>;
1086
- export type SignInTezosMutationResult = Apollo.MutationResult<ISignInTezosMutation>;
1087
- export type SignInTezosMutationOptions = Apollo.BaseMutationOptions<ISignInTezosMutation, ISignInTezosMutationVariables>;
1088
- export declare const UpdateProfileDocument: Apollo.DocumentNode;
1089
- export type IUpdateProfileMutationFn = Apollo.MutationFunction<IUpdateProfileMutation, IUpdateProfileMutationVariables>;
1090
- /**
1091
- * __useUpdateProfileMutation__
1092
- *
1093
- * To run a mutation, you first call `useUpdateProfileMutation` within a React component and pass it any options that fit your needs.
1094
- * When your component renders, `useUpdateProfileMutation` returns a tuple that includes:
1095
- * - A mutate function that you can call at any time to execute the mutation
1096
- * - An object with fields that represent the current status of the mutation's execution
1097
- *
1098
- * @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;
1099
- *
1100
- * @example
1101
- * const [updateProfileMutation, { data, loading, error }] = useUpdateProfileMutation({
1102
- * variables: {
1103
- * username: // value for 'username'
1104
- * about: // value for 'about'
1105
- * facebook: // value for 'facebook'
1106
- * twitter: // value for 'twitter'
1107
- * instagram: // value for 'instagram'
1108
- * website: // value for 'website'
1109
- * showNsfw: // value for 'showNsfw'
1110
- * },
1111
- * });
1112
- */
1113
- export declare function useUpdateProfileMutation(baseOptions?: Apollo.MutationHookOptions<IUpdateProfileMutation, IUpdateProfileMutationVariables>): Apollo.MutationTuple<IUpdateProfileMutation, Exact<{
1114
- username?: Maybe<string> | undefined;
1115
- about?: Maybe<string> | undefined;
1116
- facebook?: Maybe<string> | undefined;
1117
- twitter?: Maybe<string> | undefined;
1118
- instagram?: Maybe<string> | undefined;
1119
- website?: Maybe<string> | undefined;
1120
- showNsfw?: Maybe<boolean> | undefined;
1121
- }>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
1122
- export type UpdateProfileMutationHookResult = ReturnType<typeof useUpdateProfileMutation>;
1123
- export type UpdateProfileMutationResult = Apollo.MutationResult<IUpdateProfileMutation>;
1124
- export type UpdateProfileMutationOptions = Apollo.BaseMutationOptions<IUpdateProfileMutation, IUpdateProfileMutationVariables>;
1125
- export declare const FetchProfileDocument: Apollo.DocumentNode;
1126
- /**
1127
- * __useFetchProfileQuery__
1128
- *
1129
- * To run a query within a React component, call `useFetchProfileQuery` and pass it any options that fit your needs.
1130
- * When your component renders, `useFetchProfileQuery` returns an object from Apollo Client that contains loading, error, and data properties
1131
- * you can use to render your UI.
1132
- *
1133
- * @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;
1134
- *
1135
- * @example
1136
- * const { data, loading, error } = useFetchProfileQuery({
1137
- * variables: {
1138
- * userId: // value for 'userId'
1139
- * },
1140
- * });
1141
- */
1142
- export declare function useFetchProfileQuery(baseOptions: Apollo.QueryHookOptions<IFetchProfileQuery, IFetchProfileQueryVariables>): Apollo.QueryResult<IFetchProfileQuery, Exact<{
1143
- userId: string;
1144
- }>>;
1145
- export declare function useFetchProfileLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<IFetchProfileQuery, IFetchProfileQueryVariables>): Apollo.LazyQueryResultTuple<IFetchProfileQuery, Exact<{
1146
- userId: string;
1147
- }>>;
1148
- export type FetchProfileQueryHookResult = ReturnType<typeof useFetchProfileQuery>;
1149
- export type FetchProfileLazyQueryHookResult = ReturnType<typeof useFetchProfileLazyQuery>;
1150
- export type FetchProfileQueryResult = Apollo.QueryResult<IFetchProfileQuery, IFetchProfileQueryVariables>;
1151
- export declare const FetchUserWalletsDocument: Apollo.DocumentNode;
1152
- /**
1153
- * __useFetchUserWalletsQuery__
1154
- *
1155
- * To run a query within a React component, call `useFetchUserWalletsQuery` and pass it any options that fit your needs.
1156
- * When your component renders, `useFetchUserWalletsQuery` returns an object from Apollo Client that contains loading, error, and data properties
1157
- * you can use to render your UI.
1158
- *
1159
- * @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;
1160
- *
1161
- * @example
1162
- * const { data, loading, error } = useFetchUserWalletsQuery({
1163
- * variables: {
1164
- * userId: // value for 'userId'
1165
- * },
1166
- * });
1167
- */
1168
- export declare function useFetchUserWalletsQuery(baseOptions: Apollo.QueryHookOptions<IFetchUserWalletsQuery, IFetchUserWalletsQueryVariables>): Apollo.QueryResult<IFetchUserWalletsQuery, Exact<{
1169
- userId: string;
1170
- }>>;
1171
- export declare function useFetchUserWalletsLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<IFetchUserWalletsQuery, IFetchUserWalletsQueryVariables>): Apollo.LazyQueryResultTuple<IFetchUserWalletsQuery, Exact<{
1172
- userId: string;
1173
- }>>;
1174
- export type FetchUserWalletsQueryHookResult = ReturnType<typeof useFetchUserWalletsQuery>;
1175
- export type FetchUserWalletsLazyQueryHookResult = ReturnType<typeof useFetchUserWalletsLazyQuery>;
1176
- export type FetchUserWalletsQueryResult = Apollo.QueryResult<IFetchUserWalletsQuery, IFetchUserWalletsQueryVariables>;
1177
- export declare const GetMyInviteCodesDocument: Apollo.DocumentNode;
1178
- /**
1179
- * __useGetMyInviteCodesQuery__
1180
- *
1181
- * To run a query within a React component, call `useGetMyInviteCodesQuery` and pass it any options that fit your needs.
1182
- * When your component renders, `useGetMyInviteCodesQuery` returns an object from Apollo Client that contains loading, error, and data properties
1183
- * you can use to render your UI.
1184
- *
1185
- * @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;
1186
- *
1187
- * @example
1188
- * const { data, loading, error } = useGetMyInviteCodesQuery({
1189
- * variables: {
1190
- * },
1191
- * });
1192
- */
1193
- export declare function useGetMyInviteCodesQuery(baseOptions?: Apollo.QueryHookOptions<IGetMyInviteCodesQuery, IGetMyInviteCodesQueryVariables>): Apollo.QueryResult<IGetMyInviteCodesQuery, Exact<{
1194
- [key: string]: never;
1195
- }>>;
1196
- export declare function useGetMyInviteCodesLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<IGetMyInviteCodesQuery, IGetMyInviteCodesQueryVariables>): Apollo.LazyQueryResultTuple<IGetMyInviteCodesQuery, Exact<{
1197
- [key: string]: never;
1198
- }>>;
1199
- export type GetMyInviteCodesQueryHookResult = ReturnType<typeof useGetMyInviteCodesQuery>;
1200
- export type GetMyInviteCodesLazyQueryHookResult = ReturnType<typeof useGetMyInviteCodesLazyQuery>;
1201
- export type GetMyInviteCodesQueryResult = Apollo.QueryResult<IGetMyInviteCodesQuery, IGetMyInviteCodesQueryVariables>;