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