@ludo.ninja/api 3.0.90 → 3.0.92
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__/adminHost/schema.d.ts +1 -0
- package/build/graphql_tools/__generated__/opportunitiesHost/schema.d.ts +42 -0
- package/build/graphql_tools/__generated__/opportunitiesHost/schema.js +51 -1
- package/build/graphql_tools/__generated__/searchHost/schema.d.ts +110 -0
- package/build/graphql_tools/__generated__/searchHost/schema.js +92 -1
- package/build/index.d.ts +53 -0
- package/package.json +1 -1
- package/src/graphql_tools/__generated__/adminHost/schema.ts +1 -0
- package/src/graphql_tools/__generated__/opportunitiesHost/schema.ts +67 -0
- package/src/graphql_tools/__generated__/searchHost/schema.ts +146 -0
- package/tsconfig.tsbuildinfo +1 -1
|
@@ -338,6 +338,7 @@ export type IQuery = {
|
|
|
338
338
|
fetchAirdropRegistrationsCsv: Scalars['String'];
|
|
339
339
|
fetchOpportunityBySlug: IOpportunityV2;
|
|
340
340
|
fetchProjectBySlug: IProject;
|
|
341
|
+
fetchProject?: Maybe<IProject>;
|
|
341
342
|
};
|
|
342
343
|
export type IQueryFetchBrandArgs = {
|
|
343
344
|
brandId: Scalars['ID'];
|
|
@@ -370,6 +371,10 @@ export type IQueryFetchOpportunityBySlugArgs = {
|
|
|
370
371
|
export type IQueryFetchProjectBySlugArgs = {
|
|
371
372
|
slug: Scalars['String'];
|
|
372
373
|
};
|
|
374
|
+
export type IQueryFetchProjectArgs = {
|
|
375
|
+
blockchain: Scalars['String'];
|
|
376
|
+
contract: Scalars['String'];
|
|
377
|
+
};
|
|
373
378
|
export declare enum IReactionType {
|
|
374
379
|
Like = "LIKE",
|
|
375
380
|
Dislike = "DISLIKE",
|
|
@@ -684,6 +689,7 @@ export type IQueryResolvers<ContextType = any, ParentType extends IResolversPare
|
|
|
684
689
|
fetchAirdropRegistrationsCsv?: Resolver<IResolversTypes['String'], ParentType, ContextType, RequireFields<IQueryFetchAirdropRegistrationsCsvArgs, 'opportunityId'>>;
|
|
685
690
|
fetchOpportunityBySlug?: Resolver<IResolversTypes['OpportunityV2'], ParentType, ContextType, RequireFields<IQueryFetchOpportunityBySlugArgs, 'slug'>>;
|
|
686
691
|
fetchProjectBySlug?: Resolver<IResolversTypes['Project'], ParentType, ContextType, RequireFields<IQueryFetchProjectBySlugArgs, 'slug'>>;
|
|
692
|
+
fetchProject?: Resolver<Maybe<IResolversTypes['Project']>, ParentType, ContextType, RequireFields<IQueryFetchProjectArgs, 'blockchain' | 'contract'>>;
|
|
687
693
|
};
|
|
688
694
|
export type IVotesGeolocationResolvers<ContextType = any, ParentType extends IResolversParentTypes['VotesGeolocation'] = IResolversParentTypes['VotesGeolocation']> = {
|
|
689
695
|
country?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
|
|
@@ -812,6 +818,13 @@ export type IFetchProfileOpportunitiesQuery = {
|
|
|
812
818
|
eventOpportunities?: Maybe<Array<Maybe<Pick<IOpportunityV2, 'opportunityId' | 'projectId' | 'categoryId' | 'opportunityStatus' | 'opportunityType' | 'notificationType' | 'name' | 'description' | 'projectBlockchain' | 'projectContract' | 'projectName' | 'projectSlug' | 'categoryName' | 'ludoUrl' | 'projectUrl' | 'activeFrom' | 'activeUntil' | 'minXpLevel' | 'maxXpLevel' | 'minRank' | 'maxRank' | 'media' | 'reportLink' | 'clicks' | 'views' | 'blockchain' | 'blockchains' | 'collection' | 'createdAt' | 'minWalletValue' | 'maxWalletValue' | 'shareLink' | 'liked' | 'geolocations' | 'subscribed' | 'participantsLimit' | 'availablePlacesForAirdrop' | 'slug'>>>>;
|
|
813
819
|
};
|
|
814
820
|
};
|
|
821
|
+
export type IFetchProjectQueryVariables = Exact<{
|
|
822
|
+
blockchain: Scalars['String'];
|
|
823
|
+
contract: Scalars['String'];
|
|
824
|
+
}>;
|
|
825
|
+
export type IFetchProjectQuery = {
|
|
826
|
+
fetchProject?: Maybe<Pick<IProject, 'blockchain' | 'contract' | 'name' | 'slug' | 'symbol' | 'website' | 'twitter' | 'type' | 'ludoRank' | 'investors' | 'holders' | 'volume' | 'marketCap' | 'liquidity' | 'price' | 'twitterFollowers' | 'twitterSentiment' | 'verified'>>;
|
|
827
|
+
};
|
|
815
828
|
export type IFetchProjectBySlugQueryVariables = Exact<{
|
|
816
829
|
slug: Scalars['String'];
|
|
817
830
|
}>;
|
|
@@ -1265,6 +1278,35 @@ export declare function useFetchProfileOpportunitiesLazyQuery(baseOptions?: Apol
|
|
|
1265
1278
|
export type FetchProfileOpportunitiesQueryHookResult = ReturnType<typeof useFetchProfileOpportunitiesQuery>;
|
|
1266
1279
|
export type FetchProfileOpportunitiesLazyQueryHookResult = ReturnType<typeof useFetchProfileOpportunitiesLazyQuery>;
|
|
1267
1280
|
export type FetchProfileOpportunitiesQueryResult = Apollo.QueryResult<IFetchProfileOpportunitiesQuery, IFetchProfileOpportunitiesQueryVariables>;
|
|
1281
|
+
export declare const FetchProjectDocument: Apollo.DocumentNode;
|
|
1282
|
+
/**
|
|
1283
|
+
* __useFetchProjectQuery__
|
|
1284
|
+
*
|
|
1285
|
+
* To run a query within a React component, call `useFetchProjectQuery` and pass it any options that fit your needs.
|
|
1286
|
+
* When your component renders, `useFetchProjectQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
1287
|
+
* you can use to render your UI.
|
|
1288
|
+
*
|
|
1289
|
+
* @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;
|
|
1290
|
+
*
|
|
1291
|
+
* @example
|
|
1292
|
+
* const { data, loading, error } = useFetchProjectQuery({
|
|
1293
|
+
* variables: {
|
|
1294
|
+
* blockchain: // value for 'blockchain'
|
|
1295
|
+
* contract: // value for 'contract'
|
|
1296
|
+
* },
|
|
1297
|
+
* });
|
|
1298
|
+
*/
|
|
1299
|
+
export declare function useFetchProjectQuery(baseOptions: Apollo.QueryHookOptions<IFetchProjectQuery, IFetchProjectQueryVariables>): Apollo.QueryResult<IFetchProjectQuery, Exact<{
|
|
1300
|
+
blockchain: string;
|
|
1301
|
+
contract: string;
|
|
1302
|
+
}>>;
|
|
1303
|
+
export declare function useFetchProjectLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<IFetchProjectQuery, IFetchProjectQueryVariables>): Apollo.LazyQueryResultTuple<IFetchProjectQuery, Exact<{
|
|
1304
|
+
blockchain: string;
|
|
1305
|
+
contract: string;
|
|
1306
|
+
}>>;
|
|
1307
|
+
export type FetchProjectQueryHookResult = ReturnType<typeof useFetchProjectQuery>;
|
|
1308
|
+
export type FetchProjectLazyQueryHookResult = ReturnType<typeof useFetchProjectLazyQuery>;
|
|
1309
|
+
export type FetchProjectQueryResult = Apollo.QueryResult<IFetchProjectQuery, IFetchProjectQueryVariables>;
|
|
1268
1310
|
export declare const FetchProjectBySlugDocument: Apollo.DocumentNode;
|
|
1269
1311
|
/**
|
|
1270
1312
|
* __useFetchProjectBySlugQuery__
|
|
@@ -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.useFetchProjectBySlugQuery = exports.FetchProjectBySlugDocument = exports.useFetchProjectLazyQuery = exports.useFetchProjectQuery = exports.FetchProjectDocument = exports.useFetchProfileOpportunitiesLazyQuery = exports.useFetchProfileOpportunitiesQuery = exports.FetchProfileOpportunitiesDocument = exports.useFetchOpportunityBySlugLazyQuery = exports.useFetchOpportunityBySlugQuery = exports.FetchOpportunityBySlugDocument = exports.useFetchOpportunityLazyQuery = exports.useFetchOpportunityQuery = exports.FetchOpportunityDocument = exports.useFetchOpportunitiesLazyQuery = exports.useFetchOpportunitiesQuery = exports.FetchOpportunitiesDocument = exports.useFetchBrandBySlugLazyQuery = exports.useFetchBrandBySlugQuery = exports.FetchBrandBySlugDocument = exports.useFetchOpportunitiesForProfileLazyQuery = exports.useFetchOpportunitiesForProfileQuery = exports.FetchOpportunitiesForProfileDocument = exports.useFetchOpportunitiesByIdsLazyQuery = exports.useFetchOpportunitiesByIdsQuery = exports.FetchOpportunitiesByIdsDocument = exports.useFetchAirdropRegistrationsCsvLazyQuery = exports.useFetchAirdropRegistrationsCsvQuery = exports.FetchAirdropRegistrationsCsvDocument = exports.useRegisterNewProjectMutation = exports.RegisterNewProjectDocument = exports.useRegisterForAirdrop2Mutation = exports.RegisterForAirdrop2Document = exports.useRegisterForAirdropMutation = exports.RegisterForAirdropDocument = exports.useReactOnProjectMutation = exports.ReactOnProjectDocument = exports.useOpenOpportunityMutation = exports.OpenOpportunityDocument = exports.useCreateOpportunityMutation = exports.CreateOpportunityDocument = exports.useCopyOpportunityShareLinkMutation = exports.CopyOpportunityShareLinkDocument = exports.useLikeOpportunityMutation = exports.LikeOpportunityDocument = exports.useDislikeOpportunityMutation = exports.DislikeOpportunityDocument = exports.IReactionType = exports.IProjectRegistrationStatus = exports.IOpportunityType = void 0;
|
|
27
|
+
exports.useFetchProjectBySlugLazyQuery = void 0;
|
|
27
28
|
const client_1 = require("@apollo/client");
|
|
28
29
|
const Apollo = __importStar(require("@apollo/client"));
|
|
29
30
|
var IOpportunityType;
|
|
@@ -939,6 +940,55 @@ function useFetchProfileOpportunitiesLazyQuery(baseOptions) {
|
|
|
939
940
|
return Apollo.useLazyQuery(exports.FetchProfileOpportunitiesDocument, baseOptions);
|
|
940
941
|
}
|
|
941
942
|
exports.useFetchProfileOpportunitiesLazyQuery = useFetchProfileOpportunitiesLazyQuery;
|
|
943
|
+
exports.FetchProjectDocument = (0, client_1.gql) `
|
|
944
|
+
query FetchProject($blockchain: String!, $contract: String!) {
|
|
945
|
+
fetchProject(blockchain: $blockchain, contract: $contract) {
|
|
946
|
+
blockchain
|
|
947
|
+
contract
|
|
948
|
+
name
|
|
949
|
+
slug
|
|
950
|
+
symbol
|
|
951
|
+
website
|
|
952
|
+
twitter
|
|
953
|
+
type
|
|
954
|
+
ludoRank
|
|
955
|
+
investors
|
|
956
|
+
holders
|
|
957
|
+
volume
|
|
958
|
+
marketCap
|
|
959
|
+
liquidity
|
|
960
|
+
price
|
|
961
|
+
twitterFollowers
|
|
962
|
+
twitterSentiment
|
|
963
|
+
verified
|
|
964
|
+
}
|
|
965
|
+
}
|
|
966
|
+
`;
|
|
967
|
+
/**
|
|
968
|
+
* __useFetchProjectQuery__
|
|
969
|
+
*
|
|
970
|
+
* To run a query within a React component, call `useFetchProjectQuery` and pass it any options that fit your needs.
|
|
971
|
+
* When your component renders, `useFetchProjectQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
972
|
+
* you can use to render your UI.
|
|
973
|
+
*
|
|
974
|
+
* @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;
|
|
975
|
+
*
|
|
976
|
+
* @example
|
|
977
|
+
* const { data, loading, error } = useFetchProjectQuery({
|
|
978
|
+
* variables: {
|
|
979
|
+
* blockchain: // value for 'blockchain'
|
|
980
|
+
* contract: // value for 'contract'
|
|
981
|
+
* },
|
|
982
|
+
* });
|
|
983
|
+
*/
|
|
984
|
+
function useFetchProjectQuery(baseOptions) {
|
|
985
|
+
return Apollo.useQuery(exports.FetchProjectDocument, baseOptions);
|
|
986
|
+
}
|
|
987
|
+
exports.useFetchProjectQuery = useFetchProjectQuery;
|
|
988
|
+
function useFetchProjectLazyQuery(baseOptions) {
|
|
989
|
+
return Apollo.useLazyQuery(exports.FetchProjectDocument, baseOptions);
|
|
990
|
+
}
|
|
991
|
+
exports.useFetchProjectLazyQuery = useFetchProjectLazyQuery;
|
|
942
992
|
exports.FetchProjectBySlugDocument = (0, client_1.gql) `
|
|
943
993
|
query FetchProjectBySlug($slug: String!) {
|
|
944
994
|
fetchProjectBySlug(slug: $slug) {
|
|
@@ -335,6 +335,9 @@ export declare enum IProjectType {
|
|
|
335
335
|
GameFi = "GAME_FI",
|
|
336
336
|
DeFi = "DE_FI"
|
|
337
337
|
}
|
|
338
|
+
export type IProjectsFilterInput = {
|
|
339
|
+
blockchain?: Maybe<Scalars['String']>;
|
|
340
|
+
};
|
|
338
341
|
export type IProjectsLeaderboardFilterInput = {
|
|
339
342
|
type?: Maybe<Scalars['String']>;
|
|
340
343
|
};
|
|
@@ -348,6 +351,12 @@ export type IProjectsPage = {
|
|
|
348
351
|
projects: Array<IProject>;
|
|
349
352
|
nextPage?: Maybe<IPage>;
|
|
350
353
|
};
|
|
354
|
+
export type IProjectsSortInput = {
|
|
355
|
+
sortByLudoRank?: Maybe<ISort>;
|
|
356
|
+
sortByLudoRankHourDifference?: Maybe<ISort>;
|
|
357
|
+
sortByLudoRankDayDifference?: Maybe<ISort>;
|
|
358
|
+
sortByLudoRankWeekDifference?: Maybe<ISort>;
|
|
359
|
+
};
|
|
351
360
|
export type IQuery = {
|
|
352
361
|
getDummy: Scalars['String'];
|
|
353
362
|
fetchUserPortfolio: Array<Maybe<ICurrencyAmountPair>>;
|
|
@@ -378,6 +387,8 @@ export type IQuery = {
|
|
|
378
387
|
fetchUserReferralsInfoPage: IUserReferralsInfoPage;
|
|
379
388
|
fetchUserReferralsInfoCsv: Scalars['String'];
|
|
380
389
|
fetchProjectsLeaderboard: IProjectsPage;
|
|
390
|
+
fetchProjectsByTerm: Array<IProject>;
|
|
391
|
+
fetchProjectsPage: IProjectsPage;
|
|
381
392
|
fetchProjectsSlugs: Array<Scalars['String']>;
|
|
382
393
|
};
|
|
383
394
|
export type IQueryFetchUserPortfolioArgs = {
|
|
@@ -478,6 +489,16 @@ export type IQueryFetchProjectsLeaderboardArgs = {
|
|
|
478
489
|
sort: IProjectsLeaderboardSortInput;
|
|
479
490
|
page: IPageInput;
|
|
480
491
|
};
|
|
492
|
+
export type IQueryFetchProjectsByTermArgs = {
|
|
493
|
+
searchInput: Scalars['String'];
|
|
494
|
+
pageSize: Scalars['Int'];
|
|
495
|
+
};
|
|
496
|
+
export type IQueryFetchProjectsPageArgs = {
|
|
497
|
+
term?: Maybe<Scalars['String']>;
|
|
498
|
+
filter: IProjectsFilterInput;
|
|
499
|
+
sort: IProjectsSortInput;
|
|
500
|
+
page: IPageInput;
|
|
501
|
+
};
|
|
481
502
|
export declare enum IReftypeColor {
|
|
482
503
|
Red = "RED",
|
|
483
504
|
Green = "GREEN",
|
|
@@ -610,9 +631,11 @@ export type IResolversTypes = {
|
|
|
610
631
|
ProfilePage: ResolverTypeWrapper<IProfilePage>;
|
|
611
632
|
Project: ResolverTypeWrapper<IProject>;
|
|
612
633
|
ProjectType: IProjectType;
|
|
634
|
+
ProjectsFilterInput: IProjectsFilterInput;
|
|
613
635
|
ProjectsLeaderboardFilterInput: IProjectsLeaderboardFilterInput;
|
|
614
636
|
ProjectsLeaderboardSortInput: IProjectsLeaderboardSortInput;
|
|
615
637
|
ProjectsPage: ResolverTypeWrapper<IProjectsPage>;
|
|
638
|
+
ProjectsSortInput: IProjectsSortInput;
|
|
616
639
|
Query: ResolverTypeWrapper<{}>;
|
|
617
640
|
ReftypeColor: IReftypeColor;
|
|
618
641
|
Sort: ISort;
|
|
@@ -662,9 +685,11 @@ export type IResolversParentTypes = {
|
|
|
662
685
|
Profile: IProfile;
|
|
663
686
|
ProfilePage: IProfilePage;
|
|
664
687
|
Project: IProject;
|
|
688
|
+
ProjectsFilterInput: IProjectsFilterInput;
|
|
665
689
|
ProjectsLeaderboardFilterInput: IProjectsLeaderboardFilterInput;
|
|
666
690
|
ProjectsLeaderboardSortInput: IProjectsLeaderboardSortInput;
|
|
667
691
|
ProjectsPage: IProjectsPage;
|
|
692
|
+
ProjectsSortInput: IProjectsSortInput;
|
|
668
693
|
Query: {};
|
|
669
694
|
Sort: ISort;
|
|
670
695
|
Tier: ITier;
|
|
@@ -996,6 +1021,8 @@ export type IQueryResolvers<ContextType = any, ParentType extends IResolversPare
|
|
|
996
1021
|
fetchUserReferralsInfoPage?: Resolver<IResolversTypes['UserReferralsInfoPage'], ParentType, ContextType, RequireFields<IQueryFetchUserReferralsInfoPageArgs, 'filter' | 'sort' | 'page'>>;
|
|
997
1022
|
fetchUserReferralsInfoCsv?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
|
|
998
1023
|
fetchProjectsLeaderboard?: Resolver<IResolversTypes['ProjectsPage'], ParentType, ContextType, RequireFields<IQueryFetchProjectsLeaderboardArgs, 'filter' | 'sort' | 'page'>>;
|
|
1024
|
+
fetchProjectsByTerm?: Resolver<Array<IResolversTypes['Project']>, ParentType, ContextType, RequireFields<IQueryFetchProjectsByTermArgs, 'searchInput' | 'pageSize'>>;
|
|
1025
|
+
fetchProjectsPage?: Resolver<IResolversTypes['ProjectsPage'], ParentType, ContextType, RequireFields<IQueryFetchProjectsPageArgs, 'filter' | 'sort' | 'page'>>;
|
|
999
1026
|
fetchProjectsSlugs?: Resolver<Array<IResolversTypes['String']>, ParentType, ContextType>;
|
|
1000
1027
|
};
|
|
1001
1028
|
export type ITierResolvers<ContextType = any, ParentType extends IResolversParentTypes['Tier'] = IResolversParentTypes['Tier']> = {
|
|
@@ -1254,6 +1281,13 @@ export type IFetchUserPortfolioQueryVariables = Exact<{
|
|
|
1254
1281
|
export type IFetchUserPortfolioQuery = {
|
|
1255
1282
|
fetchUserPortfolio: Array<Maybe<Pick<ICurrencyAmountPair, 'currency' | 'amount'>>>;
|
|
1256
1283
|
};
|
|
1284
|
+
export type IFetchProjectsByTermQueryVariables = Exact<{
|
|
1285
|
+
searchInput: Scalars['String'];
|
|
1286
|
+
pageSize: Scalars['Int'];
|
|
1287
|
+
}>;
|
|
1288
|
+
export type IFetchProjectsByTermQuery = {
|
|
1289
|
+
fetchProjectsByTerm: Array<Pick<IProject, 'id' | 'name' | 'slug' | 'type' | 'ludoRank' | 'ludoRankHourDifference' | 'ludoRankDayDifference' | 'ludoRankWeekDifference' | 'price'>>;
|
|
1290
|
+
};
|
|
1257
1291
|
export type IFetchProjectsLeaderboardQueryVariables = Exact<{
|
|
1258
1292
|
filter: IProjectsLeaderboardFilterInput;
|
|
1259
1293
|
sort: IProjectsLeaderboardSortInput;
|
|
@@ -1265,6 +1299,18 @@ export type IFetchProjectsLeaderboardQuery = {
|
|
|
1265
1299
|
nextPage?: Maybe<Pick<IPage, 'token' | 'num' | 'size' | 'elements' | 'lastNum'>>;
|
|
1266
1300
|
};
|
|
1267
1301
|
};
|
|
1302
|
+
export type IFetchProjectsPageQueryVariables = Exact<{
|
|
1303
|
+
term?: Maybe<Scalars['String']>;
|
|
1304
|
+
filter: IProjectsFilterInput;
|
|
1305
|
+
sort: IProjectsSortInput;
|
|
1306
|
+
page: IPageInput;
|
|
1307
|
+
}>;
|
|
1308
|
+
export type IFetchProjectsPageQuery = {
|
|
1309
|
+
fetchProjectsPage: {
|
|
1310
|
+
projects: Array<Pick<IProject, 'id' | 'name' | 'slug' | 'type' | 'ludoRank' | 'ludoRankHourDifference' | 'ludoRankDayDifference' | 'ludoRankWeekDifference' | 'price'>>;
|
|
1311
|
+
nextPage?: Maybe<Pick<IPage, 'token' | 'num' | 'size' | 'elements' | 'lastNum'>>;
|
|
1312
|
+
};
|
|
1313
|
+
};
|
|
1268
1314
|
export type IFetchProjectsSlugsQueryVariables = Exact<{
|
|
1269
1315
|
[key: string]: never;
|
|
1270
1316
|
}>;
|
|
@@ -1783,6 +1829,35 @@ export declare function useFetchUserPortfolioLazyQuery(baseOptions?: Apollo.Lazy
|
|
|
1783
1829
|
export type FetchUserPortfolioQueryHookResult = ReturnType<typeof useFetchUserPortfolioQuery>;
|
|
1784
1830
|
export type FetchUserPortfolioLazyQueryHookResult = ReturnType<typeof useFetchUserPortfolioLazyQuery>;
|
|
1785
1831
|
export type FetchUserPortfolioQueryResult = Apollo.QueryResult<IFetchUserPortfolioQuery, IFetchUserPortfolioQueryVariables>;
|
|
1832
|
+
export declare const FetchProjectsByTermDocument: Apollo.DocumentNode;
|
|
1833
|
+
/**
|
|
1834
|
+
* __useFetchProjectsByTermQuery__
|
|
1835
|
+
*
|
|
1836
|
+
* To run a query within a React component, call `useFetchProjectsByTermQuery` and pass it any options that fit your needs.
|
|
1837
|
+
* When your component renders, `useFetchProjectsByTermQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
1838
|
+
* you can use to render your UI.
|
|
1839
|
+
*
|
|
1840
|
+
* @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;
|
|
1841
|
+
*
|
|
1842
|
+
* @example
|
|
1843
|
+
* const { data, loading, error } = useFetchProjectsByTermQuery({
|
|
1844
|
+
* variables: {
|
|
1845
|
+
* searchInput: // value for 'searchInput'
|
|
1846
|
+
* pageSize: // value for 'pageSize'
|
|
1847
|
+
* },
|
|
1848
|
+
* });
|
|
1849
|
+
*/
|
|
1850
|
+
export declare function useFetchProjectsByTermQuery(baseOptions: Apollo.QueryHookOptions<IFetchProjectsByTermQuery, IFetchProjectsByTermQueryVariables>): Apollo.QueryResult<IFetchProjectsByTermQuery, Exact<{
|
|
1851
|
+
searchInput: string;
|
|
1852
|
+
pageSize: number;
|
|
1853
|
+
}>>;
|
|
1854
|
+
export declare function useFetchProjectsByTermLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<IFetchProjectsByTermQuery, IFetchProjectsByTermQueryVariables>): Apollo.LazyQueryResultTuple<IFetchProjectsByTermQuery, Exact<{
|
|
1855
|
+
searchInput: string;
|
|
1856
|
+
pageSize: number;
|
|
1857
|
+
}>>;
|
|
1858
|
+
export type FetchProjectsByTermQueryHookResult = ReturnType<typeof useFetchProjectsByTermQuery>;
|
|
1859
|
+
export type FetchProjectsByTermLazyQueryHookResult = ReturnType<typeof useFetchProjectsByTermLazyQuery>;
|
|
1860
|
+
export type FetchProjectsByTermQueryResult = Apollo.QueryResult<IFetchProjectsByTermQuery, IFetchProjectsByTermQueryVariables>;
|
|
1786
1861
|
export declare const FetchProjectsLeaderboardDocument: Apollo.DocumentNode;
|
|
1787
1862
|
/**
|
|
1788
1863
|
* __useFetchProjectsLeaderboardQuery__
|
|
@@ -1815,6 +1890,41 @@ export declare function useFetchProjectsLeaderboardLazyQuery(baseOptions?: Apoll
|
|
|
1815
1890
|
export type FetchProjectsLeaderboardQueryHookResult = ReturnType<typeof useFetchProjectsLeaderboardQuery>;
|
|
1816
1891
|
export type FetchProjectsLeaderboardLazyQueryHookResult = ReturnType<typeof useFetchProjectsLeaderboardLazyQuery>;
|
|
1817
1892
|
export type FetchProjectsLeaderboardQueryResult = Apollo.QueryResult<IFetchProjectsLeaderboardQuery, IFetchProjectsLeaderboardQueryVariables>;
|
|
1893
|
+
export declare const FetchProjectsPageDocument: Apollo.DocumentNode;
|
|
1894
|
+
/**
|
|
1895
|
+
* __useFetchProjectsPageQuery__
|
|
1896
|
+
*
|
|
1897
|
+
* To run a query within a React component, call `useFetchProjectsPageQuery` and pass it any options that fit your needs.
|
|
1898
|
+
* When your component renders, `useFetchProjectsPageQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
1899
|
+
* you can use to render your UI.
|
|
1900
|
+
*
|
|
1901
|
+
* @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;
|
|
1902
|
+
*
|
|
1903
|
+
* @example
|
|
1904
|
+
* const { data, loading, error } = useFetchProjectsPageQuery({
|
|
1905
|
+
* variables: {
|
|
1906
|
+
* term: // value for 'term'
|
|
1907
|
+
* filter: // value for 'filter'
|
|
1908
|
+
* sort: // value for 'sort'
|
|
1909
|
+
* page: // value for 'page'
|
|
1910
|
+
* },
|
|
1911
|
+
* });
|
|
1912
|
+
*/
|
|
1913
|
+
export declare function useFetchProjectsPageQuery(baseOptions: Apollo.QueryHookOptions<IFetchProjectsPageQuery, IFetchProjectsPageQueryVariables>): Apollo.QueryResult<IFetchProjectsPageQuery, Exact<{
|
|
1914
|
+
term?: Maybe<string> | undefined;
|
|
1915
|
+
filter: IProjectsFilterInput;
|
|
1916
|
+
sort: IProjectsSortInput;
|
|
1917
|
+
page: IPageInput;
|
|
1918
|
+
}>>;
|
|
1919
|
+
export declare function useFetchProjectsPageLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<IFetchProjectsPageQuery, IFetchProjectsPageQueryVariables>): Apollo.LazyQueryResultTuple<IFetchProjectsPageQuery, Exact<{
|
|
1920
|
+
term?: Maybe<string> | undefined;
|
|
1921
|
+
filter: IProjectsFilterInput;
|
|
1922
|
+
sort: IProjectsSortInput;
|
|
1923
|
+
page: IPageInput;
|
|
1924
|
+
}>>;
|
|
1925
|
+
export type FetchProjectsPageQueryHookResult = ReturnType<typeof useFetchProjectsPageQuery>;
|
|
1926
|
+
export type FetchProjectsPageLazyQueryHookResult = ReturnType<typeof useFetchProjectsPageLazyQuery>;
|
|
1927
|
+
export type FetchProjectsPageQueryResult = Apollo.QueryResult<IFetchProjectsPageQuery, IFetchProjectsPageQueryVariables>;
|
|
1818
1928
|
export declare const FetchProjectsSlugsDocument: Apollo.DocumentNode;
|
|
1819
1929
|
/**
|
|
1820
1930
|
* __useFetchProjectsSlugsQuery__
|
|
@@ -24,7 +24,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
24
24
|
};
|
|
25
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
26
|
exports.FetchUserPortfolioDocument = exports.useFetchLudoNftsTonPageLazyQuery = exports.useFetchLudoNftsTonPageQuery = exports.FetchLudoNftsTonPageDocument = 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.useFetchAvailableLeaderboardsLazyQuery = exports.useFetchAvailableLeaderboardsQuery = exports.FetchAvailableLeaderboardsDocument = exports.useFetchAssetsLazyQuery = exports.useFetchAssetsQuery = exports.FetchAssetsDocument = exports.useFetchAssetByBlockchainLazyQuery = exports.useFetchAssetByBlockchainQuery = exports.FetchAssetByBlockchainDocument = exports.useFetchAllCreationsLazyQuery = exports.useFetchAllCreationsQuery = exports.FetchAllCreationsDocument = exports.useFetchAirdropsLeaderboardLazyQuery = exports.useFetchAirdropsLeaderboardQuery = exports.FetchAirdropsLeaderboardDocument = exports.ISortDirection = exports.IReftypeColor = exports.IProjectType = exports.ILeaderboardType = void 0;
|
|
27
|
-
exports.useFindUserLudoCreationsLazyQuery = exports.useFindUserLudoCreationsQuery = exports.FindUserLudoCreationsDocument = exports.useFindUserCreationsLazyQuery = exports.useFindUserCreationsQuery = exports.FindUserCreationsDocument = exports.useFindProfilesByNameLazyQuery = exports.useFindProfilesByNameQuery = exports.FindProfilesByNameDocument = exports.useFindCreationsLazyQuery = exports.useFindCreationsQuery = exports.FindCreationsDocument = exports.useFetchUserReferralsInfoPageLazyQuery = exports.useFetchUserReferralsInfoPageQuery = exports.FetchUserReferralsInfoPageDocument = exports.useFetchUserReferralsInfoCsvLazyQuery = exports.useFetchUserReferralsInfoCsvQuery = exports.FetchUserReferralsInfoCsvDocument = exports.useFetchUsedForMintingRefCodeLazyQuery = exports.useFetchUsedForMintingRefCodeQuery = exports.FetchUsedForMintingRefCodeDocument = exports.useFetchUsedForMintingDataLazyQuery = exports.useFetchUsedForMintingDataQuery = exports.FetchUsedForMintingDataDocument = exports.useFetchProjectsSlugsLazyQuery = exports.useFetchProjectsSlugsQuery = exports.FetchProjectsSlugsDocument = exports.useFetchProjectsLeaderboardLazyQuery = exports.useFetchProjectsLeaderboardQuery = exports.FetchProjectsLeaderboardDocument = exports.useFetchUserPortfolioLazyQuery = exports.useFetchUserPortfolioQuery = void 0;
|
|
27
|
+
exports.useFindUserLudoCreationsLazyQuery = exports.useFindUserLudoCreationsQuery = exports.FindUserLudoCreationsDocument = exports.useFindUserCreationsLazyQuery = exports.useFindUserCreationsQuery = exports.FindUserCreationsDocument = exports.useFindProfilesByNameLazyQuery = exports.useFindProfilesByNameQuery = exports.FindProfilesByNameDocument = exports.useFindCreationsLazyQuery = exports.useFindCreationsQuery = exports.FindCreationsDocument = exports.useFetchUserReferralsInfoPageLazyQuery = exports.useFetchUserReferralsInfoPageQuery = exports.FetchUserReferralsInfoPageDocument = exports.useFetchUserReferralsInfoCsvLazyQuery = exports.useFetchUserReferralsInfoCsvQuery = exports.FetchUserReferralsInfoCsvDocument = exports.useFetchUsedForMintingRefCodeLazyQuery = exports.useFetchUsedForMintingRefCodeQuery = exports.FetchUsedForMintingRefCodeDocument = exports.useFetchUsedForMintingDataLazyQuery = exports.useFetchUsedForMintingDataQuery = exports.FetchUsedForMintingDataDocument = exports.useFetchProjectsSlugsLazyQuery = exports.useFetchProjectsSlugsQuery = exports.FetchProjectsSlugsDocument = exports.useFetchProjectsPageLazyQuery = exports.useFetchProjectsPageQuery = exports.FetchProjectsPageDocument = exports.useFetchProjectsLeaderboardLazyQuery = exports.useFetchProjectsLeaderboardQuery = exports.FetchProjectsLeaderboardDocument = exports.useFetchProjectsByTermLazyQuery = exports.useFetchProjectsByTermQuery = exports.FetchProjectsByTermDocument = exports.useFetchUserPortfolioLazyQuery = exports.useFetchUserPortfolioQuery = void 0;
|
|
28
28
|
const client_1 = require("@apollo/client");
|
|
29
29
|
const Apollo = __importStar(require("@apollo/client"));
|
|
30
30
|
var ILeaderboardType;
|
|
@@ -1206,6 +1206,46 @@ function useFetchUserPortfolioLazyQuery(baseOptions) {
|
|
|
1206
1206
|
return Apollo.useLazyQuery(exports.FetchUserPortfolioDocument, baseOptions);
|
|
1207
1207
|
}
|
|
1208
1208
|
exports.useFetchUserPortfolioLazyQuery = useFetchUserPortfolioLazyQuery;
|
|
1209
|
+
exports.FetchProjectsByTermDocument = (0, client_1.gql) `
|
|
1210
|
+
query FetchProjectsByTerm($searchInput: String!, $pageSize: Int!) {
|
|
1211
|
+
fetchProjectsByTerm(searchInput: $searchInput, pageSize: $pageSize) {
|
|
1212
|
+
id
|
|
1213
|
+
name
|
|
1214
|
+
slug
|
|
1215
|
+
type
|
|
1216
|
+
ludoRank
|
|
1217
|
+
ludoRankHourDifference
|
|
1218
|
+
ludoRankDayDifference
|
|
1219
|
+
ludoRankWeekDifference
|
|
1220
|
+
price
|
|
1221
|
+
}
|
|
1222
|
+
}
|
|
1223
|
+
`;
|
|
1224
|
+
/**
|
|
1225
|
+
* __useFetchProjectsByTermQuery__
|
|
1226
|
+
*
|
|
1227
|
+
* To run a query within a React component, call `useFetchProjectsByTermQuery` and pass it any options that fit your needs.
|
|
1228
|
+
* When your component renders, `useFetchProjectsByTermQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
1229
|
+
* you can use to render your UI.
|
|
1230
|
+
*
|
|
1231
|
+
* @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;
|
|
1232
|
+
*
|
|
1233
|
+
* @example
|
|
1234
|
+
* const { data, loading, error } = useFetchProjectsByTermQuery({
|
|
1235
|
+
* variables: {
|
|
1236
|
+
* searchInput: // value for 'searchInput'
|
|
1237
|
+
* pageSize: // value for 'pageSize'
|
|
1238
|
+
* },
|
|
1239
|
+
* });
|
|
1240
|
+
*/
|
|
1241
|
+
function useFetchProjectsByTermQuery(baseOptions) {
|
|
1242
|
+
return Apollo.useQuery(exports.FetchProjectsByTermDocument, baseOptions);
|
|
1243
|
+
}
|
|
1244
|
+
exports.useFetchProjectsByTermQuery = useFetchProjectsByTermQuery;
|
|
1245
|
+
function useFetchProjectsByTermLazyQuery(baseOptions) {
|
|
1246
|
+
return Apollo.useLazyQuery(exports.FetchProjectsByTermDocument, baseOptions);
|
|
1247
|
+
}
|
|
1248
|
+
exports.useFetchProjectsByTermLazyQuery = useFetchProjectsByTermLazyQuery;
|
|
1209
1249
|
exports.FetchProjectsLeaderboardDocument = (0, client_1.gql) `
|
|
1210
1250
|
query FetchProjectsLeaderboard($filter: ProjectsLeaderboardFilterInput!, $sort: ProjectsLeaderboardSortInput!, $page: PageInput!) {
|
|
1211
1251
|
fetchProjectsLeaderboard(filter: $filter, sort: $sort, page: $page) {
|
|
@@ -1256,6 +1296,57 @@ function useFetchProjectsLeaderboardLazyQuery(baseOptions) {
|
|
|
1256
1296
|
return Apollo.useLazyQuery(exports.FetchProjectsLeaderboardDocument, baseOptions);
|
|
1257
1297
|
}
|
|
1258
1298
|
exports.useFetchProjectsLeaderboardLazyQuery = useFetchProjectsLeaderboardLazyQuery;
|
|
1299
|
+
exports.FetchProjectsPageDocument = (0, client_1.gql) `
|
|
1300
|
+
query FetchProjectsPage($term: String, $filter: ProjectsFilterInput!, $sort: ProjectsSortInput!, $page: PageInput!) {
|
|
1301
|
+
fetchProjectsPage(term: $term, filter: $filter, sort: $sort, page: $page) {
|
|
1302
|
+
projects {
|
|
1303
|
+
id
|
|
1304
|
+
name
|
|
1305
|
+
slug
|
|
1306
|
+
type
|
|
1307
|
+
ludoRank
|
|
1308
|
+
ludoRankHourDifference
|
|
1309
|
+
ludoRankDayDifference
|
|
1310
|
+
ludoRankWeekDifference
|
|
1311
|
+
price
|
|
1312
|
+
}
|
|
1313
|
+
nextPage {
|
|
1314
|
+
token
|
|
1315
|
+
num
|
|
1316
|
+
size
|
|
1317
|
+
elements
|
|
1318
|
+
lastNum
|
|
1319
|
+
}
|
|
1320
|
+
}
|
|
1321
|
+
}
|
|
1322
|
+
`;
|
|
1323
|
+
/**
|
|
1324
|
+
* __useFetchProjectsPageQuery__
|
|
1325
|
+
*
|
|
1326
|
+
* To run a query within a React component, call `useFetchProjectsPageQuery` and pass it any options that fit your needs.
|
|
1327
|
+
* When your component renders, `useFetchProjectsPageQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
1328
|
+
* you can use to render your UI.
|
|
1329
|
+
*
|
|
1330
|
+
* @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;
|
|
1331
|
+
*
|
|
1332
|
+
* @example
|
|
1333
|
+
* const { data, loading, error } = useFetchProjectsPageQuery({
|
|
1334
|
+
* variables: {
|
|
1335
|
+
* term: // value for 'term'
|
|
1336
|
+
* filter: // value for 'filter'
|
|
1337
|
+
* sort: // value for 'sort'
|
|
1338
|
+
* page: // value for 'page'
|
|
1339
|
+
* },
|
|
1340
|
+
* });
|
|
1341
|
+
*/
|
|
1342
|
+
function useFetchProjectsPageQuery(baseOptions) {
|
|
1343
|
+
return Apollo.useQuery(exports.FetchProjectsPageDocument, baseOptions);
|
|
1344
|
+
}
|
|
1345
|
+
exports.useFetchProjectsPageQuery = useFetchProjectsPageQuery;
|
|
1346
|
+
function useFetchProjectsPageLazyQuery(baseOptions) {
|
|
1347
|
+
return Apollo.useLazyQuery(exports.FetchProjectsPageDocument, baseOptions);
|
|
1348
|
+
}
|
|
1349
|
+
exports.useFetchProjectsPageLazyQuery = useFetchProjectsPageLazyQuery;
|
|
1259
1350
|
exports.FetchProjectsSlugsDocument = (0, client_1.gql) `
|
|
1260
1351
|
query FetchProjectsSlugs {
|
|
1261
1352
|
fetchProjectsSlugs
|
package/build/index.d.ts
CHANGED
|
@@ -409,6 +409,20 @@ declare const schema: {
|
|
|
409
409
|
}>> | undefined): import("@apollo/client").LazyQueryResultTuple<searchSchema.IFetchUserPortfolioQuery, searchSchema.Exact<{
|
|
410
410
|
ownerId: string;
|
|
411
411
|
}>>;
|
|
412
|
+
useFetchProjectsByTermQuery(baseOptions: import("@apollo/client").QueryHookOptions<searchSchema.IFetchProjectsByTermQuery, searchSchema.Exact<{
|
|
413
|
+
searchInput: string;
|
|
414
|
+
pageSize: number;
|
|
415
|
+
}>>): import("@apollo/client").QueryResult<searchSchema.IFetchProjectsByTermQuery, searchSchema.Exact<{
|
|
416
|
+
searchInput: string;
|
|
417
|
+
pageSize: number;
|
|
418
|
+
}>>;
|
|
419
|
+
useFetchProjectsByTermLazyQuery(baseOptions?: import("@apollo/client").LazyQueryHookOptions<searchSchema.IFetchProjectsByTermQuery, searchSchema.Exact<{
|
|
420
|
+
searchInput: string;
|
|
421
|
+
pageSize: number;
|
|
422
|
+
}>> | undefined): import("@apollo/client").LazyQueryResultTuple<searchSchema.IFetchProjectsByTermQuery, searchSchema.Exact<{
|
|
423
|
+
searchInput: string;
|
|
424
|
+
pageSize: number;
|
|
425
|
+
}>>;
|
|
412
426
|
useFetchProjectsLeaderboardQuery(baseOptions: import("@apollo/client").QueryHookOptions<searchSchema.IFetchProjectsLeaderboardQuery, searchSchema.Exact<{
|
|
413
427
|
filter: searchSchema.IProjectsLeaderboardFilterInput;
|
|
414
428
|
sort: searchSchema.IProjectsLeaderboardSortInput;
|
|
@@ -427,6 +441,28 @@ declare const schema: {
|
|
|
427
441
|
sort: searchSchema.IProjectsLeaderboardSortInput;
|
|
428
442
|
page: searchSchema.IPageInput;
|
|
429
443
|
}>>;
|
|
444
|
+
useFetchProjectsPageQuery(baseOptions: import("@apollo/client").QueryHookOptions<searchSchema.IFetchProjectsPageQuery, searchSchema.Exact<{
|
|
445
|
+
term?: searchSchema.Maybe<string> | undefined;
|
|
446
|
+
filter: searchSchema.IProjectsFilterInput;
|
|
447
|
+
sort: searchSchema.IProjectsSortInput;
|
|
448
|
+
page: searchSchema.IPageInput;
|
|
449
|
+
}>>): import("@apollo/client").QueryResult<searchSchema.IFetchProjectsPageQuery, searchSchema.Exact<{
|
|
450
|
+
term?: searchSchema.Maybe<string> | undefined;
|
|
451
|
+
filter: searchSchema.IProjectsFilterInput;
|
|
452
|
+
sort: searchSchema.IProjectsSortInput;
|
|
453
|
+
page: searchSchema.IPageInput;
|
|
454
|
+
}>>;
|
|
455
|
+
useFetchProjectsPageLazyQuery(baseOptions?: import("@apollo/client").LazyQueryHookOptions<searchSchema.IFetchProjectsPageQuery, searchSchema.Exact<{
|
|
456
|
+
term?: searchSchema.Maybe<string> | undefined;
|
|
457
|
+
filter: searchSchema.IProjectsFilterInput;
|
|
458
|
+
sort: searchSchema.IProjectsSortInput;
|
|
459
|
+
page: searchSchema.IPageInput;
|
|
460
|
+
}>> | undefined): import("@apollo/client").LazyQueryResultTuple<searchSchema.IFetchProjectsPageQuery, searchSchema.Exact<{
|
|
461
|
+
term?: searchSchema.Maybe<string> | undefined;
|
|
462
|
+
filter: searchSchema.IProjectsFilterInput;
|
|
463
|
+
sort: searchSchema.IProjectsSortInput;
|
|
464
|
+
page: searchSchema.IPageInput;
|
|
465
|
+
}>>;
|
|
430
466
|
useFetchProjectsSlugsQuery(baseOptions?: import("@apollo/client").QueryHookOptions<searchSchema.IFetchProjectsSlugsQuery, searchSchema.Exact<{
|
|
431
467
|
[key: string]: never;
|
|
432
468
|
}>> | undefined): import("@apollo/client").QueryResult<searchSchema.IFetchProjectsSlugsQuery, searchSchema.Exact<{
|
|
@@ -569,7 +605,9 @@ declare const schema: {
|
|
|
569
605
|
FindAllTopEntitiesByNameDocument: import("graphql").DocumentNode;
|
|
570
606
|
FetchLudoNftsTonPageDocument: import("graphql").DocumentNode;
|
|
571
607
|
FetchUserPortfolioDocument: import("graphql").DocumentNode;
|
|
608
|
+
FetchProjectsByTermDocument: import("graphql").DocumentNode;
|
|
572
609
|
FetchProjectsLeaderboardDocument: import("graphql").DocumentNode;
|
|
610
|
+
FetchProjectsPageDocument: import("graphql").DocumentNode;
|
|
573
611
|
FetchProjectsSlugsDocument: import("graphql").DocumentNode;
|
|
574
612
|
FetchUsedForMintingDataDocument: import("graphql").DocumentNode;
|
|
575
613
|
FetchUsedForMintingRefCodeDocument: import("graphql").DocumentNode;
|
|
@@ -814,6 +852,20 @@ declare const schema: {
|
|
|
814
852
|
}>> | undefined): import("@apollo/client").LazyQueryResultTuple<opportunitiesSchema.IFetchOpportunityBySlugQuery, opportunitiesSchema.Exact<{
|
|
815
853
|
slug: string;
|
|
816
854
|
}>>;
|
|
855
|
+
useFetchProjectQuery(baseOptions: import("@apollo/client").QueryHookOptions<opportunitiesSchema.IFetchProjectQuery, opportunitiesSchema.Exact<{
|
|
856
|
+
blockchain: string;
|
|
857
|
+
contract: string;
|
|
858
|
+
}>>): import("@apollo/client").QueryResult<opportunitiesSchema.IFetchProjectQuery, opportunitiesSchema.Exact<{
|
|
859
|
+
blockchain: string;
|
|
860
|
+
contract: string;
|
|
861
|
+
}>>;
|
|
862
|
+
useFetchProjectLazyQuery(baseOptions?: import("@apollo/client").LazyQueryHookOptions<opportunitiesSchema.IFetchProjectQuery, opportunitiesSchema.Exact<{
|
|
863
|
+
blockchain: string;
|
|
864
|
+
contract: string;
|
|
865
|
+
}>> | undefined): import("@apollo/client").LazyQueryResultTuple<opportunitiesSchema.IFetchProjectQuery, opportunitiesSchema.Exact<{
|
|
866
|
+
blockchain: string;
|
|
867
|
+
contract: string;
|
|
868
|
+
}>>;
|
|
817
869
|
useFetchProjectBySlugQuery(baseOptions: import("@apollo/client").QueryHookOptions<opportunitiesSchema.IFetchProjectBySlugQuery, opportunitiesSchema.Exact<{
|
|
818
870
|
slug: string;
|
|
819
871
|
}>>): import("@apollo/client").QueryResult<opportunitiesSchema.IFetchProjectBySlugQuery, opportunitiesSchema.Exact<{
|
|
@@ -841,6 +893,7 @@ declare const schema: {
|
|
|
841
893
|
FetchBrandBySlugDocument: import("graphql").DocumentNode;
|
|
842
894
|
FetchOpportunityDocument: import("graphql").DocumentNode;
|
|
843
895
|
FetchOpportunityBySlugDocument: import("graphql").DocumentNode;
|
|
896
|
+
FetchProjectDocument: import("graphql").DocumentNode;
|
|
844
897
|
FetchProjectBySlugDocument: import("graphql").DocumentNode;
|
|
845
898
|
useDeleteGalleryBannerMutation(baseOptions?: import("@apollo/client").MutationHookOptions<mediasSchema.IDeleteGalleryBannerMutation, mediasSchema.Exact<{
|
|
846
899
|
galleryId: string;
|
package/package.json
CHANGED