@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.
Files changed (48) hide show
  1. package/build/config/index.js +4 -4
  2. package/build/graphql_tools/__generated__/adminHost/schema.d.ts +1434 -0
  3. package/build/graphql_tools/__generated__/adminHost/schema.js +688 -0
  4. package/build/graphql_tools/__generated__/assetsHost/schema.d.ts +392 -0
  5. package/build/graphql_tools/__generated__/assetsHost/schema.js +80 -0
  6. package/build/graphql_tools/__generated__/authHost/schema.d.ts +238 -0
  7. package/build/graphql_tools/__generated__/authHost/schema.js +85 -0
  8. package/build/graphql_tools/__generated__/collectionsHost/schema.d.ts +455 -0
  9. package/build/graphql_tools/__generated__/collectionsHost/schema.js +80 -0
  10. package/build/graphql_tools/__generated__/experiencesHost/schema.d.ts +356 -0
  11. package/build/graphql_tools/__generated__/experiencesHost/schema.js +191 -0
  12. package/build/graphql_tools/__generated__/extensionHost/schema.d.ts +808 -0
  13. package/build/graphql_tools/__generated__/extensionHost/schema.js +449 -0
  14. package/build/graphql_tools/__generated__/galleriesHost/schema.d.ts +794 -0
  15. package/build/graphql_tools/__generated__/galleriesHost/schema.js +575 -0
  16. package/build/graphql_tools/__generated__/identityHost/schema.d.ts +1205 -0
  17. package/build/graphql_tools/__generated__/identityHost/schema.js +757 -0
  18. package/build/graphql_tools/__generated__/mediasHost/schema.d.ts +242 -0
  19. package/build/graphql_tools/__generated__/mediasHost/schema.js +110 -0
  20. package/build/graphql_tools/__generated__/opportunitiesHost/schema.d.ts +486 -0
  21. package/build/graphql_tools/__generated__/opportunitiesHost/schema.js +148 -0
  22. package/build/graphql_tools/__generated__/preferencesHost/schema.d.ts +604 -0
  23. package/build/graphql_tools/__generated__/preferencesHost/schema.js +411 -0
  24. package/build/graphql_tools/__generated__/schema.d.ts +1 -0
  25. package/build/graphql_tools/__generated__/searchHost/schema.d.ts +1304 -0
  26. package/build/graphql_tools/__generated__/searchHost/schema.js +1191 -0
  27. package/build/hosts/index.d.ts +0 -3
  28. package/build/hosts/index.js +1 -4
  29. package/build/index.d.ts +13 -2
  30. package/build/index.js +25 -3
  31. package/package.json +1 -1
  32. package/src/config/index.ts +50 -50
  33. package/src/graphql_tools/__generated__/adminHost/schema.ts +1814 -0
  34. package/src/graphql_tools/__generated__/assetsHost/schema.ts +482 -0
  35. package/src/graphql_tools/__generated__/authHost/schema.ts +317 -0
  36. package/src/graphql_tools/__generated__/collectionsHost/schema.ts +554 -0
  37. package/src/graphql_tools/__generated__/experiencesHost/schema.ts +478 -0
  38. package/src/graphql_tools/__generated__/extensionHost/schema.ts +1074 -0
  39. package/src/graphql_tools/__generated__/galleriesHost/schema.ts +1090 -0
  40. package/src/graphql_tools/__generated__/identityHost/schema.ts +1584 -0
  41. package/src/graphql_tools/__generated__/mediasHost/schema.ts +333 -0
  42. package/src/graphql_tools/__generated__/opportunitiesHost/schema.ts +629 -0
  43. package/src/graphql_tools/__generated__/preferencesHost/schema.ts +772 -0
  44. package/src/graphql_tools/__generated__/schema.ts +1 -0
  45. package/src/graphql_tools/__generated__/searchHost/schema.ts +2137 -0
  46. package/src/hosts/index.ts +0 -6
  47. package/src/index.ts +29 -2
  48. package/tsconfig.tsbuildinfo +1 -1
@@ -0,0 +1,1074 @@
1
+ /* eslint-disable */
2
+ import { GraphQLResolveInfo, GraphQLScalarType, GraphQLScalarTypeConfig } from 'graphql';
3
+ import { gql } from '@apollo/client';
4
+ import * as Apollo from '@apollo/client';
5
+ export type Maybe<T> = T | null;
6
+ export type Exact<T extends { [key: string]: unknown }> = { [K in keyof T]: T[K] };
7
+ export type MakeOptional<T, K extends keyof T> = Omit<T, K> & { [SubKey in K]?: Maybe<T[SubKey]> };
8
+ export type MakeMaybe<T, K extends keyof T> = Omit<T, K> & { [SubKey in K]: Maybe<T[SubKey]> };
9
+ export type RequireFields<T, K extends keyof T> = Omit<T, K> & { [P in K]-?: NonNullable<T[P]> };
10
+ /** All built-in and custom scalars, mapped to their actual values */
11
+ export type Scalars = {
12
+ ID: string;
13
+ String: string;
14
+ Boolean: boolean;
15
+ Int: number;
16
+ Float: number;
17
+ /** A 64-bit signed integer */
18
+ Long: any;
19
+ };
20
+
21
+
22
+ export type IAssetData = {
23
+ assetId: Scalars['String'];
24
+ rank?: Maybe<Scalars['Float']>;
25
+ };
26
+
27
+ export type IBrand = {
28
+ brandId: Scalars['ID'];
29
+ name: Scalars['String'];
30
+ matchingWords: Array<Maybe<Scalars['String']>>;
31
+ description?: Maybe<Scalars['String']>;
32
+ industry?: Maybe<Scalars['String']>;
33
+ link?: Maybe<Scalars['String']>;
34
+ media?: Maybe<Scalars['String']>;
35
+ };
36
+
37
+ export type ICategory = {
38
+ categoryId: Scalars['ID'];
39
+ name: Scalars['String'];
40
+ matchingWords: Array<Maybe<Scalars['String']>>;
41
+ };
42
+
43
+ export type ICollectionData = {
44
+ collectionId: Scalars['String'];
45
+ title?: Maybe<Scalars['String']>;
46
+ rank?: Maybe<Scalars['Float']>;
47
+ createdAt?: Maybe<Scalars['Long']>;
48
+ itemsNum?: Maybe<Scalars['String']>;
49
+ holdersNum?: Maybe<Scalars['String']>;
50
+ floorPrice?: Maybe<Scalars['Float']>;
51
+ coverS3Key?: Maybe<Scalars['String']>;
52
+ videoCoverS3Key?: Maybe<Scalars['String']>;
53
+ };
54
+
55
+ export type ICollectionKey = {
56
+ blockchain: Scalars['String'];
57
+ contractAddress?: Maybe<Scalars['String']>;
58
+ tokenId?: Maybe<Scalars['String']>;
59
+ elrondId?: Maybe<Scalars['String']>;
60
+ collectionTitle?: Maybe<Scalars['String']>;
61
+ };
62
+
63
+ export type ICollectionRank = {
64
+ blockchain: Scalars['String'];
65
+ address?: Maybe<Scalars['String']>;
66
+ tokenId?: Maybe<Scalars['String']>;
67
+ id?: Maybe<Scalars['String']>;
68
+ collectionTitle?: Maybe<Scalars['String']>;
69
+ rank?: Maybe<Scalars['Float']>;
70
+ };
71
+
72
+
73
+ export type IMutation = {
74
+ setDummy: Scalars['String'];
75
+ visitPage: Array<Maybe<IOpportunity>>;
76
+ visitPageV2?: Maybe<IOpportunityV2>;
77
+ openOpportunityV2: Scalars['Boolean'];
78
+ hideOpportunityV2: Scalars['Boolean'];
79
+ clearCaches: Scalars['Boolean'];
80
+ };
81
+
82
+
83
+ export type IMutationVisitPageArgs = {
84
+ domain: Scalars['String'];
85
+ title: Scalars['String'];
86
+ description?: Maybe<Scalars['String']>;
87
+ tags?: Maybe<Array<Maybe<Scalars['String']>>>;
88
+ category?: Maybe<Scalars['String']>;
89
+ };
90
+
91
+
92
+ export type IMutationVisitPageV2Args = {
93
+ domain: Scalars['String'];
94
+ title: Scalars['String'];
95
+ description?: Maybe<Scalars['String']>;
96
+ tags?: Maybe<Array<Maybe<Scalars['String']>>>;
97
+ brandId?: Maybe<Scalars['String']>;
98
+ category?: Maybe<Scalars['String']>;
99
+ };
100
+
101
+
102
+ export type IMutationOpenOpportunityV2Args = {
103
+ opportunityId: Scalars['ID'];
104
+ };
105
+
106
+
107
+ export type IMutationHideOpportunityV2Args = {
108
+ opportunityId: Scalars['ID'];
109
+ };
110
+
111
+ export type INftData = {
112
+ blockchain: Scalars['String'];
113
+ contractAddress?: Maybe<Scalars['String']>;
114
+ tokenId?: Maybe<Scalars['String']>;
115
+ elrondId?: Maybe<Scalars['String']>;
116
+ collectionTitle?: Maybe<Scalars['String']>;
117
+ collectionData?: Maybe<ICollectionData>;
118
+ assetData?: Maybe<IAssetData>;
119
+ userRank?: Maybe<Scalars['Float']>;
120
+ };
121
+
122
+ export type INftKey = {
123
+ blockchain: Scalars['String'];
124
+ address?: Maybe<Scalars['String']>;
125
+ tokenId?: Maybe<Scalars['String']>;
126
+ id?: Maybe<Scalars['String']>;
127
+ };
128
+
129
+ export type INftRank = {
130
+ blockchain: Scalars['String'];
131
+ address?: Maybe<Scalars['String']>;
132
+ tokenId?: Maybe<Scalars['String']>;
133
+ id?: Maybe<Scalars['String']>;
134
+ rank?: Maybe<Scalars['Float']>;
135
+ };
136
+
137
+ export type IOpportunitiesPageV2 = {
138
+ currentOpportunities?: Maybe<Array<Maybe<IOpportunityV2>>>;
139
+ similarOpportunities?: Maybe<Array<Maybe<IOpportunityV2>>>;
140
+ };
141
+
142
+ export type IOpportunity = {
143
+ opportunityId?: Maybe<Scalars['ID']>;
144
+ name?: Maybe<Scalars['String']>;
145
+ description?: Maybe<Scalars['String']>;
146
+ startedAt?: Maybe<Scalars['Long']>;
147
+ endedAt?: Maybe<Scalars['Long']>;
148
+ createdAt?: Maybe<Scalars['Long']>;
149
+ tags?: Maybe<Array<Maybe<Scalars['String']>>>;
150
+ category?: Maybe<Scalars['String']>;
151
+ media?: Maybe<Scalars['String']>;
152
+ links?: Maybe<Array<Maybe<Scalars['String']>>>;
153
+ ludoRankRequired?: Maybe<Scalars['Boolean']>;
154
+ ludoRankRequiredMin?: Maybe<Scalars['Int']>;
155
+ ludoRankRequiredMax?: Maybe<Scalars['Int']>;
156
+ rewardType?: Maybe<Scalars['String']>;
157
+ creatorId?: Maybe<Scalars['String']>;
158
+ creatorWallet?: Maybe<Scalars['String']>;
159
+ status?: Maybe<Scalars['String']>;
160
+ shareLink?: Maybe<Scalars['String']>;
161
+ notifiable?: Maybe<Scalars['Boolean']>;
162
+ brandId?: Maybe<Scalars['String']>;
163
+ brandName?: Maybe<Scalars['String']>;
164
+ brandDescription?: Maybe<Scalars['String']>;
165
+ brandIndustry?: Maybe<Scalars['String']>;
166
+ brandLink?: Maybe<Scalars['String']>;
167
+ brandMedia?: Maybe<Scalars['String']>;
168
+ };
169
+
170
+ export type IOpportunityV2 = {
171
+ opportunityId?: Maybe<Scalars['ID']>;
172
+ brandId?: Maybe<Scalars['String']>;
173
+ categoryId?: Maybe<Scalars['String']>;
174
+ opportunityStatus?: Maybe<Scalars['String']>;
175
+ opportunityType?: Maybe<Scalars['String']>;
176
+ notificationType?: Maybe<Scalars['String']>;
177
+ name?: Maybe<Scalars['String']>;
178
+ description?: Maybe<Scalars['String']>;
179
+ brandName?: Maybe<Scalars['String']>;
180
+ brandDescription?: Maybe<Scalars['String']>;
181
+ brandMedia?: Maybe<Scalars['String']>;
182
+ brandUrl?: Maybe<Scalars['String']>;
183
+ brandIndustry?: Maybe<Scalars['String']>;
184
+ categoryName?: Maybe<Scalars['String']>;
185
+ ludoUrl?: Maybe<Scalars['String']>;
186
+ projectUrl?: Maybe<Scalars['String']>;
187
+ activeFrom?: Maybe<Scalars['Long']>;
188
+ activeUntil?: Maybe<Scalars['Long']>;
189
+ media?: Maybe<Scalars['String']>;
190
+ reportLink?: Maybe<Scalars['String']>;
191
+ shareLink?: Maybe<Scalars['String']>;
192
+ };
193
+
194
+ export type IQuery = {
195
+ getDummy: Scalars['String'];
196
+ fetchNFTData: INftData;
197
+ fetchCollectionsData: Array<ICollectionData>;
198
+ fetchNFTRanks: Array<INftRank>;
199
+ fetchCollectionRanks: Array<ICollectionRank>;
200
+ fetchWalletRanks: Array<IWalletRank>;
201
+ fetchExtensionBrands: Array<Maybe<IBrand>>;
202
+ fetchExtensionCategories: Array<Maybe<ICategory>>;
203
+ fetchExtensionOpportunitiesV2: IOpportunitiesPageV2;
204
+ };
205
+
206
+
207
+ export type IQueryFetchNftDataArgs = {
208
+ blockchain: Scalars['String'];
209
+ contractAddress?: Maybe<Scalars['String']>;
210
+ tokenId?: Maybe<Scalars['String']>;
211
+ elrondId?: Maybe<Scalars['String']>;
212
+ collectionTitle?: Maybe<Scalars['String']>;
213
+ };
214
+
215
+
216
+ export type IQueryFetchCollectionsDataArgs = {
217
+ collectionKeys: Array<ICollectionKey>;
218
+ };
219
+
220
+
221
+ export type IQueryFetchNftRanksArgs = {
222
+ nftKeys: Array<INftKey>;
223
+ };
224
+
225
+
226
+ export type IQueryFetchCollectionRanksArgs = {
227
+ collectionKeys: Array<ICollectionKey>;
228
+ };
229
+
230
+
231
+ export type IQueryFetchWalletRanksArgs = {
232
+ wallets: Array<Scalars['String']>;
233
+ };
234
+
235
+
236
+ export type IQueryFetchExtensionOpportunitiesV2Args = {
237
+ domain: Scalars['String'];
238
+ brandId?: Maybe<Scalars['String']>;
239
+ categoryId?: Maybe<Scalars['String']>;
240
+ };
241
+
242
+ export type IWalletRank = {
243
+ wallet: Scalars['String'];
244
+ rank?: Maybe<Scalars['Float']>;
245
+ };
246
+
247
+
248
+
249
+ export type ResolverTypeWrapper<T> = Promise<T> | T;
250
+
251
+
252
+ export type ResolverWithResolve<TResult, TParent, TContext, TArgs> = {
253
+ resolve: ResolverFn<TResult, TParent, TContext, TArgs>;
254
+ };
255
+ export type Resolver<TResult, TParent = {}, TContext = {}, TArgs = {}> = ResolverFn<TResult, TParent, TContext, TArgs> | ResolverWithResolve<TResult, TParent, TContext, TArgs>;
256
+
257
+ export type ResolverFn<TResult, TParent, TContext, TArgs> = (
258
+ parent: TParent,
259
+ args: TArgs,
260
+ context: TContext,
261
+ info: GraphQLResolveInfo
262
+ ) => Promise<TResult> | TResult;
263
+
264
+ export type SubscriptionSubscribeFn<TResult, TParent, TContext, TArgs> = (
265
+ parent: TParent,
266
+ args: TArgs,
267
+ context: TContext,
268
+ info: GraphQLResolveInfo
269
+ ) => AsyncIterable<TResult> | Promise<AsyncIterable<TResult>>;
270
+
271
+ export type SubscriptionResolveFn<TResult, TParent, TContext, TArgs> = (
272
+ parent: TParent,
273
+ args: TArgs,
274
+ context: TContext,
275
+ info: GraphQLResolveInfo
276
+ ) => TResult | Promise<TResult>;
277
+
278
+ export interface SubscriptionSubscriberObject<TResult, TKey extends string, TParent, TContext, TArgs> {
279
+ subscribe: SubscriptionSubscribeFn<{ [key in TKey]: TResult }, TParent, TContext, TArgs>;
280
+ resolve?: SubscriptionResolveFn<TResult, { [key in TKey]: TResult }, TContext, TArgs>;
281
+ }
282
+
283
+ export interface SubscriptionResolverObject<TResult, TParent, TContext, TArgs> {
284
+ subscribe: SubscriptionSubscribeFn<any, TParent, TContext, TArgs>;
285
+ resolve: SubscriptionResolveFn<TResult, any, TContext, TArgs>;
286
+ }
287
+
288
+ export type SubscriptionObject<TResult, TKey extends string, TParent, TContext, TArgs> =
289
+ | SubscriptionSubscriberObject<TResult, TKey, TParent, TContext, TArgs>
290
+ | SubscriptionResolverObject<TResult, TParent, TContext, TArgs>;
291
+
292
+ export type SubscriptionResolver<TResult, TKey extends string, TParent = {}, TContext = {}, TArgs = {}> =
293
+ | ((...args: any[]) => SubscriptionObject<TResult, TKey, TParent, TContext, TArgs>)
294
+ | SubscriptionObject<TResult, TKey, TParent, TContext, TArgs>;
295
+
296
+ export type TypeResolveFn<TTypes, TParent = {}, TContext = {}> = (
297
+ parent: TParent,
298
+ context: TContext,
299
+ info: GraphQLResolveInfo
300
+ ) => Maybe<TTypes> | Promise<Maybe<TTypes>>;
301
+
302
+ export type IsTypeOfResolverFn<T = {}, TContext = {}> = (obj: T, context: TContext, info: GraphQLResolveInfo) => boolean | Promise<boolean>;
303
+
304
+ export type NextResolverFn<T> = () => Promise<T>;
305
+
306
+ export type DirectiveResolverFn<TResult = {}, TParent = {}, TContext = {}, TArgs = {}> = (
307
+ next: NextResolverFn<TResult>,
308
+ parent: TParent,
309
+ args: TArgs,
310
+ context: TContext,
311
+ info: GraphQLResolveInfo
312
+ ) => TResult | Promise<TResult>;
313
+
314
+ /** Mapping between all available schema types and the resolvers types */
315
+ export type IResolversTypes = {
316
+ AssetData: ResolverTypeWrapper<IAssetData>;
317
+ String: ResolverTypeWrapper<Scalars['String']>;
318
+ Float: ResolverTypeWrapper<Scalars['Float']>;
319
+ Brand: ResolverTypeWrapper<IBrand>;
320
+ ID: ResolverTypeWrapper<Scalars['ID']>;
321
+ Category: ResolverTypeWrapper<ICategory>;
322
+ CollectionData: ResolverTypeWrapper<ICollectionData>;
323
+ CollectionKey: ICollectionKey;
324
+ CollectionRank: ResolverTypeWrapper<ICollectionRank>;
325
+ Long: ResolverTypeWrapper<Scalars['Long']>;
326
+ Mutation: ResolverTypeWrapper<{}>;
327
+ Boolean: ResolverTypeWrapper<Scalars['Boolean']>;
328
+ NFTData: ResolverTypeWrapper<INftData>;
329
+ NFTKey: INftKey;
330
+ NFTRank: ResolverTypeWrapper<INftRank>;
331
+ OpportunitiesPageV2: ResolverTypeWrapper<IOpportunitiesPageV2>;
332
+ Opportunity: ResolverTypeWrapper<IOpportunity>;
333
+ Int: ResolverTypeWrapper<Scalars['Int']>;
334
+ OpportunityV2: ResolverTypeWrapper<IOpportunityV2>;
335
+ Query: ResolverTypeWrapper<{}>;
336
+ WalletRank: ResolverTypeWrapper<IWalletRank>;
337
+ };
338
+
339
+ /** Mapping between all available schema types and the resolvers parents */
340
+ export type IResolversParentTypes = {
341
+ AssetData: IAssetData;
342
+ String: Scalars['String'];
343
+ Float: Scalars['Float'];
344
+ Brand: IBrand;
345
+ ID: Scalars['ID'];
346
+ Category: ICategory;
347
+ CollectionData: ICollectionData;
348
+ CollectionKey: ICollectionKey;
349
+ CollectionRank: ICollectionRank;
350
+ Long: Scalars['Long'];
351
+ Mutation: {};
352
+ Boolean: Scalars['Boolean'];
353
+ NFTData: INftData;
354
+ NFTKey: INftKey;
355
+ NFTRank: INftRank;
356
+ OpportunitiesPageV2: IOpportunitiesPageV2;
357
+ Opportunity: IOpportunity;
358
+ Int: Scalars['Int'];
359
+ OpportunityV2: IOpportunityV2;
360
+ Query: {};
361
+ WalletRank: IWalletRank;
362
+ };
363
+
364
+ export type IOneOfDirectiveArgs = { };
365
+
366
+ export type IOneOfDirectiveResolver<Result, Parent, ContextType = any, Args = IOneOfDirectiveArgs> = DirectiveResolverFn<Result, Parent, ContextType, Args>;
367
+
368
+ export type IAssetDataResolvers<ContextType = any, ParentType extends IResolversParentTypes['AssetData'] = IResolversParentTypes['AssetData']> = {
369
+ assetId?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
370
+ rank?: Resolver<Maybe<IResolversTypes['Float']>, ParentType, ContextType>;
371
+ __isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
372
+ };
373
+
374
+ export type IBrandResolvers<ContextType = any, ParentType extends IResolversParentTypes['Brand'] = IResolversParentTypes['Brand']> = {
375
+ brandId?: Resolver<IResolversTypes['ID'], ParentType, ContextType>;
376
+ name?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
377
+ matchingWords?: Resolver<Array<Maybe<IResolversTypes['String']>>, ParentType, ContextType>;
378
+ description?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
379
+ industry?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
380
+ link?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
381
+ media?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
382
+ __isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
383
+ };
384
+
385
+ export type ICategoryResolvers<ContextType = any, ParentType extends IResolversParentTypes['Category'] = IResolversParentTypes['Category']> = {
386
+ categoryId?: Resolver<IResolversTypes['ID'], ParentType, ContextType>;
387
+ name?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
388
+ matchingWords?: Resolver<Array<Maybe<IResolversTypes['String']>>, ParentType, ContextType>;
389
+ __isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
390
+ };
391
+
392
+ export type ICollectionDataResolvers<ContextType = any, ParentType extends IResolversParentTypes['CollectionData'] = IResolversParentTypes['CollectionData']> = {
393
+ collectionId?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
394
+ title?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
395
+ rank?: Resolver<Maybe<IResolversTypes['Float']>, ParentType, ContextType>;
396
+ createdAt?: Resolver<Maybe<IResolversTypes['Long']>, ParentType, ContextType>;
397
+ itemsNum?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
398
+ holdersNum?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
399
+ floorPrice?: Resolver<Maybe<IResolversTypes['Float']>, ParentType, ContextType>;
400
+ coverS3Key?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
401
+ videoCoverS3Key?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
402
+ __isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
403
+ };
404
+
405
+ export type ICollectionRankResolvers<ContextType = any, ParentType extends IResolversParentTypes['CollectionRank'] = IResolversParentTypes['CollectionRank']> = {
406
+ blockchain?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
407
+ address?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
408
+ tokenId?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
409
+ id?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
410
+ collectionTitle?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
411
+ rank?: Resolver<Maybe<IResolversTypes['Float']>, ParentType, ContextType>;
412
+ __isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
413
+ };
414
+
415
+ export interface ILongScalarConfig extends GraphQLScalarTypeConfig<IResolversTypes['Long'], any> {
416
+ name: 'Long';
417
+ }
418
+
419
+ export type IMutationResolvers<ContextType = any, ParentType extends IResolversParentTypes['Mutation'] = IResolversParentTypes['Mutation']> = {
420
+ setDummy?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
421
+ visitPage?: Resolver<Array<Maybe<IResolversTypes['Opportunity']>>, ParentType, ContextType, RequireFields<IMutationVisitPageArgs, 'domain' | 'title'>>;
422
+ visitPageV2?: Resolver<Maybe<IResolversTypes['OpportunityV2']>, ParentType, ContextType, RequireFields<IMutationVisitPageV2Args, 'domain' | 'title'>>;
423
+ openOpportunityV2?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationOpenOpportunityV2Args, 'opportunityId'>>;
424
+ hideOpportunityV2?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType, RequireFields<IMutationHideOpportunityV2Args, 'opportunityId'>>;
425
+ clearCaches?: Resolver<IResolversTypes['Boolean'], ParentType, ContextType>;
426
+ };
427
+
428
+ export type INftDataResolvers<ContextType = any, ParentType extends IResolversParentTypes['NFTData'] = IResolversParentTypes['NFTData']> = {
429
+ blockchain?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
430
+ contractAddress?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
431
+ tokenId?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
432
+ elrondId?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
433
+ collectionTitle?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
434
+ collectionData?: Resolver<Maybe<IResolversTypes['CollectionData']>, ParentType, ContextType>;
435
+ assetData?: Resolver<Maybe<IResolversTypes['AssetData']>, ParentType, ContextType>;
436
+ userRank?: Resolver<Maybe<IResolversTypes['Float']>, ParentType, ContextType>;
437
+ __isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
438
+ };
439
+
440
+ export type INftRankResolvers<ContextType = any, ParentType extends IResolversParentTypes['NFTRank'] = IResolversParentTypes['NFTRank']> = {
441
+ blockchain?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
442
+ address?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
443
+ tokenId?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
444
+ id?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
445
+ rank?: Resolver<Maybe<IResolversTypes['Float']>, ParentType, ContextType>;
446
+ __isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
447
+ };
448
+
449
+ export type IOpportunitiesPageV2Resolvers<ContextType = any, ParentType extends IResolversParentTypes['OpportunitiesPageV2'] = IResolversParentTypes['OpportunitiesPageV2']> = {
450
+ currentOpportunities?: Resolver<Maybe<Array<Maybe<IResolversTypes['OpportunityV2']>>>, ParentType, ContextType>;
451
+ similarOpportunities?: Resolver<Maybe<Array<Maybe<IResolversTypes['OpportunityV2']>>>, ParentType, ContextType>;
452
+ __isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
453
+ };
454
+
455
+ export type IOpportunityResolvers<ContextType = any, ParentType extends IResolversParentTypes['Opportunity'] = IResolversParentTypes['Opportunity']> = {
456
+ opportunityId?: Resolver<Maybe<IResolversTypes['ID']>, ParentType, ContextType>;
457
+ name?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
458
+ description?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
459
+ startedAt?: Resolver<Maybe<IResolversTypes['Long']>, ParentType, ContextType>;
460
+ endedAt?: Resolver<Maybe<IResolversTypes['Long']>, ParentType, ContextType>;
461
+ createdAt?: Resolver<Maybe<IResolversTypes['Long']>, ParentType, ContextType>;
462
+ tags?: Resolver<Maybe<Array<Maybe<IResolversTypes['String']>>>, ParentType, ContextType>;
463
+ category?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
464
+ media?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
465
+ links?: Resolver<Maybe<Array<Maybe<IResolversTypes['String']>>>, ParentType, ContextType>;
466
+ ludoRankRequired?: Resolver<Maybe<IResolversTypes['Boolean']>, ParentType, ContextType>;
467
+ ludoRankRequiredMin?: Resolver<Maybe<IResolversTypes['Int']>, ParentType, ContextType>;
468
+ ludoRankRequiredMax?: Resolver<Maybe<IResolversTypes['Int']>, ParentType, ContextType>;
469
+ rewardType?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
470
+ creatorId?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
471
+ creatorWallet?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
472
+ status?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
473
+ shareLink?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
474
+ notifiable?: Resolver<Maybe<IResolversTypes['Boolean']>, ParentType, ContextType>;
475
+ brandId?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
476
+ brandName?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
477
+ brandDescription?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
478
+ brandIndustry?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
479
+ brandLink?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
480
+ brandMedia?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
481
+ __isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
482
+ };
483
+
484
+ export type IOpportunityV2Resolvers<ContextType = any, ParentType extends IResolversParentTypes['OpportunityV2'] = IResolversParentTypes['OpportunityV2']> = {
485
+ opportunityId?: Resolver<Maybe<IResolversTypes['ID']>, ParentType, ContextType>;
486
+ brandId?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
487
+ categoryId?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
488
+ opportunityStatus?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
489
+ opportunityType?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
490
+ notificationType?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
491
+ name?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
492
+ description?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
493
+ brandName?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
494
+ brandDescription?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
495
+ brandMedia?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
496
+ brandUrl?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
497
+ brandIndustry?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
498
+ categoryName?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
499
+ ludoUrl?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
500
+ projectUrl?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
501
+ activeFrom?: Resolver<Maybe<IResolversTypes['Long']>, ParentType, ContextType>;
502
+ activeUntil?: Resolver<Maybe<IResolversTypes['Long']>, ParentType, ContextType>;
503
+ media?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
504
+ reportLink?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
505
+ shareLink?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
506
+ __isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
507
+ };
508
+
509
+ export type IQueryResolvers<ContextType = any, ParentType extends IResolversParentTypes['Query'] = IResolversParentTypes['Query']> = {
510
+ getDummy?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
511
+ fetchNFTData?: Resolver<IResolversTypes['NFTData'], ParentType, ContextType, RequireFields<IQueryFetchNftDataArgs, 'blockchain'>>;
512
+ fetchCollectionsData?: Resolver<Array<IResolversTypes['CollectionData']>, ParentType, ContextType, RequireFields<IQueryFetchCollectionsDataArgs, 'collectionKeys'>>;
513
+ fetchNFTRanks?: Resolver<Array<IResolversTypes['NFTRank']>, ParentType, ContextType, RequireFields<IQueryFetchNftRanksArgs, 'nftKeys'>>;
514
+ fetchCollectionRanks?: Resolver<Array<IResolversTypes['CollectionRank']>, ParentType, ContextType, RequireFields<IQueryFetchCollectionRanksArgs, 'collectionKeys'>>;
515
+ fetchWalletRanks?: Resolver<Array<IResolversTypes['WalletRank']>, ParentType, ContextType, RequireFields<IQueryFetchWalletRanksArgs, 'wallets'>>;
516
+ fetchExtensionBrands?: Resolver<Array<Maybe<IResolversTypes['Brand']>>, ParentType, ContextType>;
517
+ fetchExtensionCategories?: Resolver<Array<Maybe<IResolversTypes['Category']>>, ParentType, ContextType>;
518
+ fetchExtensionOpportunitiesV2?: Resolver<IResolversTypes['OpportunitiesPageV2'], ParentType, ContextType, RequireFields<IQueryFetchExtensionOpportunitiesV2Args, 'domain'>>;
519
+ };
520
+
521
+ export type IWalletRankResolvers<ContextType = any, ParentType extends IResolversParentTypes['WalletRank'] = IResolversParentTypes['WalletRank']> = {
522
+ wallet?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
523
+ rank?: Resolver<Maybe<IResolversTypes['Float']>, ParentType, ContextType>;
524
+ __isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
525
+ };
526
+
527
+ export type IResolvers<ContextType = any> = {
528
+ AssetData?: IAssetDataResolvers<ContextType>;
529
+ Brand?: IBrandResolvers<ContextType>;
530
+ Category?: ICategoryResolvers<ContextType>;
531
+ CollectionData?: ICollectionDataResolvers<ContextType>;
532
+ CollectionRank?: ICollectionRankResolvers<ContextType>;
533
+ Long?: GraphQLScalarType;
534
+ Mutation?: IMutationResolvers<ContextType>;
535
+ NFTData?: INftDataResolvers<ContextType>;
536
+ NFTRank?: INftRankResolvers<ContextType>;
537
+ OpportunitiesPageV2?: IOpportunitiesPageV2Resolvers<ContextType>;
538
+ Opportunity?: IOpportunityResolvers<ContextType>;
539
+ OpportunityV2?: IOpportunityV2Resolvers<ContextType>;
540
+ Query?: IQueryResolvers<ContextType>;
541
+ WalletRank?: IWalletRankResolvers<ContextType>;
542
+ };
543
+
544
+ export type IDirectiveResolvers<ContextType = any> = {
545
+ oneOf?: IOneOfDirectiveResolver<any, any, ContextType>;
546
+ };
547
+
548
+ export type IHideOpportunityV2MutationVariables = Exact<{
549
+ opportunityId: Scalars['ID'];
550
+ }>;
551
+
552
+
553
+ export type IHideOpportunityV2Mutation = Pick<IMutation, 'hideOpportunityV2'>;
554
+
555
+ export type IOpenOpportunityV2MutationVariables = Exact<{
556
+ opportunityId: Scalars['ID'];
557
+ }>;
558
+
559
+
560
+ export type IOpenOpportunityV2Mutation = Pick<IMutation, 'openOpportunityV2'>;
561
+
562
+ export type IVisitPageV2MutationVariables = Exact<{
563
+ domain: Scalars['String'];
564
+ title: Scalars['String'];
565
+ description?: Maybe<Scalars['String']>;
566
+ tags?: Maybe<Array<Maybe<Scalars['String']>>>;
567
+ brandId?: Maybe<Scalars['String']>;
568
+ category?: Maybe<Scalars['String']>;
569
+ }>;
570
+
571
+
572
+ export type IVisitPageV2Mutation = { visitPageV2?: Maybe<Pick<IOpportunityV2, 'opportunityId' | 'brandId' | 'categoryId' | 'opportunityStatus' | 'opportunityType' | 'notificationType' | 'name' | 'brandName' | 'brandDescription' | 'brandMedia' | 'brandUrl' | 'brandIndustry' | 'categoryName' | 'description' | 'ludoUrl' | 'projectUrl' | 'activeFrom' | 'activeUntil' | 'media' | 'reportLink' | 'shareLink'>> };
573
+
574
+ export type IFetchCollectionRanksQueryVariables = Exact<{
575
+ collectionKeys: Array<ICollectionKey>;
576
+ }>;
577
+
578
+
579
+ export type IFetchCollectionRanksQuery = { fetchCollectionRanks: Array<Pick<ICollectionRank, 'blockchain' | 'address' | 'tokenId' | 'id' | 'collectionTitle' | 'rank'>> };
580
+
581
+ export type IFetchExtensionBrandsQueryVariables = Exact<{ [key: string]: never; }>;
582
+
583
+
584
+ export type IFetchExtensionBrandsQuery = { fetchExtensionBrands: Array<Maybe<Pick<IBrand, 'brandId' | 'name' | 'matchingWords' | 'description' | 'industry' | 'link' | 'media'>>> };
585
+
586
+ export type IFetchExtensionCategoriesQueryVariables = Exact<{ [key: string]: never; }>;
587
+
588
+
589
+ export type IFetchExtensionCategoriesQuery = { fetchExtensionCategories: Array<Maybe<Pick<ICategory, 'categoryId' | 'name' | 'matchingWords'>>> };
590
+
591
+ export type IFetchExtensionOpportunitiesV2QueryVariables = Exact<{
592
+ domain: Scalars['String'];
593
+ brandId?: Maybe<Scalars['String']>;
594
+ categoryId?: Maybe<Scalars['String']>;
595
+ }>;
596
+
597
+
598
+ export type IFetchExtensionOpportunitiesV2Query = { fetchExtensionOpportunitiesV2: { currentOpportunities?: Maybe<Array<Maybe<Pick<IOpportunityV2, 'opportunityId' | 'brandId' | 'categoryId' | 'opportunityStatus' | 'opportunityType' | 'notificationType' | 'name' | 'brandName' | 'brandDescription' | 'brandMedia' | 'brandUrl' | 'brandIndustry' | 'categoryName' | 'description' | 'ludoUrl' | 'projectUrl' | 'activeFrom' | 'activeUntil' | 'media' | 'reportLink' | 'shareLink'>>>>, similarOpportunities?: Maybe<Array<Maybe<Pick<IOpportunityV2, 'opportunityId' | 'brandId' | 'categoryId' | 'opportunityStatus' | 'opportunityType' | 'notificationType' | 'name' | 'brandName' | 'brandDescription' | 'brandMedia' | 'brandUrl' | 'brandIndustry' | 'categoryName' | 'description' | 'ludoUrl' | 'projectUrl' | 'activeFrom' | 'activeUntil' | 'media' | 'reportLink' | 'shareLink'>>>> } };
599
+
600
+ export type IFetchNftDataQueryVariables = Exact<{
601
+ blockchain: Scalars['String'];
602
+ contractAddress?: Maybe<Scalars['String']>;
603
+ tokenId?: Maybe<Scalars['String']>;
604
+ elrondId?: Maybe<Scalars['String']>;
605
+ }>;
606
+
607
+
608
+ export type IFetchNftDataQuery = { fetchNFTData: (
609
+ Pick<INftData, 'blockchain' | 'contractAddress' | 'tokenId' | 'elrondId' | 'userRank'>
610
+ & { collectionData?: Maybe<Pick<ICollectionData, 'collectionId' | 'title' | 'rank' | 'createdAt' | 'itemsNum' | 'holdersNum' | 'floorPrice'>>, assetData?: Maybe<Pick<IAssetData, 'assetId' | 'rank'>> }
611
+ ) };
612
+
613
+ export type IFetchNftRanksQueryVariables = Exact<{
614
+ nftKeys: Array<INftKey>;
615
+ }>;
616
+
617
+
618
+ export type IFetchNftRanksQuery = { fetchNFTRanks: Array<Pick<INftRank, 'blockchain' | 'address' | 'tokenId' | 'id' | 'rank'>> };
619
+
620
+ export type IFetchWalletRanksQueryVariables = Exact<{
621
+ wallets: Array<Scalars['String']>;
622
+ }>;
623
+
624
+
625
+ export type IFetchWalletRanksQuery = { fetchWalletRanks: Array<Pick<IWalletRank, 'wallet' | 'rank'>> };
626
+
627
+
628
+ export const HideOpportunityV2Document = gql`
629
+ mutation HideOpportunityV2($opportunityId: ID!) {
630
+ hideOpportunityV2(opportunityId: $opportunityId)
631
+ }
632
+ `;
633
+ export type IHideOpportunityV2MutationFn = Apollo.MutationFunction<IHideOpportunityV2Mutation, IHideOpportunityV2MutationVariables>;
634
+
635
+ /**
636
+ * __useHideOpportunityV2Mutation__
637
+ *
638
+ * To run a mutation, you first call `useHideOpportunityV2Mutation` within a React component and pass it any options that fit your needs.
639
+ * When your component renders, `useHideOpportunityV2Mutation` returns a tuple that includes:
640
+ * - A mutate function that you can call at any time to execute the mutation
641
+ * - An object with fields that represent the current status of the mutation's execution
642
+ *
643
+ * @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;
644
+ *
645
+ * @example
646
+ * const [hideOpportunityV2Mutation, { data, loading, error }] = useHideOpportunityV2Mutation({
647
+ * variables: {
648
+ * opportunityId: // value for 'opportunityId'
649
+ * },
650
+ * });
651
+ */
652
+ export function useHideOpportunityV2Mutation(baseOptions?: Apollo.MutationHookOptions<IHideOpportunityV2Mutation, IHideOpportunityV2MutationVariables>) {
653
+ return Apollo.useMutation<IHideOpportunityV2Mutation, IHideOpportunityV2MutationVariables>(HideOpportunityV2Document, baseOptions);
654
+ }
655
+ export type HideOpportunityV2MutationHookResult = ReturnType<typeof useHideOpportunityV2Mutation>;
656
+ export type HideOpportunityV2MutationResult = Apollo.MutationResult<IHideOpportunityV2Mutation>;
657
+ export type HideOpportunityV2MutationOptions = Apollo.BaseMutationOptions<IHideOpportunityV2Mutation, IHideOpportunityV2MutationVariables>;
658
+ export const OpenOpportunityV2Document = gql`
659
+ mutation OpenOpportunityV2($opportunityId: ID!) {
660
+ openOpportunityV2(opportunityId: $opportunityId)
661
+ }
662
+ `;
663
+ export type IOpenOpportunityV2MutationFn = Apollo.MutationFunction<IOpenOpportunityV2Mutation, IOpenOpportunityV2MutationVariables>;
664
+
665
+ /**
666
+ * __useOpenOpportunityV2Mutation__
667
+ *
668
+ * To run a mutation, you first call `useOpenOpportunityV2Mutation` within a React component and pass it any options that fit your needs.
669
+ * When your component renders, `useOpenOpportunityV2Mutation` returns a tuple that includes:
670
+ * - A mutate function that you can call at any time to execute the mutation
671
+ * - An object with fields that represent the current status of the mutation's execution
672
+ *
673
+ * @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;
674
+ *
675
+ * @example
676
+ * const [openOpportunityV2Mutation, { data, loading, error }] = useOpenOpportunityV2Mutation({
677
+ * variables: {
678
+ * opportunityId: // value for 'opportunityId'
679
+ * },
680
+ * });
681
+ */
682
+ export function useOpenOpportunityV2Mutation(baseOptions?: Apollo.MutationHookOptions<IOpenOpportunityV2Mutation, IOpenOpportunityV2MutationVariables>) {
683
+ return Apollo.useMutation<IOpenOpportunityV2Mutation, IOpenOpportunityV2MutationVariables>(OpenOpportunityV2Document, baseOptions);
684
+ }
685
+ export type OpenOpportunityV2MutationHookResult = ReturnType<typeof useOpenOpportunityV2Mutation>;
686
+ export type OpenOpportunityV2MutationResult = Apollo.MutationResult<IOpenOpportunityV2Mutation>;
687
+ export type OpenOpportunityV2MutationOptions = Apollo.BaseMutationOptions<IOpenOpportunityV2Mutation, IOpenOpportunityV2MutationVariables>;
688
+ export const VisitPageV2Document = gql`
689
+ mutation VisitPageV2($domain: String!, $title: String!, $description: String, $tags: [String], $brandId: String, $category: String) {
690
+ visitPageV2(
691
+ domain: $domain
692
+ title: $title
693
+ description: $description
694
+ tags: $tags
695
+ brandId: $brandId
696
+ category: $category
697
+ ) {
698
+ opportunityId
699
+ brandId
700
+ categoryId
701
+ opportunityStatus
702
+ opportunityType
703
+ notificationType
704
+ name
705
+ brandName
706
+ brandDescription
707
+ brandMedia
708
+ brandUrl
709
+ brandIndustry
710
+ categoryName
711
+ description
712
+ ludoUrl
713
+ projectUrl
714
+ activeFrom
715
+ activeUntil
716
+ media
717
+ reportLink
718
+ shareLink
719
+ }
720
+ }
721
+ `;
722
+ export type IVisitPageV2MutationFn = Apollo.MutationFunction<IVisitPageV2Mutation, IVisitPageV2MutationVariables>;
723
+
724
+ /**
725
+ * __useVisitPageV2Mutation__
726
+ *
727
+ * To run a mutation, you first call `useVisitPageV2Mutation` within a React component and pass it any options that fit your needs.
728
+ * When your component renders, `useVisitPageV2Mutation` returns a tuple that includes:
729
+ * - A mutate function that you can call at any time to execute the mutation
730
+ * - An object with fields that represent the current status of the mutation's execution
731
+ *
732
+ * @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;
733
+ *
734
+ * @example
735
+ * const [visitPageV2Mutation, { data, loading, error }] = useVisitPageV2Mutation({
736
+ * variables: {
737
+ * domain: // value for 'domain'
738
+ * title: // value for 'title'
739
+ * description: // value for 'description'
740
+ * tags: // value for 'tags'
741
+ * brandId: // value for 'brandId'
742
+ * category: // value for 'category'
743
+ * },
744
+ * });
745
+ */
746
+ export function useVisitPageV2Mutation(baseOptions?: Apollo.MutationHookOptions<IVisitPageV2Mutation, IVisitPageV2MutationVariables>) {
747
+ return Apollo.useMutation<IVisitPageV2Mutation, IVisitPageV2MutationVariables>(VisitPageV2Document, baseOptions);
748
+ }
749
+ export type VisitPageV2MutationHookResult = ReturnType<typeof useVisitPageV2Mutation>;
750
+ export type VisitPageV2MutationResult = Apollo.MutationResult<IVisitPageV2Mutation>;
751
+ export type VisitPageV2MutationOptions = Apollo.BaseMutationOptions<IVisitPageV2Mutation, IVisitPageV2MutationVariables>;
752
+ export const FetchCollectionRanksDocument = gql`
753
+ query FetchCollectionRanks($collectionKeys: [CollectionKey!]!) {
754
+ fetchCollectionRanks(collectionKeys: $collectionKeys) {
755
+ blockchain
756
+ address
757
+ tokenId
758
+ id
759
+ collectionTitle
760
+ rank
761
+ }
762
+ }
763
+ `;
764
+
765
+ /**
766
+ * __useFetchCollectionRanksQuery__
767
+ *
768
+ * To run a query within a React component, call `useFetchCollectionRanksQuery` and pass it any options that fit your needs.
769
+ * When your component renders, `useFetchCollectionRanksQuery` returns an object from Apollo Client that contains loading, error, and data properties
770
+ * you can use to render your UI.
771
+ *
772
+ * @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;
773
+ *
774
+ * @example
775
+ * const { data, loading, error } = useFetchCollectionRanksQuery({
776
+ * variables: {
777
+ * collectionKeys: // value for 'collectionKeys'
778
+ * },
779
+ * });
780
+ */
781
+ export function useFetchCollectionRanksQuery(baseOptions: Apollo.QueryHookOptions<IFetchCollectionRanksQuery, IFetchCollectionRanksQueryVariables>) {
782
+ return Apollo.useQuery<IFetchCollectionRanksQuery, IFetchCollectionRanksQueryVariables>(FetchCollectionRanksDocument, baseOptions);
783
+ }
784
+ export function useFetchCollectionRanksLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<IFetchCollectionRanksQuery, IFetchCollectionRanksQueryVariables>) {
785
+ return Apollo.useLazyQuery<IFetchCollectionRanksQuery, IFetchCollectionRanksQueryVariables>(FetchCollectionRanksDocument, baseOptions);
786
+ }
787
+ export type FetchCollectionRanksQueryHookResult = ReturnType<typeof useFetchCollectionRanksQuery>;
788
+ export type FetchCollectionRanksLazyQueryHookResult = ReturnType<typeof useFetchCollectionRanksLazyQuery>;
789
+ export type FetchCollectionRanksQueryResult = Apollo.QueryResult<IFetchCollectionRanksQuery, IFetchCollectionRanksQueryVariables>;
790
+ export const FetchExtensionBrandsDocument = gql`
791
+ query FetchExtensionBrands {
792
+ fetchExtensionBrands {
793
+ brandId
794
+ name
795
+ matchingWords
796
+ description
797
+ industry
798
+ link
799
+ media
800
+ }
801
+ }
802
+ `;
803
+
804
+ /**
805
+ * __useFetchExtensionBrandsQuery__
806
+ *
807
+ * To run a query within a React component, call `useFetchExtensionBrandsQuery` and pass it any options that fit your needs.
808
+ * When your component renders, `useFetchExtensionBrandsQuery` returns an object from Apollo Client that contains loading, error, and data properties
809
+ * you can use to render your UI.
810
+ *
811
+ * @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;
812
+ *
813
+ * @example
814
+ * const { data, loading, error } = useFetchExtensionBrandsQuery({
815
+ * variables: {
816
+ * },
817
+ * });
818
+ */
819
+ export function useFetchExtensionBrandsQuery(baseOptions?: Apollo.QueryHookOptions<IFetchExtensionBrandsQuery, IFetchExtensionBrandsQueryVariables>) {
820
+ return Apollo.useQuery<IFetchExtensionBrandsQuery, IFetchExtensionBrandsQueryVariables>(FetchExtensionBrandsDocument, baseOptions);
821
+ }
822
+ export function useFetchExtensionBrandsLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<IFetchExtensionBrandsQuery, IFetchExtensionBrandsQueryVariables>) {
823
+ return Apollo.useLazyQuery<IFetchExtensionBrandsQuery, IFetchExtensionBrandsQueryVariables>(FetchExtensionBrandsDocument, baseOptions);
824
+ }
825
+ export type FetchExtensionBrandsQueryHookResult = ReturnType<typeof useFetchExtensionBrandsQuery>;
826
+ export type FetchExtensionBrandsLazyQueryHookResult = ReturnType<typeof useFetchExtensionBrandsLazyQuery>;
827
+ export type FetchExtensionBrandsQueryResult = Apollo.QueryResult<IFetchExtensionBrandsQuery, IFetchExtensionBrandsQueryVariables>;
828
+ export const FetchExtensionCategoriesDocument = gql`
829
+ query FetchExtensionCategories {
830
+ fetchExtensionCategories {
831
+ categoryId
832
+ name
833
+ matchingWords
834
+ }
835
+ }
836
+ `;
837
+
838
+ /**
839
+ * __useFetchExtensionCategoriesQuery__
840
+ *
841
+ * To run a query within a React component, call `useFetchExtensionCategoriesQuery` and pass it any options that fit your needs.
842
+ * When your component renders, `useFetchExtensionCategoriesQuery` returns an object from Apollo Client that contains loading, error, and data properties
843
+ * you can use to render your UI.
844
+ *
845
+ * @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;
846
+ *
847
+ * @example
848
+ * const { data, loading, error } = useFetchExtensionCategoriesQuery({
849
+ * variables: {
850
+ * },
851
+ * });
852
+ */
853
+ export function useFetchExtensionCategoriesQuery(baseOptions?: Apollo.QueryHookOptions<IFetchExtensionCategoriesQuery, IFetchExtensionCategoriesQueryVariables>) {
854
+ return Apollo.useQuery<IFetchExtensionCategoriesQuery, IFetchExtensionCategoriesQueryVariables>(FetchExtensionCategoriesDocument, baseOptions);
855
+ }
856
+ export function useFetchExtensionCategoriesLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<IFetchExtensionCategoriesQuery, IFetchExtensionCategoriesQueryVariables>) {
857
+ return Apollo.useLazyQuery<IFetchExtensionCategoriesQuery, IFetchExtensionCategoriesQueryVariables>(FetchExtensionCategoriesDocument, baseOptions);
858
+ }
859
+ export type FetchExtensionCategoriesQueryHookResult = ReturnType<typeof useFetchExtensionCategoriesQuery>;
860
+ export type FetchExtensionCategoriesLazyQueryHookResult = ReturnType<typeof useFetchExtensionCategoriesLazyQuery>;
861
+ export type FetchExtensionCategoriesQueryResult = Apollo.QueryResult<IFetchExtensionCategoriesQuery, IFetchExtensionCategoriesQueryVariables>;
862
+ export const FetchExtensionOpportunitiesV2Document = gql`
863
+ query FetchExtensionOpportunitiesV2($domain: String!, $brandId: String, $categoryId: String) {
864
+ fetchExtensionOpportunitiesV2(
865
+ domain: $domain
866
+ brandId: $brandId
867
+ categoryId: $categoryId
868
+ ) {
869
+ currentOpportunities {
870
+ opportunityId
871
+ brandId
872
+ categoryId
873
+ opportunityStatus
874
+ opportunityType
875
+ notificationType
876
+ name
877
+ brandName
878
+ brandDescription
879
+ brandMedia
880
+ brandUrl
881
+ brandIndustry
882
+ categoryName
883
+ description
884
+ ludoUrl
885
+ projectUrl
886
+ activeFrom
887
+ activeUntil
888
+ media
889
+ reportLink
890
+ shareLink
891
+ }
892
+ similarOpportunities {
893
+ opportunityId
894
+ brandId
895
+ categoryId
896
+ opportunityStatus
897
+ opportunityType
898
+ notificationType
899
+ name
900
+ brandName
901
+ brandDescription
902
+ brandMedia
903
+ brandUrl
904
+ brandIndustry
905
+ categoryName
906
+ description
907
+ ludoUrl
908
+ projectUrl
909
+ activeFrom
910
+ activeUntil
911
+ media
912
+ reportLink
913
+ shareLink
914
+ }
915
+ }
916
+ }
917
+ `;
918
+
919
+ /**
920
+ * __useFetchExtensionOpportunitiesV2Query__
921
+ *
922
+ * To run a query within a React component, call `useFetchExtensionOpportunitiesV2Query` and pass it any options that fit your needs.
923
+ * When your component renders, `useFetchExtensionOpportunitiesV2Query` returns an object from Apollo Client that contains loading, error, and data properties
924
+ * you can use to render your UI.
925
+ *
926
+ * @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;
927
+ *
928
+ * @example
929
+ * const { data, loading, error } = useFetchExtensionOpportunitiesV2Query({
930
+ * variables: {
931
+ * domain: // value for 'domain'
932
+ * brandId: // value for 'brandId'
933
+ * categoryId: // value for 'categoryId'
934
+ * },
935
+ * });
936
+ */
937
+ export function useFetchExtensionOpportunitiesV2Query(baseOptions: Apollo.QueryHookOptions<IFetchExtensionOpportunitiesV2Query, IFetchExtensionOpportunitiesV2QueryVariables>) {
938
+ return Apollo.useQuery<IFetchExtensionOpportunitiesV2Query, IFetchExtensionOpportunitiesV2QueryVariables>(FetchExtensionOpportunitiesV2Document, baseOptions);
939
+ }
940
+ export function useFetchExtensionOpportunitiesV2LazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<IFetchExtensionOpportunitiesV2Query, IFetchExtensionOpportunitiesV2QueryVariables>) {
941
+ return Apollo.useLazyQuery<IFetchExtensionOpportunitiesV2Query, IFetchExtensionOpportunitiesV2QueryVariables>(FetchExtensionOpportunitiesV2Document, baseOptions);
942
+ }
943
+ export type FetchExtensionOpportunitiesV2QueryHookResult = ReturnType<typeof useFetchExtensionOpportunitiesV2Query>;
944
+ export type FetchExtensionOpportunitiesV2LazyQueryHookResult = ReturnType<typeof useFetchExtensionOpportunitiesV2LazyQuery>;
945
+ export type FetchExtensionOpportunitiesV2QueryResult = Apollo.QueryResult<IFetchExtensionOpportunitiesV2Query, IFetchExtensionOpportunitiesV2QueryVariables>;
946
+ export const FetchNftDataDocument = gql`
947
+ query FetchNFTData($blockchain: String!, $contractAddress: String, $tokenId: String, $elrondId: String) {
948
+ fetchNFTData(
949
+ blockchain: $blockchain
950
+ contractAddress: $contractAddress
951
+ tokenId: $tokenId
952
+ elrondId: $elrondId
953
+ ) {
954
+ blockchain
955
+ contractAddress
956
+ tokenId
957
+ elrondId
958
+ collectionData {
959
+ collectionId
960
+ title
961
+ rank
962
+ createdAt
963
+ itemsNum
964
+ holdersNum
965
+ floorPrice
966
+ }
967
+ assetData {
968
+ assetId
969
+ rank
970
+ }
971
+ userRank
972
+ }
973
+ }
974
+ `;
975
+
976
+ /**
977
+ * __useFetchNftDataQuery__
978
+ *
979
+ * To run a query within a React component, call `useFetchNftDataQuery` and pass it any options that fit your needs.
980
+ * When your component renders, `useFetchNftDataQuery` returns an object from Apollo Client that contains loading, error, and data properties
981
+ * you can use to render your UI.
982
+ *
983
+ * @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;
984
+ *
985
+ * @example
986
+ * const { data, loading, error } = useFetchNftDataQuery({
987
+ * variables: {
988
+ * blockchain: // value for 'blockchain'
989
+ * contractAddress: // value for 'contractAddress'
990
+ * tokenId: // value for 'tokenId'
991
+ * elrondId: // value for 'elrondId'
992
+ * },
993
+ * });
994
+ */
995
+ export function useFetchNftDataQuery(baseOptions: Apollo.QueryHookOptions<IFetchNftDataQuery, IFetchNftDataQueryVariables>) {
996
+ return Apollo.useQuery<IFetchNftDataQuery, IFetchNftDataQueryVariables>(FetchNftDataDocument, baseOptions);
997
+ }
998
+ export function useFetchNftDataLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<IFetchNftDataQuery, IFetchNftDataQueryVariables>) {
999
+ return Apollo.useLazyQuery<IFetchNftDataQuery, IFetchNftDataQueryVariables>(FetchNftDataDocument, baseOptions);
1000
+ }
1001
+ export type FetchNftDataQueryHookResult = ReturnType<typeof useFetchNftDataQuery>;
1002
+ export type FetchNftDataLazyQueryHookResult = ReturnType<typeof useFetchNftDataLazyQuery>;
1003
+ export type FetchNftDataQueryResult = Apollo.QueryResult<IFetchNftDataQuery, IFetchNftDataQueryVariables>;
1004
+ export const FetchNftRanksDocument = gql`
1005
+ query FetchNFTRanks($nftKeys: [NFTKey!]!) {
1006
+ fetchNFTRanks(nftKeys: $nftKeys) {
1007
+ blockchain
1008
+ address
1009
+ tokenId
1010
+ id
1011
+ rank
1012
+ }
1013
+ }
1014
+ `;
1015
+
1016
+ /**
1017
+ * __useFetchNftRanksQuery__
1018
+ *
1019
+ * To run a query within a React component, call `useFetchNftRanksQuery` and pass it any options that fit your needs.
1020
+ * When your component renders, `useFetchNftRanksQuery` returns an object from Apollo Client that contains loading, error, and data properties
1021
+ * you can use to render your UI.
1022
+ *
1023
+ * @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;
1024
+ *
1025
+ * @example
1026
+ * const { data, loading, error } = useFetchNftRanksQuery({
1027
+ * variables: {
1028
+ * nftKeys: // value for 'nftKeys'
1029
+ * },
1030
+ * });
1031
+ */
1032
+ export function useFetchNftRanksQuery(baseOptions: Apollo.QueryHookOptions<IFetchNftRanksQuery, IFetchNftRanksQueryVariables>) {
1033
+ return Apollo.useQuery<IFetchNftRanksQuery, IFetchNftRanksQueryVariables>(FetchNftRanksDocument, baseOptions);
1034
+ }
1035
+ export function useFetchNftRanksLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<IFetchNftRanksQuery, IFetchNftRanksQueryVariables>) {
1036
+ return Apollo.useLazyQuery<IFetchNftRanksQuery, IFetchNftRanksQueryVariables>(FetchNftRanksDocument, baseOptions);
1037
+ }
1038
+ export type FetchNftRanksQueryHookResult = ReturnType<typeof useFetchNftRanksQuery>;
1039
+ export type FetchNftRanksLazyQueryHookResult = ReturnType<typeof useFetchNftRanksLazyQuery>;
1040
+ export type FetchNftRanksQueryResult = Apollo.QueryResult<IFetchNftRanksQuery, IFetchNftRanksQueryVariables>;
1041
+ export const FetchWalletRanksDocument = gql`
1042
+ query FetchWalletRanks($wallets: [String!]!) {
1043
+ fetchWalletRanks(wallets: $wallets) {
1044
+ wallet
1045
+ rank
1046
+ }
1047
+ }
1048
+ `;
1049
+
1050
+ /**
1051
+ * __useFetchWalletRanksQuery__
1052
+ *
1053
+ * To run a query within a React component, call `useFetchWalletRanksQuery` and pass it any options that fit your needs.
1054
+ * When your component renders, `useFetchWalletRanksQuery` returns an object from Apollo Client that contains loading, error, and data properties
1055
+ * you can use to render your UI.
1056
+ *
1057
+ * @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;
1058
+ *
1059
+ * @example
1060
+ * const { data, loading, error } = useFetchWalletRanksQuery({
1061
+ * variables: {
1062
+ * wallets: // value for 'wallets'
1063
+ * },
1064
+ * });
1065
+ */
1066
+ export function useFetchWalletRanksQuery(baseOptions: Apollo.QueryHookOptions<IFetchWalletRanksQuery, IFetchWalletRanksQueryVariables>) {
1067
+ return Apollo.useQuery<IFetchWalletRanksQuery, IFetchWalletRanksQueryVariables>(FetchWalletRanksDocument, baseOptions);
1068
+ }
1069
+ export function useFetchWalletRanksLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<IFetchWalletRanksQuery, IFetchWalletRanksQueryVariables>) {
1070
+ return Apollo.useLazyQuery<IFetchWalletRanksQuery, IFetchWalletRanksQueryVariables>(FetchWalletRanksDocument, baseOptions);
1071
+ }
1072
+ export type FetchWalletRanksQueryHookResult = ReturnType<typeof useFetchWalletRanksQuery>;
1073
+ export type FetchWalletRanksLazyQueryHookResult = ReturnType<typeof useFetchWalletRanksLazyQuery>;
1074
+ export type FetchWalletRanksQueryResult = Apollo.QueryResult<IFetchWalletRanksQuery, IFetchWalletRanksQueryVariables>;