@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,1434 @@
|
|
|
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
|
+
/** A file part in a multipart request */
|
|
28
|
+
Upload: any;
|
|
29
|
+
};
|
|
30
|
+
export type IActiveInvite = {
|
|
31
|
+
inviteCode?: Maybe<Scalars['String']>;
|
|
32
|
+
createdAt?: Maybe<Scalars['Long']>;
|
|
33
|
+
};
|
|
34
|
+
export type IAdminBrand = {
|
|
35
|
+
id: Scalars['String'];
|
|
36
|
+
name: Scalars['String'];
|
|
37
|
+
matchingWords: Array<Scalars['String']>;
|
|
38
|
+
description: Scalars['String'];
|
|
39
|
+
industry?: Maybe<Scalars['String']>;
|
|
40
|
+
link?: Maybe<Scalars['String']>;
|
|
41
|
+
media?: Maybe<Scalars['String']>;
|
|
42
|
+
archived?: Maybe<Scalars['Boolean']>;
|
|
43
|
+
addedBy?: Maybe<Scalars['String']>;
|
|
44
|
+
};
|
|
45
|
+
export type IAdminCategory = {
|
|
46
|
+
id: Scalars['String'];
|
|
47
|
+
name: Scalars['String'];
|
|
48
|
+
matchingWords: Array<Scalars['String']>;
|
|
49
|
+
archived?: Maybe<Scalars['Boolean']>;
|
|
50
|
+
addedBy?: Maybe<Scalars['String']>;
|
|
51
|
+
};
|
|
52
|
+
export type IAdminInvite = {
|
|
53
|
+
userId: Scalars['String'];
|
|
54
|
+
username?: Maybe<Scalars['String']>;
|
|
55
|
+
wallet?: Maybe<IWallet>;
|
|
56
|
+
activeInvites?: Maybe<Array<IActiveInvite>>;
|
|
57
|
+
referredUsers?: Maybe<Array<Scalars['String']>>;
|
|
58
|
+
userXpLevel?: Maybe<Scalars['Int']>;
|
|
59
|
+
};
|
|
60
|
+
export type IAdminOpportunity = {
|
|
61
|
+
opportunityId: Scalars['ID'];
|
|
62
|
+
name?: Maybe<Scalars['String']>;
|
|
63
|
+
description?: Maybe<Scalars['String']>;
|
|
64
|
+
brandName?: Maybe<Scalars['String']>;
|
|
65
|
+
industry?: Maybe<Scalars['String']>;
|
|
66
|
+
category?: Maybe<Scalars['String']>;
|
|
67
|
+
ludoUrl?: Maybe<Scalars['String']>;
|
|
68
|
+
projectUrl?: Maybe<Scalars['String']>;
|
|
69
|
+
pushNotificationsEnabled?: Maybe<Scalars['Boolean']>;
|
|
70
|
+
status?: Maybe<Scalars['String']>;
|
|
71
|
+
activeFrom?: Maybe<Scalars['Long']>;
|
|
72
|
+
activeUntil?: Maybe<Scalars['Long']>;
|
|
73
|
+
minXpLevel?: Maybe<Scalars['Int']>;
|
|
74
|
+
maxXpLevel?: Maybe<Scalars['Int']>;
|
|
75
|
+
minLudoRank?: Maybe<Scalars['Float']>;
|
|
76
|
+
maxLudoRank?: Maybe<Scalars['Float']>;
|
|
77
|
+
media?: Maybe<Scalars['String']>;
|
|
78
|
+
minWalletValue?: Maybe<Scalars['Float']>;
|
|
79
|
+
maxWalletValue?: Maybe<Scalars['Float']>;
|
|
80
|
+
clicks?: Maybe<Scalars['Int']>;
|
|
81
|
+
views?: Maybe<Scalars['Int']>;
|
|
82
|
+
addedBy?: Maybe<Scalars['String']>;
|
|
83
|
+
};
|
|
84
|
+
export type IAdminOpportunityInput = {
|
|
85
|
+
brandId: Scalars['String'];
|
|
86
|
+
categoryId: Scalars['String'];
|
|
87
|
+
status: Scalars['String'];
|
|
88
|
+
pushNotificationsEnabled: Scalars['Boolean'];
|
|
89
|
+
name: Scalars['String'];
|
|
90
|
+
description?: Maybe<Scalars['String']>;
|
|
91
|
+
ludoUrl?: Maybe<Scalars['String']>;
|
|
92
|
+
projectUrl?: Maybe<Scalars['String']>;
|
|
93
|
+
activeFrom?: Maybe<Scalars['Long']>;
|
|
94
|
+
activeUntil?: Maybe<Scalars['Long']>;
|
|
95
|
+
minXpLevel?: Maybe<Scalars['Int']>;
|
|
96
|
+
maxXpLevel?: Maybe<Scalars['Int']>;
|
|
97
|
+
minLudoRank?: Maybe<Scalars['Float']>;
|
|
98
|
+
maxLudoRank?: Maybe<Scalars['Float']>;
|
|
99
|
+
minWalletValue?: Maybe<Scalars['Float']>;
|
|
100
|
+
maxWalletValue?: Maybe<Scalars['Float']>;
|
|
101
|
+
blockchain?: Maybe<Scalars['String']>;
|
|
102
|
+
collection?: Maybe<Scalars['String']>;
|
|
103
|
+
media?: Maybe<Scalars['String']>;
|
|
104
|
+
};
|
|
105
|
+
export type IAdminPage = {
|
|
106
|
+
num?: Maybe<Scalars['Int']>;
|
|
107
|
+
lastNum?: Maybe<Scalars['Int']>;
|
|
108
|
+
size?: Maybe<Scalars['Int']>;
|
|
109
|
+
elements?: Maybe<Scalars['Long']>;
|
|
110
|
+
token?: Maybe<Scalars['String']>;
|
|
111
|
+
};
|
|
112
|
+
export type IAdminPageInput = {
|
|
113
|
+
num: Scalars['Int'];
|
|
114
|
+
size: Scalars['Int'];
|
|
115
|
+
token?: Maybe<Scalars['String']>;
|
|
116
|
+
};
|
|
117
|
+
export type IAdminReferral = {
|
|
118
|
+
userId: Scalars['ID'];
|
|
119
|
+
username?: Maybe<Scalars['String']>;
|
|
120
|
+
mainWallet?: Maybe<IWallet>;
|
|
121
|
+
referredUsersNum?: Maybe<Scalars['Int']>;
|
|
122
|
+
referrals?: Maybe<Array<IReferredUsersInfo>>;
|
|
123
|
+
};
|
|
124
|
+
export type IAdminUser = {
|
|
125
|
+
userId: Scalars['ID'];
|
|
126
|
+
username?: Maybe<Scalars['String']>;
|
|
127
|
+
wallets?: Maybe<Array<IWallet>>;
|
|
128
|
+
connectedBlockchains?: Maybe<Array<Scalars['String']>>;
|
|
129
|
+
isActive?: Maybe<Scalars['Boolean']>;
|
|
130
|
+
createdAt?: Maybe<Scalars['Long']>;
|
|
131
|
+
topInterests?: Maybe<Array<Scalars['String']>>;
|
|
132
|
+
walletsValue?: Maybe<Scalars['Float']>;
|
|
133
|
+
xpLevel?: Maybe<Scalars['Int']>;
|
|
134
|
+
ludoRank?: Maybe<Scalars['Float']>;
|
|
135
|
+
inviterId?: Maybe<Scalars['String']>;
|
|
136
|
+
};
|
|
137
|
+
export type IAdminXp = {
|
|
138
|
+
userId: Scalars['ID'];
|
|
139
|
+
username?: Maybe<Scalars['String']>;
|
|
140
|
+
mainWallet?: Maybe<IWallet>;
|
|
141
|
+
userXpLevel?: Maybe<Scalars['Int']>;
|
|
142
|
+
userXpPoints?: Maybe<Scalars['Int']>;
|
|
143
|
+
referredUsers?: Maybe<Array<Scalars['ID']>>;
|
|
144
|
+
referredUsersNum?: Maybe<Scalars['Int']>;
|
|
145
|
+
joinedOpportunityIds?: Maybe<Array<Scalars['String']>>;
|
|
146
|
+
connectedWalletsNum?: Maybe<Scalars['Int']>;
|
|
147
|
+
suggestedOpportunityIds?: Maybe<Array<Scalars['String']>>;
|
|
148
|
+
};
|
|
149
|
+
export type IBrandInput = {
|
|
150
|
+
name: Scalars['String'];
|
|
151
|
+
matchingWords: Array<Scalars['String']>;
|
|
152
|
+
description: Scalars['String'];
|
|
153
|
+
industry?: Maybe<Scalars['String']>;
|
|
154
|
+
link?: Maybe<Scalars['String']>;
|
|
155
|
+
media?: Maybe<Scalars['String']>;
|
|
156
|
+
};
|
|
157
|
+
export type IBrandsFilterInput = {
|
|
158
|
+
nameTerm?: Maybe<Scalars['String']>;
|
|
159
|
+
descriptionTerm?: Maybe<Scalars['String']>;
|
|
160
|
+
industryTerm?: Maybe<Scalars['String']>;
|
|
161
|
+
linkTerm?: Maybe<Scalars['String']>;
|
|
162
|
+
matchingWordsTerm?: Maybe<Scalars['String']>;
|
|
163
|
+
addedByTerm?: Maybe<Scalars['String']>;
|
|
164
|
+
};
|
|
165
|
+
export type IBrandsPage = {
|
|
166
|
+
brands: Array<IAdminBrand>;
|
|
167
|
+
nextPage?: Maybe<IAdminPage>;
|
|
168
|
+
};
|
|
169
|
+
export type IBrandsSortInput = {
|
|
170
|
+
sortByName?: Maybe<ISort>;
|
|
171
|
+
sortByIndustry?: Maybe<ISort>;
|
|
172
|
+
sortByAddedBy?: Maybe<ISort>;
|
|
173
|
+
};
|
|
174
|
+
export type ICategoriesFilterInput = {
|
|
175
|
+
nameTerm?: Maybe<Scalars['String']>;
|
|
176
|
+
matchingWordsTerm?: Maybe<Scalars['String']>;
|
|
177
|
+
addedByTerm?: Maybe<Scalars['String']>;
|
|
178
|
+
};
|
|
179
|
+
export type ICategoriesPage = {
|
|
180
|
+
categories: Array<IAdminCategory>;
|
|
181
|
+
nextPage?: Maybe<IAdminPage>;
|
|
182
|
+
};
|
|
183
|
+
export type ICategoriesSortInput = {
|
|
184
|
+
sortByName?: Maybe<ISort>;
|
|
185
|
+
sortByAddedBy?: Maybe<ISort>;
|
|
186
|
+
};
|
|
187
|
+
export type ICategoryInput = {
|
|
188
|
+
name: Scalars['String'];
|
|
189
|
+
matchingWords: Array<Scalars['String']>;
|
|
190
|
+
};
|
|
191
|
+
export type IInvitesFilterInput = {
|
|
192
|
+
userIdTerm?: Maybe<Scalars['String']>;
|
|
193
|
+
usernameTerm?: Maybe<Scalars['String']>;
|
|
194
|
+
mainWalletTerm?: Maybe<Scalars['String']>;
|
|
195
|
+
userXpLevelTerm?: Maybe<Scalars['String']>;
|
|
196
|
+
activeInviteTerm?: Maybe<Scalars['String']>;
|
|
197
|
+
referredUserTerm?: Maybe<Scalars['String']>;
|
|
198
|
+
};
|
|
199
|
+
export type IInvitesPage = {
|
|
200
|
+
invites: Array<IAdminInvite>;
|
|
201
|
+
nextPage?: Maybe<IAdminPage>;
|
|
202
|
+
};
|
|
203
|
+
export type IInvitesSortInput = {
|
|
204
|
+
sortByUsername?: Maybe<ISort>;
|
|
205
|
+
sortByXpLevel?: Maybe<ISort>;
|
|
206
|
+
sortByActiveInvites?: Maybe<ISort>;
|
|
207
|
+
sortByReferredUsers?: Maybe<ISort>;
|
|
208
|
+
};
|
|
209
|
+
export type IMutation = {
|
|
210
|
+
setDummy: Scalars['String'];
|
|
211
|
+
removeInviteCode: Scalars['Boolean'];
|
|
212
|
+
addInviteCodes: Scalars['Boolean'];
|
|
213
|
+
updateOpportunityPushStatus: Scalars['Boolean'];
|
|
214
|
+
createBrand: Scalars['Boolean'];
|
|
215
|
+
updateBrand: Scalars['Boolean'];
|
|
216
|
+
updateBrandArchivedStatus: Scalars['Boolean'];
|
|
217
|
+
createCategory: Scalars['Boolean'];
|
|
218
|
+
updateCategory: Scalars['Boolean'];
|
|
219
|
+
updateCategoryArchivedStatus: Scalars['Boolean'];
|
|
220
|
+
createAdminOpportunity: Scalars['Boolean'];
|
|
221
|
+
updateOpportunity: Scalars['Boolean'];
|
|
222
|
+
updateProfileStatus: Scalars['Boolean'];
|
|
223
|
+
removeSuggestedOpportunity: Scalars['Boolean'];
|
|
224
|
+
addSuggestedOpportunity: Scalars['Boolean'];
|
|
225
|
+
changeXpPoints: Scalars['Boolean'];
|
|
226
|
+
};
|
|
227
|
+
export type IMutationRemoveInviteCodeArgs = {
|
|
228
|
+
inviteCode: Scalars['String'];
|
|
229
|
+
};
|
|
230
|
+
export type IMutationAddInviteCodesArgs = {
|
|
231
|
+
userId: Scalars['String'];
|
|
232
|
+
codesNum: Scalars['Int'];
|
|
233
|
+
};
|
|
234
|
+
export type IMutationUpdateOpportunityPushStatusArgs = {
|
|
235
|
+
opportunityId: Scalars['ID'];
|
|
236
|
+
isActive: Scalars['Boolean'];
|
|
237
|
+
};
|
|
238
|
+
export type IMutationCreateBrandArgs = {
|
|
239
|
+
brand: IBrandInput;
|
|
240
|
+
file?: Maybe<Scalars['Upload']>;
|
|
241
|
+
};
|
|
242
|
+
export type IMutationUpdateBrandArgs = {
|
|
243
|
+
id: Scalars['ID'];
|
|
244
|
+
input: IBrandInput;
|
|
245
|
+
file?: Maybe<Scalars['Upload']>;
|
|
246
|
+
};
|
|
247
|
+
export type IMutationUpdateBrandArchivedStatusArgs = {
|
|
248
|
+
id: Scalars['ID'];
|
|
249
|
+
isArchived: Scalars['Boolean'];
|
|
250
|
+
};
|
|
251
|
+
export type IMutationCreateCategoryArgs = {
|
|
252
|
+
name: Scalars['String'];
|
|
253
|
+
matchingWords: Array<Scalars['String']>;
|
|
254
|
+
};
|
|
255
|
+
export type IMutationUpdateCategoryArgs = {
|
|
256
|
+
id: Scalars['ID'];
|
|
257
|
+
input: ICategoryInput;
|
|
258
|
+
};
|
|
259
|
+
export type IMutationUpdateCategoryArchivedStatusArgs = {
|
|
260
|
+
id: Scalars['ID'];
|
|
261
|
+
isArchived: Scalars['Boolean'];
|
|
262
|
+
};
|
|
263
|
+
export type IMutationCreateAdminOpportunityArgs = {
|
|
264
|
+
input: IAdminOpportunityInput;
|
|
265
|
+
file?: Maybe<Scalars['Upload']>;
|
|
266
|
+
};
|
|
267
|
+
export type IMutationUpdateOpportunityArgs = {
|
|
268
|
+
id: Scalars['ID'];
|
|
269
|
+
input: IAdminOpportunityInput;
|
|
270
|
+
file?: Maybe<Scalars['Upload']>;
|
|
271
|
+
};
|
|
272
|
+
export type IMutationUpdateProfileStatusArgs = {
|
|
273
|
+
userId: Scalars['ID'];
|
|
274
|
+
isActive: Scalars['Boolean'];
|
|
275
|
+
};
|
|
276
|
+
export type IMutationRemoveSuggestedOpportunityArgs = {
|
|
277
|
+
userId: Scalars['ID'];
|
|
278
|
+
opportunityId: Scalars['String'];
|
|
279
|
+
};
|
|
280
|
+
export type IMutationAddSuggestedOpportunityArgs = {
|
|
281
|
+
userId: Scalars['ID'];
|
|
282
|
+
opportunityId: Scalars['String'];
|
|
283
|
+
};
|
|
284
|
+
export type IMutationChangeXpPointsArgs = {
|
|
285
|
+
userId: Scalars['ID'];
|
|
286
|
+
pointsDiff: Scalars['Int'];
|
|
287
|
+
};
|
|
288
|
+
export type IOpportunitiesFilterInput = {
|
|
289
|
+
opportunityIdTerm?: Maybe<Scalars['String']>;
|
|
290
|
+
industryTerm?: Maybe<Scalars['String']>;
|
|
291
|
+
categoryTerm?: Maybe<Scalars['String']>;
|
|
292
|
+
opportunityLudoUrlTerm?: Maybe<Scalars['String']>;
|
|
293
|
+
opportunityProjectUrlTerm?: Maybe<Scalars['String']>;
|
|
294
|
+
arePushNotificationsEnabled?: Maybe<Scalars['Boolean']>;
|
|
295
|
+
opportunityStatusTerm?: Maybe<Scalars['String']>;
|
|
296
|
+
activeFromTimestamp?: Maybe<Scalars['Long']>;
|
|
297
|
+
activeUntilTimestamp?: Maybe<Scalars['Long']>;
|
|
298
|
+
minXpLevel?: Maybe<Scalars['Int']>;
|
|
299
|
+
maxXpLevel?: Maybe<Scalars['Int']>;
|
|
300
|
+
minLudoRank?: Maybe<Scalars['Float']>;
|
|
301
|
+
maxLudoRank?: Maybe<Scalars['Float']>;
|
|
302
|
+
minWalletValue?: Maybe<Scalars['Float']>;
|
|
303
|
+
maxWalletValue?: Maybe<Scalars['Float']>;
|
|
304
|
+
clicks?: Maybe<Scalars['Int']>;
|
|
305
|
+
views?: Maybe<Scalars['Int']>;
|
|
306
|
+
addedByTerm?: Maybe<Scalars['String']>;
|
|
307
|
+
};
|
|
308
|
+
export type IOpportunitiesPage = {
|
|
309
|
+
opportunities: Array<IAdminOpportunity>;
|
|
310
|
+
nextPage?: Maybe<IAdminPage>;
|
|
311
|
+
};
|
|
312
|
+
export type IOpportunitiesSortInput = {
|
|
313
|
+
sortByOpportunityName?: Maybe<ISort>;
|
|
314
|
+
sortByBrandName?: Maybe<ISort>;
|
|
315
|
+
sortByCategory?: Maybe<ISort>;
|
|
316
|
+
sortByOpportunityStatus?: Maybe<ISort>;
|
|
317
|
+
sortByActiveFrom?: Maybe<ISort>;
|
|
318
|
+
sortByActiveUntil?: Maybe<ISort>;
|
|
319
|
+
sortByMinXpLevel?: Maybe<ISort>;
|
|
320
|
+
sortByMaxXpLevel?: Maybe<ISort>;
|
|
321
|
+
sortByAddedBy?: Maybe<ISort>;
|
|
322
|
+
};
|
|
323
|
+
export type IQuery = {
|
|
324
|
+
getDummy: Scalars['String'];
|
|
325
|
+
fetchAdminInvitesPage: IInvitesPage;
|
|
326
|
+
fetchAdminOpportunitiesPage: IOpportunitiesPage;
|
|
327
|
+
fetchAdminCategories: Array<IAdminCategory>;
|
|
328
|
+
fetchAdminCategoriesPage: ICategoriesPage;
|
|
329
|
+
fetchAdminBrands: Array<IAdminBrand>;
|
|
330
|
+
fetchAdminBrandsPage: IBrandsPage;
|
|
331
|
+
fetchBlockchains: Array<Scalars['String']>;
|
|
332
|
+
fetchAdminReferralsPage: IReferralsPage;
|
|
333
|
+
fetchAdminUsersPage: IUsersPage;
|
|
334
|
+
fetchAdminXpPage: IXpPage;
|
|
335
|
+
};
|
|
336
|
+
export type IQueryFetchAdminInvitesPageArgs = {
|
|
337
|
+
filter: IInvitesFilterInput;
|
|
338
|
+
sort: IInvitesSortInput;
|
|
339
|
+
page: IAdminPageInput;
|
|
340
|
+
};
|
|
341
|
+
export type IQueryFetchAdminOpportunitiesPageArgs = {
|
|
342
|
+
filter: IOpportunitiesFilterInput;
|
|
343
|
+
sort: IOpportunitiesSortInput;
|
|
344
|
+
page: IAdminPageInput;
|
|
345
|
+
};
|
|
346
|
+
export type IQueryFetchAdminCategoriesPageArgs = {
|
|
347
|
+
filter: ICategoriesFilterInput;
|
|
348
|
+
sort: ICategoriesSortInput;
|
|
349
|
+
page: IAdminPageInput;
|
|
350
|
+
};
|
|
351
|
+
export type IQueryFetchAdminBrandsPageArgs = {
|
|
352
|
+
filter: IBrandsFilterInput;
|
|
353
|
+
sort: IBrandsSortInput;
|
|
354
|
+
page: IAdminPageInput;
|
|
355
|
+
};
|
|
356
|
+
export type IQueryFetchAdminReferralsPageArgs = {
|
|
357
|
+
filter: IReferralsFilterInput;
|
|
358
|
+
sort: IReferralsSortInput;
|
|
359
|
+
page: IAdminPageInput;
|
|
360
|
+
};
|
|
361
|
+
export type IQueryFetchAdminUsersPageArgs = {
|
|
362
|
+
filter: IUsersFilterInput;
|
|
363
|
+
sort: IUsersSortInput;
|
|
364
|
+
page: IAdminPageInput;
|
|
365
|
+
};
|
|
366
|
+
export type IQueryFetchAdminXpPageArgs = {
|
|
367
|
+
filter: IXpFilterInput;
|
|
368
|
+
sort: IXpSortInput;
|
|
369
|
+
page: IAdminPageInput;
|
|
370
|
+
};
|
|
371
|
+
export type IReferralsFilterInput = {
|
|
372
|
+
userIdTerm?: Maybe<Scalars['String']>;
|
|
373
|
+
usernameTerm?: Maybe<Scalars['String']>;
|
|
374
|
+
mainWalletTerm?: Maybe<Scalars['String']>;
|
|
375
|
+
referredUsersNumTerm?: Maybe<Scalars['String']>;
|
|
376
|
+
userRefUrlTerm?: Maybe<Scalars['String']>;
|
|
377
|
+
opportunityUrlTerm?: Maybe<Scalars['String']>;
|
|
378
|
+
};
|
|
379
|
+
export type IReferralsPage = {
|
|
380
|
+
adminReferrals: Array<IAdminReferral>;
|
|
381
|
+
nextPage?: Maybe<IAdminPage>;
|
|
382
|
+
};
|
|
383
|
+
export type IReferralsSortInput = {
|
|
384
|
+
sortByUsername?: Maybe<ISort>;
|
|
385
|
+
sortByReferredUsersNum?: Maybe<ISort>;
|
|
386
|
+
};
|
|
387
|
+
export type IReferredUsersInfo = {
|
|
388
|
+
userRefUrl: Scalars['String'];
|
|
389
|
+
opportunityUrl: Scalars['String'];
|
|
390
|
+
referredUsersPerUrlNum: Scalars['Int'];
|
|
391
|
+
};
|
|
392
|
+
export type ISort = {
|
|
393
|
+
enabled: Scalars['Boolean'];
|
|
394
|
+
direction?: Maybe<ISortDirection>;
|
|
395
|
+
};
|
|
396
|
+
/** front-end asked for lower case values */
|
|
397
|
+
export declare enum ISortDirection {
|
|
398
|
+
Asc = "asc",
|
|
399
|
+
Desc = "desc"
|
|
400
|
+
}
|
|
401
|
+
export type IUsersFilterInput = {
|
|
402
|
+
userIdTerm?: Maybe<Scalars['String']>;
|
|
403
|
+
usernameTerm?: Maybe<Scalars['String']>;
|
|
404
|
+
walletsTerm?: Maybe<Scalars['String']>;
|
|
405
|
+
connectedBlockchainsTerm?: Maybe<Scalars['String']>;
|
|
406
|
+
isActiveAccount?: Maybe<Scalars['Boolean']>;
|
|
407
|
+
createdDateTimestamp?: Maybe<Scalars['Long']>;
|
|
408
|
+
interestTerm?: Maybe<Scalars['String']>;
|
|
409
|
+
walletsValue?: Maybe<Scalars['Float']>;
|
|
410
|
+
xpLevel?: Maybe<Scalars['Int']>;
|
|
411
|
+
ludoRank?: Maybe<Scalars['Float']>;
|
|
412
|
+
invitedByTerm?: Maybe<Scalars['String']>;
|
|
413
|
+
};
|
|
414
|
+
export type IUsersPage = {
|
|
415
|
+
users: Array<IAdminUser>;
|
|
416
|
+
nextPage?: Maybe<IAdminPage>;
|
|
417
|
+
};
|
|
418
|
+
export type IUsersSortInput = {
|
|
419
|
+
sortByUsername?: Maybe<ISort>;
|
|
420
|
+
sortByAccountStatus?: Maybe<ISort>;
|
|
421
|
+
sortByCreatedDate?: Maybe<ISort>;
|
|
422
|
+
sortByWalletsValue?: Maybe<ISort>;
|
|
423
|
+
sortByXpLevel?: Maybe<ISort>;
|
|
424
|
+
sortByLudoRank?: Maybe<ISort>;
|
|
425
|
+
};
|
|
426
|
+
export type IWallet = {
|
|
427
|
+
address: Scalars['String'];
|
|
428
|
+
blockchain: Scalars['String'];
|
|
429
|
+
chainId?: Maybe<Scalars['String']>;
|
|
430
|
+
isMain?: Maybe<Scalars['Boolean']>;
|
|
431
|
+
};
|
|
432
|
+
export type IXpFilterInput = {
|
|
433
|
+
userIdTerm?: Maybe<Scalars['String']>;
|
|
434
|
+
usernameTerm?: Maybe<Scalars['String']>;
|
|
435
|
+
mainWalletTerm?: Maybe<Scalars['String']>;
|
|
436
|
+
userXpLevelTerm?: Maybe<Scalars['String']>;
|
|
437
|
+
userXpPointsTerm?: Maybe<Scalars['String']>;
|
|
438
|
+
invitedUserTerm?: Maybe<Scalars['String']>;
|
|
439
|
+
referredUsersNumTerm?: Maybe<Scalars['String']>;
|
|
440
|
+
joinedOpportunityTerm?: Maybe<Scalars['String']>;
|
|
441
|
+
connectedWalletsNumTerm?: Maybe<Scalars['String']>;
|
|
442
|
+
suggestedOpportunityTerm?: Maybe<Scalars['String']>;
|
|
443
|
+
};
|
|
444
|
+
export type IXpPage = {
|
|
445
|
+
xps: Array<IAdminXp>;
|
|
446
|
+
nextPage?: Maybe<IAdminPage>;
|
|
447
|
+
};
|
|
448
|
+
export type IXpSortInput = {
|
|
449
|
+
sortByUsername?: Maybe<ISort>;
|
|
450
|
+
sortByXpLevel?: Maybe<ISort>;
|
|
451
|
+
sortByXpPoints?: Maybe<ISort>;
|
|
452
|
+
sortByInvitedUsers?: Maybe<ISort>;
|
|
453
|
+
sortByReferredUsersNum?: Maybe<ISort>;
|
|
454
|
+
sortByJoinedOpportunities?: Maybe<ISort>;
|
|
455
|
+
sortByConnectedWalletsNum?: Maybe<ISort>;
|
|
456
|
+
sortBySuggestedOpportunities?: Maybe<ISort>;
|
|
457
|
+
};
|
|
458
|
+
export type ResolverTypeWrapper<T> = Promise<T> | T;
|
|
459
|
+
export type ResolverWithResolve<TResult, TParent, TContext, TArgs> = {
|
|
460
|
+
resolve: ResolverFn<TResult, TParent, TContext, TArgs>;
|
|
461
|
+
};
|
|
462
|
+
export type Resolver<TResult, TParent = {}, TContext = {}, TArgs = {}> = ResolverFn<TResult, TParent, TContext, TArgs> | ResolverWithResolve<TResult, TParent, TContext, TArgs>;
|
|
463
|
+
export type ResolverFn<TResult, TParent, TContext, TArgs> = (parent: TParent, args: TArgs, context: TContext, info: GraphQLResolveInfo) => Promise<TResult> | TResult;
|
|
464
|
+
export type SubscriptionSubscribeFn<TResult, TParent, TContext, TArgs> = (parent: TParent, args: TArgs, context: TContext, info: GraphQLResolveInfo) => AsyncIterable<TResult> | Promise<AsyncIterable<TResult>>;
|
|
465
|
+
export type SubscriptionResolveFn<TResult, TParent, TContext, TArgs> = (parent: TParent, args: TArgs, context: TContext, info: GraphQLResolveInfo) => TResult | Promise<TResult>;
|
|
466
|
+
export interface SubscriptionSubscriberObject<TResult, TKey extends string, TParent, TContext, TArgs> {
|
|
467
|
+
subscribe: SubscriptionSubscribeFn<{
|
|
468
|
+
[key in TKey]: TResult;
|
|
469
|
+
}, TParent, TContext, TArgs>;
|
|
470
|
+
resolve?: SubscriptionResolveFn<TResult, {
|
|
471
|
+
[key in TKey]: TResult;
|
|
472
|
+
}, TContext, TArgs>;
|
|
473
|
+
}
|
|
474
|
+
export interface SubscriptionResolverObject<TResult, TParent, TContext, TArgs> {
|
|
475
|
+
subscribe: SubscriptionSubscribeFn<any, TParent, TContext, TArgs>;
|
|
476
|
+
resolve: SubscriptionResolveFn<TResult, any, TContext, TArgs>;
|
|
477
|
+
}
|
|
478
|
+
export type SubscriptionObject<TResult, TKey extends string, TParent, TContext, TArgs> = SubscriptionSubscriberObject<TResult, TKey, TParent, TContext, TArgs> | SubscriptionResolverObject<TResult, TParent, TContext, TArgs>;
|
|
479
|
+
export type SubscriptionResolver<TResult, TKey extends string, TParent = {}, TContext = {}, TArgs = {}> = ((...args: any[]) => SubscriptionObject<TResult, TKey, TParent, TContext, TArgs>) | SubscriptionObject<TResult, TKey, TParent, TContext, TArgs>;
|
|
480
|
+
export type TypeResolveFn<TTypes, TParent = {}, TContext = {}> = (parent: TParent, context: TContext, info: GraphQLResolveInfo) => Maybe<TTypes> | Promise<Maybe<TTypes>>;
|
|
481
|
+
export type IsTypeOfResolverFn<T = {}, TContext = {}> = (obj: T, context: TContext, info: GraphQLResolveInfo) => boolean | Promise<boolean>;
|
|
482
|
+
export type NextResolverFn<T> = () => Promise<T>;
|
|
483
|
+
export type DirectiveResolverFn<TResult = {}, TParent = {}, TContext = {}, TArgs = {}> = (next: NextResolverFn<TResult>, parent: TParent, args: TArgs, context: TContext, info: GraphQLResolveInfo) => TResult | Promise<TResult>;
|
|
484
|
+
/** Mapping between all available schema types and the resolvers types */
|
|
485
|
+
export type IResolversTypes = {
|
|
486
|
+
ActiveInvite: ResolverTypeWrapper<IActiveInvite>;
|
|
487
|
+
String: ResolverTypeWrapper<Scalars['String']>;
|
|
488
|
+
AdminBrand: ResolverTypeWrapper<IAdminBrand>;
|
|
489
|
+
Boolean: ResolverTypeWrapper<Scalars['Boolean']>;
|
|
490
|
+
AdminCategory: ResolverTypeWrapper<IAdminCategory>;
|
|
491
|
+
AdminInvite: ResolverTypeWrapper<IAdminInvite>;
|
|
492
|
+
Int: ResolverTypeWrapper<Scalars['Int']>;
|
|
493
|
+
AdminOpportunity: ResolverTypeWrapper<IAdminOpportunity>;
|
|
494
|
+
ID: ResolverTypeWrapper<Scalars['ID']>;
|
|
495
|
+
Float: ResolverTypeWrapper<Scalars['Float']>;
|
|
496
|
+
AdminOpportunityInput: IAdminOpportunityInput;
|
|
497
|
+
AdminPage: ResolverTypeWrapper<IAdminPage>;
|
|
498
|
+
AdminPageInput: IAdminPageInput;
|
|
499
|
+
AdminReferral: ResolverTypeWrapper<IAdminReferral>;
|
|
500
|
+
AdminUser: ResolverTypeWrapper<IAdminUser>;
|
|
501
|
+
AdminXp: ResolverTypeWrapper<IAdminXp>;
|
|
502
|
+
BrandInput: IBrandInput;
|
|
503
|
+
BrandsFilterInput: IBrandsFilterInput;
|
|
504
|
+
BrandsPage: ResolverTypeWrapper<IBrandsPage>;
|
|
505
|
+
BrandsSortInput: IBrandsSortInput;
|
|
506
|
+
CategoriesFilterInput: ICategoriesFilterInput;
|
|
507
|
+
CategoriesPage: ResolverTypeWrapper<ICategoriesPage>;
|
|
508
|
+
CategoriesSortInput: ICategoriesSortInput;
|
|
509
|
+
CategoryInput: ICategoryInput;
|
|
510
|
+
InvitesFilterInput: IInvitesFilterInput;
|
|
511
|
+
InvitesPage: ResolverTypeWrapper<IInvitesPage>;
|
|
512
|
+
InvitesSortInput: IInvitesSortInput;
|
|
513
|
+
Long: ResolverTypeWrapper<Scalars['Long']>;
|
|
514
|
+
Mutation: ResolverTypeWrapper<{}>;
|
|
515
|
+
OpportunitiesFilterInput: IOpportunitiesFilterInput;
|
|
516
|
+
OpportunitiesPage: ResolverTypeWrapper<IOpportunitiesPage>;
|
|
517
|
+
OpportunitiesSortInput: IOpportunitiesSortInput;
|
|
518
|
+
Query: ResolverTypeWrapper<{}>;
|
|
519
|
+
ReferralsFilterInput: IReferralsFilterInput;
|
|
520
|
+
ReferralsPage: ResolverTypeWrapper<IReferralsPage>;
|
|
521
|
+
ReferralsSortInput: IReferralsSortInput;
|
|
522
|
+
ReferredUsersInfo: ResolverTypeWrapper<IReferredUsersInfo>;
|
|
523
|
+
Sort: ISort;
|
|
524
|
+
SortDirection: ISortDirection;
|
|
525
|
+
Upload: ResolverTypeWrapper<Scalars['Upload']>;
|
|
526
|
+
UsersFilterInput: IUsersFilterInput;
|
|
527
|
+
UsersPage: ResolverTypeWrapper<IUsersPage>;
|
|
528
|
+
UsersSortInput: IUsersSortInput;
|
|
529
|
+
Wallet: ResolverTypeWrapper<IWallet>;
|
|
530
|
+
XpFilterInput: IXpFilterInput;
|
|
531
|
+
XpPage: ResolverTypeWrapper<IXpPage>;
|
|
532
|
+
XpSortInput: IXpSortInput;
|
|
533
|
+
};
|
|
534
|
+
/** Mapping between all available schema types and the resolvers parents */
|
|
535
|
+
export type IResolversParentTypes = {
|
|
536
|
+
ActiveInvite: IActiveInvite;
|
|
537
|
+
String: Scalars['String'];
|
|
538
|
+
AdminBrand: IAdminBrand;
|
|
539
|
+
Boolean: Scalars['Boolean'];
|
|
540
|
+
AdminCategory: IAdminCategory;
|
|
541
|
+
AdminInvite: IAdminInvite;
|
|
542
|
+
Int: Scalars['Int'];
|
|
543
|
+
AdminOpportunity: IAdminOpportunity;
|
|
544
|
+
ID: Scalars['ID'];
|
|
545
|
+
Float: Scalars['Float'];
|
|
546
|
+
AdminOpportunityInput: IAdminOpportunityInput;
|
|
547
|
+
AdminPage: IAdminPage;
|
|
548
|
+
AdminPageInput: IAdminPageInput;
|
|
549
|
+
AdminReferral: IAdminReferral;
|
|
550
|
+
AdminUser: IAdminUser;
|
|
551
|
+
AdminXp: IAdminXp;
|
|
552
|
+
BrandInput: IBrandInput;
|
|
553
|
+
BrandsFilterInput: IBrandsFilterInput;
|
|
554
|
+
BrandsPage: IBrandsPage;
|
|
555
|
+
BrandsSortInput: IBrandsSortInput;
|
|
556
|
+
CategoriesFilterInput: ICategoriesFilterInput;
|
|
557
|
+
CategoriesPage: ICategoriesPage;
|
|
558
|
+
CategoriesSortInput: ICategoriesSortInput;
|
|
559
|
+
CategoryInput: ICategoryInput;
|
|
560
|
+
InvitesFilterInput: IInvitesFilterInput;
|
|
561
|
+
InvitesPage: IInvitesPage;
|
|
562
|
+
InvitesSortInput: IInvitesSortInput;
|
|
563
|
+
Long: Scalars['Long'];
|
|
564
|
+
Mutation: {};
|
|
565
|
+
OpportunitiesFilterInput: IOpportunitiesFilterInput;
|
|
566
|
+
OpportunitiesPage: IOpportunitiesPage;
|
|
567
|
+
OpportunitiesSortInput: IOpportunitiesSortInput;
|
|
568
|
+
Query: {};
|
|
569
|
+
ReferralsFilterInput: IReferralsFilterInput;
|
|
570
|
+
ReferralsPage: IReferralsPage;
|
|
571
|
+
ReferralsSortInput: IReferralsSortInput;
|
|
572
|
+
ReferredUsersInfo: IReferredUsersInfo;
|
|
573
|
+
Sort: ISort;
|
|
574
|
+
Upload: Scalars['Upload'];
|
|
575
|
+
UsersFilterInput: IUsersFilterInput;
|
|
576
|
+
UsersPage: IUsersPage;
|
|
577
|
+
UsersSortInput: IUsersSortInput;
|
|
578
|
+
Wallet: IWallet;
|
|
579
|
+
XpFilterInput: IXpFilterInput;
|
|
580
|
+
XpPage: IXpPage;
|
|
581
|
+
XpSortInput: IXpSortInput;
|
|
582
|
+
};
|
|
583
|
+
export type IMinDirectiveArgs = {
|
|
584
|
+
value?: Maybe<Scalars['Int']>;
|
|
585
|
+
message?: Maybe<Scalars['String']>;
|
|
586
|
+
};
|
|
587
|
+
export type IMinDirectiveResolver<Result, Parent, ContextType = any, Args = IMinDirectiveArgs> = DirectiveResolverFn<Result, Parent, ContextType, Args>;
|
|
588
|
+
export type IRangeDirectiveArgs = {
|
|
589
|
+
min?: Maybe<Scalars['Int']>;
|
|
590
|
+
max?: Maybe<Scalars['Int']>;
|
|
591
|
+
message?: Maybe<Scalars['String']>;
|
|
592
|
+
};
|
|
593
|
+
export type IRangeDirectiveResolver<Result, Parent, ContextType = any, Args = IRangeDirectiveArgs> = DirectiveResolverFn<Result, Parent, ContextType, Args>;
|
|
594
|
+
export type IOneOfDirectiveArgs = {};
|
|
595
|
+
export type IOneOfDirectiveResolver<Result, Parent, ContextType = any, Args = IOneOfDirectiveArgs> = DirectiveResolverFn<Result, Parent, ContextType, Args>;
|
|
596
|
+
export type IActiveInviteResolvers<ContextType = any, ParentType extends IResolversParentTypes['ActiveInvite'] = IResolversParentTypes['ActiveInvite']> = {
|
|
597
|
+
inviteCode?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
598
|
+
createdAt?: Resolver<Maybe<IResolversTypes['Long']>, ParentType, ContextType>;
|
|
599
|
+
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
600
|
+
};
|
|
601
|
+
export type IAdminBrandResolvers<ContextType = any, ParentType extends IResolversParentTypes['AdminBrand'] = IResolversParentTypes['AdminBrand']> = {
|
|
602
|
+
id?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
|
|
603
|
+
name?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
|
|
604
|
+
matchingWords?: Resolver<Array<IResolversTypes['String']>, ParentType, ContextType>;
|
|
605
|
+
description?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
|
|
606
|
+
industry?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
607
|
+
link?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
608
|
+
media?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
609
|
+
archived?: Resolver<Maybe<IResolversTypes['Boolean']>, ParentType, ContextType>;
|
|
610
|
+
addedBy?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
611
|
+
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
612
|
+
};
|
|
613
|
+
export type IAdminCategoryResolvers<ContextType = any, ParentType extends IResolversParentTypes['AdminCategory'] = IResolversParentTypes['AdminCategory']> = {
|
|
614
|
+
id?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
|
|
615
|
+
name?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
|
|
616
|
+
matchingWords?: Resolver<Array<IResolversTypes['String']>, ParentType, ContextType>;
|
|
617
|
+
archived?: Resolver<Maybe<IResolversTypes['Boolean']>, ParentType, ContextType>;
|
|
618
|
+
addedBy?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
619
|
+
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
620
|
+
};
|
|
621
|
+
export type IAdminInviteResolvers<ContextType = any, ParentType extends IResolversParentTypes['AdminInvite'] = IResolversParentTypes['AdminInvite']> = {
|
|
622
|
+
userId?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
|
|
623
|
+
username?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
624
|
+
wallet?: Resolver<Maybe<IResolversTypes['Wallet']>, ParentType, ContextType>;
|
|
625
|
+
activeInvites?: Resolver<Maybe<Array<IResolversTypes['ActiveInvite']>>, ParentType, ContextType>;
|
|
626
|
+
referredUsers?: Resolver<Maybe<Array<IResolversTypes['String']>>, ParentType, ContextType>;
|
|
627
|
+
userXpLevel?: Resolver<Maybe<IResolversTypes['Int']>, ParentType, ContextType>;
|
|
628
|
+
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
629
|
+
};
|
|
630
|
+
export type IAdminOpportunityResolvers<ContextType = any, ParentType extends IResolversParentTypes['AdminOpportunity'] = IResolversParentTypes['AdminOpportunity']> = {
|
|
631
|
+
opportunityId?: Resolver<IResolversTypes['ID'], ParentType, ContextType>;
|
|
632
|
+
name?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
633
|
+
description?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
634
|
+
brandName?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
635
|
+
industry?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
636
|
+
category?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
637
|
+
ludoUrl?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
638
|
+
projectUrl?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
639
|
+
pushNotificationsEnabled?: Resolver<Maybe<IResolversTypes['Boolean']>, ParentType, ContextType>;
|
|
640
|
+
status?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
641
|
+
activeFrom?: Resolver<Maybe<IResolversTypes['Long']>, ParentType, ContextType>;
|
|
642
|
+
activeUntil?: Resolver<Maybe<IResolversTypes['Long']>, ParentType, ContextType>;
|
|
643
|
+
minXpLevel?: Resolver<Maybe<IResolversTypes['Int']>, ParentType, ContextType>;
|
|
644
|
+
maxXpLevel?: Resolver<Maybe<IResolversTypes['Int']>, ParentType, ContextType>;
|
|
645
|
+
minLudoRank?: Resolver<Maybe<IResolversTypes['Float']>, ParentType, ContextType>;
|
|
646
|
+
maxLudoRank?: Resolver<Maybe<IResolversTypes['Float']>, ParentType, ContextType>;
|
|
647
|
+
media?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
648
|
+
minWalletValue?: Resolver<Maybe<IResolversTypes['Float']>, ParentType, ContextType>;
|
|
649
|
+
maxWalletValue?: Resolver<Maybe<IResolversTypes['Float']>, ParentType, ContextType>;
|
|
650
|
+
clicks?: Resolver<Maybe<IResolversTypes['Int']>, ParentType, ContextType>;
|
|
651
|
+
views?: Resolver<Maybe<IResolversTypes['Int']>, ParentType, ContextType>;
|
|
652
|
+
addedBy?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
653
|
+
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
654
|
+
};
|
|
655
|
+
export type IAdminPageResolvers<ContextType = any, ParentType extends IResolversParentTypes['AdminPage'] = IResolversParentTypes['AdminPage']> = {
|
|
656
|
+
num?: Resolver<Maybe<IResolversTypes['Int']>, ParentType, ContextType>;
|
|
657
|
+
lastNum?: Resolver<Maybe<IResolversTypes['Int']>, ParentType, ContextType>;
|
|
658
|
+
size?: Resolver<Maybe<IResolversTypes['Int']>, ParentType, ContextType>;
|
|
659
|
+
elements?: Resolver<Maybe<IResolversTypes['Long']>, ParentType, ContextType>;
|
|
660
|
+
token?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
661
|
+
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
662
|
+
};
|
|
663
|
+
export type IAdminReferralResolvers<ContextType = any, ParentType extends IResolversParentTypes['AdminReferral'] = IResolversParentTypes['AdminReferral']> = {
|
|
664
|
+
userId?: Resolver<IResolversTypes['ID'], ParentType, ContextType>;
|
|
665
|
+
username?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
666
|
+
mainWallet?: Resolver<Maybe<IResolversTypes['Wallet']>, ParentType, ContextType>;
|
|
667
|
+
referredUsersNum?: Resolver<Maybe<IResolversTypes['Int']>, ParentType, ContextType>;
|
|
668
|
+
referrals?: Resolver<Maybe<Array<IResolversTypes['ReferredUsersInfo']>>, ParentType, ContextType>;
|
|
669
|
+
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
670
|
+
};
|
|
671
|
+
export type IAdminUserResolvers<ContextType = any, ParentType extends IResolversParentTypes['AdminUser'] = IResolversParentTypes['AdminUser']> = {
|
|
672
|
+
userId?: Resolver<IResolversTypes['ID'], ParentType, ContextType>;
|
|
673
|
+
username?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
674
|
+
wallets?: Resolver<Maybe<Array<IResolversTypes['Wallet']>>, ParentType, ContextType>;
|
|
675
|
+
connectedBlockchains?: Resolver<Maybe<Array<IResolversTypes['String']>>, ParentType, ContextType>;
|
|
676
|
+
isActive?: Resolver<Maybe<IResolversTypes['Boolean']>, ParentType, ContextType>;
|
|
677
|
+
createdAt?: Resolver<Maybe<IResolversTypes['Long']>, ParentType, ContextType>;
|
|
678
|
+
topInterests?: Resolver<Maybe<Array<IResolversTypes['String']>>, ParentType, ContextType>;
|
|
679
|
+
walletsValue?: Resolver<Maybe<IResolversTypes['Float']>, ParentType, ContextType>;
|
|
680
|
+
xpLevel?: Resolver<Maybe<IResolversTypes['Int']>, ParentType, ContextType>;
|
|
681
|
+
ludoRank?: Resolver<Maybe<IResolversTypes['Float']>, ParentType, ContextType>;
|
|
682
|
+
inviterId?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
683
|
+
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
684
|
+
};
|
|
685
|
+
export type IAdminXpResolvers<ContextType = any, ParentType extends IResolversParentTypes['AdminXp'] = IResolversParentTypes['AdminXp']> = {
|
|
686
|
+
userId?: Resolver<IResolversTypes['ID'], ParentType, ContextType>;
|
|
687
|
+
username?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
688
|
+
mainWallet?: Resolver<Maybe<IResolversTypes['Wallet']>, ParentType, ContextType>;
|
|
689
|
+
userXpLevel?: Resolver<Maybe<IResolversTypes['Int']>, ParentType, ContextType>;
|
|
690
|
+
userXpPoints?: Resolver<Maybe<IResolversTypes['Int']>, ParentType, ContextType>;
|
|
691
|
+
referredUsers?: Resolver<Maybe<Array<IResolversTypes['ID']>>, ParentType, ContextType>;
|
|
692
|
+
referredUsersNum?: Resolver<Maybe<IResolversTypes['Int']>, ParentType, ContextType>;
|
|
693
|
+
joinedOpportunityIds?: Resolver<Maybe<Array<IResolversTypes['String']>>, ParentType, ContextType>;
|
|
694
|
+
connectedWalletsNum?: Resolver<Maybe<IResolversTypes['Int']>, ParentType, ContextType>;
|
|
695
|
+
suggestedOpportunityIds?: Resolver<Maybe<Array<IResolversTypes['String']>>, ParentType, ContextType>;
|
|
696
|
+
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
697
|
+
};
|
|
698
|
+
export type IBrandsPageResolvers<ContextType = any, ParentType extends IResolversParentTypes['BrandsPage'] = IResolversParentTypes['BrandsPage']> = {
|
|
699
|
+
brands?: Resolver<Array<IResolversTypes['AdminBrand']>, ParentType, ContextType>;
|
|
700
|
+
nextPage?: Resolver<Maybe<IResolversTypes['AdminPage']>, ParentType, ContextType>;
|
|
701
|
+
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
702
|
+
};
|
|
703
|
+
export type ICategoriesPageResolvers<ContextType = any, ParentType extends IResolversParentTypes['CategoriesPage'] = IResolversParentTypes['CategoriesPage']> = {
|
|
704
|
+
categories?: Resolver<Array<IResolversTypes['AdminCategory']>, ParentType, ContextType>;
|
|
705
|
+
nextPage?: Resolver<Maybe<IResolversTypes['AdminPage']>, ParentType, ContextType>;
|
|
706
|
+
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
707
|
+
};
|
|
708
|
+
export type IInvitesPageResolvers<ContextType = any, ParentType extends IResolversParentTypes['InvitesPage'] = IResolversParentTypes['InvitesPage']> = {
|
|
709
|
+
invites?: Resolver<Array<IResolversTypes['AdminInvite']>, ParentType, ContextType>;
|
|
710
|
+
nextPage?: Resolver<Maybe<IResolversTypes['AdminPage']>, ParentType, ContextType>;
|
|
711
|
+
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
712
|
+
};
|
|
713
|
+
export interface ILongScalarConfig extends GraphQLScalarTypeConfig<IResolversTypes['Long'], any> {
|
|
714
|
+
name: 'Long';
|
|
715
|
+
}
|
|
716
|
+
export type IMutationResolvers<ContextType = any, ParentType extends IResolversParentTypes['Mutation'] = IResolversParentTypes['Mutation']> = {
|
|
717
|
+
setDummy?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
|
|
718
|
+
removeInviteCode?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationRemoveInviteCodeArgs, 'inviteCode'>>;
|
|
719
|
+
addInviteCodes?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationAddInviteCodesArgs, 'userId' | 'codesNum'>>;
|
|
720
|
+
updateOpportunityPushStatus?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationUpdateOpportunityPushStatusArgs, 'opportunityId' | 'isActive'>>;
|
|
721
|
+
createBrand?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationCreateBrandArgs, 'brand'>>;
|
|
722
|
+
updateBrand?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationUpdateBrandArgs, 'id' | 'input'>>;
|
|
723
|
+
updateBrandArchivedStatus?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationUpdateBrandArchivedStatusArgs, 'id' | 'isArchived'>>;
|
|
724
|
+
createCategory?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationCreateCategoryArgs, 'name' | 'matchingWords'>>;
|
|
725
|
+
updateCategory?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationUpdateCategoryArgs, 'id' | 'input'>>;
|
|
726
|
+
updateCategoryArchivedStatus?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationUpdateCategoryArchivedStatusArgs, 'id' | 'isArchived'>>;
|
|
727
|
+
createAdminOpportunity?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationCreateAdminOpportunityArgs, 'input'>>;
|
|
728
|
+
updateOpportunity?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationUpdateOpportunityArgs, 'id' | 'input'>>;
|
|
729
|
+
updateProfileStatus?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationUpdateProfileStatusArgs, 'userId' | 'isActive'>>;
|
|
730
|
+
removeSuggestedOpportunity?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationRemoveSuggestedOpportunityArgs, 'userId' | 'opportunityId'>>;
|
|
731
|
+
addSuggestedOpportunity?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationAddSuggestedOpportunityArgs, 'userId' | 'opportunityId'>>;
|
|
732
|
+
changeXpPoints?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationChangeXpPointsArgs, 'userId' | 'pointsDiff'>>;
|
|
733
|
+
};
|
|
734
|
+
export type IOpportunitiesPageResolvers<ContextType = any, ParentType extends IResolversParentTypes['OpportunitiesPage'] = IResolversParentTypes['OpportunitiesPage']> = {
|
|
735
|
+
opportunities?: Resolver<Array<IResolversTypes['AdminOpportunity']>, ParentType, ContextType>;
|
|
736
|
+
nextPage?: Resolver<Maybe<IResolversTypes['AdminPage']>, ParentType, ContextType>;
|
|
737
|
+
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
738
|
+
};
|
|
739
|
+
export type IQueryResolvers<ContextType = any, ParentType extends IResolversParentTypes['Query'] = IResolversParentTypes['Query']> = {
|
|
740
|
+
getDummy?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
|
|
741
|
+
fetchAdminInvitesPage?: Resolver<IResolversTypes['InvitesPage'], ParentType, ContextType, RequireFields<IQueryFetchAdminInvitesPageArgs, 'filter' | 'sort' | 'page'>>;
|
|
742
|
+
fetchAdminOpportunitiesPage?: Resolver<IResolversTypes['OpportunitiesPage'], ParentType, ContextType, RequireFields<IQueryFetchAdminOpportunitiesPageArgs, 'filter' | 'sort' | 'page'>>;
|
|
743
|
+
fetchAdminCategories?: Resolver<Array<IResolversTypes['AdminCategory']>, ParentType, ContextType>;
|
|
744
|
+
fetchAdminCategoriesPage?: Resolver<IResolversTypes['CategoriesPage'], ParentType, ContextType, RequireFields<IQueryFetchAdminCategoriesPageArgs, 'filter' | 'sort' | 'page'>>;
|
|
745
|
+
fetchAdminBrands?: Resolver<Array<IResolversTypes['AdminBrand']>, ParentType, ContextType>;
|
|
746
|
+
fetchAdminBrandsPage?: Resolver<IResolversTypes['BrandsPage'], ParentType, ContextType, RequireFields<IQueryFetchAdminBrandsPageArgs, 'filter' | 'sort' | 'page'>>;
|
|
747
|
+
fetchBlockchains?: Resolver<Array<IResolversTypes['String']>, ParentType, ContextType>;
|
|
748
|
+
fetchAdminReferralsPage?: Resolver<IResolversTypes['ReferralsPage'], ParentType, ContextType, RequireFields<IQueryFetchAdminReferralsPageArgs, 'filter' | 'sort' | 'page'>>;
|
|
749
|
+
fetchAdminUsersPage?: Resolver<IResolversTypes['UsersPage'], ParentType, ContextType, RequireFields<IQueryFetchAdminUsersPageArgs, 'filter' | 'sort' | 'page'>>;
|
|
750
|
+
fetchAdminXpPage?: Resolver<IResolversTypes['XpPage'], ParentType, ContextType, RequireFields<IQueryFetchAdminXpPageArgs, 'filter' | 'sort' | 'page'>>;
|
|
751
|
+
};
|
|
752
|
+
export type IReferralsPageResolvers<ContextType = any, ParentType extends IResolversParentTypes['ReferralsPage'] = IResolversParentTypes['ReferralsPage']> = {
|
|
753
|
+
adminReferrals?: Resolver<Array<IResolversTypes['AdminReferral']>, ParentType, ContextType>;
|
|
754
|
+
nextPage?: Resolver<Maybe<IResolversTypes['AdminPage']>, ParentType, ContextType>;
|
|
755
|
+
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
756
|
+
};
|
|
757
|
+
export type IReferredUsersInfoResolvers<ContextType = any, ParentType extends IResolversParentTypes['ReferredUsersInfo'] = IResolversParentTypes['ReferredUsersInfo']> = {
|
|
758
|
+
userRefUrl?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
|
|
759
|
+
opportunityUrl?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
|
|
760
|
+
referredUsersPerUrlNum?: Resolver<IResolversTypes['Int'], ParentType, ContextType>;
|
|
761
|
+
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
762
|
+
};
|
|
763
|
+
export interface IUploadScalarConfig extends GraphQLScalarTypeConfig<IResolversTypes['Upload'], any> {
|
|
764
|
+
name: 'Upload';
|
|
765
|
+
}
|
|
766
|
+
export type IUsersPageResolvers<ContextType = any, ParentType extends IResolversParentTypes['UsersPage'] = IResolversParentTypes['UsersPage']> = {
|
|
767
|
+
users?: Resolver<Array<IResolversTypes['AdminUser']>, ParentType, ContextType>;
|
|
768
|
+
nextPage?: Resolver<Maybe<IResolversTypes['AdminPage']>, ParentType, ContextType>;
|
|
769
|
+
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
770
|
+
};
|
|
771
|
+
export type IWalletResolvers<ContextType = any, ParentType extends IResolversParentTypes['Wallet'] = IResolversParentTypes['Wallet']> = {
|
|
772
|
+
address?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
|
|
773
|
+
blockchain?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
|
|
774
|
+
chainId?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
775
|
+
isMain?: Resolver<Maybe<IResolversTypes['Boolean']>, ParentType, ContextType>;
|
|
776
|
+
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
777
|
+
};
|
|
778
|
+
export type IXpPageResolvers<ContextType = any, ParentType extends IResolversParentTypes['XpPage'] = IResolversParentTypes['XpPage']> = {
|
|
779
|
+
xps?: Resolver<Array<IResolversTypes['AdminXp']>, ParentType, ContextType>;
|
|
780
|
+
nextPage?: Resolver<Maybe<IResolversTypes['AdminPage']>, ParentType, ContextType>;
|
|
781
|
+
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
782
|
+
};
|
|
783
|
+
export type IResolvers<ContextType = any> = {
|
|
784
|
+
ActiveInvite?: IActiveInviteResolvers<ContextType>;
|
|
785
|
+
AdminBrand?: IAdminBrandResolvers<ContextType>;
|
|
786
|
+
AdminCategory?: IAdminCategoryResolvers<ContextType>;
|
|
787
|
+
AdminInvite?: IAdminInviteResolvers<ContextType>;
|
|
788
|
+
AdminOpportunity?: IAdminOpportunityResolvers<ContextType>;
|
|
789
|
+
AdminPage?: IAdminPageResolvers<ContextType>;
|
|
790
|
+
AdminReferral?: IAdminReferralResolvers<ContextType>;
|
|
791
|
+
AdminUser?: IAdminUserResolvers<ContextType>;
|
|
792
|
+
AdminXp?: IAdminXpResolvers<ContextType>;
|
|
793
|
+
BrandsPage?: IBrandsPageResolvers<ContextType>;
|
|
794
|
+
CategoriesPage?: ICategoriesPageResolvers<ContextType>;
|
|
795
|
+
InvitesPage?: IInvitesPageResolvers<ContextType>;
|
|
796
|
+
Long?: GraphQLScalarType;
|
|
797
|
+
Mutation?: IMutationResolvers<ContextType>;
|
|
798
|
+
OpportunitiesPage?: IOpportunitiesPageResolvers<ContextType>;
|
|
799
|
+
Query?: IQueryResolvers<ContextType>;
|
|
800
|
+
ReferralsPage?: IReferralsPageResolvers<ContextType>;
|
|
801
|
+
ReferredUsersInfo?: IReferredUsersInfoResolvers<ContextType>;
|
|
802
|
+
Upload?: GraphQLScalarType;
|
|
803
|
+
UsersPage?: IUsersPageResolvers<ContextType>;
|
|
804
|
+
Wallet?: IWalletResolvers<ContextType>;
|
|
805
|
+
XpPage?: IXpPageResolvers<ContextType>;
|
|
806
|
+
};
|
|
807
|
+
export type IDirectiveResolvers<ContextType = any> = {
|
|
808
|
+
Min?: IMinDirectiveResolver<any, any, ContextType>;
|
|
809
|
+
Range?: IRangeDirectiveResolver<any, any, ContextType>;
|
|
810
|
+
oneOf?: IOneOfDirectiveResolver<any, any, ContextType>;
|
|
811
|
+
};
|
|
812
|
+
export type IChangeXpPointsMutationVariables = Exact<{
|
|
813
|
+
userId: Scalars['ID'];
|
|
814
|
+
pointsDiff: Scalars['Int'];
|
|
815
|
+
}>;
|
|
816
|
+
export type IChangeXpPointsMutation = Pick<IMutation, 'changeXpPoints'>;
|
|
817
|
+
export type ICreateCategoryMutationVariables = Exact<{
|
|
818
|
+
name: Scalars['String'];
|
|
819
|
+
matchingWords: Array<Scalars['String']>;
|
|
820
|
+
}>;
|
|
821
|
+
export type ICreateCategoryMutation = Pick<IMutation, 'createCategory'>;
|
|
822
|
+
export type ICreateBrandMutationVariables = Exact<{
|
|
823
|
+
brand: IBrandInput;
|
|
824
|
+
file?: Maybe<Scalars['Upload']>;
|
|
825
|
+
}>;
|
|
826
|
+
export type ICreateBrandMutation = Pick<IMutation, 'createBrand'>;
|
|
827
|
+
export type ICreateAdminOpportunityMutationVariables = Exact<{
|
|
828
|
+
file?: Maybe<Scalars['Upload']>;
|
|
829
|
+
input: IAdminOpportunityInput;
|
|
830
|
+
}>;
|
|
831
|
+
export type ICreateAdminOpportunityMutation = Pick<IMutation, 'createAdminOpportunity'>;
|
|
832
|
+
export type IAddInviteCodesMutationVariables = Exact<{
|
|
833
|
+
userId: Scalars['String'];
|
|
834
|
+
codesNum: Scalars['Int'];
|
|
835
|
+
}>;
|
|
836
|
+
export type IAddInviteCodesMutation = Pick<IMutation, 'addInviteCodes'>;
|
|
837
|
+
export type IRemoveInviteCodeMutationVariables = Exact<{
|
|
838
|
+
inviteCode: Scalars['String'];
|
|
839
|
+
}>;
|
|
840
|
+
export type IRemoveInviteCodeMutation = Pick<IMutation, 'removeInviteCode'>;
|
|
841
|
+
export type IUpdateProfileStatusMutationVariables = Exact<{
|
|
842
|
+
userId: Scalars['ID'];
|
|
843
|
+
isActive: Scalars['Boolean'];
|
|
844
|
+
}>;
|
|
845
|
+
export type IUpdateProfileStatusMutation = Pick<IMutation, 'updateProfileStatus'>;
|
|
846
|
+
export type IFetchAdminBrandsQueryVariables = Exact<{
|
|
847
|
+
[key: string]: never;
|
|
848
|
+
}>;
|
|
849
|
+
export type IFetchAdminBrandsQuery = {
|
|
850
|
+
fetchAdminBrands: Array<Pick<IAdminBrand, 'id' | 'name'>>;
|
|
851
|
+
};
|
|
852
|
+
export type IFetchAdminBrandsPageQueryVariables = Exact<{
|
|
853
|
+
filter: IBrandsFilterInput;
|
|
854
|
+
sort: IBrandsSortInput;
|
|
855
|
+
page: IAdminPageInput;
|
|
856
|
+
}>;
|
|
857
|
+
export type IFetchAdminBrandsPageQuery = {
|
|
858
|
+
fetchAdminBrandsPage: {
|
|
859
|
+
brands: Array<Pick<IAdminBrand, 'description' | 'id' | 'industry' | 'link' | 'matchingWords' | 'media' | 'name' | 'archived' | 'addedBy'>>;
|
|
860
|
+
nextPage?: Maybe<Pick<IAdminPage, 'num' | 'lastNum' | 'size' | 'elements'>>;
|
|
861
|
+
};
|
|
862
|
+
};
|
|
863
|
+
export type IFetchAdminCategoriesQueryVariables = Exact<{
|
|
864
|
+
[key: string]: never;
|
|
865
|
+
}>;
|
|
866
|
+
export type IFetchAdminCategoriesQuery = {
|
|
867
|
+
fetchAdminCategories: Array<Pick<IAdminCategory, 'id' | 'name'>>;
|
|
868
|
+
};
|
|
869
|
+
export type IFetchAdminCategoriesPageQueryVariables = Exact<{
|
|
870
|
+
filter: ICategoriesFilterInput;
|
|
871
|
+
sort: ICategoriesSortInput;
|
|
872
|
+
page: IAdminPageInput;
|
|
873
|
+
}>;
|
|
874
|
+
export type IFetchAdminCategoriesPageQuery = {
|
|
875
|
+
fetchAdminCategoriesPage: {
|
|
876
|
+
categories: Array<Pick<IAdminCategory, 'id' | 'name' | 'matchingWords' | 'archived' | 'addedBy'>>;
|
|
877
|
+
nextPage?: Maybe<Pick<IAdminPage, 'num' | 'lastNum' | 'size' | 'elements'>>;
|
|
878
|
+
};
|
|
879
|
+
};
|
|
880
|
+
export type IFetchAdminInvitesPageQueryVariables = Exact<{
|
|
881
|
+
filter: IInvitesFilterInput;
|
|
882
|
+
sort: IInvitesSortInput;
|
|
883
|
+
page: IAdminPageInput;
|
|
884
|
+
}>;
|
|
885
|
+
export type IFetchAdminInvitesPageQuery = {
|
|
886
|
+
fetchAdminInvitesPage: {
|
|
887
|
+
invites: Array<(Pick<IAdminInvite, 'userId' | 'username' | 'referredUsers' | 'userXpLevel'> & {
|
|
888
|
+
wallet?: Maybe<Pick<IWallet, 'address' | 'blockchain' | 'chainId'>>;
|
|
889
|
+
activeInvites?: Maybe<Array<Pick<IActiveInvite, 'inviteCode' | 'createdAt'>>>;
|
|
890
|
+
})>;
|
|
891
|
+
nextPage?: Maybe<Pick<IAdminPage, 'num' | 'lastNum' | 'size' | 'elements' | 'token'>>;
|
|
892
|
+
};
|
|
893
|
+
};
|
|
894
|
+
export type IFetchAdminOpportunitiesPageQueryVariables = Exact<{
|
|
895
|
+
filter: IOpportunitiesFilterInput;
|
|
896
|
+
sort: IOpportunitiesSortInput;
|
|
897
|
+
page: IAdminPageInput;
|
|
898
|
+
}>;
|
|
899
|
+
export type IFetchAdminOpportunitiesPageQuery = {
|
|
900
|
+
fetchAdminOpportunitiesPage: {
|
|
901
|
+
opportunities: Array<Pick<IAdminOpportunity, 'opportunityId' | 'name' | 'brandName' | 'industry' | 'category' | 'ludoUrl' | 'projectUrl' | 'pushNotificationsEnabled' | 'status' | 'media' | 'description' | 'activeFrom' | 'activeUntil' | 'minXpLevel' | 'maxXpLevel' | 'minLudoRank' | 'maxLudoRank' | 'minWalletValue' | 'maxWalletValue' | 'clicks' | 'views' | 'addedBy'>>;
|
|
902
|
+
nextPage?: Maybe<Pick<IAdminPage, 'elements' | 'lastNum' | 'num' | 'size' | 'token'>>;
|
|
903
|
+
};
|
|
904
|
+
};
|
|
905
|
+
export type IFetchAdminReferralsPageQueryVariables = Exact<{
|
|
906
|
+
filter: IReferralsFilterInput;
|
|
907
|
+
sort: IReferralsSortInput;
|
|
908
|
+
page: IAdminPageInput;
|
|
909
|
+
}>;
|
|
910
|
+
export type IFetchAdminReferralsPageQuery = {
|
|
911
|
+
fetchAdminReferralsPage: {
|
|
912
|
+
adminReferrals: Array<(Pick<IAdminReferral, 'userId' | 'username' | 'referredUsersNum'> & {
|
|
913
|
+
mainWallet?: Maybe<Pick<IWallet, 'address' | 'blockchain' | 'chainId'>>;
|
|
914
|
+
referrals?: Maybe<Array<Pick<IReferredUsersInfo, 'userRefUrl' | 'opportunityUrl' | 'referredUsersPerUrlNum'>>>;
|
|
915
|
+
})>;
|
|
916
|
+
nextPage?: Maybe<Pick<IAdminPage, 'elements' | 'lastNum' | 'num' | 'size' | 'token'>>;
|
|
917
|
+
};
|
|
918
|
+
};
|
|
919
|
+
export type IFetchAdminUsersPageQueryVariables = Exact<{
|
|
920
|
+
filter: IUsersFilterInput;
|
|
921
|
+
sort: IUsersSortInput;
|
|
922
|
+
page: IAdminPageInput;
|
|
923
|
+
}>;
|
|
924
|
+
export type IFetchAdminUsersPageQuery = {
|
|
925
|
+
fetchAdminUsersPage: {
|
|
926
|
+
users: Array<(Pick<IAdminUser, 'userId' | 'username' | 'connectedBlockchains' | 'isActive' | 'createdAt' | 'topInterests' | 'walletsValue' | 'xpLevel' | 'ludoRank' | 'inviterId'> & {
|
|
927
|
+
wallets?: Maybe<Array<Pick<IWallet, 'address' | 'blockchain' | 'chainId'>>>;
|
|
928
|
+
})>;
|
|
929
|
+
nextPage?: Maybe<Pick<IAdminPage, 'num' | 'lastNum' | 'size' | 'elements' | 'token'>>;
|
|
930
|
+
};
|
|
931
|
+
};
|
|
932
|
+
export type IFetchAdminXpPageQueryVariables = Exact<{
|
|
933
|
+
filter: IXpFilterInput;
|
|
934
|
+
sort: IXpSortInput;
|
|
935
|
+
page: IAdminPageInput;
|
|
936
|
+
}>;
|
|
937
|
+
export type IFetchAdminXpPageQuery = {
|
|
938
|
+
fetchAdminXpPage: {
|
|
939
|
+
xps: Array<(Pick<IAdminXp, 'userId' | 'username' | 'userXpLevel' | 'userXpPoints' | 'referredUsers' | 'referredUsersNum' | 'joinedOpportunityIds' | 'connectedWalletsNum' | 'suggestedOpportunityIds'> & {
|
|
940
|
+
mainWallet?: Maybe<Pick<IWallet, 'address' | 'blockchain' | 'chainId'>>;
|
|
941
|
+
})>;
|
|
942
|
+
nextPage?: Maybe<Pick<IAdminPage, 'elements' | 'lastNum' | 'num' | 'size' | 'token'>>;
|
|
943
|
+
};
|
|
944
|
+
};
|
|
945
|
+
export type IFetchBlockchainsQueryVariables = Exact<{
|
|
946
|
+
[key: string]: never;
|
|
947
|
+
}>;
|
|
948
|
+
export type IFetchBlockchainsQuery = Pick<IQuery, 'fetchBlockchains'>;
|
|
949
|
+
export declare const ChangeXpPointsDocument: Apollo.DocumentNode;
|
|
950
|
+
export type IChangeXpPointsMutationFn = Apollo.MutationFunction<IChangeXpPointsMutation, IChangeXpPointsMutationVariables>;
|
|
951
|
+
/**
|
|
952
|
+
* __useChangeXpPointsMutation__
|
|
953
|
+
*
|
|
954
|
+
* To run a mutation, you first call `useChangeXpPointsMutation` within a React component and pass it any options that fit your needs.
|
|
955
|
+
* When your component renders, `useChangeXpPointsMutation` returns a tuple that includes:
|
|
956
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
957
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
958
|
+
*
|
|
959
|
+
* @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;
|
|
960
|
+
*
|
|
961
|
+
* @example
|
|
962
|
+
* const [changeXpPointsMutation, { data, loading, error }] = useChangeXpPointsMutation({
|
|
963
|
+
* variables: {
|
|
964
|
+
* userId: // value for 'userId'
|
|
965
|
+
* pointsDiff: // value for 'pointsDiff'
|
|
966
|
+
* },
|
|
967
|
+
* });
|
|
968
|
+
*/
|
|
969
|
+
export declare function useChangeXpPointsMutation(baseOptions?: Apollo.MutationHookOptions<IChangeXpPointsMutation, IChangeXpPointsMutationVariables>): Apollo.MutationTuple<IChangeXpPointsMutation, Exact<{
|
|
970
|
+
userId: string;
|
|
971
|
+
pointsDiff: number;
|
|
972
|
+
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
973
|
+
export type ChangeXpPointsMutationHookResult = ReturnType<typeof useChangeXpPointsMutation>;
|
|
974
|
+
export type ChangeXpPointsMutationResult = Apollo.MutationResult<IChangeXpPointsMutation>;
|
|
975
|
+
export type ChangeXpPointsMutationOptions = Apollo.BaseMutationOptions<IChangeXpPointsMutation, IChangeXpPointsMutationVariables>;
|
|
976
|
+
export declare const CreateCategoryDocument: Apollo.DocumentNode;
|
|
977
|
+
export type ICreateCategoryMutationFn = Apollo.MutationFunction<ICreateCategoryMutation, ICreateCategoryMutationVariables>;
|
|
978
|
+
/**
|
|
979
|
+
* __useCreateCategoryMutation__
|
|
980
|
+
*
|
|
981
|
+
* To run a mutation, you first call `useCreateCategoryMutation` within a React component and pass it any options that fit your needs.
|
|
982
|
+
* When your component renders, `useCreateCategoryMutation` returns a tuple that includes:
|
|
983
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
984
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
985
|
+
*
|
|
986
|
+
* @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;
|
|
987
|
+
*
|
|
988
|
+
* @example
|
|
989
|
+
* const [createCategoryMutation, { data, loading, error }] = useCreateCategoryMutation({
|
|
990
|
+
* variables: {
|
|
991
|
+
* name: // value for 'name'
|
|
992
|
+
* matchingWords: // value for 'matchingWords'
|
|
993
|
+
* },
|
|
994
|
+
* });
|
|
995
|
+
*/
|
|
996
|
+
export declare function useCreateCategoryMutation(baseOptions?: Apollo.MutationHookOptions<ICreateCategoryMutation, ICreateCategoryMutationVariables>): Apollo.MutationTuple<ICreateCategoryMutation, Exact<{
|
|
997
|
+
name: string;
|
|
998
|
+
matchingWords: string[];
|
|
999
|
+
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
1000
|
+
export type CreateCategoryMutationHookResult = ReturnType<typeof useCreateCategoryMutation>;
|
|
1001
|
+
export type CreateCategoryMutationResult = Apollo.MutationResult<ICreateCategoryMutation>;
|
|
1002
|
+
export type CreateCategoryMutationOptions = Apollo.BaseMutationOptions<ICreateCategoryMutation, ICreateCategoryMutationVariables>;
|
|
1003
|
+
export declare const CreateBrandDocument: Apollo.DocumentNode;
|
|
1004
|
+
export type ICreateBrandMutationFn = Apollo.MutationFunction<ICreateBrandMutation, ICreateBrandMutationVariables>;
|
|
1005
|
+
/**
|
|
1006
|
+
* __useCreateBrandMutation__
|
|
1007
|
+
*
|
|
1008
|
+
* To run a mutation, you first call `useCreateBrandMutation` within a React component and pass it any options that fit your needs.
|
|
1009
|
+
* When your component renders, `useCreateBrandMutation` returns a tuple that includes:
|
|
1010
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
1011
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
1012
|
+
*
|
|
1013
|
+
* @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;
|
|
1014
|
+
*
|
|
1015
|
+
* @example
|
|
1016
|
+
* const [createBrandMutation, { data, loading, error }] = useCreateBrandMutation({
|
|
1017
|
+
* variables: {
|
|
1018
|
+
* brand: // value for 'brand'
|
|
1019
|
+
* file: // value for 'file'
|
|
1020
|
+
* },
|
|
1021
|
+
* });
|
|
1022
|
+
*/
|
|
1023
|
+
export declare function useCreateBrandMutation(baseOptions?: Apollo.MutationHookOptions<ICreateBrandMutation, ICreateBrandMutationVariables>): Apollo.MutationTuple<ICreateBrandMutation, Exact<{
|
|
1024
|
+
brand: IBrandInput;
|
|
1025
|
+
file?: any;
|
|
1026
|
+
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
1027
|
+
export type CreateBrandMutationHookResult = ReturnType<typeof useCreateBrandMutation>;
|
|
1028
|
+
export type CreateBrandMutationResult = Apollo.MutationResult<ICreateBrandMutation>;
|
|
1029
|
+
export type CreateBrandMutationOptions = Apollo.BaseMutationOptions<ICreateBrandMutation, ICreateBrandMutationVariables>;
|
|
1030
|
+
export declare const CreateAdminOpportunityDocument: Apollo.DocumentNode;
|
|
1031
|
+
export type ICreateAdminOpportunityMutationFn = Apollo.MutationFunction<ICreateAdminOpportunityMutation, ICreateAdminOpportunityMutationVariables>;
|
|
1032
|
+
/**
|
|
1033
|
+
* __useCreateAdminOpportunityMutation__
|
|
1034
|
+
*
|
|
1035
|
+
* To run a mutation, you first call `useCreateAdminOpportunityMutation` within a React component and pass it any options that fit your needs.
|
|
1036
|
+
* When your component renders, `useCreateAdminOpportunityMutation` returns a tuple that includes:
|
|
1037
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
1038
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
1039
|
+
*
|
|
1040
|
+
* @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;
|
|
1041
|
+
*
|
|
1042
|
+
* @example
|
|
1043
|
+
* const [createAdminOpportunityMutation, { data, loading, error }] = useCreateAdminOpportunityMutation({
|
|
1044
|
+
* variables: {
|
|
1045
|
+
* file: // value for 'file'
|
|
1046
|
+
* input: // value for 'input'
|
|
1047
|
+
* },
|
|
1048
|
+
* });
|
|
1049
|
+
*/
|
|
1050
|
+
export declare function useCreateAdminOpportunityMutation(baseOptions?: Apollo.MutationHookOptions<ICreateAdminOpportunityMutation, ICreateAdminOpportunityMutationVariables>): Apollo.MutationTuple<ICreateAdminOpportunityMutation, Exact<{
|
|
1051
|
+
file?: any;
|
|
1052
|
+
input: IAdminOpportunityInput;
|
|
1053
|
+
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
1054
|
+
export type CreateAdminOpportunityMutationHookResult = ReturnType<typeof useCreateAdminOpportunityMutation>;
|
|
1055
|
+
export type CreateAdminOpportunityMutationResult = Apollo.MutationResult<ICreateAdminOpportunityMutation>;
|
|
1056
|
+
export type CreateAdminOpportunityMutationOptions = Apollo.BaseMutationOptions<ICreateAdminOpportunityMutation, ICreateAdminOpportunityMutationVariables>;
|
|
1057
|
+
export declare const AddInviteCodesDocument: Apollo.DocumentNode;
|
|
1058
|
+
export type IAddInviteCodesMutationFn = Apollo.MutationFunction<IAddInviteCodesMutation, IAddInviteCodesMutationVariables>;
|
|
1059
|
+
/**
|
|
1060
|
+
* __useAddInviteCodesMutation__
|
|
1061
|
+
*
|
|
1062
|
+
* To run a mutation, you first call `useAddInviteCodesMutation` within a React component and pass it any options that fit your needs.
|
|
1063
|
+
* When your component renders, `useAddInviteCodesMutation` returns a tuple that includes:
|
|
1064
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
1065
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
1066
|
+
*
|
|
1067
|
+
* @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;
|
|
1068
|
+
*
|
|
1069
|
+
* @example
|
|
1070
|
+
* const [addInviteCodesMutation, { data, loading, error }] = useAddInviteCodesMutation({
|
|
1071
|
+
* variables: {
|
|
1072
|
+
* userId: // value for 'userId'
|
|
1073
|
+
* codesNum: // value for 'codesNum'
|
|
1074
|
+
* },
|
|
1075
|
+
* });
|
|
1076
|
+
*/
|
|
1077
|
+
export declare function useAddInviteCodesMutation(baseOptions?: Apollo.MutationHookOptions<IAddInviteCodesMutation, IAddInviteCodesMutationVariables>): Apollo.MutationTuple<IAddInviteCodesMutation, Exact<{
|
|
1078
|
+
userId: string;
|
|
1079
|
+
codesNum: number;
|
|
1080
|
+
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
1081
|
+
export type AddInviteCodesMutationHookResult = ReturnType<typeof useAddInviteCodesMutation>;
|
|
1082
|
+
export type AddInviteCodesMutationResult = Apollo.MutationResult<IAddInviteCodesMutation>;
|
|
1083
|
+
export type AddInviteCodesMutationOptions = Apollo.BaseMutationOptions<IAddInviteCodesMutation, IAddInviteCodesMutationVariables>;
|
|
1084
|
+
export declare const RemoveInviteCodeDocument: Apollo.DocumentNode;
|
|
1085
|
+
export type IRemoveInviteCodeMutationFn = Apollo.MutationFunction<IRemoveInviteCodeMutation, IRemoveInviteCodeMutationVariables>;
|
|
1086
|
+
/**
|
|
1087
|
+
* __useRemoveInviteCodeMutation__
|
|
1088
|
+
*
|
|
1089
|
+
* To run a mutation, you first call `useRemoveInviteCodeMutation` within a React component and pass it any options that fit your needs.
|
|
1090
|
+
* When your component renders, `useRemoveInviteCodeMutation` returns a tuple that includes:
|
|
1091
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
1092
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
1093
|
+
*
|
|
1094
|
+
* @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;
|
|
1095
|
+
*
|
|
1096
|
+
* @example
|
|
1097
|
+
* const [removeInviteCodeMutation, { data, loading, error }] = useRemoveInviteCodeMutation({
|
|
1098
|
+
* variables: {
|
|
1099
|
+
* inviteCode: // value for 'inviteCode'
|
|
1100
|
+
* },
|
|
1101
|
+
* });
|
|
1102
|
+
*/
|
|
1103
|
+
export declare function useRemoveInviteCodeMutation(baseOptions?: Apollo.MutationHookOptions<IRemoveInviteCodeMutation, IRemoveInviteCodeMutationVariables>): Apollo.MutationTuple<IRemoveInviteCodeMutation, Exact<{
|
|
1104
|
+
inviteCode: string;
|
|
1105
|
+
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
1106
|
+
export type RemoveInviteCodeMutationHookResult = ReturnType<typeof useRemoveInviteCodeMutation>;
|
|
1107
|
+
export type RemoveInviteCodeMutationResult = Apollo.MutationResult<IRemoveInviteCodeMutation>;
|
|
1108
|
+
export type RemoveInviteCodeMutationOptions = Apollo.BaseMutationOptions<IRemoveInviteCodeMutation, IRemoveInviteCodeMutationVariables>;
|
|
1109
|
+
export declare const UpdateProfileStatusDocument: Apollo.DocumentNode;
|
|
1110
|
+
export type IUpdateProfileStatusMutationFn = Apollo.MutationFunction<IUpdateProfileStatusMutation, IUpdateProfileStatusMutationVariables>;
|
|
1111
|
+
/**
|
|
1112
|
+
* __useUpdateProfileStatusMutation__
|
|
1113
|
+
*
|
|
1114
|
+
* To run a mutation, you first call `useUpdateProfileStatusMutation` within a React component and pass it any options that fit your needs.
|
|
1115
|
+
* When your component renders, `useUpdateProfileStatusMutation` returns a tuple that includes:
|
|
1116
|
+
* - A mutate function that you can call at any time to execute the mutation
|
|
1117
|
+
* - An object with fields that represent the current status of the mutation's execution
|
|
1118
|
+
*
|
|
1119
|
+
* @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;
|
|
1120
|
+
*
|
|
1121
|
+
* @example
|
|
1122
|
+
* const [updateProfileStatusMutation, { data, loading, error }] = useUpdateProfileStatusMutation({
|
|
1123
|
+
* variables: {
|
|
1124
|
+
* userId: // value for 'userId'
|
|
1125
|
+
* isActive: // value for 'isActive'
|
|
1126
|
+
* },
|
|
1127
|
+
* });
|
|
1128
|
+
*/
|
|
1129
|
+
export declare function useUpdateProfileStatusMutation(baseOptions?: Apollo.MutationHookOptions<IUpdateProfileStatusMutation, IUpdateProfileStatusMutationVariables>): Apollo.MutationTuple<IUpdateProfileStatusMutation, Exact<{
|
|
1130
|
+
userId: string;
|
|
1131
|
+
isActive: boolean;
|
|
1132
|
+
}>, Apollo.DefaultContext, Apollo.ApolloCache<any>>;
|
|
1133
|
+
export type UpdateProfileStatusMutationHookResult = ReturnType<typeof useUpdateProfileStatusMutation>;
|
|
1134
|
+
export type UpdateProfileStatusMutationResult = Apollo.MutationResult<IUpdateProfileStatusMutation>;
|
|
1135
|
+
export type UpdateProfileStatusMutationOptions = Apollo.BaseMutationOptions<IUpdateProfileStatusMutation, IUpdateProfileStatusMutationVariables>;
|
|
1136
|
+
export declare const FetchAdminBrandsDocument: Apollo.DocumentNode;
|
|
1137
|
+
/**
|
|
1138
|
+
* __useFetchAdminBrandsQuery__
|
|
1139
|
+
*
|
|
1140
|
+
* To run a query within a React component, call `useFetchAdminBrandsQuery` and pass it any options that fit your needs.
|
|
1141
|
+
* When your component renders, `useFetchAdminBrandsQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
1142
|
+
* you can use to render your UI.
|
|
1143
|
+
*
|
|
1144
|
+
* @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;
|
|
1145
|
+
*
|
|
1146
|
+
* @example
|
|
1147
|
+
* const { data, loading, error } = useFetchAdminBrandsQuery({
|
|
1148
|
+
* variables: {
|
|
1149
|
+
* },
|
|
1150
|
+
* });
|
|
1151
|
+
*/
|
|
1152
|
+
export declare function useFetchAdminBrandsQuery(baseOptions?: Apollo.QueryHookOptions<IFetchAdminBrandsQuery, IFetchAdminBrandsQueryVariables>): Apollo.QueryResult<IFetchAdminBrandsQuery, Exact<{
|
|
1153
|
+
[key: string]: never;
|
|
1154
|
+
}>>;
|
|
1155
|
+
export declare function useFetchAdminBrandsLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<IFetchAdminBrandsQuery, IFetchAdminBrandsQueryVariables>): Apollo.LazyQueryResultTuple<IFetchAdminBrandsQuery, Exact<{
|
|
1156
|
+
[key: string]: never;
|
|
1157
|
+
}>>;
|
|
1158
|
+
export type FetchAdminBrandsQueryHookResult = ReturnType<typeof useFetchAdminBrandsQuery>;
|
|
1159
|
+
export type FetchAdminBrandsLazyQueryHookResult = ReturnType<typeof useFetchAdminBrandsLazyQuery>;
|
|
1160
|
+
export type FetchAdminBrandsQueryResult = Apollo.QueryResult<IFetchAdminBrandsQuery, IFetchAdminBrandsQueryVariables>;
|
|
1161
|
+
export declare const FetchAdminBrandsPageDocument: Apollo.DocumentNode;
|
|
1162
|
+
/**
|
|
1163
|
+
* __useFetchAdminBrandsPageQuery__
|
|
1164
|
+
*
|
|
1165
|
+
* To run a query within a React component, call `useFetchAdminBrandsPageQuery` and pass it any options that fit your needs.
|
|
1166
|
+
* When your component renders, `useFetchAdminBrandsPageQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
1167
|
+
* you can use to render your UI.
|
|
1168
|
+
*
|
|
1169
|
+
* @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;
|
|
1170
|
+
*
|
|
1171
|
+
* @example
|
|
1172
|
+
* const { data, loading, error } = useFetchAdminBrandsPageQuery({
|
|
1173
|
+
* variables: {
|
|
1174
|
+
* filter: // value for 'filter'
|
|
1175
|
+
* sort: // value for 'sort'
|
|
1176
|
+
* page: // value for 'page'
|
|
1177
|
+
* },
|
|
1178
|
+
* });
|
|
1179
|
+
*/
|
|
1180
|
+
export declare function useFetchAdminBrandsPageQuery(baseOptions: Apollo.QueryHookOptions<IFetchAdminBrandsPageQuery, IFetchAdminBrandsPageQueryVariables>): Apollo.QueryResult<IFetchAdminBrandsPageQuery, Exact<{
|
|
1181
|
+
filter: IBrandsFilterInput;
|
|
1182
|
+
sort: IBrandsSortInput;
|
|
1183
|
+
page: IAdminPageInput;
|
|
1184
|
+
}>>;
|
|
1185
|
+
export declare function useFetchAdminBrandsPageLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<IFetchAdminBrandsPageQuery, IFetchAdminBrandsPageQueryVariables>): Apollo.LazyQueryResultTuple<IFetchAdminBrandsPageQuery, Exact<{
|
|
1186
|
+
filter: IBrandsFilterInput;
|
|
1187
|
+
sort: IBrandsSortInput;
|
|
1188
|
+
page: IAdminPageInput;
|
|
1189
|
+
}>>;
|
|
1190
|
+
export type FetchAdminBrandsPageQueryHookResult = ReturnType<typeof useFetchAdminBrandsPageQuery>;
|
|
1191
|
+
export type FetchAdminBrandsPageLazyQueryHookResult = ReturnType<typeof useFetchAdminBrandsPageLazyQuery>;
|
|
1192
|
+
export type FetchAdminBrandsPageQueryResult = Apollo.QueryResult<IFetchAdminBrandsPageQuery, IFetchAdminBrandsPageQueryVariables>;
|
|
1193
|
+
export declare const FetchAdminCategoriesDocument: Apollo.DocumentNode;
|
|
1194
|
+
/**
|
|
1195
|
+
* __useFetchAdminCategoriesQuery__
|
|
1196
|
+
*
|
|
1197
|
+
* To run a query within a React component, call `useFetchAdminCategoriesQuery` and pass it any options that fit your needs.
|
|
1198
|
+
* When your component renders, `useFetchAdminCategoriesQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
1199
|
+
* you can use to render your UI.
|
|
1200
|
+
*
|
|
1201
|
+
* @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;
|
|
1202
|
+
*
|
|
1203
|
+
* @example
|
|
1204
|
+
* const { data, loading, error } = useFetchAdminCategoriesQuery({
|
|
1205
|
+
* variables: {
|
|
1206
|
+
* },
|
|
1207
|
+
* });
|
|
1208
|
+
*/
|
|
1209
|
+
export declare function useFetchAdminCategoriesQuery(baseOptions?: Apollo.QueryHookOptions<IFetchAdminCategoriesQuery, IFetchAdminCategoriesQueryVariables>): Apollo.QueryResult<IFetchAdminCategoriesQuery, Exact<{
|
|
1210
|
+
[key: string]: never;
|
|
1211
|
+
}>>;
|
|
1212
|
+
export declare function useFetchAdminCategoriesLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<IFetchAdminCategoriesQuery, IFetchAdminCategoriesQueryVariables>): Apollo.LazyQueryResultTuple<IFetchAdminCategoriesQuery, Exact<{
|
|
1213
|
+
[key: string]: never;
|
|
1214
|
+
}>>;
|
|
1215
|
+
export type FetchAdminCategoriesQueryHookResult = ReturnType<typeof useFetchAdminCategoriesQuery>;
|
|
1216
|
+
export type FetchAdminCategoriesLazyQueryHookResult = ReturnType<typeof useFetchAdminCategoriesLazyQuery>;
|
|
1217
|
+
export type FetchAdminCategoriesQueryResult = Apollo.QueryResult<IFetchAdminCategoriesQuery, IFetchAdminCategoriesQueryVariables>;
|
|
1218
|
+
export declare const FetchAdminCategoriesPageDocument: Apollo.DocumentNode;
|
|
1219
|
+
/**
|
|
1220
|
+
* __useFetchAdminCategoriesPageQuery__
|
|
1221
|
+
*
|
|
1222
|
+
* To run a query within a React component, call `useFetchAdminCategoriesPageQuery` and pass it any options that fit your needs.
|
|
1223
|
+
* When your component renders, `useFetchAdminCategoriesPageQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
1224
|
+
* you can use to render your UI.
|
|
1225
|
+
*
|
|
1226
|
+
* @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;
|
|
1227
|
+
*
|
|
1228
|
+
* @example
|
|
1229
|
+
* const { data, loading, error } = useFetchAdminCategoriesPageQuery({
|
|
1230
|
+
* variables: {
|
|
1231
|
+
* filter: // value for 'filter'
|
|
1232
|
+
* sort: // value for 'sort'
|
|
1233
|
+
* page: // value for 'page'
|
|
1234
|
+
* },
|
|
1235
|
+
* });
|
|
1236
|
+
*/
|
|
1237
|
+
export declare function useFetchAdminCategoriesPageQuery(baseOptions: Apollo.QueryHookOptions<IFetchAdminCategoriesPageQuery, IFetchAdminCategoriesPageQueryVariables>): Apollo.QueryResult<IFetchAdminCategoriesPageQuery, Exact<{
|
|
1238
|
+
filter: ICategoriesFilterInput;
|
|
1239
|
+
sort: ICategoriesSortInput;
|
|
1240
|
+
page: IAdminPageInput;
|
|
1241
|
+
}>>;
|
|
1242
|
+
export declare function useFetchAdminCategoriesPageLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<IFetchAdminCategoriesPageQuery, IFetchAdminCategoriesPageQueryVariables>): Apollo.LazyQueryResultTuple<IFetchAdminCategoriesPageQuery, Exact<{
|
|
1243
|
+
filter: ICategoriesFilterInput;
|
|
1244
|
+
sort: ICategoriesSortInput;
|
|
1245
|
+
page: IAdminPageInput;
|
|
1246
|
+
}>>;
|
|
1247
|
+
export type FetchAdminCategoriesPageQueryHookResult = ReturnType<typeof useFetchAdminCategoriesPageQuery>;
|
|
1248
|
+
export type FetchAdminCategoriesPageLazyQueryHookResult = ReturnType<typeof useFetchAdminCategoriesPageLazyQuery>;
|
|
1249
|
+
export type FetchAdminCategoriesPageQueryResult = Apollo.QueryResult<IFetchAdminCategoriesPageQuery, IFetchAdminCategoriesPageQueryVariables>;
|
|
1250
|
+
export declare const FetchAdminInvitesPageDocument: Apollo.DocumentNode;
|
|
1251
|
+
/**
|
|
1252
|
+
* __useFetchAdminInvitesPageQuery__
|
|
1253
|
+
*
|
|
1254
|
+
* To run a query within a React component, call `useFetchAdminInvitesPageQuery` and pass it any options that fit your needs.
|
|
1255
|
+
* When your component renders, `useFetchAdminInvitesPageQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
1256
|
+
* you can use to render your UI.
|
|
1257
|
+
*
|
|
1258
|
+
* @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;
|
|
1259
|
+
*
|
|
1260
|
+
* @example
|
|
1261
|
+
* const { data, loading, error } = useFetchAdminInvitesPageQuery({
|
|
1262
|
+
* variables: {
|
|
1263
|
+
* filter: // value for 'filter'
|
|
1264
|
+
* sort: // value for 'sort'
|
|
1265
|
+
* page: // value for 'page'
|
|
1266
|
+
* },
|
|
1267
|
+
* });
|
|
1268
|
+
*/
|
|
1269
|
+
export declare function useFetchAdminInvitesPageQuery(baseOptions: Apollo.QueryHookOptions<IFetchAdminInvitesPageQuery, IFetchAdminInvitesPageQueryVariables>): Apollo.QueryResult<IFetchAdminInvitesPageQuery, Exact<{
|
|
1270
|
+
filter: IInvitesFilterInput;
|
|
1271
|
+
sort: IInvitesSortInput;
|
|
1272
|
+
page: IAdminPageInput;
|
|
1273
|
+
}>>;
|
|
1274
|
+
export declare function useFetchAdminInvitesPageLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<IFetchAdminInvitesPageQuery, IFetchAdminInvitesPageQueryVariables>): Apollo.LazyQueryResultTuple<IFetchAdminInvitesPageQuery, Exact<{
|
|
1275
|
+
filter: IInvitesFilterInput;
|
|
1276
|
+
sort: IInvitesSortInput;
|
|
1277
|
+
page: IAdminPageInput;
|
|
1278
|
+
}>>;
|
|
1279
|
+
export type FetchAdminInvitesPageQueryHookResult = ReturnType<typeof useFetchAdminInvitesPageQuery>;
|
|
1280
|
+
export type FetchAdminInvitesPageLazyQueryHookResult = ReturnType<typeof useFetchAdminInvitesPageLazyQuery>;
|
|
1281
|
+
export type FetchAdminInvitesPageQueryResult = Apollo.QueryResult<IFetchAdminInvitesPageQuery, IFetchAdminInvitesPageQueryVariables>;
|
|
1282
|
+
export declare const FetchAdminOpportunitiesPageDocument: Apollo.DocumentNode;
|
|
1283
|
+
/**
|
|
1284
|
+
* __useFetchAdminOpportunitiesPageQuery__
|
|
1285
|
+
*
|
|
1286
|
+
* To run a query within a React component, call `useFetchAdminOpportunitiesPageQuery` and pass it any options that fit your needs.
|
|
1287
|
+
* When your component renders, `useFetchAdminOpportunitiesPageQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
1288
|
+
* you can use to render your UI.
|
|
1289
|
+
*
|
|
1290
|
+
* @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;
|
|
1291
|
+
*
|
|
1292
|
+
* @example
|
|
1293
|
+
* const { data, loading, error } = useFetchAdminOpportunitiesPageQuery({
|
|
1294
|
+
* variables: {
|
|
1295
|
+
* filter: // value for 'filter'
|
|
1296
|
+
* sort: // value for 'sort'
|
|
1297
|
+
* page: // value for 'page'
|
|
1298
|
+
* },
|
|
1299
|
+
* });
|
|
1300
|
+
*/
|
|
1301
|
+
export declare function useFetchAdminOpportunitiesPageQuery(baseOptions: Apollo.QueryHookOptions<IFetchAdminOpportunitiesPageQuery, IFetchAdminOpportunitiesPageQueryVariables>): Apollo.QueryResult<IFetchAdminOpportunitiesPageQuery, Exact<{
|
|
1302
|
+
filter: IOpportunitiesFilterInput;
|
|
1303
|
+
sort: IOpportunitiesSortInput;
|
|
1304
|
+
page: IAdminPageInput;
|
|
1305
|
+
}>>;
|
|
1306
|
+
export declare function useFetchAdminOpportunitiesPageLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<IFetchAdminOpportunitiesPageQuery, IFetchAdminOpportunitiesPageQueryVariables>): Apollo.LazyQueryResultTuple<IFetchAdminOpportunitiesPageQuery, Exact<{
|
|
1307
|
+
filter: IOpportunitiesFilterInput;
|
|
1308
|
+
sort: IOpportunitiesSortInput;
|
|
1309
|
+
page: IAdminPageInput;
|
|
1310
|
+
}>>;
|
|
1311
|
+
export type FetchAdminOpportunitiesPageQueryHookResult = ReturnType<typeof useFetchAdminOpportunitiesPageQuery>;
|
|
1312
|
+
export type FetchAdminOpportunitiesPageLazyQueryHookResult = ReturnType<typeof useFetchAdminOpportunitiesPageLazyQuery>;
|
|
1313
|
+
export type FetchAdminOpportunitiesPageQueryResult = Apollo.QueryResult<IFetchAdminOpportunitiesPageQuery, IFetchAdminOpportunitiesPageQueryVariables>;
|
|
1314
|
+
export declare const FetchAdminReferralsPageDocument: Apollo.DocumentNode;
|
|
1315
|
+
/**
|
|
1316
|
+
* __useFetchAdminReferralsPageQuery__
|
|
1317
|
+
*
|
|
1318
|
+
* To run a query within a React component, call `useFetchAdminReferralsPageQuery` and pass it any options that fit your needs.
|
|
1319
|
+
* When your component renders, `useFetchAdminReferralsPageQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
1320
|
+
* you can use to render your UI.
|
|
1321
|
+
*
|
|
1322
|
+
* @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;
|
|
1323
|
+
*
|
|
1324
|
+
* @example
|
|
1325
|
+
* const { data, loading, error } = useFetchAdminReferralsPageQuery({
|
|
1326
|
+
* variables: {
|
|
1327
|
+
* filter: // value for 'filter'
|
|
1328
|
+
* sort: // value for 'sort'
|
|
1329
|
+
* page: // value for 'page'
|
|
1330
|
+
* },
|
|
1331
|
+
* });
|
|
1332
|
+
*/
|
|
1333
|
+
export declare function useFetchAdminReferralsPageQuery(baseOptions: Apollo.QueryHookOptions<IFetchAdminReferralsPageQuery, IFetchAdminReferralsPageQueryVariables>): Apollo.QueryResult<IFetchAdminReferralsPageQuery, Exact<{
|
|
1334
|
+
filter: IReferralsFilterInput;
|
|
1335
|
+
sort: IReferralsSortInput;
|
|
1336
|
+
page: IAdminPageInput;
|
|
1337
|
+
}>>;
|
|
1338
|
+
export declare function useFetchAdminReferralsPageLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<IFetchAdminReferralsPageQuery, IFetchAdminReferralsPageQueryVariables>): Apollo.LazyQueryResultTuple<IFetchAdminReferralsPageQuery, Exact<{
|
|
1339
|
+
filter: IReferralsFilterInput;
|
|
1340
|
+
sort: IReferralsSortInput;
|
|
1341
|
+
page: IAdminPageInput;
|
|
1342
|
+
}>>;
|
|
1343
|
+
export type FetchAdminReferralsPageQueryHookResult = ReturnType<typeof useFetchAdminReferralsPageQuery>;
|
|
1344
|
+
export type FetchAdminReferralsPageLazyQueryHookResult = ReturnType<typeof useFetchAdminReferralsPageLazyQuery>;
|
|
1345
|
+
export type FetchAdminReferralsPageQueryResult = Apollo.QueryResult<IFetchAdminReferralsPageQuery, IFetchAdminReferralsPageQueryVariables>;
|
|
1346
|
+
export declare const FetchAdminUsersPageDocument: Apollo.DocumentNode;
|
|
1347
|
+
/**
|
|
1348
|
+
* __useFetchAdminUsersPageQuery__
|
|
1349
|
+
*
|
|
1350
|
+
* To run a query within a React component, call `useFetchAdminUsersPageQuery` and pass it any options that fit your needs.
|
|
1351
|
+
* When your component renders, `useFetchAdminUsersPageQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
1352
|
+
* you can use to render your UI.
|
|
1353
|
+
*
|
|
1354
|
+
* @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;
|
|
1355
|
+
*
|
|
1356
|
+
* @example
|
|
1357
|
+
* const { data, loading, error } = useFetchAdminUsersPageQuery({
|
|
1358
|
+
* variables: {
|
|
1359
|
+
* filter: // value for 'filter'
|
|
1360
|
+
* sort: // value for 'sort'
|
|
1361
|
+
* page: // value for 'page'
|
|
1362
|
+
* },
|
|
1363
|
+
* });
|
|
1364
|
+
*/
|
|
1365
|
+
export declare function useFetchAdminUsersPageQuery(baseOptions: Apollo.QueryHookOptions<IFetchAdminUsersPageQuery, IFetchAdminUsersPageQueryVariables>): Apollo.QueryResult<IFetchAdminUsersPageQuery, Exact<{
|
|
1366
|
+
filter: IUsersFilterInput;
|
|
1367
|
+
sort: IUsersSortInput;
|
|
1368
|
+
page: IAdminPageInput;
|
|
1369
|
+
}>>;
|
|
1370
|
+
export declare function useFetchAdminUsersPageLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<IFetchAdminUsersPageQuery, IFetchAdminUsersPageQueryVariables>): Apollo.LazyQueryResultTuple<IFetchAdminUsersPageQuery, Exact<{
|
|
1371
|
+
filter: IUsersFilterInput;
|
|
1372
|
+
sort: IUsersSortInput;
|
|
1373
|
+
page: IAdminPageInput;
|
|
1374
|
+
}>>;
|
|
1375
|
+
export type FetchAdminUsersPageQueryHookResult = ReturnType<typeof useFetchAdminUsersPageQuery>;
|
|
1376
|
+
export type FetchAdminUsersPageLazyQueryHookResult = ReturnType<typeof useFetchAdminUsersPageLazyQuery>;
|
|
1377
|
+
export type FetchAdminUsersPageQueryResult = Apollo.QueryResult<IFetchAdminUsersPageQuery, IFetchAdminUsersPageQueryVariables>;
|
|
1378
|
+
export declare const FetchAdminXpPageDocument: Apollo.DocumentNode;
|
|
1379
|
+
/**
|
|
1380
|
+
* __useFetchAdminXpPageQuery__
|
|
1381
|
+
*
|
|
1382
|
+
* To run a query within a React component, call `useFetchAdminXpPageQuery` and pass it any options that fit your needs.
|
|
1383
|
+
* When your component renders, `useFetchAdminXpPageQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
1384
|
+
* you can use to render your UI.
|
|
1385
|
+
*
|
|
1386
|
+
* @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;
|
|
1387
|
+
*
|
|
1388
|
+
* @example
|
|
1389
|
+
* const { data, loading, error } = useFetchAdminXpPageQuery({
|
|
1390
|
+
* variables: {
|
|
1391
|
+
* filter: // value for 'filter'
|
|
1392
|
+
* sort: // value for 'sort'
|
|
1393
|
+
* page: // value for 'page'
|
|
1394
|
+
* },
|
|
1395
|
+
* });
|
|
1396
|
+
*/
|
|
1397
|
+
export declare function useFetchAdminXpPageQuery(baseOptions: Apollo.QueryHookOptions<IFetchAdminXpPageQuery, IFetchAdminXpPageQueryVariables>): Apollo.QueryResult<IFetchAdminXpPageQuery, Exact<{
|
|
1398
|
+
filter: IXpFilterInput;
|
|
1399
|
+
sort: IXpSortInput;
|
|
1400
|
+
page: IAdminPageInput;
|
|
1401
|
+
}>>;
|
|
1402
|
+
export declare function useFetchAdminXpPageLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<IFetchAdminXpPageQuery, IFetchAdminXpPageQueryVariables>): Apollo.LazyQueryResultTuple<IFetchAdminXpPageQuery, Exact<{
|
|
1403
|
+
filter: IXpFilterInput;
|
|
1404
|
+
sort: IXpSortInput;
|
|
1405
|
+
page: IAdminPageInput;
|
|
1406
|
+
}>>;
|
|
1407
|
+
export type FetchAdminXpPageQueryHookResult = ReturnType<typeof useFetchAdminXpPageQuery>;
|
|
1408
|
+
export type FetchAdminXpPageLazyQueryHookResult = ReturnType<typeof useFetchAdminXpPageLazyQuery>;
|
|
1409
|
+
export type FetchAdminXpPageQueryResult = Apollo.QueryResult<IFetchAdminXpPageQuery, IFetchAdminXpPageQueryVariables>;
|
|
1410
|
+
export declare const FetchBlockchainsDocument: Apollo.DocumentNode;
|
|
1411
|
+
/**
|
|
1412
|
+
* __useFetchBlockchainsQuery__
|
|
1413
|
+
*
|
|
1414
|
+
* To run a query within a React component, call `useFetchBlockchainsQuery` and pass it any options that fit your needs.
|
|
1415
|
+
* When your component renders, `useFetchBlockchainsQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
1416
|
+
* you can use to render your UI.
|
|
1417
|
+
*
|
|
1418
|
+
* @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;
|
|
1419
|
+
*
|
|
1420
|
+
* @example
|
|
1421
|
+
* const { data, loading, error } = useFetchBlockchainsQuery({
|
|
1422
|
+
* variables: {
|
|
1423
|
+
* },
|
|
1424
|
+
* });
|
|
1425
|
+
*/
|
|
1426
|
+
export declare function useFetchBlockchainsQuery(baseOptions?: Apollo.QueryHookOptions<IFetchBlockchainsQuery, IFetchBlockchainsQueryVariables>): Apollo.QueryResult<IFetchBlockchainsQuery, Exact<{
|
|
1427
|
+
[key: string]: never;
|
|
1428
|
+
}>>;
|
|
1429
|
+
export declare function useFetchBlockchainsLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<IFetchBlockchainsQuery, IFetchBlockchainsQueryVariables>): Apollo.LazyQueryResultTuple<IFetchBlockchainsQuery, Exact<{
|
|
1430
|
+
[key: string]: never;
|
|
1431
|
+
}>>;
|
|
1432
|
+
export type FetchBlockchainsQueryHookResult = ReturnType<typeof useFetchBlockchainsQuery>;
|
|
1433
|
+
export type FetchBlockchainsLazyQueryHookResult = ReturnType<typeof useFetchBlockchainsLazyQuery>;
|
|
1434
|
+
export type FetchBlockchainsQueryResult = Apollo.QueryResult<IFetchBlockchainsQuery, IFetchBlockchainsQueryVariables>;
|