@ludo.ninja/api 3.0.18 → 3.0.20
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__/identityHost/schema.d.ts +3 -1
- package/build/graphql_tools/__generated__/identityHost/schema.js +1 -0
- package/build/graphql_tools/__generated__/opportunitiesHost/schema.d.ts +30 -0
- package/build/graphql_tools/__generated__/opportunitiesHost/schema.js +30 -1
- package/build/graphql_tools/__generated__/searchHost/schema.d.ts +45 -0
- package/build/graphql_tools/__generated__/searchHost/schema.js +55 -1
- package/build/index.d.ts +26 -0
- package/package.json +1 -1
- package/src/graphql_tools/__generated__/identityHost/schema.ts +4 -1
- package/src/graphql_tools/__generated__/opportunitiesHost/schema.ts +38 -0
- package/src/graphql_tools/__generated__/searchHost/schema.ts +73 -1
- package/tsconfig.tsbuildinfo +1 -1
|
@@ -294,6 +294,7 @@ export type IMyProfileV2 = {
|
|
|
294
294
|
referralTypeColor?: Maybe<IReftypeColor>;
|
|
295
295
|
tierId?: Maybe<Scalars['String']>;
|
|
296
296
|
tierName?: Maybe<Scalars['String']>;
|
|
297
|
+
shareLink?: Maybe<Scalars['String']>;
|
|
297
298
|
};
|
|
298
299
|
export type IProfile = {
|
|
299
300
|
userId: Scalars['ID'];
|
|
@@ -659,6 +660,7 @@ export type IMyProfileV2Resolvers<ContextType = any, ParentType extends IResolve
|
|
|
659
660
|
referralTypeColor?: Resolver<Maybe<IResolversTypes['ReftypeColor']>, ParentType, ContextType>;
|
|
660
661
|
tierId?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
661
662
|
tierName?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
663
|
+
shareLink?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
662
664
|
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
663
665
|
};
|
|
664
666
|
export type IProfileResolvers<ContextType = any, ParentType extends IResolversParentTypes['Profile'] = IResolversParentTypes['Profile']> = {
|
|
@@ -997,7 +999,7 @@ export type IFetchProfileQueryVariables = Exact<{
|
|
|
997
999
|
userId: Scalars['ID'];
|
|
998
1000
|
}>;
|
|
999
1001
|
export type IFetchProfileQuery = {
|
|
1000
|
-
fetchProfile: (Pick<IProfile, 'userId' | 'username' | 'about' | 'userpic' | 'following' | 'followings' | 'followers' | 'rank' | 'views' | 'createdAt' | 'deletedAt' | 'visible' | 'active' | 'deleted' | 'showNsfw' | 'referralTypeId' | 'referralTypeName' | 'referralTypeColor'> & {
|
|
1002
|
+
fetchProfile: (Pick<IProfile, 'userId' | 'username' | 'about' | 'userpic' | 'following' | 'followings' | 'followers' | 'rank' | 'views' | 'createdAt' | 'deletedAt' | 'visible' | 'active' | 'deleted' | 'showNsfw' | 'referralTypeId' | 'referralTypeName' | 'referralTypeColor' | 'xps'> & {
|
|
1001
1003
|
social?: Maybe<Pick<ISocial, 'facebook' | 'twitter' | 'instagram' | 'website' | 'discordNickname' | 'discordServer' | 'telegramLink'>>;
|
|
1002
1004
|
wallets?: Maybe<Array<Maybe<Pick<IWallet, 'userId' | 'address' | 'walletName' | 'blockchain' | 'chainId' | 'mainWallet'>>>>;
|
|
1003
1005
|
});
|
|
@@ -486,6 +486,10 @@ export type IRegisterForAirdropMutationVariables = Exact<{
|
|
|
486
486
|
address: Scalars['String'];
|
|
487
487
|
}>;
|
|
488
488
|
export type IRegisterForAirdropMutation = Pick<IMutation, 'registerForAirdrop'>;
|
|
489
|
+
export type IFetchAirdropRegistrationsCsvQueryVariables = Exact<{
|
|
490
|
+
opportunityId: Scalars['ID'];
|
|
491
|
+
}>;
|
|
492
|
+
export type IFetchAirdropRegistrationsCsvQuery = Pick<IQuery, 'fetchAirdropRegistrationsCsv'>;
|
|
489
493
|
export type IFetchOpportunitiesByIdsQueryVariables = Exact<{
|
|
490
494
|
opportunityIds: Array<Scalars['ID']>;
|
|
491
495
|
}>;
|
|
@@ -653,6 +657,32 @@ export declare function useRegisterForAirdropMutation(baseOptions?: Apollo.Mutat
|
|
|
653
657
|
export type RegisterForAirdropMutationHookResult = ReturnType<typeof useRegisterForAirdropMutation>;
|
|
654
658
|
export type RegisterForAirdropMutationResult = Apollo.MutationResult<IRegisterForAirdropMutation>;
|
|
655
659
|
export type RegisterForAirdropMutationOptions = Apollo.BaseMutationOptions<IRegisterForAirdropMutation, IRegisterForAirdropMutationVariables>;
|
|
660
|
+
export declare const FetchAirdropRegistrationsCsvDocument: Apollo.DocumentNode;
|
|
661
|
+
/**
|
|
662
|
+
* __useFetchAirdropRegistrationsCsvQuery__
|
|
663
|
+
*
|
|
664
|
+
* To run a query within a React component, call `useFetchAirdropRegistrationsCsvQuery` and pass it any options that fit your needs.
|
|
665
|
+
* When your component renders, `useFetchAirdropRegistrationsCsvQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
666
|
+
* you can use to render your UI.
|
|
667
|
+
*
|
|
668
|
+
* @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;
|
|
669
|
+
*
|
|
670
|
+
* @example
|
|
671
|
+
* const { data, loading, error } = useFetchAirdropRegistrationsCsvQuery({
|
|
672
|
+
* variables: {
|
|
673
|
+
* opportunityId: // value for 'opportunityId'
|
|
674
|
+
* },
|
|
675
|
+
* });
|
|
676
|
+
*/
|
|
677
|
+
export declare function useFetchAirdropRegistrationsCsvQuery(baseOptions: Apollo.QueryHookOptions<IFetchAirdropRegistrationsCsvQuery, IFetchAirdropRegistrationsCsvQueryVariables>): Apollo.QueryResult<IFetchAirdropRegistrationsCsvQuery, Exact<{
|
|
678
|
+
opportunityId: string;
|
|
679
|
+
}>>;
|
|
680
|
+
export declare function useFetchAirdropRegistrationsCsvLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<IFetchAirdropRegistrationsCsvQuery, IFetchAirdropRegistrationsCsvQueryVariables>): Apollo.LazyQueryResultTuple<IFetchAirdropRegistrationsCsvQuery, Exact<{
|
|
681
|
+
opportunityId: string;
|
|
682
|
+
}>>;
|
|
683
|
+
export type FetchAirdropRegistrationsCsvQueryHookResult = ReturnType<typeof useFetchAirdropRegistrationsCsvQuery>;
|
|
684
|
+
export type FetchAirdropRegistrationsCsvLazyQueryHookResult = ReturnType<typeof useFetchAirdropRegistrationsCsvLazyQuery>;
|
|
685
|
+
export type FetchAirdropRegistrationsCsvQueryResult = Apollo.QueryResult<IFetchAirdropRegistrationsCsvQuery, IFetchAirdropRegistrationsCsvQueryVariables>;
|
|
656
686
|
export declare const FetchOpportunitiesByIdsDocument: Apollo.DocumentNode;
|
|
657
687
|
/**
|
|
658
688
|
* __useFetchOpportunitiesByIdsQuery__
|
|
@@ -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.useFetchProfileOpportunitiesLazyQuery = exports.useFetchProfileOpportunitiesQuery = exports.FetchProfileOpportunitiesDocument = exports.useFetchOpportunityLazyQuery = exports.useFetchOpportunityQuery = exports.FetchOpportunityDocument = exports.useFetchOpportunitiesLazyQuery = exports.useFetchOpportunitiesQuery = exports.FetchOpportunitiesDocument = exports.useFetchOpportunitiesForProfileLazyQuery = exports.useFetchOpportunitiesForProfileQuery = exports.FetchOpportunitiesForProfileDocument = exports.useFetchOpportunitiesByIdsLazyQuery = exports.useFetchOpportunitiesByIdsQuery = exports.FetchOpportunitiesByIdsDocument = exports.useRegisterForAirdropMutation = exports.RegisterForAirdropDocument = exports.useOpenOpportunityMutation = exports.OpenOpportunityDocument = exports.useCreateOpportunityMutation = exports.CreateOpportunityDocument = exports.useLikeOpportunityMutation = exports.LikeOpportunityDocument = exports.useDislikeOpportunityMutation = exports.DislikeOpportunityDocument = void 0;
|
|
26
|
+
exports.useFetchProfileOpportunitiesLazyQuery = exports.useFetchProfileOpportunitiesQuery = exports.FetchProfileOpportunitiesDocument = exports.useFetchOpportunityLazyQuery = exports.useFetchOpportunityQuery = exports.FetchOpportunityDocument = exports.useFetchOpportunitiesLazyQuery = exports.useFetchOpportunitiesQuery = exports.FetchOpportunitiesDocument = exports.useFetchOpportunitiesForProfileLazyQuery = exports.useFetchOpportunitiesForProfileQuery = exports.FetchOpportunitiesForProfileDocument = exports.useFetchOpportunitiesByIdsLazyQuery = exports.useFetchOpportunitiesByIdsQuery = exports.FetchOpportunitiesByIdsDocument = exports.useFetchAirdropRegistrationsCsvLazyQuery = exports.useFetchAirdropRegistrationsCsvQuery = exports.FetchAirdropRegistrationsCsvDocument = exports.useRegisterForAirdropMutation = exports.RegisterForAirdropDocument = exports.useOpenOpportunityMutation = exports.OpenOpportunityDocument = exports.useCreateOpportunityMutation = exports.CreateOpportunityDocument = exports.useLikeOpportunityMutation = exports.LikeOpportunityDocument = exports.useDislikeOpportunityMutation = exports.DislikeOpportunityDocument = void 0;
|
|
27
27
|
const client_1 = require("@apollo/client");
|
|
28
28
|
const Apollo = __importStar(require("@apollo/client"));
|
|
29
29
|
exports.DislikeOpportunityDocument = (0, client_1.gql) `
|
|
@@ -162,6 +162,35 @@ function useRegisterForAirdropMutation(baseOptions) {
|
|
|
162
162
|
return Apollo.useMutation(exports.RegisterForAirdropDocument, baseOptions);
|
|
163
163
|
}
|
|
164
164
|
exports.useRegisterForAirdropMutation = useRegisterForAirdropMutation;
|
|
165
|
+
exports.FetchAirdropRegistrationsCsvDocument = (0, client_1.gql) `
|
|
166
|
+
query FetchAirdropRegistrationsCsv($opportunityId: ID!) {
|
|
167
|
+
fetchAirdropRegistrationsCsv(opportunityId: $opportunityId)
|
|
168
|
+
}
|
|
169
|
+
`;
|
|
170
|
+
/**
|
|
171
|
+
* __useFetchAirdropRegistrationsCsvQuery__
|
|
172
|
+
*
|
|
173
|
+
* To run a query within a React component, call `useFetchAirdropRegistrationsCsvQuery` and pass it any options that fit your needs.
|
|
174
|
+
* When your component renders, `useFetchAirdropRegistrationsCsvQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
175
|
+
* you can use to render your UI.
|
|
176
|
+
*
|
|
177
|
+
* @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;
|
|
178
|
+
*
|
|
179
|
+
* @example
|
|
180
|
+
* const { data, loading, error } = useFetchAirdropRegistrationsCsvQuery({
|
|
181
|
+
* variables: {
|
|
182
|
+
* opportunityId: // value for 'opportunityId'
|
|
183
|
+
* },
|
|
184
|
+
* });
|
|
185
|
+
*/
|
|
186
|
+
function useFetchAirdropRegistrationsCsvQuery(baseOptions) {
|
|
187
|
+
return Apollo.useQuery(exports.FetchAirdropRegistrationsCsvDocument, baseOptions);
|
|
188
|
+
}
|
|
189
|
+
exports.useFetchAirdropRegistrationsCsvQuery = useFetchAirdropRegistrationsCsvQuery;
|
|
190
|
+
function useFetchAirdropRegistrationsCsvLazyQuery(baseOptions) {
|
|
191
|
+
return Apollo.useLazyQuery(exports.FetchAirdropRegistrationsCsvDocument, baseOptions);
|
|
192
|
+
}
|
|
193
|
+
exports.useFetchAirdropRegistrationsCsvLazyQuery = useFetchAirdropRegistrationsCsvLazyQuery;
|
|
165
194
|
exports.FetchOpportunitiesByIdsDocument = (0, client_1.gql) `
|
|
166
195
|
query FetchOpportunitiesByIds($opportunityIds: [ID!]!) {
|
|
167
196
|
fetchOpportunitiesByIds(opportunityIds: $opportunityIds) {
|
|
@@ -260,6 +260,7 @@ export type IQuery = {
|
|
|
260
260
|
fetchCreationsByType: ICreationsPage;
|
|
261
261
|
findCreations: ICreationsPage;
|
|
262
262
|
findUserCreations: ICreationsPage;
|
|
263
|
+
findUserLudoCreations: ICreationsPage;
|
|
263
264
|
findProfilesByName: IProfilePage;
|
|
264
265
|
fetchUserReferralsInfoPage: IUserReferralsInfoPage;
|
|
265
266
|
fetchUserReferralsInfoCsv: Scalars['String'];
|
|
@@ -326,6 +327,10 @@ export type IQueryFindUserCreationsArgs = {
|
|
|
326
327
|
input: ICreationFilterInput;
|
|
327
328
|
page?: Maybe<IPageInput>;
|
|
328
329
|
};
|
|
330
|
+
export type IQueryFindUserLudoCreationsArgs = {
|
|
331
|
+
ownerId: Scalars['String'];
|
|
332
|
+
page?: Maybe<IPageInput>;
|
|
333
|
+
};
|
|
329
334
|
export type IQueryFindProfilesByNameArgs = {
|
|
330
335
|
name: Scalars['String'];
|
|
331
336
|
page?: Maybe<IPageInput>;
|
|
@@ -726,6 +731,7 @@ export type IQueryResolvers<ContextType = any, ParentType extends IResolversPare
|
|
|
726
731
|
fetchCreationsByType?: Resolver<IResolversTypes['CreationsPage'], ParentType, ContextType, RequireFields<IQueryFetchCreationsByTypeArgs, 'itemType'>>;
|
|
727
732
|
findCreations?: Resolver<IResolversTypes['CreationsPage'], ParentType, ContextType, RequireFields<IQueryFindCreationsArgs, 'term' | 'input'>>;
|
|
728
733
|
findUserCreations?: Resolver<IResolversTypes['CreationsPage'], ParentType, ContextType, RequireFields<IQueryFindUserCreationsArgs, 'ownerId' | 'input'>>;
|
|
734
|
+
findUserLudoCreations?: Resolver<IResolversTypes['CreationsPage'], ParentType, ContextType, RequireFields<IQueryFindUserLudoCreationsArgs, 'ownerId'>>;
|
|
729
735
|
findProfilesByName?: Resolver<IResolversTypes['ProfilePage'], ParentType, ContextType, RequireFields<IQueryFindProfilesByNameArgs, 'name'>>;
|
|
730
736
|
fetchUserReferralsInfoPage?: Resolver<IResolversTypes['UserReferralsInfoPage'], ParentType, ContextType, RequireFields<IQueryFetchUserReferralsInfoPageArgs, 'filter' | 'sort' | 'page'>>;
|
|
731
737
|
fetchUserReferralsInfoCsv?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
|
|
@@ -993,6 +999,16 @@ export type IFindUserCreationsQuery = {
|
|
|
993
999
|
creations: Array<Maybe<Pick<ICreation, 'id' | 'itemType' | 'tokenId' | 'address' | 'itemId' | 'blockchain' | 'rank' | 'name' | 'creatorsAddresses' | 'originalUrls' | 'media' | 'mediaPreview' | 'mimeType' | 'likes'>>>;
|
|
994
1000
|
};
|
|
995
1001
|
};
|
|
1002
|
+
export type IFindUserLudoCreationsQueryVariables = Exact<{
|
|
1003
|
+
ownerId: Scalars['String'];
|
|
1004
|
+
page?: Maybe<IPageInput>;
|
|
1005
|
+
}>;
|
|
1006
|
+
export type IFindUserLudoCreationsQuery = {
|
|
1007
|
+
findUserLudoCreations: {
|
|
1008
|
+
nextPage?: Maybe<Pick<IPage, 'token' | 'num' | 'size' | 'elements'>>;
|
|
1009
|
+
creations: Array<Maybe<Pick<ICreation, 'id' | 'itemType' | 'tokenId' | 'address' | 'itemId' | 'blockchain' | 'rank' | 'name' | 'creatorsAddresses' | 'originalUrls' | 'media' | 'mediaPreview' | 'mimeType' | 'likes'>>>;
|
|
1010
|
+
};
|
|
1011
|
+
};
|
|
996
1012
|
export declare const FetchAllCreationsDocument: Apollo.DocumentNode;
|
|
997
1013
|
/**
|
|
998
1014
|
* __useFetchAllCreationsQuery__
|
|
@@ -1502,3 +1518,32 @@ export declare function useFindUserCreationsLazyQuery(baseOptions?: Apollo.LazyQ
|
|
|
1502
1518
|
export type FindUserCreationsQueryHookResult = ReturnType<typeof useFindUserCreationsQuery>;
|
|
1503
1519
|
export type FindUserCreationsLazyQueryHookResult = ReturnType<typeof useFindUserCreationsLazyQuery>;
|
|
1504
1520
|
export type FindUserCreationsQueryResult = Apollo.QueryResult<IFindUserCreationsQuery, IFindUserCreationsQueryVariables>;
|
|
1521
|
+
export declare const FindUserLudoCreationsDocument: Apollo.DocumentNode;
|
|
1522
|
+
/**
|
|
1523
|
+
* __useFindUserLudoCreationsQuery__
|
|
1524
|
+
*
|
|
1525
|
+
* To run a query within a React component, call `useFindUserLudoCreationsQuery` and pass it any options that fit your needs.
|
|
1526
|
+
* When your component renders, `useFindUserLudoCreationsQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
1527
|
+
* you can use to render your UI.
|
|
1528
|
+
*
|
|
1529
|
+
* @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;
|
|
1530
|
+
*
|
|
1531
|
+
* @example
|
|
1532
|
+
* const { data, loading, error } = useFindUserLudoCreationsQuery({
|
|
1533
|
+
* variables: {
|
|
1534
|
+
* ownerId: // value for 'ownerId'
|
|
1535
|
+
* page: // value for 'page'
|
|
1536
|
+
* },
|
|
1537
|
+
* });
|
|
1538
|
+
*/
|
|
1539
|
+
export declare function useFindUserLudoCreationsQuery(baseOptions: Apollo.QueryHookOptions<IFindUserLudoCreationsQuery, IFindUserLudoCreationsQueryVariables>): Apollo.QueryResult<IFindUserLudoCreationsQuery, Exact<{
|
|
1540
|
+
ownerId: string;
|
|
1541
|
+
page?: Maybe<IPageInput> | undefined;
|
|
1542
|
+
}>>;
|
|
1543
|
+
export declare function useFindUserLudoCreationsLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<IFindUserLudoCreationsQuery, IFindUserLudoCreationsQueryVariables>): Apollo.LazyQueryResultTuple<IFindUserLudoCreationsQuery, Exact<{
|
|
1544
|
+
ownerId: string;
|
|
1545
|
+
page?: Maybe<IPageInput> | undefined;
|
|
1546
|
+
}>>;
|
|
1547
|
+
export type FindUserLudoCreationsQueryHookResult = ReturnType<typeof useFindUserLudoCreationsQuery>;
|
|
1548
|
+
export type FindUserLudoCreationsLazyQueryHookResult = ReturnType<typeof useFindUserLudoCreationsLazyQuery>;
|
|
1549
|
+
export type FindUserLudoCreationsQueryResult = Apollo.QueryResult<IFindUserLudoCreationsQuery, IFindUserLudoCreationsQueryVariables>;
|
|
@@ -24,7 +24,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
24
24
|
};
|
|
25
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
26
|
exports.useFindCreationsLazyQuery = exports.useFindCreationsQuery = exports.FindCreationsDocument = exports.useFetchUserReferralsInfoPageLazyQuery = exports.useFetchUserReferralsInfoPageQuery = exports.FetchUserReferralsInfoPageDocument = exports.useFetchUserReferralsInfoCsvLazyQuery = exports.useFetchUserReferralsInfoCsvQuery = exports.FetchUserReferralsInfoCsvDocument = 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 = exports.useFindProfilesByNameLazyQuery = exports.useFindProfilesByNameQuery = exports.FindProfilesByNameDocument = void 0;
|
|
27
|
+
exports.useFindUserLudoCreationsLazyQuery = exports.useFindUserLudoCreationsQuery = exports.FindUserLudoCreationsDocument = exports.useFindUserCreationsLazyQuery = exports.useFindUserCreationsQuery = exports.FindUserCreationsDocument = exports.useFindProfilesByNameLazyQuery = exports.useFindProfilesByNameQuery = exports.FindProfilesByNameDocument = void 0;
|
|
28
28
|
const client_1 = require("@apollo/client");
|
|
29
29
|
const Apollo = __importStar(require("@apollo/client"));
|
|
30
30
|
var IReftypeColor;
|
|
@@ -1292,3 +1292,57 @@ function useFindUserCreationsLazyQuery(baseOptions) {
|
|
|
1292
1292
|
return Apollo.useLazyQuery(exports.FindUserCreationsDocument, baseOptions);
|
|
1293
1293
|
}
|
|
1294
1294
|
exports.useFindUserCreationsLazyQuery = useFindUserCreationsLazyQuery;
|
|
1295
|
+
exports.FindUserLudoCreationsDocument = (0, client_1.gql) `
|
|
1296
|
+
query FindUserLudoCreations($ownerId: String!, $page: PageInput) {
|
|
1297
|
+
findUserLudoCreations(ownerId: $ownerId, page: $page) {
|
|
1298
|
+
nextPage {
|
|
1299
|
+
token
|
|
1300
|
+
num
|
|
1301
|
+
size
|
|
1302
|
+
elements
|
|
1303
|
+
}
|
|
1304
|
+
creations {
|
|
1305
|
+
id
|
|
1306
|
+
id
|
|
1307
|
+
itemType
|
|
1308
|
+
tokenId
|
|
1309
|
+
address
|
|
1310
|
+
itemId
|
|
1311
|
+
blockchain
|
|
1312
|
+
rank
|
|
1313
|
+
name
|
|
1314
|
+
creatorsAddresses
|
|
1315
|
+
originalUrls
|
|
1316
|
+
media
|
|
1317
|
+
mediaPreview
|
|
1318
|
+
mimeType
|
|
1319
|
+
likes
|
|
1320
|
+
}
|
|
1321
|
+
}
|
|
1322
|
+
}
|
|
1323
|
+
`;
|
|
1324
|
+
/**
|
|
1325
|
+
* __useFindUserLudoCreationsQuery__
|
|
1326
|
+
*
|
|
1327
|
+
* To run a query within a React component, call `useFindUserLudoCreationsQuery` and pass it any options that fit your needs.
|
|
1328
|
+
* When your component renders, `useFindUserLudoCreationsQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
1329
|
+
* you can use to render your UI.
|
|
1330
|
+
*
|
|
1331
|
+
* @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;
|
|
1332
|
+
*
|
|
1333
|
+
* @example
|
|
1334
|
+
* const { data, loading, error } = useFindUserLudoCreationsQuery({
|
|
1335
|
+
* variables: {
|
|
1336
|
+
* ownerId: // value for 'ownerId'
|
|
1337
|
+
* page: // value for 'page'
|
|
1338
|
+
* },
|
|
1339
|
+
* });
|
|
1340
|
+
*/
|
|
1341
|
+
function useFindUserLudoCreationsQuery(baseOptions) {
|
|
1342
|
+
return Apollo.useQuery(exports.FindUserLudoCreationsDocument, baseOptions);
|
|
1343
|
+
}
|
|
1344
|
+
exports.useFindUserLudoCreationsQuery = useFindUserLudoCreationsQuery;
|
|
1345
|
+
function useFindUserLudoCreationsLazyQuery(baseOptions) {
|
|
1346
|
+
return Apollo.useLazyQuery(exports.FindUserLudoCreationsDocument, baseOptions);
|
|
1347
|
+
}
|
|
1348
|
+
exports.useFindUserLudoCreationsLazyQuery = useFindUserLudoCreationsLazyQuery;
|
package/build/index.d.ts
CHANGED
|
@@ -403,6 +403,20 @@ declare const schema: {
|
|
|
403
403
|
input: searchSchema.ICreationFilterInput;
|
|
404
404
|
page?: searchSchema.Maybe<searchSchema.IPageInput> | undefined;
|
|
405
405
|
}>>;
|
|
406
|
+
useFindUserLudoCreationsQuery(baseOptions: import("@apollo/client").QueryHookOptions<searchSchema.IFindUserLudoCreationsQuery, searchSchema.Exact<{
|
|
407
|
+
ownerId: string;
|
|
408
|
+
page?: searchSchema.Maybe<searchSchema.IPageInput> | undefined;
|
|
409
|
+
}>>): import("@apollo/client").QueryResult<searchSchema.IFindUserLudoCreationsQuery, searchSchema.Exact<{
|
|
410
|
+
ownerId: string;
|
|
411
|
+
page?: searchSchema.Maybe<searchSchema.IPageInput> | undefined;
|
|
412
|
+
}>>;
|
|
413
|
+
useFindUserLudoCreationsLazyQuery(baseOptions?: import("@apollo/client").LazyQueryHookOptions<searchSchema.IFindUserLudoCreationsQuery, searchSchema.Exact<{
|
|
414
|
+
ownerId: string;
|
|
415
|
+
page?: searchSchema.Maybe<searchSchema.IPageInput> | undefined;
|
|
416
|
+
}>> | undefined): import("@apollo/client").LazyQueryResultTuple<searchSchema.IFindUserLudoCreationsQuery, searchSchema.Exact<{
|
|
417
|
+
ownerId: string;
|
|
418
|
+
page?: searchSchema.Maybe<searchSchema.IPageInput> | undefined;
|
|
419
|
+
}>>;
|
|
406
420
|
IReftypeColor: typeof searchSchema.IReftypeColor;
|
|
407
421
|
ISortDirection: typeof searchSchema.ISortDirection;
|
|
408
422
|
FetchAllCreationsDocument: import("graphql").DocumentNode;
|
|
@@ -423,6 +437,7 @@ declare const schema: {
|
|
|
423
437
|
FindCreationsDocument: import("graphql").DocumentNode;
|
|
424
438
|
FindProfilesByNameDocument: import("graphql").DocumentNode;
|
|
425
439
|
FindUserCreationsDocument: import("graphql").DocumentNode;
|
|
440
|
+
FindUserLudoCreationsDocument: import("graphql").DocumentNode;
|
|
426
441
|
useSaveUserExpectationsMutation(baseOptions?: import("@apollo/client").MutationHookOptions<preferencesSchema.ISaveUserExpectationsMutation, preferencesSchema.Exact<{
|
|
427
442
|
expectations: preferencesSchema.Maybe<string>[];
|
|
428
443
|
}>, import("@apollo/client").DefaultContext, import("@apollo/client").ApolloCache<any>> | undefined): import("@apollo/client").MutationTuple<preferencesSchema.ISaveUserExpectationsMutation, preferencesSchema.Exact<{
|
|
@@ -574,6 +589,16 @@ declare const schema: {
|
|
|
574
589
|
blockchain: string;
|
|
575
590
|
address: string;
|
|
576
591
|
}>, import("@apollo/client").DefaultContext, import("@apollo/client").ApolloCache<any>>;
|
|
592
|
+
useFetchAirdropRegistrationsCsvQuery(baseOptions: import("@apollo/client").QueryHookOptions<opportunitiesSchema.IFetchAirdropRegistrationsCsvQuery, opportunitiesSchema.Exact<{
|
|
593
|
+
opportunityId: string;
|
|
594
|
+
}>>): import("@apollo/client").QueryResult<opportunitiesSchema.IFetchAirdropRegistrationsCsvQuery, opportunitiesSchema.Exact<{
|
|
595
|
+
opportunityId: string;
|
|
596
|
+
}>>;
|
|
597
|
+
useFetchAirdropRegistrationsCsvLazyQuery(baseOptions?: import("@apollo/client").LazyQueryHookOptions<opportunitiesSchema.IFetchAirdropRegistrationsCsvQuery, opportunitiesSchema.Exact<{
|
|
598
|
+
opportunityId: string;
|
|
599
|
+
}>> | undefined): import("@apollo/client").LazyQueryResultTuple<opportunitiesSchema.IFetchAirdropRegistrationsCsvQuery, opportunitiesSchema.Exact<{
|
|
600
|
+
opportunityId: string;
|
|
601
|
+
}>>;
|
|
577
602
|
useFetchOpportunitiesByIdsQuery(baseOptions: import("@apollo/client").QueryHookOptions<opportunitiesSchema.IFetchOpportunitiesByIdsQuery, opportunitiesSchema.Exact<{
|
|
578
603
|
opportunityIds: string[];
|
|
579
604
|
}>>): import("@apollo/client").QueryResult<opportunitiesSchema.IFetchOpportunitiesByIdsQuery, opportunitiesSchema.Exact<{
|
|
@@ -629,6 +654,7 @@ declare const schema: {
|
|
|
629
654
|
CreateOpportunityDocument: import("graphql").DocumentNode;
|
|
630
655
|
OpenOpportunityDocument: import("graphql").DocumentNode;
|
|
631
656
|
RegisterForAirdropDocument: import("graphql").DocumentNode;
|
|
657
|
+
FetchAirdropRegistrationsCsvDocument: import("graphql").DocumentNode;
|
|
632
658
|
FetchOpportunitiesByIdsDocument: import("graphql").DocumentNode;
|
|
633
659
|
FetchOpportunitiesForProfileDocument: import("graphql").DocumentNode;
|
|
634
660
|
FetchOpportunitiesDocument: import("graphql").DocumentNode;
|
package/package.json
CHANGED
|
@@ -362,6 +362,7 @@ export type IMyProfileV2 = {
|
|
|
362
362
|
referralTypeColor?: Maybe<IReftypeColor>;
|
|
363
363
|
tierId?: Maybe<Scalars['String']>;
|
|
364
364
|
tierName?: Maybe<Scalars['String']>;
|
|
365
|
+
shareLink?: Maybe<Scalars['String']>;
|
|
365
366
|
};
|
|
366
367
|
|
|
367
368
|
export type IProfile = {
|
|
@@ -817,6 +818,7 @@ export type IMyProfileV2Resolvers<ContextType = any, ParentType extends IResolve
|
|
|
817
818
|
referralTypeColor?: Resolver<Maybe<IResolversTypes['ReftypeColor']>, ParentType, ContextType>;
|
|
818
819
|
tierId?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
819
820
|
tierName?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
821
|
+
shareLink?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
|
|
820
822
|
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
821
823
|
};
|
|
822
824
|
|
|
@@ -1200,7 +1202,7 @@ export type IFetchProfileQueryVariables = Exact<{
|
|
|
1200
1202
|
|
|
1201
1203
|
|
|
1202
1204
|
export type IFetchProfileQuery = { fetchProfile: (
|
|
1203
|
-
Pick<IProfile, 'userId' | 'username' | 'about' | 'userpic' | 'following' | 'followings' | 'followers' | 'rank' | 'views' | 'createdAt' | 'deletedAt' | 'visible' | 'active' | 'deleted' | 'showNsfw' | 'referralTypeId' | 'referralTypeName' | 'referralTypeColor'>
|
|
1205
|
+
Pick<IProfile, 'userId' | 'username' | 'about' | 'userpic' | 'following' | 'followings' | 'followers' | 'rank' | 'views' | 'createdAt' | 'deletedAt' | 'visible' | 'active' | 'deleted' | 'showNsfw' | 'referralTypeId' | 'referralTypeName' | 'referralTypeColor' | 'xps'>
|
|
1204
1206
|
& { social?: Maybe<Pick<ISocial, 'facebook' | 'twitter' | 'instagram' | 'website' | 'discordNickname' | 'discordServer' | 'telegramLink'>>, wallets?: Maybe<Array<Maybe<Pick<IWallet, 'userId' | 'address' | 'walletName' | 'blockchain' | 'chainId' | 'mainWallet'>>>> }
|
|
1205
1207
|
) };
|
|
1206
1208
|
|
|
@@ -2364,6 +2366,7 @@ export const FetchProfileDocument = gql`
|
|
|
2364
2366
|
referralTypeId
|
|
2365
2367
|
referralTypeName
|
|
2366
2368
|
referralTypeColor
|
|
2369
|
+
xps
|
|
2367
2370
|
}
|
|
2368
2371
|
}
|
|
2369
2372
|
`;
|
|
@@ -599,6 +599,13 @@ export type IRegisterForAirdropMutationVariables = Exact<{
|
|
|
599
599
|
|
|
600
600
|
export type IRegisterForAirdropMutation = Pick<IMutation, 'registerForAirdrop'>;
|
|
601
601
|
|
|
602
|
+
export type IFetchAirdropRegistrationsCsvQueryVariables = Exact<{
|
|
603
|
+
opportunityId: Scalars['ID'];
|
|
604
|
+
}>;
|
|
605
|
+
|
|
606
|
+
|
|
607
|
+
export type IFetchAirdropRegistrationsCsvQuery = Pick<IQuery, 'fetchAirdropRegistrationsCsv'>;
|
|
608
|
+
|
|
602
609
|
export type IFetchOpportunitiesByIdsQueryVariables = Exact<{
|
|
603
610
|
opportunityIds: Array<Scalars['ID']>;
|
|
604
611
|
}>;
|
|
@@ -790,6 +797,37 @@ export function useRegisterForAirdropMutation(baseOptions?: Apollo.MutationHookO
|
|
|
790
797
|
export type RegisterForAirdropMutationHookResult = ReturnType<typeof useRegisterForAirdropMutation>;
|
|
791
798
|
export type RegisterForAirdropMutationResult = Apollo.MutationResult<IRegisterForAirdropMutation>;
|
|
792
799
|
export type RegisterForAirdropMutationOptions = Apollo.BaseMutationOptions<IRegisterForAirdropMutation, IRegisterForAirdropMutationVariables>;
|
|
800
|
+
export const FetchAirdropRegistrationsCsvDocument = gql`
|
|
801
|
+
query FetchAirdropRegistrationsCsv($opportunityId: ID!) {
|
|
802
|
+
fetchAirdropRegistrationsCsv(opportunityId: $opportunityId)
|
|
803
|
+
}
|
|
804
|
+
`;
|
|
805
|
+
|
|
806
|
+
/**
|
|
807
|
+
* __useFetchAirdropRegistrationsCsvQuery__
|
|
808
|
+
*
|
|
809
|
+
* To run a query within a React component, call `useFetchAirdropRegistrationsCsvQuery` and pass it any options that fit your needs.
|
|
810
|
+
* When your component renders, `useFetchAirdropRegistrationsCsvQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
811
|
+
* you can use to render your UI.
|
|
812
|
+
*
|
|
813
|
+
* @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;
|
|
814
|
+
*
|
|
815
|
+
* @example
|
|
816
|
+
* const { data, loading, error } = useFetchAirdropRegistrationsCsvQuery({
|
|
817
|
+
* variables: {
|
|
818
|
+
* opportunityId: // value for 'opportunityId'
|
|
819
|
+
* },
|
|
820
|
+
* });
|
|
821
|
+
*/
|
|
822
|
+
export function useFetchAirdropRegistrationsCsvQuery(baseOptions: Apollo.QueryHookOptions<IFetchAirdropRegistrationsCsvQuery, IFetchAirdropRegistrationsCsvQueryVariables>) {
|
|
823
|
+
return Apollo.useQuery<IFetchAirdropRegistrationsCsvQuery, IFetchAirdropRegistrationsCsvQueryVariables>(FetchAirdropRegistrationsCsvDocument, baseOptions);
|
|
824
|
+
}
|
|
825
|
+
export function useFetchAirdropRegistrationsCsvLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<IFetchAirdropRegistrationsCsvQuery, IFetchAirdropRegistrationsCsvQueryVariables>) {
|
|
826
|
+
return Apollo.useLazyQuery<IFetchAirdropRegistrationsCsvQuery, IFetchAirdropRegistrationsCsvQueryVariables>(FetchAirdropRegistrationsCsvDocument, baseOptions);
|
|
827
|
+
}
|
|
828
|
+
export type FetchAirdropRegistrationsCsvQueryHookResult = ReturnType<typeof useFetchAirdropRegistrationsCsvQuery>;
|
|
829
|
+
export type FetchAirdropRegistrationsCsvLazyQueryHookResult = ReturnType<typeof useFetchAirdropRegistrationsCsvLazyQuery>;
|
|
830
|
+
export type FetchAirdropRegistrationsCsvQueryResult = Apollo.QueryResult<IFetchAirdropRegistrationsCsvQuery, IFetchAirdropRegistrationsCsvQueryVariables>;
|
|
793
831
|
export const FetchOpportunitiesByIdsDocument = gql`
|
|
794
832
|
query FetchOpportunitiesByIds($opportunityIds: [ID!]!) {
|
|
795
833
|
fetchOpportunitiesByIds(opportunityIds: $opportunityIds) {
|
|
@@ -286,6 +286,7 @@ export type IQuery = {
|
|
|
286
286
|
fetchCreationsByType: ICreationsPage;
|
|
287
287
|
findCreations: ICreationsPage;
|
|
288
288
|
findUserCreations: ICreationsPage;
|
|
289
|
+
findUserLudoCreations: ICreationsPage;
|
|
289
290
|
findProfilesByName: IProfilePage;
|
|
290
291
|
fetchUserReferralsInfoPage: IUserReferralsInfoPage;
|
|
291
292
|
fetchUserReferralsInfoCsv: Scalars['String'];
|
|
@@ -388,6 +389,12 @@ export type IQueryFindUserCreationsArgs = {
|
|
|
388
389
|
};
|
|
389
390
|
|
|
390
391
|
|
|
392
|
+
export type IQueryFindUserLudoCreationsArgs = {
|
|
393
|
+
ownerId: Scalars['String'];
|
|
394
|
+
page?: Maybe<IPageInput>;
|
|
395
|
+
};
|
|
396
|
+
|
|
397
|
+
|
|
391
398
|
export type IQueryFindProfilesByNameArgs = {
|
|
392
399
|
name: Scalars['String'];
|
|
393
400
|
page?: Maybe<IPageInput>;
|
|
@@ -865,6 +872,7 @@ export type IQueryResolvers<ContextType = any, ParentType extends IResolversPare
|
|
|
865
872
|
fetchCreationsByType?: Resolver<IResolversTypes['CreationsPage'], ParentType, ContextType, RequireFields<IQueryFetchCreationsByTypeArgs, 'itemType'>>;
|
|
866
873
|
findCreations?: Resolver<IResolversTypes['CreationsPage'], ParentType, ContextType, RequireFields<IQueryFindCreationsArgs, 'term' | 'input'>>;
|
|
867
874
|
findUserCreations?: Resolver<IResolversTypes['CreationsPage'], ParentType, ContextType, RequireFields<IQueryFindUserCreationsArgs, 'ownerId' | 'input'>>;
|
|
875
|
+
findUserLudoCreations?: Resolver<IResolversTypes['CreationsPage'], ParentType, ContextType, RequireFields<IQueryFindUserLudoCreationsArgs, 'ownerId'>>;
|
|
868
876
|
findProfilesByName?: Resolver<IResolversTypes['ProfilePage'], ParentType, ContextType, RequireFields<IQueryFindProfilesByNameArgs, 'name'>>;
|
|
869
877
|
fetchUserReferralsInfoPage?: Resolver<IResolversTypes['UserReferralsInfoPage'], ParentType, ContextType, RequireFields<IQueryFetchUserReferralsInfoPageArgs, 'filter' | 'sort' | 'page'>>;
|
|
870
878
|
fetchUserReferralsInfoCsv?: Resolver<IResolversTypes['String'], ParentType, ContextType>;
|
|
@@ -1100,6 +1108,14 @@ export type IFindUserCreationsQueryVariables = Exact<{
|
|
|
1100
1108
|
|
|
1101
1109
|
export type IFindUserCreationsQuery = { findUserCreations: { nextPage?: Maybe<Pick<IPage, 'token' | 'num' | 'size' | 'elements'>>, creations: Array<Maybe<Pick<ICreation, 'id' | 'itemType' | 'tokenId' | 'address' | 'itemId' | 'blockchain' | 'rank' | 'name' | 'creatorsAddresses' | 'originalUrls' | 'media' | 'mediaPreview' | 'mimeType' | 'likes'>>> } };
|
|
1102
1110
|
|
|
1111
|
+
export type IFindUserLudoCreationsQueryVariables = Exact<{
|
|
1112
|
+
ownerId: Scalars['String'];
|
|
1113
|
+
page?: Maybe<IPageInput>;
|
|
1114
|
+
}>;
|
|
1115
|
+
|
|
1116
|
+
|
|
1117
|
+
export type IFindUserLudoCreationsQuery = { findUserLudoCreations: { nextPage?: Maybe<Pick<IPage, 'token' | 'num' | 'size' | 'elements'>>, creations: Array<Maybe<Pick<ICreation, 'id' | 'itemType' | 'tokenId' | 'address' | 'itemId' | 'blockchain' | 'rank' | 'name' | 'creatorsAddresses' | 'originalUrls' | 'media' | 'mediaPreview' | 'mimeType' | 'likes'>>> } };
|
|
1118
|
+
|
|
1103
1119
|
|
|
1104
1120
|
export const FetchAllCreationsDocument = gql`
|
|
1105
1121
|
query FetchAllCreations($page: PageInput) {
|
|
@@ -2383,4 +2399,60 @@ export function useFindUserCreationsLazyQuery(baseOptions?: Apollo.LazyQueryHook
|
|
|
2383
2399
|
}
|
|
2384
2400
|
export type FindUserCreationsQueryHookResult = ReturnType<typeof useFindUserCreationsQuery>;
|
|
2385
2401
|
export type FindUserCreationsLazyQueryHookResult = ReturnType<typeof useFindUserCreationsLazyQuery>;
|
|
2386
|
-
export type FindUserCreationsQueryResult = Apollo.QueryResult<IFindUserCreationsQuery, IFindUserCreationsQueryVariables>;
|
|
2402
|
+
export type FindUserCreationsQueryResult = Apollo.QueryResult<IFindUserCreationsQuery, IFindUserCreationsQueryVariables>;
|
|
2403
|
+
export const FindUserLudoCreationsDocument = gql`
|
|
2404
|
+
query FindUserLudoCreations($ownerId: String!, $page: PageInput) {
|
|
2405
|
+
findUserLudoCreations(ownerId: $ownerId, page: $page) {
|
|
2406
|
+
nextPage {
|
|
2407
|
+
token
|
|
2408
|
+
num
|
|
2409
|
+
size
|
|
2410
|
+
elements
|
|
2411
|
+
}
|
|
2412
|
+
creations {
|
|
2413
|
+
id
|
|
2414
|
+
id
|
|
2415
|
+
itemType
|
|
2416
|
+
tokenId
|
|
2417
|
+
address
|
|
2418
|
+
itemId
|
|
2419
|
+
blockchain
|
|
2420
|
+
rank
|
|
2421
|
+
name
|
|
2422
|
+
creatorsAddresses
|
|
2423
|
+
originalUrls
|
|
2424
|
+
media
|
|
2425
|
+
mediaPreview
|
|
2426
|
+
mimeType
|
|
2427
|
+
likes
|
|
2428
|
+
}
|
|
2429
|
+
}
|
|
2430
|
+
}
|
|
2431
|
+
`;
|
|
2432
|
+
|
|
2433
|
+
/**
|
|
2434
|
+
* __useFindUserLudoCreationsQuery__
|
|
2435
|
+
*
|
|
2436
|
+
* To run a query within a React component, call `useFindUserLudoCreationsQuery` and pass it any options that fit your needs.
|
|
2437
|
+
* When your component renders, `useFindUserLudoCreationsQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
2438
|
+
* you can use to render your UI.
|
|
2439
|
+
*
|
|
2440
|
+
* @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;
|
|
2441
|
+
*
|
|
2442
|
+
* @example
|
|
2443
|
+
* const { data, loading, error } = useFindUserLudoCreationsQuery({
|
|
2444
|
+
* variables: {
|
|
2445
|
+
* ownerId: // value for 'ownerId'
|
|
2446
|
+
* page: // value for 'page'
|
|
2447
|
+
* },
|
|
2448
|
+
* });
|
|
2449
|
+
*/
|
|
2450
|
+
export function useFindUserLudoCreationsQuery(baseOptions: Apollo.QueryHookOptions<IFindUserLudoCreationsQuery, IFindUserLudoCreationsQueryVariables>) {
|
|
2451
|
+
return Apollo.useQuery<IFindUserLudoCreationsQuery, IFindUserLudoCreationsQueryVariables>(FindUserLudoCreationsDocument, baseOptions);
|
|
2452
|
+
}
|
|
2453
|
+
export function useFindUserLudoCreationsLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<IFindUserLudoCreationsQuery, IFindUserLudoCreationsQueryVariables>) {
|
|
2454
|
+
return Apollo.useLazyQuery<IFindUserLudoCreationsQuery, IFindUserLudoCreationsQueryVariables>(FindUserLudoCreationsDocument, baseOptions);
|
|
2455
|
+
}
|
|
2456
|
+
export type FindUserLudoCreationsQueryHookResult = ReturnType<typeof useFindUserLudoCreationsQuery>;
|
|
2457
|
+
export type FindUserLudoCreationsLazyQueryHookResult = ReturnType<typeof useFindUserLudoCreationsLazyQuery>;
|
|
2458
|
+
export type FindUserLudoCreationsQueryResult = Apollo.QueryResult<IFindUserLudoCreationsQuery, IFindUserLudoCreationsQueryVariables>;
|