@ludo.ninja/api 3.0.0 → 3.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/graphql_tools/__generated__/extensionHost/schema.d.ts +57 -0
- package/build/graphql_tools/__generated__/extensionHost/schema.js +34 -1
- package/build/graphql_tools/__generated__/mintInfoHost/schema.d.ts +4 -2
- package/build/graphql_tools/__generated__/searchHost/schema.d.ts +123 -0
- package/build/graphql_tools/__generated__/searchHost/schema.js +57 -1
- package/build/index.d.ts +31 -1
- package/package.json +1 -1
- package/src/graphql_tools/__generated__/extensionHost/schema.ts +73 -1
- package/src/graphql_tools/__generated__/mintInfoHost/schema.ts +4 -2
- package/src/graphql_tools/__generated__/searchHost/schema.ts +151 -0
- package/tsconfig.tsbuildinfo +1 -1
|
@@ -182,6 +182,7 @@ export type IQuery = {
|
|
|
182
182
|
fetchNFTRanks: Array<INftRank>;
|
|
183
183
|
fetchCollectionRanks: Array<ICollectionRank>;
|
|
184
184
|
fetchWalletRanks: Array<IWalletRank>;
|
|
185
|
+
fetchWalletRanksV2: Array<IWalletRankV2>;
|
|
185
186
|
fetchExtensionBrands: Array<Maybe<IBrand>>;
|
|
186
187
|
fetchExtensionCategories: Array<Maybe<ICategory>>;
|
|
187
188
|
fetchExtensionOpportunitiesV2: IOpportunitiesPageV2;
|
|
@@ -205,15 +206,27 @@ export type IQueryFetchCollectionRanksArgs = {
|
|
|
205
206
|
export type IQueryFetchWalletRanksArgs = {
|
|
206
207
|
wallets: Array<Scalars['String']>;
|
|
207
208
|
};
|
|
209
|
+
export type IQueryFetchWalletRanksV2Args = {
|
|
210
|
+
wallets: Array<IWalletInput>;
|
|
211
|
+
};
|
|
208
212
|
export type IQueryFetchExtensionOpportunitiesV2Args = {
|
|
209
213
|
domain: Scalars['String'];
|
|
210
214
|
brandId?: Maybe<Scalars['String']>;
|
|
211
215
|
categoryId?: Maybe<Scalars['String']>;
|
|
212
216
|
};
|
|
217
|
+
export type IWalletInput = {
|
|
218
|
+
blockchain: Scalars['String'];
|
|
219
|
+
wallet: Scalars['String'];
|
|
220
|
+
};
|
|
213
221
|
export type IWalletRank = {
|
|
214
222
|
wallet: Scalars['String'];
|
|
215
223
|
rank?: Maybe<Scalars['Float']>;
|
|
216
224
|
};
|
|
225
|
+
export type IWalletRankV2 = {
|
|
226
|
+
blockchain: Scalars['String'];
|
|
227
|
+
wallet: Scalars['String'];
|
|
228
|
+
rank?: Maybe<Scalars['Float']>;
|
|
229
|
+
};
|
|
217
230
|
export type ResolverTypeWrapper<T> = Promise<T> | T;
|
|
218
231
|
export type ResolverWithResolve<TResult, TParent, TContext, TArgs> = {
|
|
219
232
|
resolve: ResolverFn<TResult, TParent, TContext, TArgs>;
|
|
@@ -262,7 +275,9 @@ export type IResolversTypes = {
|
|
|
262
275
|
Int: ResolverTypeWrapper<Scalars['Int']>;
|
|
263
276
|
OpportunityV2: ResolverTypeWrapper<IOpportunityV2>;
|
|
264
277
|
Query: ResolverTypeWrapper<{}>;
|
|
278
|
+
WalletInput: IWalletInput;
|
|
265
279
|
WalletRank: ResolverTypeWrapper<IWalletRank>;
|
|
280
|
+
WalletRankV2: ResolverTypeWrapper<IWalletRankV2>;
|
|
266
281
|
};
|
|
267
282
|
/** Mapping between all available schema types and the resolvers parents */
|
|
268
283
|
export type IResolversParentTypes = {
|
|
@@ -286,7 +301,9 @@ export type IResolversParentTypes = {
|
|
|
286
301
|
Int: Scalars['Int'];
|
|
287
302
|
OpportunityV2: IOpportunityV2;
|
|
288
303
|
Query: {};
|
|
304
|
+
WalletInput: IWalletInput;
|
|
289
305
|
WalletRank: IWalletRank;
|
|
306
|
+
WalletRankV2: IWalletRankV2;
|
|
290
307
|
};
|
|
291
308
|
export type IOneOfDirectiveArgs = {};
|
|
292
309
|
export type IOneOfDirectiveResolver<Result, Parent, ContextType = any, Args = IOneOfDirectiveArgs> = DirectiveResolverFn<Result, Parent, ContextType, Args>;
|
|
@@ -426,6 +443,7 @@ export type IQueryResolvers<ContextType = any, ParentType extends IResolversPare
|
|
|
426
443
|
fetchNFTRanks?: Resolver<Array<IResolversTypes['NFTRank']>, ParentType, ContextType, RequireFields<IQueryFetchNftRanksArgs, 'nftKeys'>>;
|
|
427
444
|
fetchCollectionRanks?: Resolver<Array<IResolversTypes['CollectionRank']>, ParentType, ContextType, RequireFields<IQueryFetchCollectionRanksArgs, 'collectionKeys'>>;
|
|
428
445
|
fetchWalletRanks?: Resolver<Array<IResolversTypes['WalletRank']>, ParentType, ContextType, RequireFields<IQueryFetchWalletRanksArgs, 'wallets'>>;
|
|
446
|
+
fetchWalletRanksV2?: Resolver<Array<IResolversTypes['WalletRankV2']>, ParentType, ContextType, RequireFields<IQueryFetchWalletRanksV2Args, 'wallets'>>;
|
|
429
447
|
fetchExtensionBrands?: Resolver<Array<Maybe<IResolversTypes['Brand']>>, ParentType, ContextType>;
|
|
430
448
|
fetchExtensionCategories?: Resolver<Array<Maybe<IResolversTypes['Category']>>, ParentType, ContextType>;
|
|
431
449
|
fetchExtensionOpportunitiesV2?: Resolver<IResolversTypes['OpportunitiesPageV2'], ParentType, ContextType, RequireFields<IQueryFetchExtensionOpportunitiesV2Args, 'domain'>>;
|
|
@@ -435,6 +453,12 @@ export type IWalletRankResolvers<ContextType = any, ParentType extends IResolver
|
|
|
435
453
|
rank?: Resolver<Maybe<IResolversTypes['Float']>, ParentType, ContextType>;
|
|
436
454
|
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
437
455
|
};
|
|
456
|
+
export type IWalletRankV2Resolvers<ContextType = any, ParentType extends IResolversParentTypes['WalletRankV2'] = IResolversParentTypes['WalletRankV2']> = {
|
|
457
|
+
blockchain?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
|
|
458
|
+
wallet?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
|
|
459
|
+
rank?: Resolver<Maybe<IResolversTypes['Float']>, ParentType, ContextType>;
|
|
460
|
+
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
461
|
+
};
|
|
438
462
|
export type IResolvers<ContextType = any> = {
|
|
439
463
|
AssetData?: IAssetDataResolvers<ContextType>;
|
|
440
464
|
Brand?: IBrandResolvers<ContextType>;
|
|
@@ -450,6 +474,7 @@ export type IResolvers<ContextType = any> = {
|
|
|
450
474
|
OpportunityV2?: IOpportunityV2Resolvers<ContextType>;
|
|
451
475
|
Query?: IQueryResolvers<ContextType>;
|
|
452
476
|
WalletRank?: IWalletRankResolvers<ContextType>;
|
|
477
|
+
WalletRankV2?: IWalletRankV2Resolvers<ContextType>;
|
|
453
478
|
};
|
|
454
479
|
export type IDirectiveResolvers<ContextType = any> = {
|
|
455
480
|
oneOf?: IOneOfDirectiveResolver<any, any, ContextType>;
|
|
@@ -526,6 +551,12 @@ export type IFetchWalletRanksQueryVariables = Exact<{
|
|
|
526
551
|
export type IFetchWalletRanksQuery = {
|
|
527
552
|
fetchWalletRanks: Array<Pick<IWalletRank, 'wallet' | 'rank'>>;
|
|
528
553
|
};
|
|
554
|
+
export type IFetchWalletRanksV2QueryVariables = Exact<{
|
|
555
|
+
wallets: Array<IWalletInput>;
|
|
556
|
+
}>;
|
|
557
|
+
export type IFetchWalletRanksV2Query = {
|
|
558
|
+
fetchWalletRanksV2: Array<Pick<IWalletRankV2, 'blockchain' | 'wallet' | 'rank'>>;
|
|
559
|
+
};
|
|
529
560
|
export declare const HideOpportunityV2Document: Apollo.DocumentNode;
|
|
530
561
|
export type IHideOpportunityV2MutationFn = Apollo.MutationFunction<IHideOpportunityV2Mutation, IHideOpportunityV2MutationVariables>;
|
|
531
562
|
/**
|
|
@@ -806,3 +837,29 @@ export declare function useFetchWalletRanksLazyQuery(baseOptions?: Apollo.LazyQu
|
|
|
806
837
|
export type FetchWalletRanksQueryHookResult = ReturnType<typeof useFetchWalletRanksQuery>;
|
|
807
838
|
export type FetchWalletRanksLazyQueryHookResult = ReturnType<typeof useFetchWalletRanksLazyQuery>;
|
|
808
839
|
export type FetchWalletRanksQueryResult = Apollo.QueryResult<IFetchWalletRanksQuery, IFetchWalletRanksQueryVariables>;
|
|
840
|
+
export declare const FetchWalletRanksV2Document: Apollo.DocumentNode;
|
|
841
|
+
/**
|
|
842
|
+
* __useFetchWalletRanksV2Query__
|
|
843
|
+
*
|
|
844
|
+
* To run a query within a React component, call `useFetchWalletRanksV2Query` and pass it any options that fit your needs.
|
|
845
|
+
* When your component renders, `useFetchWalletRanksV2Query` returns an object from Apollo Client that contains loading, error, and data properties
|
|
846
|
+
* you can use to render your UI.
|
|
847
|
+
*
|
|
848
|
+
* @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;
|
|
849
|
+
*
|
|
850
|
+
* @example
|
|
851
|
+
* const { data, loading, error } = useFetchWalletRanksV2Query({
|
|
852
|
+
* variables: {
|
|
853
|
+
* wallets: // value for 'wallets'
|
|
854
|
+
* },
|
|
855
|
+
* });
|
|
856
|
+
*/
|
|
857
|
+
export declare function useFetchWalletRanksV2Query(baseOptions: Apollo.QueryHookOptions<IFetchWalletRanksV2Query, IFetchWalletRanksV2QueryVariables>): Apollo.QueryResult<IFetchWalletRanksV2Query, Exact<{
|
|
858
|
+
wallets: IWalletInput[];
|
|
859
|
+
}>>;
|
|
860
|
+
export declare function useFetchWalletRanksV2LazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<IFetchWalletRanksV2Query, IFetchWalletRanksV2QueryVariables>): Apollo.LazyQueryResultTuple<IFetchWalletRanksV2Query, Exact<{
|
|
861
|
+
wallets: IWalletInput[];
|
|
862
|
+
}>>;
|
|
863
|
+
export type FetchWalletRanksV2QueryHookResult = ReturnType<typeof useFetchWalletRanksV2Query>;
|
|
864
|
+
export type FetchWalletRanksV2LazyQueryHookResult = ReturnType<typeof useFetchWalletRanksV2LazyQuery>;
|
|
865
|
+
export type FetchWalletRanksV2QueryResult = Apollo.QueryResult<IFetchWalletRanksV2Query, IFetchWalletRanksV2QueryVariables>;
|
|
@@ -23,7 +23,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
23
23
|
return result;
|
|
24
24
|
};
|
|
25
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
-
exports.useFetchWalletRanksLazyQuery = exports.useFetchWalletRanksQuery = exports.FetchWalletRanksDocument = exports.useFetchNftRanksLazyQuery = exports.useFetchNftRanksQuery = exports.FetchNftRanksDocument = exports.useFetchNftDataLazyQuery = exports.useFetchNftDataQuery = exports.FetchNftDataDocument = exports.useFetchExtensionOpportunitiesV2LazyQuery = exports.useFetchExtensionOpportunitiesV2Query = exports.FetchExtensionOpportunitiesV2Document = exports.useFetchExtensionCategoriesLazyQuery = exports.useFetchExtensionCategoriesQuery = exports.FetchExtensionCategoriesDocument = exports.useFetchExtensionBrandsLazyQuery = exports.useFetchExtensionBrandsQuery = exports.FetchExtensionBrandsDocument = exports.useFetchCollectionRanksLazyQuery = exports.useFetchCollectionRanksQuery = exports.FetchCollectionRanksDocument = exports.useVisitPageV2Mutation = exports.VisitPageV2Document = exports.useOpenOpportunityV2Mutation = exports.OpenOpportunityV2Document = exports.useHideOpportunityV2Mutation = exports.HideOpportunityV2Document = void 0;
|
|
26
|
+
exports.useFetchWalletRanksV2LazyQuery = exports.useFetchWalletRanksV2Query = exports.FetchWalletRanksV2Document = exports.useFetchWalletRanksLazyQuery = exports.useFetchWalletRanksQuery = exports.FetchWalletRanksDocument = exports.useFetchNftRanksLazyQuery = exports.useFetchNftRanksQuery = exports.FetchNftRanksDocument = exports.useFetchNftDataLazyQuery = exports.useFetchNftDataQuery = exports.FetchNftDataDocument = exports.useFetchExtensionOpportunitiesV2LazyQuery = exports.useFetchExtensionOpportunitiesV2Query = exports.FetchExtensionOpportunitiesV2Document = exports.useFetchExtensionCategoriesLazyQuery = exports.useFetchExtensionCategoriesQuery = exports.FetchExtensionCategoriesDocument = exports.useFetchExtensionBrandsLazyQuery = exports.useFetchExtensionBrandsQuery = exports.FetchExtensionBrandsDocument = exports.useFetchCollectionRanksLazyQuery = exports.useFetchCollectionRanksQuery = exports.FetchCollectionRanksDocument = exports.useVisitPageV2Mutation = exports.VisitPageV2Document = exports.useOpenOpportunityV2Mutation = exports.OpenOpportunityV2Document = exports.useHideOpportunityV2Mutation = exports.HideOpportunityV2Document = void 0;
|
|
27
27
|
const client_1 = require("@apollo/client");
|
|
28
28
|
const Apollo = __importStar(require("@apollo/client"));
|
|
29
29
|
exports.HideOpportunityV2Document = (0, client_1.gql) `
|
|
@@ -447,3 +447,36 @@ function useFetchWalletRanksLazyQuery(baseOptions) {
|
|
|
447
447
|
return Apollo.useLazyQuery(exports.FetchWalletRanksDocument, baseOptions);
|
|
448
448
|
}
|
|
449
449
|
exports.useFetchWalletRanksLazyQuery = useFetchWalletRanksLazyQuery;
|
|
450
|
+
exports.FetchWalletRanksV2Document = (0, client_1.gql) `
|
|
451
|
+
query FetchWalletRanksV2($wallets: [WalletInput!]!) {
|
|
452
|
+
fetchWalletRanksV2(wallets: $wallets) {
|
|
453
|
+
blockchain
|
|
454
|
+
wallet
|
|
455
|
+
rank
|
|
456
|
+
}
|
|
457
|
+
}
|
|
458
|
+
`;
|
|
459
|
+
/**
|
|
460
|
+
* __useFetchWalletRanksV2Query__
|
|
461
|
+
*
|
|
462
|
+
* To run a query within a React component, call `useFetchWalletRanksV2Query` and pass it any options that fit your needs.
|
|
463
|
+
* When your component renders, `useFetchWalletRanksV2Query` returns an object from Apollo Client that contains loading, error, and data properties
|
|
464
|
+
* you can use to render your UI.
|
|
465
|
+
*
|
|
466
|
+
* @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;
|
|
467
|
+
*
|
|
468
|
+
* @example
|
|
469
|
+
* const { data, loading, error } = useFetchWalletRanksV2Query({
|
|
470
|
+
* variables: {
|
|
471
|
+
* wallets: // value for 'wallets'
|
|
472
|
+
* },
|
|
473
|
+
* });
|
|
474
|
+
*/
|
|
475
|
+
function useFetchWalletRanksV2Query(baseOptions) {
|
|
476
|
+
return Apollo.useQuery(exports.FetchWalletRanksV2Document, baseOptions);
|
|
477
|
+
}
|
|
478
|
+
exports.useFetchWalletRanksV2Query = useFetchWalletRanksV2Query;
|
|
479
|
+
function useFetchWalletRanksV2LazyQuery(baseOptions) {
|
|
480
|
+
return Apollo.useLazyQuery(exports.FetchWalletRanksV2Document, baseOptions);
|
|
481
|
+
}
|
|
482
|
+
exports.useFetchWalletRanksV2LazyQuery = useFetchWalletRanksV2LazyQuery;
|
|
@@ -27,7 +27,7 @@ export type Scalars = {
|
|
|
27
27
|
Upload: any;
|
|
28
28
|
};
|
|
29
29
|
export type IMintingInfo = {
|
|
30
|
-
rank: Scalars['
|
|
30
|
+
rank: Scalars['Int'];
|
|
31
31
|
tier: ITier;
|
|
32
32
|
nftPrice: Scalars['Float'];
|
|
33
33
|
};
|
|
@@ -83,6 +83,7 @@ export type DirectiveResolverFn<TResult = {}, TParent = {}, TContext = {}, TArgs
|
|
|
83
83
|
export type IResolversTypes = {
|
|
84
84
|
Long: ResolverTypeWrapper<Scalars['Long']>;
|
|
85
85
|
MintingInfo: ResolverTypeWrapper<IMintingInfo>;
|
|
86
|
+
Int: ResolverTypeWrapper<Scalars['Int']>;
|
|
86
87
|
Float: ResolverTypeWrapper<Scalars['Float']>;
|
|
87
88
|
MintingInput: IMintingInput;
|
|
88
89
|
String: ResolverTypeWrapper<Scalars['String']>;
|
|
@@ -96,6 +97,7 @@ export type IResolversTypes = {
|
|
|
96
97
|
export type IResolversParentTypes = {
|
|
97
98
|
Long: Scalars['Long'];
|
|
98
99
|
MintingInfo: IMintingInfo;
|
|
100
|
+
Int: Scalars['Int'];
|
|
99
101
|
Float: Scalars['Float'];
|
|
100
102
|
MintingInput: IMintingInput;
|
|
101
103
|
String: Scalars['String'];
|
|
@@ -111,7 +113,7 @@ export interface ILongScalarConfig extends GraphQLScalarTypeConfig<IResolversTyp
|
|
|
111
113
|
name: 'Long';
|
|
112
114
|
}
|
|
113
115
|
export type IMintingInfoResolvers<ContextType = any, ParentType extends IResolversParentTypes['MintingInfo'] = IResolversParentTypes['MintingInfo']> = {
|
|
114
|
-
rank?: Resolver<IResolversTypes['
|
|
116
|
+
rank?: Resolver<IResolversTypes['Int'], ParentType, ContextType>;
|
|
115
117
|
tier?: Resolver<IResolversTypes['Tier'], ParentType, ContextType>;
|
|
116
118
|
nftPrice?: Resolver<IResolversTypes['Float'], ParentType, ContextType>;
|
|
117
119
|
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
@@ -212,12 +212,14 @@ export type IMutationDislikeCollectionArgs = {
|
|
|
212
212
|
export type IPage = {
|
|
213
213
|
token?: Maybe<Scalars['String']>;
|
|
214
214
|
num?: Maybe<Scalars['Int']>;
|
|
215
|
+
lastNum?: Maybe<Scalars['Int']>;
|
|
215
216
|
size?: Maybe<Scalars['Int']>;
|
|
216
217
|
elements?: Maybe<Scalars['Long']>;
|
|
217
218
|
};
|
|
218
219
|
export type IPageInput = {
|
|
219
220
|
token?: Maybe<Scalars['String']>;
|
|
220
221
|
size?: Maybe<Scalars['Int']>;
|
|
222
|
+
num?: Maybe<Scalars['Int']>;
|
|
221
223
|
};
|
|
222
224
|
export type IProfile = {
|
|
223
225
|
userId: Scalars['ID'];
|
|
@@ -259,6 +261,7 @@ export type IQuery = {
|
|
|
259
261
|
findCreations: ICreationsPage;
|
|
260
262
|
findUserCreations: ICreationsPage;
|
|
261
263
|
findProfilesByName: IProfilePage;
|
|
264
|
+
fetchUserReferralsInfoPage: IUserReferralsInfoPage;
|
|
262
265
|
};
|
|
263
266
|
export type IQueryFetchUserPortfolioArgs = {
|
|
264
267
|
ownerId: Scalars['String'];
|
|
@@ -326,6 +329,11 @@ export type IQueryFindProfilesByNameArgs = {
|
|
|
326
329
|
name: Scalars['String'];
|
|
327
330
|
page?: Maybe<IPageInput>;
|
|
328
331
|
};
|
|
332
|
+
export type IQueryFetchUserReferralsInfoPageArgs = {
|
|
333
|
+
filter: IUserReferralsInfoFilterInput;
|
|
334
|
+
sort: IUserReferralsInfoSortInput;
|
|
335
|
+
page: IPageInput;
|
|
336
|
+
};
|
|
329
337
|
export declare enum IReftypeColor {
|
|
330
338
|
Red = "RED",
|
|
331
339
|
Green = "GREEN",
|
|
@@ -338,11 +346,51 @@ export declare enum IReftypeColor {
|
|
|
338
346
|
Purple = "PURPLE",
|
|
339
347
|
Gold = "GOLD"
|
|
340
348
|
}
|
|
349
|
+
export type ISort = {
|
|
350
|
+
enabled: Scalars['Boolean'];
|
|
351
|
+
direction?: Maybe<ISortDirection>;
|
|
352
|
+
};
|
|
353
|
+
export declare enum ISortDirection {
|
|
354
|
+
Asc = "asc",
|
|
355
|
+
Desc = "desc"
|
|
356
|
+
}
|
|
341
357
|
export type ITopEntitiesPage = {
|
|
342
358
|
assets: Array<Maybe<IAsset>>;
|
|
343
359
|
collections: Array<Maybe<ICollection>>;
|
|
344
360
|
profiles: Array<Maybe<IProfile>>;
|
|
345
361
|
};
|
|
362
|
+
export type IUserReferralsInfo = {
|
|
363
|
+
userId: Scalars['ID'];
|
|
364
|
+
opportunityName?: Maybe<Scalars['String']>;
|
|
365
|
+
opportunityRefLink?: Maybe<Scalars['String']>;
|
|
366
|
+
opportunityUrl?: Maybe<Scalars['String']>;
|
|
367
|
+
opportunityStatus?: Maybe<Scalars['String']>;
|
|
368
|
+
activeFrom?: Maybe<Scalars['Long']>;
|
|
369
|
+
activeUntil?: Maybe<Scalars['Long']>;
|
|
370
|
+
referredUsersCount?: Maybe<Scalars['Int']>;
|
|
371
|
+
earnedXpPoints?: Maybe<Scalars['Int']>;
|
|
372
|
+
};
|
|
373
|
+
export type IUserReferralsInfoFilterInput = {
|
|
374
|
+
opportunityNameTerm?: Maybe<Scalars['String']>;
|
|
375
|
+
opportunityUrlTerm?: Maybe<Scalars['String']>;
|
|
376
|
+
opportunityRefLinkTerm?: Maybe<Scalars['String']>;
|
|
377
|
+
activeFromTimestamp?: Maybe<Scalars['Long']>;
|
|
378
|
+
activeUntilTimestamp?: Maybe<Scalars['Long']>;
|
|
379
|
+
referredUsersCount?: Maybe<Scalars['Int']>;
|
|
380
|
+
earnedXpPoints?: Maybe<Scalars['Int']>;
|
|
381
|
+
};
|
|
382
|
+
export type IUserReferralsInfoPage = {
|
|
383
|
+
userReferralsInfos: Array<Maybe<IUserReferralsInfo>>;
|
|
384
|
+
nextPage?: Maybe<IPage>;
|
|
385
|
+
};
|
|
386
|
+
export type IUserReferralsInfoSortInput = {
|
|
387
|
+
sortByOpportunityName?: Maybe<ISort>;
|
|
388
|
+
sortByActiveFrom?: Maybe<ISort>;
|
|
389
|
+
sortByActiveUntil?: Maybe<ISort>;
|
|
390
|
+
sortByOpportunityStatus?: Maybe<ISort>;
|
|
391
|
+
sortByReferredUsersCount?: Maybe<ISort>;
|
|
392
|
+
sortByEarnedXpPoints?: Maybe<ISort>;
|
|
393
|
+
};
|
|
346
394
|
export type ResolverTypeWrapper<T> = Promise<T> | T;
|
|
347
395
|
export type ResolverWithResolve<TResult, TParent, TContext, TArgs> = {
|
|
348
396
|
resolve: ResolverFn<TResult, TParent, TContext, TArgs>;
|
|
@@ -401,7 +449,13 @@ export type IResolversTypes = {
|
|
|
401
449
|
ProfilePage: ResolverTypeWrapper<IProfilePage>;
|
|
402
450
|
Query: ResolverTypeWrapper<{}>;
|
|
403
451
|
ReftypeColor: IReftypeColor;
|
|
452
|
+
Sort: ISort;
|
|
453
|
+
SortDirection: ISortDirection;
|
|
404
454
|
TopEntitiesPage: ResolverTypeWrapper<ITopEntitiesPage>;
|
|
455
|
+
UserReferralsInfo: ResolverTypeWrapper<IUserReferralsInfo>;
|
|
456
|
+
UserReferralsInfoFilterInput: IUserReferralsInfoFilterInput;
|
|
457
|
+
UserReferralsInfoPage: ResolverTypeWrapper<IUserReferralsInfoPage>;
|
|
458
|
+
UserReferralsInfoSortInput: IUserReferralsInfoSortInput;
|
|
405
459
|
};
|
|
406
460
|
/** Mapping between all available schema types and the resolvers parents */
|
|
407
461
|
export type IResolversParentTypes = {
|
|
@@ -434,7 +488,12 @@ export type IResolversParentTypes = {
|
|
|
434
488
|
Profile: IProfile;
|
|
435
489
|
ProfilePage: IProfilePage;
|
|
436
490
|
Query: {};
|
|
491
|
+
Sort: ISort;
|
|
437
492
|
TopEntitiesPage: ITopEntitiesPage;
|
|
493
|
+
UserReferralsInfo: IUserReferralsInfo;
|
|
494
|
+
UserReferralsInfoFilterInput: IUserReferralsInfoFilterInput;
|
|
495
|
+
UserReferralsInfoPage: IUserReferralsInfoPage;
|
|
496
|
+
UserReferralsInfoSortInput: IUserReferralsInfoSortInput;
|
|
438
497
|
};
|
|
439
498
|
export type INotBlankDirectiveArgs = {
|
|
440
499
|
message?: Maybe<Scalars['String']>;
|
|
@@ -617,6 +676,7 @@ export type IMutationResolvers<ContextType = any, ParentType extends IResolversP
|
|
|
617
676
|
export type IPageResolvers<ContextType = any, ParentType extends IResolversParentTypes['Page'] = IResolversParentTypes['Page']> = {
|
|
618
677
|
token?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
619
678
|
num?: Resolver<Maybe<IResolversTypes['Int']>, ParentType, ContextType>;
|
|
679
|
+
lastNum?: Resolver<Maybe<IResolversTypes['Int']>, ParentType, ContextType>;
|
|
620
680
|
size?: Resolver<Maybe<IResolversTypes['Int']>, ParentType, ContextType>;
|
|
621
681
|
elements?: Resolver<Maybe<IResolversTypes['Long']>, ParentType, ContextType>;
|
|
622
682
|
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
@@ -663,6 +723,7 @@ export type IQueryResolvers<ContextType = any, ParentType extends IResolversPare
|
|
|
663
723
|
findCreations?: Resolver<IResolversTypes['CreationsPage'], ParentType, ContextType, RequireFields<IQueryFindCreationsArgs, 'term' | 'input'>>;
|
|
664
724
|
findUserCreations?: Resolver<IResolversTypes['CreationsPage'], ParentType, ContextType, RequireFields<IQueryFindUserCreationsArgs, 'ownerId' | 'input'>>;
|
|
665
725
|
findProfilesByName?: Resolver<IResolversTypes['ProfilePage'], ParentType, ContextType, RequireFields<IQueryFindProfilesByNameArgs, 'name'>>;
|
|
726
|
+
fetchUserReferralsInfoPage?: Resolver<IResolversTypes['UserReferralsInfoPage'], ParentType, ContextType, RequireFields<IQueryFetchUserReferralsInfoPageArgs, 'filter' | 'sort' | 'page'>>;
|
|
666
727
|
};
|
|
667
728
|
export type ITopEntitiesPageResolvers<ContextType = any, ParentType extends IResolversParentTypes['TopEntitiesPage'] = IResolversParentTypes['TopEntitiesPage']> = {
|
|
668
729
|
assets?: Resolver<Array<Maybe<IResolversTypes['Asset']>>, ParentType, ContextType>;
|
|
@@ -670,6 +731,23 @@ export type ITopEntitiesPageResolvers<ContextType = any, ParentType extends IRes
|
|
|
670
731
|
profiles?: Resolver<Array<Maybe<IResolversTypes['Profile']>>, ParentType, ContextType>;
|
|
671
732
|
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
672
733
|
};
|
|
734
|
+
export type IUserReferralsInfoResolvers<ContextType = any, ParentType extends IResolversParentTypes['UserReferralsInfo'] = IResolversParentTypes['UserReferralsInfo']> = {
|
|
735
|
+
userId?: Resolver<IResolversTypes['ID'], ParentType, ContextType>;
|
|
736
|
+
opportunityName?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
737
|
+
opportunityRefLink?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
738
|
+
opportunityUrl?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
739
|
+
opportunityStatus?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
740
|
+
activeFrom?: Resolver<Maybe<IResolversTypes['Long']>, ParentType, ContextType>;
|
|
741
|
+
activeUntil?: Resolver<Maybe<IResolversTypes['Long']>, ParentType, ContextType>;
|
|
742
|
+
referredUsersCount?: Resolver<Maybe<IResolversTypes['Int']>, ParentType, ContextType>;
|
|
743
|
+
earnedXpPoints?: Resolver<Maybe<IResolversTypes['Int']>, ParentType, ContextType>;
|
|
744
|
+
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
745
|
+
};
|
|
746
|
+
export type IUserReferralsInfoPageResolvers<ContextType = any, ParentType extends IResolversParentTypes['UserReferralsInfoPage'] = IResolversParentTypes['UserReferralsInfoPage']> = {
|
|
747
|
+
userReferralsInfos?: Resolver<Array<Maybe<IResolversTypes['UserReferralsInfo']>>, ParentType, ContextType>;
|
|
748
|
+
nextPage?: Resolver<Maybe<IResolversTypes['Page']>, ParentType, ContextType>;
|
|
749
|
+
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
750
|
+
};
|
|
673
751
|
export type IResolvers<ContextType = any> = {
|
|
674
752
|
Asset?: IAssetResolvers<ContextType>;
|
|
675
753
|
AssetMarket?: IAssetMarketResolvers<ContextType>;
|
|
@@ -692,6 +770,8 @@ export type IResolvers<ContextType = any> = {
|
|
|
692
770
|
ProfilePage?: IProfilePageResolvers<ContextType>;
|
|
693
771
|
Query?: IQueryResolvers<ContextType>;
|
|
694
772
|
TopEntitiesPage?: ITopEntitiesPageResolvers<ContextType>;
|
|
773
|
+
UserReferralsInfo?: IUserReferralsInfoResolvers<ContextType>;
|
|
774
|
+
UserReferralsInfoPage?: IUserReferralsInfoPageResolvers<ContextType>;
|
|
695
775
|
};
|
|
696
776
|
export type IDirectiveResolvers<ContextType = any> = {
|
|
697
777
|
NotBlank?: INotBlankDirectiveResolver<any, any, ContextType>;
|
|
@@ -859,6 +939,17 @@ export type IFetchUserPortfolioQueryVariables = Exact<{
|
|
|
859
939
|
export type IFetchUserPortfolioQuery = {
|
|
860
940
|
fetchUserPortfolio: Array<Maybe<Pick<ICurrencyAmountPair, 'currency' | 'amount'>>>;
|
|
861
941
|
};
|
|
942
|
+
export type IFetchUserReferralsInfoPageQueryVariables = Exact<{
|
|
943
|
+
filter: IUserReferralsInfoFilterInput;
|
|
944
|
+
sort: IUserReferralsInfoSortInput;
|
|
945
|
+
page: IPageInput;
|
|
946
|
+
}>;
|
|
947
|
+
export type IFetchUserReferralsInfoPageQuery = {
|
|
948
|
+
fetchUserReferralsInfoPage: {
|
|
949
|
+
userReferralsInfos: Array<Maybe<Pick<IUserReferralsInfo, 'userId' | 'opportunityName' | 'opportunityRefLink' | 'opportunityUrl' | 'opportunityStatus' | 'activeFrom' | 'activeUntil' | 'referredUsersCount' | 'earnedXpPoints'>>>;
|
|
950
|
+
nextPage?: Maybe<Pick<IPage, 'token' | 'num' | 'size' | 'elements' | 'lastNum'>>;
|
|
951
|
+
};
|
|
952
|
+
};
|
|
862
953
|
export type IFindCreationsQueryVariables = Exact<{
|
|
863
954
|
term: Scalars['String'];
|
|
864
955
|
input: ICreationFilterInput;
|
|
@@ -1250,6 +1341,38 @@ export declare function useFetchUserPortfolioLazyQuery(baseOptions?: Apollo.Lazy
|
|
|
1250
1341
|
export type FetchUserPortfolioQueryHookResult = ReturnType<typeof useFetchUserPortfolioQuery>;
|
|
1251
1342
|
export type FetchUserPortfolioLazyQueryHookResult = ReturnType<typeof useFetchUserPortfolioLazyQuery>;
|
|
1252
1343
|
export type FetchUserPortfolioQueryResult = Apollo.QueryResult<IFetchUserPortfolioQuery, IFetchUserPortfolioQueryVariables>;
|
|
1344
|
+
export declare const FetchUserReferralsInfoPageDocument: Apollo.DocumentNode;
|
|
1345
|
+
/**
|
|
1346
|
+
* __useFetchUserReferralsInfoPageQuery__
|
|
1347
|
+
*
|
|
1348
|
+
* To run a query within a React component, call `useFetchUserReferralsInfoPageQuery` and pass it any options that fit your needs.
|
|
1349
|
+
* When your component renders, `useFetchUserReferralsInfoPageQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
1350
|
+
* you can use to render your UI.
|
|
1351
|
+
*
|
|
1352
|
+
* @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;
|
|
1353
|
+
*
|
|
1354
|
+
* @example
|
|
1355
|
+
* const { data, loading, error } = useFetchUserReferralsInfoPageQuery({
|
|
1356
|
+
* variables: {
|
|
1357
|
+
* filter: // value for 'filter'
|
|
1358
|
+
* sort: // value for 'sort'
|
|
1359
|
+
* page: // value for 'page'
|
|
1360
|
+
* },
|
|
1361
|
+
* });
|
|
1362
|
+
*/
|
|
1363
|
+
export declare function useFetchUserReferralsInfoPageQuery(baseOptions: Apollo.QueryHookOptions<IFetchUserReferralsInfoPageQuery, IFetchUserReferralsInfoPageQueryVariables>): Apollo.QueryResult<IFetchUserReferralsInfoPageQuery, Exact<{
|
|
1364
|
+
filter: IUserReferralsInfoFilterInput;
|
|
1365
|
+
sort: IUserReferralsInfoSortInput;
|
|
1366
|
+
page: IPageInput;
|
|
1367
|
+
}>>;
|
|
1368
|
+
export declare function useFetchUserReferralsInfoPageLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<IFetchUserReferralsInfoPageQuery, IFetchUserReferralsInfoPageQueryVariables>): Apollo.LazyQueryResultTuple<IFetchUserReferralsInfoPageQuery, Exact<{
|
|
1369
|
+
filter: IUserReferralsInfoFilterInput;
|
|
1370
|
+
sort: IUserReferralsInfoSortInput;
|
|
1371
|
+
page: IPageInput;
|
|
1372
|
+
}>>;
|
|
1373
|
+
export type FetchUserReferralsInfoPageQueryHookResult = ReturnType<typeof useFetchUserReferralsInfoPageQuery>;
|
|
1374
|
+
export type FetchUserReferralsInfoPageLazyQueryHookResult = ReturnType<typeof useFetchUserReferralsInfoPageLazyQuery>;
|
|
1375
|
+
export type FetchUserReferralsInfoPageQueryResult = Apollo.QueryResult<IFetchUserReferralsInfoPageQuery, IFetchUserReferralsInfoPageQueryVariables>;
|
|
1253
1376
|
export declare const FindCreationsDocument: Apollo.DocumentNode;
|
|
1254
1377
|
/**
|
|
1255
1378
|
* __useFindCreationsQuery__
|
|
@@ -23,7 +23,8 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
23
23
|
return result;
|
|
24
24
|
};
|
|
25
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
-
exports.
|
|
26
|
+
exports.useFindProfilesByNameLazyQuery = exports.useFindProfilesByNameQuery = exports.FindProfilesByNameDocument = exports.useFindCreationsLazyQuery = exports.useFindCreationsQuery = exports.FindCreationsDocument = exports.useFetchUserReferralsInfoPageLazyQuery = exports.useFetchUserReferralsInfoPageQuery = exports.FetchUserReferralsInfoPageDocument = exports.useFetchUserPortfolioLazyQuery = exports.useFetchUserPortfolioQuery = exports.FetchUserPortfolioDocument = exports.useFindAllTopEntitiesByNameLazyQuery = exports.useFindAllTopEntitiesByNameQuery = exports.FindAllTopEntitiesByNameDocument = exports.useFetchDynamicCollectionsDataLazyQuery = exports.useFetchDynamicCollectionsDataQuery = exports.FetchDynamicCollectionsDataDocument = exports.useFetchDynamicCollectionDataLazyQuery = exports.useFetchDynamicCollectionDataQuery = exports.FetchDynamicCollectionDataDocument = exports.useFetchDynamicAssetsLikesLazyQuery = exports.useFetchDynamicAssetsLikesQuery = exports.FetchDynamicAssetsLikesDocument = exports.useFetchDynamicAssetLikesLazyQuery = exports.useFetchDynamicAssetLikesQuery = exports.FetchDynamicAssetLikesDocument = exports.useFetchCreationsByTypeLazyQuery = exports.useFetchCreationsByTypeQuery = exports.FetchCreationsByTypeDocument = exports.useFetchCollectionsByIdsLazyQuery = exports.useFetchCollectionsByIdsQuery = exports.FetchCollectionsByIdsDocument = exports.useFindCollectionsLazyQuery = exports.useFindCollectionsQuery = exports.FindCollectionsDocument = exports.useFetchCollectionLazyQuery = exports.useFetchCollectionQuery = exports.FetchCollectionDocument = exports.useFetchAssetsLazyQuery = exports.useFetchAssetsQuery = exports.FetchAssetsDocument = exports.useFetchAssetByBlockchainLazyQuery = exports.useFetchAssetByBlockchainQuery = exports.FetchAssetByBlockchainDocument = exports.useFetchAllCreationsLazyQuery = exports.useFetchAllCreationsQuery = exports.FetchAllCreationsDocument = exports.ISortDirection = exports.IReftypeColor = void 0;
|
|
27
|
+
exports.useFindUserCreationsLazyQuery = exports.useFindUserCreationsQuery = exports.FindUserCreationsDocument = void 0;
|
|
27
28
|
const client_1 = require("@apollo/client");
|
|
28
29
|
const Apollo = __importStar(require("@apollo/client"));
|
|
29
30
|
var IReftypeColor;
|
|
@@ -39,6 +40,11 @@ var IReftypeColor;
|
|
|
39
40
|
IReftypeColor["Purple"] = "PURPLE";
|
|
40
41
|
IReftypeColor["Gold"] = "GOLD";
|
|
41
42
|
})(IReftypeColor || (exports.IReftypeColor = IReftypeColor = {}));
|
|
43
|
+
var ISortDirection;
|
|
44
|
+
(function (ISortDirection) {
|
|
45
|
+
ISortDirection["Asc"] = "asc";
|
|
46
|
+
ISortDirection["Desc"] = "desc";
|
|
47
|
+
})(ISortDirection || (exports.ISortDirection = ISortDirection = {}));
|
|
42
48
|
exports.FetchAllCreationsDocument = (0, client_1.gql) `
|
|
43
49
|
query FetchAllCreations($page: PageInput) {
|
|
44
50
|
fetchAllCreations(page: $page) {
|
|
@@ -1048,6 +1054,56 @@ function useFetchUserPortfolioLazyQuery(baseOptions) {
|
|
|
1048
1054
|
return Apollo.useLazyQuery(exports.FetchUserPortfolioDocument, baseOptions);
|
|
1049
1055
|
}
|
|
1050
1056
|
exports.useFetchUserPortfolioLazyQuery = useFetchUserPortfolioLazyQuery;
|
|
1057
|
+
exports.FetchUserReferralsInfoPageDocument = (0, client_1.gql) `
|
|
1058
|
+
query FetchUserReferralsInfoPage($filter: UserReferralsInfoFilterInput!, $sort: UserReferralsInfoSortInput!, $page: PageInput!) {
|
|
1059
|
+
fetchUserReferralsInfoPage(filter: $filter, sort: $sort, page: $page) {
|
|
1060
|
+
userReferralsInfos {
|
|
1061
|
+
userId
|
|
1062
|
+
opportunityName
|
|
1063
|
+
opportunityRefLink
|
|
1064
|
+
opportunityUrl
|
|
1065
|
+
opportunityStatus
|
|
1066
|
+
activeFrom
|
|
1067
|
+
activeUntil
|
|
1068
|
+
referredUsersCount
|
|
1069
|
+
earnedXpPoints
|
|
1070
|
+
}
|
|
1071
|
+
nextPage {
|
|
1072
|
+
token
|
|
1073
|
+
num
|
|
1074
|
+
size
|
|
1075
|
+
elements
|
|
1076
|
+
lastNum
|
|
1077
|
+
}
|
|
1078
|
+
}
|
|
1079
|
+
}
|
|
1080
|
+
`;
|
|
1081
|
+
/**
|
|
1082
|
+
* __useFetchUserReferralsInfoPageQuery__
|
|
1083
|
+
*
|
|
1084
|
+
* To run a query within a React component, call `useFetchUserReferralsInfoPageQuery` and pass it any options that fit your needs.
|
|
1085
|
+
* When your component renders, `useFetchUserReferralsInfoPageQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
1086
|
+
* you can use to render your UI.
|
|
1087
|
+
*
|
|
1088
|
+
* @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;
|
|
1089
|
+
*
|
|
1090
|
+
* @example
|
|
1091
|
+
* const { data, loading, error } = useFetchUserReferralsInfoPageQuery({
|
|
1092
|
+
* variables: {
|
|
1093
|
+
* filter: // value for 'filter'
|
|
1094
|
+
* sort: // value for 'sort'
|
|
1095
|
+
* page: // value for 'page'
|
|
1096
|
+
* },
|
|
1097
|
+
* });
|
|
1098
|
+
*/
|
|
1099
|
+
function useFetchUserReferralsInfoPageQuery(baseOptions) {
|
|
1100
|
+
return Apollo.useQuery(exports.FetchUserReferralsInfoPageDocument, baseOptions);
|
|
1101
|
+
}
|
|
1102
|
+
exports.useFetchUserReferralsInfoPageQuery = useFetchUserReferralsInfoPageQuery;
|
|
1103
|
+
function useFetchUserReferralsInfoPageLazyQuery(baseOptions) {
|
|
1104
|
+
return Apollo.useLazyQuery(exports.FetchUserReferralsInfoPageDocument, baseOptions);
|
|
1105
|
+
}
|
|
1106
|
+
exports.useFetchUserReferralsInfoPageLazyQuery = useFetchUserReferralsInfoPageLazyQuery;
|
|
1051
1107
|
exports.FindCreationsDocument = (0, client_1.gql) `
|
|
1052
1108
|
query FindCreations($term: String!, $input: CreationFilterInput!, $page: PageInput) {
|
|
1053
1109
|
findCreations(term: $term, input: $input, page: $page) {
|
package/build/index.d.ts
CHANGED
|
@@ -325,6 +325,24 @@ declare const schema: {
|
|
|
325
325
|
}>> | undefined): import("@apollo/client").LazyQueryResultTuple<searchSchema.IFetchUserPortfolioQuery, searchSchema.Exact<{
|
|
326
326
|
ownerId: string;
|
|
327
327
|
}>>;
|
|
328
|
+
useFetchUserReferralsInfoPageQuery(baseOptions: import("@apollo/client").QueryHookOptions<searchSchema.IFetchUserReferralsInfoPageQuery, searchSchema.Exact<{
|
|
329
|
+
filter: searchSchema.IUserReferralsInfoFilterInput;
|
|
330
|
+
sort: searchSchema.IUserReferralsInfoSortInput;
|
|
331
|
+
page: searchSchema.IPageInput;
|
|
332
|
+
}>>): import("@apollo/client").QueryResult<searchSchema.IFetchUserReferralsInfoPageQuery, searchSchema.Exact<{
|
|
333
|
+
filter: searchSchema.IUserReferralsInfoFilterInput;
|
|
334
|
+
sort: searchSchema.IUserReferralsInfoSortInput;
|
|
335
|
+
page: searchSchema.IPageInput;
|
|
336
|
+
}>>;
|
|
337
|
+
useFetchUserReferralsInfoPageLazyQuery(baseOptions?: import("@apollo/client").LazyQueryHookOptions<searchSchema.IFetchUserReferralsInfoPageQuery, searchSchema.Exact<{
|
|
338
|
+
filter: searchSchema.IUserReferralsInfoFilterInput;
|
|
339
|
+
sort: searchSchema.IUserReferralsInfoSortInput;
|
|
340
|
+
page: searchSchema.IPageInput;
|
|
341
|
+
}>> | undefined): import("@apollo/client").LazyQueryResultTuple<searchSchema.IFetchUserReferralsInfoPageQuery, searchSchema.Exact<{
|
|
342
|
+
filter: searchSchema.IUserReferralsInfoFilterInput;
|
|
343
|
+
sort: searchSchema.IUserReferralsInfoSortInput;
|
|
344
|
+
page: searchSchema.IPageInput;
|
|
345
|
+
}>>;
|
|
328
346
|
useFindCreationsQuery(baseOptions: import("@apollo/client").QueryHookOptions<searchSchema.IFindCreationsQuery, searchSchema.Exact<{
|
|
329
347
|
term: string;
|
|
330
348
|
input: searchSchema.ICreationFilterInput;
|
|
@@ -376,6 +394,7 @@ declare const schema: {
|
|
|
376
394
|
page?: searchSchema.Maybe<searchSchema.IPageInput> | undefined;
|
|
377
395
|
}>>;
|
|
378
396
|
IReftypeColor: typeof searchSchema.IReftypeColor;
|
|
397
|
+
ISortDirection: typeof searchSchema.ISortDirection;
|
|
379
398
|
FetchAllCreationsDocument: import("graphql").DocumentNode;
|
|
380
399
|
FetchAssetByBlockchainDocument: import("graphql").DocumentNode;
|
|
381
400
|
FetchAssetsDocument: import("graphql").DocumentNode;
|
|
@@ -389,6 +408,7 @@ declare const schema: {
|
|
|
389
408
|
FetchDynamicCollectionsDataDocument: import("graphql").DocumentNode;
|
|
390
409
|
FindAllTopEntitiesByNameDocument: import("graphql").DocumentNode;
|
|
391
410
|
FetchUserPortfolioDocument: import("graphql").DocumentNode;
|
|
411
|
+
FetchUserReferralsInfoPageDocument: import("graphql").DocumentNode;
|
|
392
412
|
FindCreationsDocument: import("graphql").DocumentNode;
|
|
393
413
|
FindProfilesByNameDocument: import("graphql").DocumentNode;
|
|
394
414
|
FindUserCreationsDocument: import("graphql").DocumentNode;
|
|
@@ -1136,6 +1156,16 @@ declare const schema: {
|
|
|
1136
1156
|
}>> | undefined): import("@apollo/client").LazyQueryResultTuple<extensionSchema.IFetchWalletRanksQuery, extensionSchema.Exact<{
|
|
1137
1157
|
wallets: string[];
|
|
1138
1158
|
}>>;
|
|
1159
|
+
useFetchWalletRanksV2Query(baseOptions: import("@apollo/client").QueryHookOptions<extensionSchema.IFetchWalletRanksV2Query, extensionSchema.Exact<{
|
|
1160
|
+
wallets: extensionSchema.IWalletInput[];
|
|
1161
|
+
}>>): import("@apollo/client").QueryResult<extensionSchema.IFetchWalletRanksV2Query, extensionSchema.Exact<{
|
|
1162
|
+
wallets: extensionSchema.IWalletInput[];
|
|
1163
|
+
}>>;
|
|
1164
|
+
useFetchWalletRanksV2LazyQuery(baseOptions?: import("@apollo/client").LazyQueryHookOptions<extensionSchema.IFetchWalletRanksV2Query, extensionSchema.Exact<{
|
|
1165
|
+
wallets: extensionSchema.IWalletInput[];
|
|
1166
|
+
}>> | undefined): import("@apollo/client").LazyQueryResultTuple<extensionSchema.IFetchWalletRanksV2Query, extensionSchema.Exact<{
|
|
1167
|
+
wallets: extensionSchema.IWalletInput[];
|
|
1168
|
+
}>>;
|
|
1139
1169
|
HideOpportunityV2Document: import("graphql").DocumentNode;
|
|
1140
1170
|
OpenOpportunityV2Document: import("graphql").DocumentNode;
|
|
1141
1171
|
VisitPageV2Document: import("graphql").DocumentNode;
|
|
@@ -1146,6 +1176,7 @@ declare const schema: {
|
|
|
1146
1176
|
FetchNftDataDocument: import("graphql").DocumentNode;
|
|
1147
1177
|
FetchNftRanksDocument: import("graphql").DocumentNode;
|
|
1148
1178
|
FetchWalletRanksDocument: import("graphql").DocumentNode;
|
|
1179
|
+
FetchWalletRanksV2Document: import("graphql").DocumentNode;
|
|
1149
1180
|
useFetchMyExperienceV2Query(baseOptions?: import("@apollo/client").QueryHookOptions<experiencesSchema.IFetchMyExperienceV2Query, experiencesSchema.Exact<{
|
|
1150
1181
|
[key: string]: never;
|
|
1151
1182
|
}>> | undefined): import("@apollo/client").QueryResult<experiencesSchema.IFetchMyExperienceV2Query, experiencesSchema.Exact<{
|
|
@@ -1777,7 +1808,6 @@ declare const schema: {
|
|
|
1777
1808
|
[key: string]: never;
|
|
1778
1809
|
}>>;
|
|
1779
1810
|
ILocationType: typeof adminSchema.ILocationType;
|
|
1780
|
-
ISortDirection: typeof adminSchema.ISortDirection;
|
|
1781
1811
|
CreateReferralTypeDocument: import("graphql").DocumentNode;
|
|
1782
1812
|
CreateTierDocument: import("graphql").DocumentNode;
|
|
1783
1813
|
TriggerOpportunityNotificationDocument: import("graphql").DocumentNode;
|